@burdenoff/fe-libs 2026.528.9 → 2026.528.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/button/Button.d.ts +1 -1
  2. package/dist/node_modules/{@ungap → .bun/@ungap_structured-clone@1.3.0/node_modules/@ungap}/structured-clone/esm/deserialize.js +1 -1
  3. package/dist/node_modules/{@ungap → .bun/@ungap_structured-clone@1.3.0/node_modules/@ungap}/structured-clone/esm/index.js +1 -1
  4. package/dist/node_modules/{@ungap → .bun/@ungap_structured-clone@1.3.0/node_modules/@ungap}/structured-clone/esm/serialize.js +1 -1
  5. package/dist/node_modules/{bail → .bun/bail@2.0.2/node_modules/bail}/index.js +1 -1
  6. package/dist/node_modules/{comma-separated-tokens → .bun/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens}/index.js +1 -1
  7. package/dist/node_modules/{decode-named-character-reference → .bun/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference}/index.dom.js +1 -1
  8. package/dist/node_modules/{devlop → .bun/devlop@1.1.0/node_modules/devlop}/lib/default.js +1 -1
  9. package/dist/node_modules/{estree-util-is-identifier-name → .bun/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name}/lib/index.js +1 -1
  10. package/dist/node_modules/{extend → .bun/extend@3.0.2/node_modules/extend}/index.js +2 -2
  11. package/dist/node_modules/{hast-util-to-jsx-runtime → .bun/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime}/lib/index.js +13 -13
  12. package/dist/node_modules/{hast-util-whitespace → .bun/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace}/lib/index.js +1 -1
  13. package/dist/node_modules/{html-url-attributes → .bun/html-url-attributes@3.0.1/node_modules/html-url-attributes}/lib/index.js +1 -1
  14. package/dist/node_modules/{inline-style-parser → .bun/inline-style-parser@0.2.7/node_modules/inline-style-parser}/cjs/index.js +2 -2
  15. package/dist/node_modules/{is-plain-obj → .bun/is-plain-obj@4.1.0/node_modules/is-plain-obj}/index.js +1 -1
  16. package/dist/node_modules/{mdast-util-from-markdown → .bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown}/lib/index.js +10 -10
  17. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/footer.js +3 -3
  18. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/blockquote.js +1 -1
  19. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/break.js +1 -1
  20. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/code.js +1 -1
  21. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/delete.js +1 -1
  22. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/emphasis.js +1 -1
  23. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/footnote-reference.js +2 -2
  24. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/heading.js +1 -1
  25. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/html.js +1 -1
  26. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/image-reference.js +2 -2
  27. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/image.js +2 -2
  28. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/index.js +1 -1
  29. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/inline-code.js +1 -1
  30. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/link-reference.js +2 -2
  31. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/link.js +2 -2
  32. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/list-item.js +1 -1
  33. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/list.js +1 -1
  34. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/paragraph.js +1 -1
  35. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/root.js +1 -1
  36. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/strong.js +1 -1
  37. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/table-cell.js +1 -1
  38. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/table-row.js +1 -1
  39. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/table.js +2 -2
  40. package/dist/node_modules/.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
  41. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/handlers/thematic-break.js +1 -1
  42. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/index.js +2 -2
  43. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/revert.js +1 -1
  44. package/dist/node_modules/{mdast-util-to-hast → .bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast}/lib/state.js +4 -4
  45. package/dist/node_modules/{mdast-util-to-string → .bun/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string}/lib/index.js +1 -1
  46. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/attention.js +4 -4
  47. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/autolink.js +2 -2
  48. package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  49. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/block-quote.js +3 -3
  50. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/character-escape.js +2 -2
  51. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/character-reference.js +3 -3
  52. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/code-fenced.js +3 -3
  53. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/code-indented.js +3 -3
  54. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/code-text.js +2 -2
  55. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/content.js +4 -4
  56. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/definition.js +8 -8
  57. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/hard-break-escape.js +2 -2
  58. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/heading-atx.js +4 -4
  59. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/html-flow.js +3 -3
  60. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/html-text.js +3 -3
  61. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/label-end.js +9 -9
  62. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/label-start-image.js +1 -1
  63. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/label-start-link.js +1 -1
  64. package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  65. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/list.js +3 -3
  66. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/setext-underline.js +3 -3
  67. package/dist/node_modules/{micromark-core-commonmark → .bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark}/lib/thematic-break.js +3 -3
  68. package/dist/node_modules/{micromark-factory-destination → .bun/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination}/index.js +2 -2
  69. package/dist/node_modules/{micromark-factory-label → .bun/micromark-factory-label@2.0.1/node_modules/micromark-factory-label}/index.js +2 -2
  70. package/dist/node_modules/{micromark-factory-space → .bun/micromark-factory-space@2.0.1/node_modules/micromark-factory-space}/index.js +2 -2
  71. package/dist/node_modules/{micromark-factory-title → .bun/micromark-factory-title@2.0.1/node_modules/micromark-factory-title}/index.js +3 -3
  72. package/dist/node_modules/.bun/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +12 -0
  73. package/dist/node_modules/{micromark-util-character → .bun/micromark-util-character@2.1.1/node_modules/micromark-util-character}/index.js +1 -1
  74. package/dist/node_modules/{micromark-util-chunked → .bun/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked}/index.js +1 -1
  75. package/dist/node_modules/.bun/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +8 -0
  76. package/dist/node_modules/{micromark-util-combine-extensions → .bun/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions}/index.js +2 -2
  77. package/dist/node_modules/{micromark-util-decode-numeric-character-reference → .bun/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference}/index.js +1 -1
  78. package/dist/node_modules/.bun/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +17 -0
  79. package/dist/node_modules/{micromark-util-html-tag-name → .bun/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name}/index.js +1 -1
  80. package/dist/node_modules/{micromark-util-normalize-identifier → .bun/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier}/index.js +1 -1
  81. package/dist/node_modules/{micromark-util-resolve-all → .bun/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all}/index.js +1 -1
  82. package/dist/node_modules/{micromark-util-sanitize-uri → .bun/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri}/index.js +2 -2
  83. package/dist/node_modules/{micromark-util-subtokenize → .bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize}/index.js +2 -2
  84. package/dist/node_modules/{micromark-util-subtokenize → .bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize}/lib/splice-buffer.js +1 -1
  85. package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/constructs.js +80 -0
  86. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/create-tokenizer.js +4 -4
  87. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/initialize/content.js +3 -3
  88. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/initialize/document.js +4 -4
  89. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/initialize/flow.js +4 -4
  90. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/initialize/text.js +1 -1
  91. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/parse.js +2 -2
  92. package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +8 -0
  93. package/dist/node_modules/{micromark → .bun/micromark@4.0.2/node_modules/micromark}/lib/preprocess.js +1 -1
  94. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/index.js +1 -1
  95. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/aria.js +1 -1
  96. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/find.js +1 -1
  97. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/hast-to-react.js +1 -1
  98. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/html.js +1 -1
  99. package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/normalize.js +6 -0
  100. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/svg.js +1 -1
  101. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/case-insensitive-transform.js +1 -1
  102. package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  103. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/create.js +1 -1
  104. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/defined-info.js +1 -1
  105. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/info.js +1 -1
  106. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/merge.js +1 -1
  107. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/schema.js +1 -1
  108. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/util/types.js +2 -2
  109. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/xlink.js +1 -1
  110. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/xml.js +1 -1
  111. package/dist/node_modules/{property-information → .bun/property-information@7.1.0/node_modules/property-information}/lib/xmlns.js +1 -1
  112. package/dist/node_modules/{react-error-boundary → .bun/react-error-boundary@6.1.1_3f10a4be4e334a9b/node_modules/react-error-boundary}/dist/react-error-boundary.js +1 -1
  113. package/dist/node_modules/{react-markdown → .bun/react-markdown@10.1.0_b2e33729a97476bf/node_modules/react-markdown}/lib/index.js +9 -9
  114. package/dist/node_modules/{remark-parse → .bun/remark-parse@11.0.0/node_modules/remark-parse}/lib/index.js +2 -2
  115. package/dist/node_modules/{remark-rehype → .bun/remark-rehype@11.1.2/node_modules/remark-rehype}/lib/index.js +2 -2
  116. package/dist/node_modules/.bun/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +6 -0
  117. package/dist/node_modules/{style-to-js → .bun/style-to-js@1.1.21/node_modules/style-to-js}/cjs/index.js +3 -3
  118. package/dist/node_modules/{style-to-js → .bun/style-to-js@1.1.21/node_modules/style-to-js}/cjs/utilities.js +2 -2
  119. package/dist/node_modules/{style-to-object → .bun/style-to-object@1.0.14/node_modules/style-to-object}/cjs/index.js +3 -3
  120. package/dist/node_modules/{trim-lines → .bun/trim-lines@3.0.1/node_modules/trim-lines}/index.js +1 -1
  121. package/dist/node_modules/{trough → .bun/trough@2.2.0/node_modules/trough}/lib/index.js +1 -1
  122. package/dist/node_modules/{unified → .bun/unified@11.0.5/node_modules/unified}/lib/callable-instance.js +1 -1
  123. package/dist/node_modules/{unified → .bun/unified@11.0.5/node_modules/unified}/lib/index.js +8 -8
  124. package/dist/node_modules/{unist-util-is → .bun/unist-util-is@6.0.1/node_modules/unist-util-is}/lib/index.js +1 -1
  125. package/dist/node_modules/{unist-util-position → .bun/unist-util-position@5.0.0/node_modules/unist-util-position}/lib/index.js +1 -1
  126. package/dist/node_modules/{unist-util-stringify-position → .bun/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position}/lib/index.js +1 -1
  127. package/dist/node_modules/.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  128. package/dist/node_modules/{unist-util-visit-parents → .bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents}/lib/index.js +2 -2
  129. package/dist/node_modules/{unist-util-visit → .bun/unist-util-visit@5.1.0/node_modules/unist-util-visit}/lib/index.js +2 -2
  130. package/dist/node_modules/{vfile-message → .bun/vfile-message@4.0.3/node_modules/vfile-message}/lib/index.js +2 -2
  131. package/dist/node_modules/{vfile → .bun/vfile@6.0.3/node_modules/vfile}/lib/index.js +2 -2
  132. package/dist/node_modules/{vfile → .bun/vfile@6.0.3/node_modules/vfile}/lib/minpath.browser.js +1 -1
  133. package/dist/node_modules/{vfile → .bun/vfile@6.0.3/node_modules/vfile}/lib/minproc.browser.js +1 -1
  134. package/dist/node_modules/{vfile → .bun/vfile@6.0.3/node_modules/vfile}/lib/minurl.browser.js +1 -1
  135. package/dist/node_modules/{vfile → .bun/vfile@6.0.3/node_modules/vfile}/lib/minurl.shared.js +1 -1
  136. package/dist/node_modules/{web-vitals → .bun/web-vitals@4.2.4/node_modules/web-vitals}/dist/web-vitals.js +1 -1
  137. package/dist/shared/components/MicrofrontendErrorBoundary.js +1 -1
  138. package/dist/shared/graphql/client.d.ts.map +1 -1
  139. package/dist/shared/graphql/client.js +95 -83
  140. package/dist/shared/graphql/fetch.d.ts.map +1 -1
  141. package/dist/shared/graphql/fetch.js +130 -107
  142. package/dist/shared/pages/LegalPage.js +1 -1
  143. package/dist/shared/providers/AppShellProvider.d.ts +4 -4
  144. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
  145. package/dist/shared/providers/AppShellProvider.js +205 -181
  146. package/dist/shared/providers/shell/ObservabilityProvider.js +1 -1
  147. package/dist/shared/tours/toursContext/useTourMutations.js +29 -29
  148. package/dist/shared/utils/backendErrors.d.ts +37 -0
  149. package/dist/shared/utils/backendErrors.d.ts.map +1 -0
  150. package/dist/shared/utils/backendErrors.js +123 -0
  151. package/dist/shared/utils/index.d.ts +7 -5
  152. package/dist/shared/utils/index.d.ts.map +1 -1
  153. package/dist/shared/utils/quotaErrors.js +11 -8
  154. package/dist/shared-tours.js +3 -3
  155. package/dist/shared-utils.js +12 -11
  156. package/dist/shared.js +96 -95
  157. package/dist/ui/button.d.ts +1 -1
  158. package/dist/utils/index.js +1 -0
  159. package/package.json +2 -2
  160. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -11
  161. package/dist/node_modules/micromark/lib/constructs.js +0 -80
  162. package/dist/node_modules/micromark/lib/postprocess.js +0 -8
  163. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  164. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  165. package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
  166. package/dist/node_modules/micromark-util-classify-character/index.js +0 -8
  167. package/dist/node_modules/micromark-util-decode-string/index.js +0 -17
  168. package/dist/node_modules/property-information/lib/normalize.js +0 -6
  169. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  170. package/dist/node_modules/space-separated-tokens/index.js +0 -6
  171. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
@@ -1,57 +1,57 @@
1
- import { withTourProgressStatus as e } from "../progress.js";
2
- import { COMPLETE_STEP as t, COMPLETE_TOUR as n, SKIP_TOUR as r, START_TOUR as i, TRACK_TOUR_EVENT as a } from "./gql.js";
3
- import { getOrCreateTourSessionId as o, normalizeDeviceType as s } from "./session.js";
1
+ import { COMPLETE_STEP as e, COMPLETE_TOUR as t, SKIP_TOUR as n, START_TOUR as r, TRACK_TOUR_EVENT as i } from "./gql.js";
2
+ import { getOrCreateTourSessionId as a, normalizeDeviceType as o } from "./session.js";
3
+ import { withTourProgressStatus as s } from "../progress.js";
4
4
  import { useCallback as c } from "react";
5
5
  //#region src/shared/tours/toursContext/useTourMutations.ts
6
6
  function l({ globalClient: l, userId: u, productSlug: d, moduleId: f, pageId: p, workspaceId: m, setAllTours: h, allToursRef: g, progressMutationVersionRef: _, latestProgressMutationByTourRef: v }) {
7
7
  return {
8
- trackProgress: c(async (t, a, o) => {
8
+ trackProgress: c(async (e, i, a) => {
9
9
  if (!l || !u) return;
10
- let c = a === "started" ? "IN_PROGRESS" : a === "completed" ? "COMPLETED" : "SKIPPED", d = g.current.find((e) => e.id === t)?.myProgress, f = _.current + 1;
11
- _.current = f, v.current.set(t, f), h((n) => {
12
- let r = e(n, t, c);
13
- return g.current = r, r;
10
+ let c = i === "started" ? "IN_PROGRESS" : i === "completed" ? "COMPLETED" : "SKIPPED", d = g.current.find((t) => t.id === e)?.myProgress, f = _.current + 1;
11
+ _.current = f, v.current.set(e, f), h((t) => {
12
+ let n = s(t, e, c);
13
+ return g.current = n, n;
14
14
  });
15
15
  try {
16
- if (a === "started") {
16
+ if (i === "started") {
17
17
  await l.mutate({
18
- mutation: i,
18
+ mutation: r,
19
19
  variables: {
20
- tourId: t,
20
+ tourId: e,
21
21
  userId: u,
22
- deviceType: s()
22
+ deviceType: o()
23
23
  }
24
24
  });
25
25
  return;
26
26
  }
27
- if (a === "completed") {
27
+ if (i === "completed") {
28
28
  await l.mutate({
29
- mutation: n,
29
+ mutation: t,
30
30
  variables: {
31
- tourId: t,
31
+ tourId: e,
32
32
  userId: u
33
33
  }
34
34
  });
35
35
  return;
36
36
  }
37
37
  await l.mutate({
38
- mutation: r,
38
+ mutation: n,
39
39
  variables: {
40
- tourId: t,
40
+ tourId: e,
41
41
  userId: u
42
42
  }
43
43
  });
44
44
  } catch {
45
- if (v.current.get(t) !== f) return;
46
- h((e) => {
47
- let n = e.map((e) => e.id === t ? {
48
- ...e,
45
+ if (v.current.get(e) !== f) return;
46
+ h((t) => {
47
+ let n = t.map((t) => t.id === e ? {
48
+ ...t,
49
49
  myProgress: d
50
- } : e);
50
+ } : t);
51
51
  return g.current = n, n;
52
52
  });
53
53
  } finally {
54
- v.current.get(t) === f && v.current.delete(t);
54
+ v.current.get(e) === f && v.current.delete(e);
55
55
  }
56
56
  }, [
57
57
  l,
@@ -61,12 +61,12 @@ function l({ globalClient: l, userId: u, productSlug: d, moduleId: f, pageId: p,
61
61
  _,
62
62
  v
63
63
  ]),
64
- recordStepCompletion: c(async (e, n) => {
64
+ recordStepCompletion: c(async (t, n) => {
65
65
  if (!(!l || !u || !n)) try {
66
66
  await l.mutate({
67
- mutation: t,
67
+ mutation: e,
68
68
  variables: {
69
- tourId: e,
69
+ tourId: t,
70
70
  stepId: n,
71
71
  userId: u
72
72
  }
@@ -76,18 +76,18 @@ function l({ globalClient: l, userId: u, productSlug: d, moduleId: f, pageId: p,
76
76
  trackEvent: c(async (e, t, n) => {
77
77
  if (!(!l || !u)) try {
78
78
  await l.mutate({
79
- mutation: a,
79
+ mutation: i,
80
80
  variables: { input: {
81
81
  tourId: t,
82
82
  userId: u,
83
- sessionId: o(),
83
+ sessionId: a(),
84
84
  eventType: e,
85
85
  stepId: n?.stepId,
86
86
  stepOrder: n?.stepOrder,
87
87
  productId: d,
88
88
  moduleId: f,
89
89
  pageId: p,
90
- deviceType: s(),
90
+ deviceType: o(),
91
91
  userAgent: typeof navigator < "u" ? navigator.userAgent : void 0,
92
92
  duration: n?.duration,
93
93
  metadata: n?.metadata,
@@ -0,0 +1,37 @@
1
+ export declare const BACKEND_ERROR_EVENT: "burdenoff:backend-error";
2
+ export interface BackendErrorExtensions {
3
+ code?: string;
4
+ errorCode?: string;
5
+ userMessage?: string;
6
+ humanMessage?: string;
7
+ displayMessage?: string;
8
+ technicalMessage?: string;
9
+ serviceName?: string;
10
+ requestId?: string;
11
+ correlationId?: string;
12
+ traceId?: string;
13
+ [key: string]: unknown;
14
+ }
15
+ export interface GraphQLBackendErrorLike {
16
+ message?: string | null;
17
+ path?: ReadonlyArray<string | number> | null;
18
+ extensions?: BackendErrorExtensions | null;
19
+ }
20
+ export interface BackendErrorDisplay {
21
+ message: string;
22
+ subtitle?: string;
23
+ code?: string;
24
+ operationName?: string;
25
+ serviceName?: string;
26
+ path?: string;
27
+ extensions?: BackendErrorExtensions;
28
+ }
29
+ export interface ExtractBackendErrorOptions {
30
+ operationName?: string;
31
+ fallbackMessage?: string;
32
+ }
33
+ export declare function extractBackendError(input: unknown, options?: ExtractBackendErrorOptions): BackendErrorDisplay | null;
34
+ export declare function isBackendErrorDisplay(value: unknown): value is BackendErrorDisplay;
35
+ export declare function shouldToastBackendError(error: BackendErrorDisplay | null): error is BackendErrorDisplay;
36
+ export declare function dispatchBackendErrorEvent(input: unknown, options?: ExtractBackendErrorOptions): void;
37
+ //# sourceMappingURL=backendErrors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backendErrors.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/backendErrors.ts"],"names":[],"mappings":"AAAA,eAA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ACb,KAAK,IAAI,mBAAmB,CAE9B;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,mBAAmB,GAAG,IAAI,GAChC,KAAK,IAAI,mBAAmB,CAI9B;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,EACd,OAAO,GAAE,0BAA+B,GACvC,IAAI,CAcN"}
@@ -0,0 +1,123 @@
1
+ //#region src/shared/utils/backendErrors.ts
2
+ var e = "burdenoff:backend-error", t = "Something went wrong. Please try again.", n = {
3
+ BAD_REQUEST: "Please check the request and try again.",
4
+ BAD_USER_INPUT: "Please check the information and try again.",
5
+ CAPTCHA_FAILED: "The verification failed. Please try again.",
6
+ CAPTCHA_REQUIRED: "Please complete the verification to continue.",
7
+ COMPLEXITY_TOO_HIGH: "This request is too large to process. Please simplify it and try again.",
8
+ CONFLICT: "This change conflicts with existing data. Please refresh and try again.",
9
+ FORBIDDEN: "You do not have permission to do that.",
10
+ INTERNAL_SERVER_ERROR: t,
11
+ NOT_FOUND: "We could not find the requested item.",
12
+ PERMISSION_DENIED: "You do not have permission to do that.",
13
+ QUOTA_EXCEEDED: "You've reached your usage limit.",
14
+ QUOTA_EXHAUSTED: "You've reached your usage limit.",
15
+ RATE_LIMITED: "Too many requests. Please wait a moment and try again.",
16
+ RESOURCE_CAP_EXCEEDED: "You've reached your plan limit. Upgrade your plan to continue.",
17
+ STORAGE_QUOTA_EXCEEDED: "You've reached your storage limit. Upgrade your plan to continue.",
18
+ TIMEOUT: "The request took too long. Please try again.",
19
+ UNAUTHENTICATED: "Please sign in to continue.",
20
+ VALIDATION_ERROR: "Please check the information and try again.",
21
+ WORKSPACE_REQUIRED: "Please choose a workspace and try again."
22
+ }, r = new Set([
23
+ "UNAUTHENTICATED",
24
+ "TOKEN_EXPIRED",
25
+ "RESOURCE_CAP_EXCEEDED",
26
+ "STORAGE_QUOTA_EXCEEDED",
27
+ "QUOTA_EXHAUSTED"
28
+ ]);
29
+ function i(e) {
30
+ return typeof e == "object" && !!e && !Array.isArray(e);
31
+ }
32
+ function a(e, t) {
33
+ let n = e[t];
34
+ return typeof n == "string" && n.trim().length > 0 ? n : void 0;
35
+ }
36
+ function o(e) {
37
+ if (!(typeof e != "string" || e.trim().length === 0)) return e.trim().replace(/[\s-]+/g, "_").toUpperCase();
38
+ }
39
+ function s(e) {
40
+ if (!i(e)) return;
41
+ let t = e.errors;
42
+ if (Array.isArray(t)) return t;
43
+ let n = e.graphQLErrors;
44
+ if (Array.isArray(n)) return n;
45
+ let r = e.networkError;
46
+ if (i(r)) {
47
+ let e = r.result;
48
+ if (i(e) && Array.isArray(e.errors)) return e.errors;
49
+ }
50
+ }
51
+ function c(e) {
52
+ let t = s(e);
53
+ if (t && t.length > 0) return t[0];
54
+ if (i(e) && ("message" in e || "extensions" in e)) return e;
55
+ }
56
+ function l(e) {
57
+ if (e) return e.userMessage ?? e.humanMessage ?? e.displayMessage;
58
+ }
59
+ function u(e) {
60
+ return e.length > 220 || e.includes("\n") || /\b(prisma|sql|constraint|undefined|null|ECONN[A-Z_]*|ETIMEDOUT|ENOTFOUND)\b/i.test(e) || /failed to fetch|network error|graphql fetch failed/i.test(e) || /Cannot (read|set|find|access)/i.test(e);
61
+ }
62
+ function d(e) {
63
+ let t = e.toLowerCase();
64
+ if (t.includes("unauthenticated") || t.includes("unauthorized")) return "UNAUTHENTICATED";
65
+ if (t.includes("workspace context")) return "WORKSPACE_REQUIRED";
66
+ if (t.includes("forbidden") || t.includes("access denied")) return "FORBIDDEN";
67
+ if (t.includes("not found")) return "NOT_FOUND";
68
+ if (t.includes("quota") || t.includes("limit reached")) return "QUOTA_EXCEEDED";
69
+ if (t.includes("required") || t.includes("invalid") || t.includes("missing")) return "BAD_USER_INPUT";
70
+ }
71
+ function f(e, r, i, a) {
72
+ let o = l(e?.extensions ?? void 0);
73
+ if (o) return o;
74
+ let s = e?.message ?? a;
75
+ return s && !u(s) ? s : r && n[r] ? n[r] : i ?? t;
76
+ }
77
+ function p(e) {
78
+ if (!(!e || e.length === 0)) return e.map((e) => String(e)).join(".");
79
+ }
80
+ function m({ code: e, technicalMessage: t, message: n, operationName: r, serviceName: i, path: a, requestId: o }) {
81
+ let s = [
82
+ e,
83
+ i,
84
+ r,
85
+ a ? `path: ${a}` : void 0,
86
+ o
87
+ ].filter((e) => typeof e == "string" && e.length > 0);
88
+ return t && t !== n && s.push(t), s.length > 0 ? s.join(" • ") : void 0;
89
+ }
90
+ function h(e, t = {}) {
91
+ if (e == null) return null;
92
+ let n = c(e), r = n?.extensions ?? void 0, s = e instanceof Error ? e.message : i(e) ? a(e, "message") : void 0, l = o(r?.code ?? r?.errorCode) ?? d(s ?? n?.message ?? ""), u = r?.serviceName, h = p(n?.path), g = r?.requestId ?? r?.correlationId ?? r?.traceId, _ = f(n, l, t.fallbackMessage, s);
93
+ return {
94
+ message: _,
95
+ subtitle: m({
96
+ code: l,
97
+ technicalMessage: r?.technicalMessage ?? (s && s !== _ ? s : void 0),
98
+ message: _,
99
+ operationName: t.operationName,
100
+ serviceName: u,
101
+ path: h,
102
+ requestId: g
103
+ }),
104
+ code: l,
105
+ operationName: t.operationName,
106
+ serviceName: u,
107
+ path: h,
108
+ extensions: r
109
+ };
110
+ }
111
+ function g(e) {
112
+ return i(e) && typeof e.message == "string";
113
+ }
114
+ function _(e) {
115
+ return !e || e.code && r.has(e.code) ? !1 : e.message.trim().length > 0;
116
+ }
117
+ function v(t, n = {}) {
118
+ if (typeof window > "u" || t instanceof DOMException && t.name === "AbortError") return;
119
+ let r = g(t) ? t : h(t, n);
120
+ _(r) && window.dispatchEvent(new CustomEvent(e, { detail: r }));
121
+ }
122
+ //#endregion
123
+ export { e as BACKEND_ERROR_EVENT, v as dispatchBackendErrorEvent, h as extractBackendError, g as isBackendErrorDisplay, _ as shouldToastBackendError };
@@ -14,13 +14,15 @@ export { resolveGatewayBases, installGatewayFetchRewrite, suppressConsole, } fro
14
14
  export type { GatewayBases, GatewayBaseMapping } from './gatewayFetchRewrite';
15
15
  export { clearAuthSessionStorage, hasAuthGraphQLErrors, isAuthGraphQLError, isAuthNetworkError, attemptTokenRefresh, redirectToLogin, } from './authErrorHandling';
16
16
  export type { GraphQLErrorLike, TokenRefreshConfig } from './authErrorHandling';
17
- export { AppInitializer, useShellNavigate, useRegistryHelpers } from './appHelpers';
17
+ export { BACKEND_ERROR_EVENT, dispatchBackendErrorEvent, extractBackendError, isBackendErrorDisplay, shouldToastBackendError, } from './backendErrors';
18
+ export type { BackendErrorDisplay, BackendErrorExtensions, ExtractBackendErrorOptions, GraphQLBackendErrorLike, } from './backendErrors';
19
+ export { AppInitializer, useShellNavigate, useRegistryHelpers, } from './appHelpers';
18
20
  export type { AppInitializerProps } from './appHelpers';
19
- export { initializeLogger, setUserContext, clearUserContext } from './loggerInit';
21
+ export { initializeLogger, setUserContext, clearUserContext, } from './loggerInit';
20
22
  export type { InitLoggerOptions } from './loggerInit';
21
23
  export { setSSoCookie, getSSoCookie, clearSSoCookie, setShellSsoCookies, readShellSsoCookie, clearShellSsoCookies, isSharedSsoCookieDomain, isTrustedSsoOrigin, } from './authCookie';
22
24
  export type { ShellSsoCookieData } from './authCookie';
23
- export { createProfileScopedStorage, getProfileScopedKey } from './profileScopedStorage';
24
- export { QUOTA_EXHAUSTED_CODE, isQuotaExhaustedError, extractQuotaExhaustedExtensions, buildQuotaExhaustedMessage, } from './quotaErrors';
25
- export type { QuotaExhaustedExtensions } from './quotaErrors';
25
+ export { createProfileScopedStorage, getProfileScopedKey, } from './profileScopedStorage';
26
+ export { QUOTA_EXHAUSTED_CODE, RESOURCE_CAP_EXCEEDED_CODE, STORAGE_QUOTA_EXCEEDED_CODE, UPGRADE_ERROR_CODES, isQuotaExhaustedError, isUpgradeError, extractUpgradeErrorExtensions, extractQuotaExhaustedExtensions, buildQuotaExhaustedMessage, } from './quotaErrors';
27
+ export type { QuotaExhaustedExtensions, UpgradeErrorCode, UpgradeErrorExtensions, } from './quotaErrors';
26
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,YAAY,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAG1D,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,GACX,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG9E,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EAAE,cAAc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,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGvD,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
@@ -13,6 +13,9 @@ function i(e) {
13
13
  return null;
14
14
  }
15
15
  function a(e) {
16
+ return o(e) !== null;
17
+ }
18
+ function o(e) {
16
19
  if (typeof e != "object" || !e) return null;
17
20
  let t = e, n = i(t.graphQLErrors);
18
21
  if (n) return n;
@@ -23,7 +26,7 @@ function a(e) {
23
26
  }
24
27
  return null;
25
28
  }
26
- function o(e) {
29
+ function s(e) {
27
30
  return e ? e.code === "STORAGE_QUOTA_EXCEEDED" || typeof e.limitBytes == "number" ? {
28
31
  current: e.currentBytes ?? null,
29
32
  limit: e.limitBytes ?? null,
@@ -38,22 +41,22 @@ function o(e) {
38
41
  unit: "count"
39
42
  };
40
43
  }
41
- function s(e) {
44
+ function c(e) {
42
45
  if (!e) return null;
43
46
  for (let t of e) if (t?.extensions?.code === "QUOTA_EXHAUSTED") return t.extensions;
44
47
  return null;
45
48
  }
46
- function c(e) {
47
- return l(e) !== null;
49
+ function l(e) {
50
+ return u(e) !== null;
48
51
  }
49
- function l(t) {
52
+ function u(t) {
50
53
  if (typeof t != "object" || !t) return null;
51
54
  let n = t;
52
- return s(n.graphQLErrors) || s(n.networkError?.result?.errors) || (t instanceof Error && typeof t.message == "string" && t.message.includes("QUOTA_EXHAUSTED") ? { code: e } : null);
55
+ return c(n.graphQLErrors) || c(n.networkError?.result?.errors) || (t instanceof Error && typeof t.message == "string" && t.message.includes("QUOTA_EXHAUSTED") ? { code: e } : null);
53
56
  }
54
- function u(e) {
57
+ function d(e) {
55
58
  let t = e?.quotaName ?? e?.field;
56
59
  return t ? `You've reached your ${t} limit. Upgrade your plan.` : "You've reached your usage limit. Upgrade your plan.";
57
60
  }
58
61
  //#endregion
59
- export { e as QUOTA_EXHAUSTED_CODE, n as RESOURCE_CAP_EXCEEDED_CODE, t as STORAGE_QUOTA_EXCEEDED_CODE, u as buildQuotaExhaustedMessage, l as extractQuotaExhaustedExtensions, a as extractUpgradeErrorExtensions, c as isQuotaExhaustedError, o as resolveUpgradeUsage };
62
+ export { e as QUOTA_EXHAUSTED_CODE, n as RESOURCE_CAP_EXCEEDED_CODE, t as STORAGE_QUOTA_EXCEEDED_CODE, r as UPGRADE_ERROR_CODES, d as buildQuotaExhaustedMessage, u as extractQuotaExhaustedExtensions, o as extractUpgradeErrorExtensions, l as isQuotaExhaustedError, a as isUpgradeError, s as resolveUpgradeUsage };
@@ -7,6 +7,6 @@ import { TourPlayer as u, TourTriggerButton as d, usePlayTour as f } from "./sha
7
7
  import { getTourContextRank as p, getTourRouteCatalog as m, getTourRouteModules as h, getTourRoutePages as g, isTourVisibleForContext as _, normalizeTourPath as v, registerTourRouteCatalog as y, resolveTourTargetPath as b } from "./shared/tours/routeCatalog.js";
8
8
  import { withTourProgressStatus as x } from "./shared/tours/progress.js";
9
9
  import { ToursProvider as S, useAutoStartTour as C, useSafeToursContext as w, useTours as T, useToursContext as E } from "./shared/tours/ToursContext.js";
10
- import { TourTrigger as D } from "./shared/tours/TourTrigger.js";
11
- import { TourInitializer as O } from "./shared/tours/TourInitializer.js";
12
- export { O as TourInitializer, u as TourPlayer, a as TourPlayerProvider, r as TourSpotlight, i as TourTooltip, D as TourTrigger, d as TourTriggerButton, S as ToursProvider, e as detectDeviceType, t as getResponsiveSelector, p as getTourContextRank, m as getTourRouteCatalog, h as getTourRouteModules, g as getTourRoutePages, _ as isTourVisibleForContext, v as normalizeTourPath, y as registerTourRouteCatalog, b as resolveTourTargetPath, C as useAutoStartTour, o as useIsTourPlaying, f as usePlayTour, w as useSafeToursContext, s as useStartTour, c as useStopTour, n as useTourPlayer, l as useTourPlayerContext, T as useTours, E as useToursContext, x as withTourProgressStatus };
10
+ import { TourInitializer as D } from "./shared/tours/TourInitializer.js";
11
+ import { TourTrigger as O } from "./shared/tours/TourTrigger.js";
12
+ export { D as TourInitializer, u as TourPlayer, a as TourPlayerProvider, r as TourSpotlight, i as TourTooltip, O as TourTrigger, d as TourTriggerButton, S as ToursProvider, e as detectDeviceType, t as getResponsiveSelector, p as getTourContextRank, m as getTourRouteCatalog, h as getTourRouteModules, g as getTourRoutePages, _ as isTourVisibleForContext, v as normalizeTourPath, y as registerTourRouteCatalog, b as resolveTourTargetPath, C as useAutoStartTour, o as useIsTourPlaying, f as usePlayTour, w as useSafeToursContext, s as useStartTour, c as useStopTour, n as useTourPlayer, l as useTourPlayerContext, T as useTours, E as useToursContext, x as withTourProgressStatus };
@@ -3,17 +3,18 @@ import { alertTokens as t, categoryTokens as n, getAlertTokens as r, getCategory
3
3
  import { capitalizeFirst as f, capitalizeWords as p, formatBytes as m, formatCompactNumber as h, formatCurrency as g, formatCurrencyCompact as _, formatDate as v, formatDateTime as y, formatDuration as b, formatList as x, formatNumber as S, formatOrdinal as C, formatPercentage as w, formatRelativeTime as T, formatTime as E, pluralize as D, slugify as O, toCamelCase as k, toPascalCase as A, truncateText as j } from "./shared/utils/format.js";
4
4
  import { isChunkLoadError as M, lazyWithRetry as N } from "./shared/utils/lazyWithRetry.js";
5
5
  import { installGatewayFetchRewrite as P, resolveGatewayBases as F, suppressConsole as I } from "./shared/utils/gatewayFetchRewrite.js";
6
- import { attemptTokenRefresh as L, clearAuthSessionStorage as R, hasAuthGraphQLErrors as z, isAuthGraphQLError as B, isAuthNetworkError as V, redirectToLogin as H } from "./shared/utils/authErrorHandling.js";
7
- import { clearSSoCookie as U, clearShellSsoCookies as W, getSSoCookie as G, isSharedSsoCookieDomain as K, isTrustedSsoOrigin as q, readShellSsoCookie as J, setSSoCookie as Y, setShellSsoCookies as X } from "./shared/utils/authCookie.js";
8
- import { AppInitializer as Z, useRegistryHelpers as Q, useShellNavigate as $ } from "./shared/utils/appHelpers.js";
9
- import { clearUserContext as ee, initializeLogger as te, setUserContext as ne } from "./shared/utils/loggerInit.js";
10
- import { createProfileScopedStorage as re, getProfileScopedKey as ie } from "./shared/utils/profileScopedStorage.js";
11
- import { QUOTA_EXHAUSTED_CODE as ae, buildQuotaExhaustedMessage as oe, extractQuotaExhaustedExtensions as se, isQuotaExhaustedError as ce } from "./shared/utils/quotaErrors.js";
12
- import { clsx as le } from "clsx";
13
- import { twMerge as ue } from "tailwind-merge";
6
+ import { BACKEND_ERROR_EVENT as L, dispatchBackendErrorEvent as R, extractBackendError as z, isBackendErrorDisplay as B, shouldToastBackendError as V } from "./shared/utils/backendErrors.js";
7
+ import { attemptTokenRefresh as H, clearAuthSessionStorage as U, hasAuthGraphQLErrors as W, isAuthGraphQLError as G, isAuthNetworkError as K, redirectToLogin as q } from "./shared/utils/authErrorHandling.js";
8
+ import { clearSSoCookie as J, clearShellSsoCookies as Y, getSSoCookie as X, isSharedSsoCookieDomain as Z, isTrustedSsoOrigin as Q, readShellSsoCookie as $, setSSoCookie as ee, setShellSsoCookies as te } from "./shared/utils/authCookie.js";
9
+ import { AppInitializer as ne, useRegistryHelpers as re, useShellNavigate as ie } from "./shared/utils/appHelpers.js";
10
+ import { clearUserContext as ae, initializeLogger as oe, setUserContext as se } from "./shared/utils/loggerInit.js";
11
+ import { createProfileScopedStorage as ce, getProfileScopedKey as le } from "./shared/utils/profileScopedStorage.js";
12
+ import { QUOTA_EXHAUSTED_CODE as ue, RESOURCE_CAP_EXCEEDED_CODE as de, STORAGE_QUOTA_EXCEEDED_CODE as fe, UPGRADE_ERROR_CODES as pe, buildQuotaExhaustedMessage as me, extractQuotaExhaustedExtensions as he, extractUpgradeErrorExtensions as ge, isQuotaExhaustedError as _e, isUpgradeError as ve } from "./shared/utils/quotaErrors.js";
13
+ import { clsx as ye } from "clsx";
14
+ import { twMerge as be } from "tailwind-merge";
14
15
  //#region src/shared/utils/index.ts
15
- function de(...e) {
16
- return ue(le(e));
16
+ function xe(...e) {
17
+ return be(ye(e));
17
18
  }
18
19
  //#endregion
19
- export { Z as AppInitializer, ae as QUOTA_EXHAUSTED_CODE, t as alertTokens, L as attemptTokenRefresh, oe as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, R as clearAuthSessionStorage, U as clearSSoCookie, W as clearShellSsoCookies, ee as clearUserContext, de as cn, e as createApolloClient, re as createProfileScopedStorage, se as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, ie as getProfileScopedKey, a as getProgressTokens, G as getSSoCookie, o as getStatusBadgeTokens, s as getStatusTokens, c as getTrendTokens, z as hasAuthGraphQLErrors, te as initializeLogger, P as installGatewayFetchRewrite, B as isAuthGraphQLError, V as isAuthNetworkError, M as isChunkLoadError, ce as isQuotaExhaustedError, K as isSharedSsoCookieDomain, q as isTrustedSsoOrigin, N as lazyWithRetry, D as pluralize, l as progressTokens, J as readShellSsoCookie, H as redirectToLogin, F as resolveGatewayBases, Y as setSSoCookie, X as setShellSsoCookies, ne as setUserContext, O as slugify, u as statusTokens, I as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, Q as useRegistryHelpers, $ as useShellNavigate };
20
+ export { ne as AppInitializer, L as BACKEND_ERROR_EVENT, ue as QUOTA_EXHAUSTED_CODE, de as RESOURCE_CAP_EXCEEDED_CODE, fe as STORAGE_QUOTA_EXCEEDED_CODE, pe as UPGRADE_ERROR_CODES, t as alertTokens, H as attemptTokenRefresh, me as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, U as clearAuthSessionStorage, J as clearSSoCookie, Y as clearShellSsoCookies, ae as clearUserContext, xe as cn, e as createApolloClient, ce as createProfileScopedStorage, R as dispatchBackendErrorEvent, z as extractBackendError, he as extractQuotaExhaustedExtensions, ge as extractUpgradeErrorExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, le as getProfileScopedKey, a as getProgressTokens, X as getSSoCookie, o as getStatusBadgeTokens, s as getStatusTokens, c as getTrendTokens, W as hasAuthGraphQLErrors, oe as initializeLogger, P as installGatewayFetchRewrite, G as isAuthGraphQLError, K as isAuthNetworkError, B as isBackendErrorDisplay, M as isChunkLoadError, _e as isQuotaExhaustedError, Z as isSharedSsoCookieDomain, Q as isTrustedSsoOrigin, ve as isUpgradeError, N as lazyWithRetry, D as pluralize, l as progressTokens, $ as readShellSsoCookie, q as redirectToLogin, F as resolveGatewayBases, ee as setSSoCookie, te as setShellSsoCookies, se as setUserContext, V as shouldToastBackendError, O as slugify, u as statusTokens, I as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, re as useRegistryHelpers, ie as useShellNavigate };