@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,48 +1,45 @@
1
1
  import { isShellLessRoute as e } from "../config/shellRoutes.js";
2
2
  import { readActiveContextValueWithUrlPrecedence as t } from "./shell/ActiveContextStorage.js";
3
- import { graphqlFetch as n } from "../graphql/fetch.js";
4
- import "../../shared-graphql.js";
5
- import { attemptTokenRefresh as r, clearAuthSessionStorage as i, isAuthNetworkError as a } from "../utils/authErrorHandling.js";
6
- import { AuthProvider as o } from "./shell/AuthProvider.js";
7
- import { ActiveContextProvider as s } from "./shell/ActiveContextProvider.js";
8
- import { LogManager as c } from "../logger/LogManager.js";
9
- import { ConsoleTransport as l } from "../logger/ConsoleTransport.js";
10
- import { ThemeProvider as u } from "./shell/ThemeProvider.js";
11
- import { ErrorFallback as d } from "../components/ErrorFallback.js";
12
- import { m as f } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
13
- import { PWAInstallBanner as p } from "../components/PWAInstallBanner.js";
14
- import { I18nProvider as m } from "./shell/I18nProvider.js";
15
- import { FeatureFlagsProvider as h } from "./shell/FeatureFlagsProvider.js";
16
- import { FeatureFlagProvider as g } from "../feature-flags/FeatureFlagProvider.js";
17
- import "../../shared-feature-flags.js";
18
- import { GlobalUiProvider as _ } from "./shell/GlobalUiProvider.js";
19
- import { ShellUiProvider as v } from "./shell/ShellUiProvider.js";
20
- import { ContextManagerProvider as ee } from "./shell/ContextManagerProvider.js";
21
- import { AuthTokenProvider as y } from "./shell/AuthTokenProvider.js";
22
- import { MultiGatewayProvider as b } from "./shell/MultiGatewayProvider.js";
23
- import { G as x, j as S, w as C } from "../../node_modules/web-vitals/dist/web-vitals.js";
24
- import { ProfileI18nBridge as w } from "./shell/ProfileI18nBridge.js";
25
- import { ProfileGeographyBridge as T } from "./shell/ProfileGeographyBridge.js";
26
- import { AppShellContextProvider as te } from "./shell/AppShellContext.js";
27
- import { DevtoolsSink as E } from "../events/sinks/DevtoolsSink.js";
28
- import { BroadcastChannelSink as D } from "../events/sinks/BroadcastChannelSink.js";
29
- import { BackendAuditSink as O } from "../events/sinks/BackendAuditSink.js";
30
- import { RybbitSink as k } from "../events/sinks/RybbitSink.js";
31
- import { OtelBrowserSink as A } from "../events/sinks/OtelBrowserSink.js";
32
- import { EventBusProvider as ne, useEventBus as j } from "../../shared-events.js";
33
- import "../../shared-logger.js";
34
- import { useReferralAttribution as M } from "../hooks/useReferralAttribution.js";
35
- import { TourPlayerProvider as N } from "../tours/TourPlayerProvider.js";
36
- import { ToursProvider as P, useToursContext as F } from "../tours/ToursContext.js";
37
- import { TourInitializer as I } from "../tours/TourInitializer.js";
38
- import "../../shared-tours.js";
39
- import { Suspense as L, useCallback as R, useEffect as z, useMemo as B, useRef as V } from "react";
40
- import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
41
- import { BrowserRouter as re, useLocation as G } from "react-router-dom";
42
- import { Toaster as K } from "sonner";
43
- import { QueryClient as ie, QueryClientProvider as q } from "@tanstack/react-query";
3
+ import { BACKEND_ERROR_EVENT as n, dispatchBackendErrorEvent as r, isBackendErrorDisplay as i, shouldToastBackendError as a } from "../utils/backendErrors.js";
4
+ import { graphqlFetch as o } from "../graphql/fetch.js";
5
+ import { attemptTokenRefresh as s, clearAuthSessionStorage as c, isAuthNetworkError as l } from "../utils/authErrorHandling.js";
6
+ import { AuthProvider as u } from "./shell/AuthProvider.js";
7
+ import { ActiveContextProvider as d } from "./shell/ActiveContextProvider.js";
8
+ import { LogManager as ee } from "../logger/LogManager.js";
9
+ import { ConsoleTransport as te } from "../logger/ConsoleTransport.js";
10
+ import { ThemeProvider as f } from "./shell/ThemeProvider.js";
11
+ import { ErrorFallback as ne } from "../components/ErrorFallback.js";
12
+ import { m as p } from "../../node_modules/.bun/react-error-boundary@6.1.1_3f10a4be4e334a9b/node_modules/react-error-boundary/dist/react-error-boundary.js";
13
+ import { PWAInstallBanner as m } from "../components/PWAInstallBanner.js";
14
+ import { I18nProvider as h } from "./shell/I18nProvider.js";
15
+ import { FeatureFlagsProvider as g } from "./shell/FeatureFlagsProvider.js";
16
+ import { FeatureFlagProvider as _ } from "../feature-flags/FeatureFlagProvider.js";
17
+ import { GlobalUiProvider as v } from "./shell/GlobalUiProvider.js";
18
+ import { ShellUiProvider as y } from "./shell/ShellUiProvider.js";
19
+ import { ContextManagerProvider as b } from "./shell/ContextManagerProvider.js";
20
+ import { AuthTokenProvider as x } from "./shell/AuthTokenProvider.js";
21
+ import { MultiGatewayProvider as re } from "./shell/MultiGatewayProvider.js";
22
+ import { G as S, j as C, w } from "../../node_modules/.bun/web-vitals@4.2.4/node_modules/web-vitals/dist/web-vitals.js";
23
+ import { ProfileI18nBridge as T } from "./shell/ProfileI18nBridge.js";
24
+ import { ProfileGeographyBridge as E } from "./shell/ProfileGeographyBridge.js";
25
+ import { AppShellContextProvider as ie } from "./shell/AppShellContext.js";
26
+ import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
27
+ import { BroadcastChannelSink as O } from "../events/sinks/BroadcastChannelSink.js";
28
+ import { BackendAuditSink as k } from "../events/sinks/BackendAuditSink.js";
29
+ import { RybbitSink as A } from "../events/sinks/RybbitSink.js";
30
+ import { OtelBrowserSink as j } from "../events/sinks/OtelBrowserSink.js";
31
+ import { EventBusProvider as ae, useEventBus as M } from "../../shared-events.js";
32
+ import { useReferralAttribution as N } from "../hooks/useReferralAttribution.js";
33
+ import { TourPlayerProvider as P } from "../tours/TourPlayerProvider.js";
34
+ import { ToursProvider as F, useToursContext as I } from "../tours/ToursContext.js";
35
+ import { TourInitializer as L } from "../tours/TourInitializer.js";
36
+ import { Suspense as R, useCallback as z, useEffect as B, useMemo as V, useRef as H } from "react";
37
+ import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
38
+ import { BrowserRouter as K, useLocation as q } from "react-router-dom";
39
+ import { Toaster as J, toast as Y } from "sonner";
40
+ import { MutationCache as oe, QueryCache as se, QueryClient as ce, QueryClientProvider as le } from "@tanstack/react-query";
44
41
  //#region src/shared/providers/AppShellProvider.tsx
45
- var J = {
42
+ var X = {
46
43
  bigconsole: {
47
44
  prod: "292459a3e86c",
48
45
  nonProd: "a7e7362b0de3"
@@ -61,7 +58,7 @@ var J = {
61
58
  },
62
59
  vibecontrols: { prod: "8a46449d9c07" },
63
60
  workspaces: { prod: "da0c142f4b2e" }
64
- }, Y = [
61
+ }, Z = [
65
62
  "nav.route.changed",
66
63
  "auth.signed_in",
67
64
  "auth.signed_out",
@@ -76,14 +73,14 @@ var J = {
76
73
  "notification.admin.sent",
77
74
  "notification.template.saved",
78
75
  "notification.schedule.updated"
79
- ];
80
- function X(e) {
76
+ ], ue = 4e3;
77
+ function de(e) {
81
78
  return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
82
79
  }
83
- function Z(e, t) {
80
+ function Q(e, t) {
84
81
  return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
85
82
  }
86
- function ae() {
83
+ function fe() {
87
84
  return {
88
85
  BASE_URL: "/",
89
86
  DEV: !1,
@@ -92,8 +89,8 @@ function ae() {
92
89
  SSR: !1
93
90
  };
94
91
  }
95
- function Q(e, t) {
96
- let n = X(t.VITE_DEPLOY_ENV ?? t.MODE), r = Z(t, n), i = J[e], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
92
+ function $(e, t) {
93
+ let n = de(t.VITE_DEPLOY_ENV ?? t.MODE), r = Q(t, n), i = X[e], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
97
94
  return {
98
95
  enabled: r,
99
96
  appVersion: t.VITE_APP_VERSION || "0.0.0",
@@ -104,7 +101,7 @@ function Q(e, t) {
104
101
  enabled: r && !!o,
105
102
  siteId: o,
106
103
  scriptUrl: t.VITE_RYBBIT_SCRIPT_URL,
107
- allowlist: Y,
104
+ allowlist: Z,
108
105
  identifyOn: "auth.signed_in",
109
106
  rename: { "nav.route.changed": "pageview" }
110
107
  },
@@ -119,16 +116,16 @@ function Q(e, t) {
119
116
  }
120
117
  };
121
118
  }
122
- function $({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
123
- let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = F(), c = R((e, t) => e.steps?.[t], []);
124
- return /* @__PURE__ */ W(N, {
125
- onTourStart: R((e) => {
119
+ function pe({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
120
+ let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = I(), c = z((e, t) => e.steps?.[t], []);
121
+ return /* @__PURE__ */ G(P, {
122
+ onTourStart: z((e) => {
126
123
  a(e.id, "started"), s("TOUR_STARTED", e.id);
127
124
  }, [s, a]),
128
- onTourComplete: R((e) => {
125
+ onTourComplete: z((e) => {
129
126
  a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
130
127
  }, [s, a]),
131
- onTourSkip: R((e, t) => {
128
+ onTourSkip: z((e, t) => {
132
129
  let n = c(e, t);
133
130
  a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
134
131
  stepId: n?.id,
@@ -139,14 +136,14 @@ function $({ children: e, enablePWA: t, toasterPosition: n, productName: r, bran
139
136
  s,
140
137
  a
141
138
  ]),
142
- onStepChange: R((e, t) => {
139
+ onStepChange: z((e, t) => {
143
140
  let n = c(e, t);
144
141
  n && s("STEP_VIEWED", e.id, {
145
142
  stepId: n.id,
146
143
  stepOrder: n.stepOrder
147
144
  });
148
145
  }, [c, s]),
149
- onStepComplete: R((e, t) => {
146
+ onStepComplete: z((e, t) => {
150
147
  let n = c(e, t);
151
148
  n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
152
149
  stepId: n.id,
@@ -158,16 +155,17 @@ function $({ children: e, enablePWA: t, toasterPosition: n, productName: r, bran
158
155
  s
159
156
  ]),
160
157
  children: [
161
- /* @__PURE__ */ U(I, {}),
158
+ /* @__PURE__ */ W(L, {}),
162
159
  e,
163
- /* @__PURE__ */ U(K, {
160
+ /* @__PURE__ */ W(me, {}),
161
+ /* @__PURE__ */ W(J, {
164
162
  position: n,
165
163
  richColors: !0,
166
164
  closeButton: !0
167
165
  }),
168
- t && /* @__PURE__ */ U(L, {
166
+ t && /* @__PURE__ */ W(R, {
169
167
  fallback: null,
170
- children: /* @__PURE__ */ U(p, {
168
+ children: /* @__PURE__ */ W(m, {
171
169
  productName: r,
172
170
  brandInitial: i
173
171
  })
@@ -175,18 +173,36 @@ function $({ children: e, enablePWA: t, toasterPosition: n, productName: r, bran
175
173
  ]
176
174
  });
177
175
  }
178
- function oe({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, productName: i, brandInitial: a, enablePWA: o, toasterPosition: s }) {
179
- let c = G();
180
- M();
181
- let l = c.pathname.startsWith("/auth/") || c.pathname.startsWith("/devportal") || c.pathname.startsWith("/organizations") || c.pathname.startsWith("/workspaces"), d = /* @__PURE__ */ U(T, { children: /* @__PURE__ */ U(h, { children: /* @__PURE__ */ U(g, {
176
+ function me() {
177
+ let e = H(null);
178
+ return B(() => {
179
+ let t = (t) => {
180
+ let n = t instanceof CustomEvent && i(t.detail) ? t.detail : null;
181
+ if (!a(n)) return;
182
+ let r = `${n.code ?? ""}|${n.message}|${n.subtitle ?? ""}`, o = Date.now(), s = e.current;
183
+ s?.key === r && o - s.shownAt < ue || (e.current = {
184
+ key: r,
185
+ shownAt: o
186
+ }, Y.error(n.message, {
187
+ description: n.subtitle,
188
+ duration: 7e3
189
+ }));
190
+ };
191
+ return window.addEventListener(n, t), () => window.removeEventListener(n, t);
192
+ }, []), null;
193
+ }
194
+ function he({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, productName: i, brandInitial: a, enablePWA: o, toasterPosition: s }) {
195
+ let c = q();
196
+ N();
197
+ let l = c.pathname.startsWith("/auth/") || c.pathname.startsWith("/devportal") || c.pathname.startsWith("/organizations") || c.pathname.startsWith("/workspaces"), u = /* @__PURE__ */ W(E, { children: /* @__PURE__ */ W(g, { children: /* @__PURE__ */ W(_, {
182
198
  workspaceId: null,
183
199
  gateway: "global",
184
200
  defaultEnabled: !0,
185
- children: /* @__PURE__ */ U(_, { children: /* @__PURE__ */ U(v, { children: /* @__PURE__ */ U(f, {
201
+ children: /* @__PURE__ */ W(v, { children: /* @__PURE__ */ W(y, { children: /* @__PURE__ */ W(p, {
186
202
  fallback: null,
187
- children: /* @__PURE__ */ U(P, {
203
+ children: /* @__PURE__ */ W(F, {
188
204
  disabled: l,
189
- children: /* @__PURE__ */ U($, {
205
+ children: /* @__PURE__ */ W(pe, {
190
206
  enablePWA: o,
191
207
  toasterPosition: s,
192
208
  productName: i,
@@ -196,9 +212,9 @@ function oe({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
196
212
  })
197
213
  }) }) })
198
214
  }) }) });
199
- return /* @__PURE__ */ W(u, {
215
+ return /* @__PURE__ */ G(f, {
200
216
  defaultBrand: r,
201
- children: [/* @__PURE__ */ U(se, {}), l ? /* @__PURE__ */ U(m, {
217
+ children: [/* @__PURE__ */ W(ge, {}), l ? /* @__PURE__ */ W(h, {
202
218
  defaultLocale: "en",
203
219
  translations: n ?? {
204
220
  en: {},
@@ -211,17 +227,17 @@ function oe({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
211
227
  hi: {}
212
228
  },
213
229
  showChildrenWhileLoading: !0,
214
- children: d
215
- }) : /* @__PURE__ */ U(w, {
230
+ children: u
231
+ }) : /* @__PURE__ */ W(T, {
216
232
  i18nProductId: t,
217
233
  fallbackTranslations: n,
218
- children: d
234
+ children: u
219
235
  })]
220
236
  });
221
237
  }
222
- function se() {
223
- let e = G();
224
- return z(() => {
238
+ function ge() {
239
+ let e = q();
240
+ return B(() => {
225
241
  e.hash || requestAnimationFrame(() => {
226
242
  window.scrollTo({
227
243
  top: 0,
@@ -239,7 +255,7 @@ function se() {
239
255
  e.hash
240
256
  ]), null;
241
257
  }
242
- function ce(e) {
258
+ function _e(e) {
243
259
  if (e instanceof Error) return e.message;
244
260
  if (typeof e == "string") return e;
245
261
  try {
@@ -248,9 +264,9 @@ function ce(e) {
248
264
  return String(e);
249
265
  }
250
266
  }
251
- function le() {
252
- let e = j(), t = G(), n = V(void 0), r = V(void 0);
253
- return z(() => {
267
+ function ve() {
268
+ let e = M(), t = q(), n = H(void 0), r = H(void 0);
269
+ return B(() => {
254
270
  let i = `${t.pathname}${t.search}${t.hash}`;
255
271
  r.current !== i && (e.emit("nav.route.changed", {
256
272
  pathname: t.pathname,
@@ -264,7 +280,7 @@ function le() {
264
280
  t.hash,
265
281
  t.pathname,
266
282
  t.search
267
- ]), z(() => {
283
+ ]), B(() => {
268
284
  let t = (t) => {
269
285
  e.emit("error.runtime.caught", {
270
286
  message: t.message || "Runtime error",
@@ -274,27 +290,27 @@ function le() {
274
290
  errorName: t.error instanceof Error ? t.error.name : void 0
275
291
  });
276
292
  }, n = (t) => {
277
- e.emit("error.unhandledrejection", { reason: ce(t.reason) });
293
+ e.emit("error.unhandledrejection", { reason: _e(t.reason) });
278
294
  };
279
295
  return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
280
296
  window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
281
297
  };
282
- }, [e]), z(() => {
283
- x((t) => {
298
+ }, [e]), B(() => {
299
+ S((t) => {
284
300
  e.emit("perf.lcp.measured", {
285
301
  metric: "LCP",
286
302
  value: t.value,
287
303
  id: t.id,
288
304
  rating: t.rating
289
305
  });
290
- }), C((t) => {
306
+ }), w((t) => {
291
307
  e.emit("perf.cls.measured", {
292
308
  metric: "CLS",
293
309
  value: t.value,
294
310
  id: t.id,
295
311
  rating: t.rating
296
312
  });
297
- }), S((t) => {
313
+ }), C((t) => {
298
314
  e.emit("perf.inp.measured", {
299
315
  metric: "INP",
300
316
  value: t.value,
@@ -304,39 +320,39 @@ function le() {
304
320
  });
305
321
  }, [e]), null;
306
322
  }
307
- function ue({ config: e, productSlug: t }) {
308
- return /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(le, {}), e.enabled === !1 ? null : /* @__PURE__ */ W(H, { children: [
309
- e.devtools ? /* @__PURE__ */ U(E, { enabled: !0 }) : null,
310
- e.broadcast === !1 ? null : /* @__PURE__ */ U(D, {}),
311
- e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ U(O, { endpoint: e.backendAudit.endpoint }) : null,
312
- e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ U(k, {
323
+ function ye({ config: e, productSlug: t }) {
324
+ return /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W(ve, {}), e.enabled === !1 ? null : /* @__PURE__ */ G(U, { children: [
325
+ e.devtools ? /* @__PURE__ */ W(D, { enabled: !0 }) : null,
326
+ e.broadcast === !1 ? null : /* @__PURE__ */ W(O, {}),
327
+ e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ W(k, { endpoint: e.backendAudit.endpoint }) : null,
328
+ e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ W(A, {
313
329
  siteId: e.rybbit.siteId,
314
330
  scriptUrl: e.rybbit.scriptUrl,
315
331
  allowlist: e.rybbit.allowlist,
316
332
  identifyOn: e.rybbit.identifyOn,
317
333
  rename: e.rybbit.rename
318
334
  }) : null,
319
- e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ U(A, {
335
+ e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ W(j, {
320
336
  endpoint: e.otel.endpoint,
321
337
  serviceName: e.otel.serviceName ?? `${t}-app`,
322
338
  flushInterval: e.otel.flushInterval
323
339
  }) : null
324
340
  ] })] });
325
341
  }
326
- function de({ config: u, children: p, clearAuthStore: m }) {
327
- let { productName: h, productSlug: g = h.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: x, gatewayUrls: S, authBridge: C, defaultBrand: w = "default", enablePWA: T = !0, brandInitial: E = h.charAt(0), defaultGateway: D = "workspace", enableSubscriptions: O = !0, fallbackTranslations: k, queryClientOptions: A, toasterPosition: j = "bottom-right", observability: M } = u, N = M ?? Q(g, ae()), P = B(() => ({
328
- productName: h,
329
- productSlug: g,
330
- brandInitial: E,
331
- tagline: _,
332
- domain: v
342
+ function be({ config: n, children: i, clearAuthStore: a }) {
343
+ let { productName: f, productSlug: m = f.toLowerCase().replace(/\s+/g, ""), tagline: h = "", domain: g, i18nProductId: _, gatewayUrls: v, authBridge: y, defaultBrand: S = "default", enablePWA: C = !0, brandInitial: w = f.charAt(0), defaultGateway: T = "workspace", enableSubscriptions: E = !0, fallbackTranslations: D, queryClientOptions: O, toasterPosition: k = "bottom-right", observability: A } = n, j = A ?? $(m, fe()), M = V(() => ({
344
+ productName: f,
345
+ productSlug: m,
346
+ brandInitial: w,
347
+ tagline: h,
348
+ domain: g
333
349
  }), [
350
+ f,
351
+ m,
352
+ w,
334
353
  h,
335
- g,
336
- E,
337
- _,
338
- v
339
- ]), F = V(!1), I = V(!1), L = V(null), H = V(!!C?.url), G = R(() => {
354
+ g
355
+ ]), N = H(!1), P = H(!1), F = H(null), I = H(!!y?.url), L = z(() => {
340
356
  if ((() => {
341
357
  try {
342
358
  let e = sessionStorage.getItem("bf-active-profile");
@@ -346,93 +362,101 @@ function de({ config: u, children: p, clearAuthStore: m }) {
346
362
  } catch {
347
363
  return !1;
348
364
  }
349
- })() || H.current || F.current) return;
350
- F.current = !0, i(m);
365
+ })() || I.current || N.current) return;
366
+ N.current = !0, c(a);
351
367
  let t = `${window.location.pathname}${window.location.search}`, n = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(t)}`, r = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
352
368
  if (window.location.pathname.startsWith("/auth/") || e(window.location.pathname) || r) {
353
- F.current = !1;
369
+ N.current = !1;
354
370
  return;
355
371
  }
356
372
  window.location.replace(n);
357
- }, [m]), K = B(() => ({
358
- globalBaseUrl: S.globalBaseUrl,
359
- isRefreshing: I,
360
- refreshPromise: L
361
- }), [S.globalBaseUrl]), J = R(async () => r(K), [K]), Y = R(async () => {
362
- window.location.pathname.startsWith("/auth/") || await J() || G();
363
- }, [J, G]), X = R(async (e) => {
364
- a(e) ? await J() || G() : console.error("[Network] Backend unreachable:", e.message);
365
- }, [J, G]), Z = R(() => t("organization"), []), $ = B(() => new ie({ defaultOptions: { queries: {
366
- staleTime: A?.staleTime ?? 300 * 1e3,
367
- retry: A?.retry ?? 1,
368
- refetchOnWindowFocus: A?.refetchOnWindowFocus ?? !1
369
- } } }), [A]);
370
- return z(() => {
371
- let e = c.getInstance();
372
- e.getLogger("shell") || e.getLogger("shell").addTransport(new l());
373
- }, []), /* @__PURE__ */ U(te, {
374
- value: P,
375
- children: /* @__PURE__ */ U(ne, {
376
- appName: g,
377
- appVersion: N.appVersion,
378
- appEnv: N.appEnv,
379
- sourceMfe: g,
380
- children: /* @__PURE__ */ U(f, {
381
- FallbackComponent: d,
382
- children: /* @__PURE__ */ W(re, { children: [/* @__PURE__ */ U(ue, {
383
- config: N,
384
- productSlug: g
385
- }), /* @__PURE__ */ U(q, {
386
- client: $,
387
- children: /* @__PURE__ */ U(y, { children: /* @__PURE__ */ U(b, {
388
- workspaceBaseUrl: S.workspaceBaseUrl,
389
- globalBaseUrl: S.globalBaseUrl,
390
- organizationId: Z,
391
- defaultGateway: D,
392
- enableSubscriptions: O,
393
- onAuthError: Y,
394
- onNetworkError: X,
395
- onRefreshToken: J,
396
- children: /* @__PURE__ */ U(o, {
397
- bridgeUrl: C?.url,
398
- bridgeAllowedOrigins: C?.allowedOrigins,
399
- bridgeDebug: C?.debug,
400
- onRefreshToken: async (e) => {
401
- let t = await n({
402
- gateway: "global",
403
- baseUrl: S.globalBaseUrl,
404
- authToken: "",
405
- query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
406
- variables: { token: e }
407
- });
408
- if (t.errors?.length) throw Error(t.errors[0].message ?? "Token refresh failed");
409
- let r = t.data.refreshToken;
410
- return {
411
- accessToken: r.accessToken,
412
- refreshToken: r.refreshToken,
413
- expiresAt: r.expiresIn ? Date.now() + r.expiresIn * 1e3 : void 0
414
- };
415
- },
373
+ }, [a]), R = V(() => ({
374
+ globalBaseUrl: v.globalBaseUrl,
375
+ isRefreshing: P,
376
+ refreshPromise: F
377
+ }), [v.globalBaseUrl]), U = z(async () => s(R), [R]), q = z(async () => {
378
+ window.location.pathname.startsWith("/auth/") || await U() || L();
379
+ }, [U, L]), J = z(async (e) => {
380
+ l(e) ? await U() || L() : console.error("[Network] Backend unreachable:", e.message);
381
+ }, [U, L]), Y = z(async (e) => {
382
+ let t = await o({
383
+ gateway: "global",
384
+ baseUrl: v.globalBaseUrl,
385
+ authToken: "",
386
+ query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
387
+ variables: { token: e }
388
+ });
389
+ if (t.errors?.length) throw Error(t.errors[0].message ?? "Token refresh failed");
390
+ let n = t.data.refreshToken;
391
+ return {
392
+ accessToken: n.accessToken,
393
+ refreshToken: n.refreshToken,
394
+ expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
395
+ };
396
+ }, [v.globalBaseUrl]), X = z(() => t("organization"), []), Z = V(() => new ce({
397
+ queryCache: new se({ onError: (e) => {
398
+ r(e);
399
+ } }),
400
+ mutationCache: new oe({ onError: (e) => {
401
+ r(e);
402
+ } }),
403
+ defaultOptions: { queries: {
404
+ staleTime: O?.staleTime ?? 300 * 1e3,
405
+ retry: O?.retry ?? 1,
406
+ refetchOnWindowFocus: O?.refetchOnWindowFocus ?? !1
407
+ } }
408
+ }), [O]);
409
+ return B(() => {
410
+ let e = ee.getInstance();
411
+ e.getLogger("shell") || e.getLogger("shell").addTransport(new te());
412
+ }, []), /* @__PURE__ */ W(ie, {
413
+ value: M,
414
+ children: /* @__PURE__ */ W(ae, {
415
+ appName: m,
416
+ appVersion: j.appVersion,
417
+ appEnv: j.appEnv,
418
+ sourceMfe: m,
419
+ children: /* @__PURE__ */ W(p, {
420
+ FallbackComponent: ne,
421
+ children: /* @__PURE__ */ G(K, { children: [/* @__PURE__ */ W(ye, {
422
+ config: j,
423
+ productSlug: m
424
+ }), /* @__PURE__ */ W(le, {
425
+ client: Z,
426
+ children: /* @__PURE__ */ W(x, { children: /* @__PURE__ */ W(re, {
427
+ workspaceBaseUrl: v.workspaceBaseUrl,
428
+ globalBaseUrl: v.globalBaseUrl,
429
+ organizationId: X,
430
+ defaultGateway: T,
431
+ enableSubscriptions: E,
432
+ onAuthError: q,
433
+ onNetworkError: J,
434
+ onRefreshToken: U,
435
+ children: /* @__PURE__ */ W(u, {
436
+ bridgeUrl: y?.url,
437
+ bridgeAllowedOrigins: y?.allowedOrigins,
438
+ bridgeDebug: y?.debug,
439
+ onRefreshToken: Y,
416
440
  onBridgeReady: () => {
417
- H.current = !1;
441
+ I.current = !1;
418
442
  },
419
443
  onSessionExpiringSoon: () => {
420
444
  console.warn("[Auth] Session will expire in 5 minutes");
421
445
  },
422
446
  onTokenExpired: () => {
423
- G();
447
+ L();
424
448
  },
425
- children: /* @__PURE__ */ U(s, {
449
+ children: /* @__PURE__ */ W(d, {
426
450
  syncToUrl: !0,
427
- children: /* @__PURE__ */ U(ee, { children: /* @__PURE__ */ U(oe, {
428
- i18nProductId: x,
429
- fallbackTranslations: k,
430
- defaultBrand: w,
431
- productName: h,
432
- brandInitial: E,
433
- enablePWA: T,
434
- toasterPosition: j,
435
- children: p
451
+ children: /* @__PURE__ */ W(b, { children: /* @__PURE__ */ W(he, {
452
+ i18nProductId: _,
453
+ fallbackTranslations: D,
454
+ defaultBrand: S,
455
+ productName: f,
456
+ brandInitial: w,
457
+ enablePWA: C,
458
+ toasterPosition: k,
459
+ children: i
436
460
  }) })
437
461
  })
438
462
  })
@@ -443,4 +467,4 @@ function de({ config: u, children: p, clearAuthStore: m }) {
443
467
  });
444
468
  }
445
469
  //#endregion
446
- export { de as AppShellProvider, Q as resolveAppShellObservabilityConfig };
470
+ export { be as AppShellProvider, $ as resolveAppShellObservabilityConfig };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { G as e, j as t, w as n } from "../../../node_modules/web-vitals/dist/web-vitals.js";
2
+ import { G as e, j as t, w as n } from "../../../node_modules/.bun/web-vitals@4.2.4/node_modules/web-vitals/dist/web-vitals.js";
3
3
  import { useEffect as r } from "react";
4
4
  import { Fragment as i, jsx as a } from "react/jsx-runtime";
5
5
  //#region src/shared/providers/shell/ObservabilityProvider.tsx