@bynder/compact-view 5.2.1 → 5.2.2

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 (555) hide show
  1. package/AccessToken.js +5 -0
  2. package/AccessToken2.js +176 -0
  3. package/AccessToken3.js +4 -0
  4. package/ActiveFilter.js +6 -5
  5. package/ActiveFilters.js +24 -24
  6. package/AddMedia.js +1 -1
  7. package/AdditionalInfo.js +18 -0
  8. package/Advanced.js +3 -3
  9. package/App.js +46 -43
  10. package/Arrow.js +14 -0
  11. package/AssetCard.js +32 -29
  12. package/AssetCardMetaproperties.js +14 -13
  13. package/AssetFilter.js +36 -35
  14. package/AssetFilterContext.js +3 -3
  15. package/AssetItem.js +14 -13
  16. package/AssetList.js +7 -7
  17. package/AssetTypeItem.js +13 -12
  18. package/Autocomplete_new.js +41 -37
  19. package/Axios2.js +136 -0
  20. package/AxiosError.js +54 -0
  21. package/AxiosHeaders.js +181 -0
  22. package/AxiosURLSearchParams.js +33 -0
  23. package/Badge.js +44 -0
  24. package/Baloon.js +42 -0
  25. package/BaseStyles.js +10 -0
  26. package/Blob.js +4 -0
  27. package/Box.js +22 -0
  28. package/Button.js +39 -0
  29. package/Button.styles.js +40 -0
  30. package/ButtonAction.js +3 -3
  31. package/ButtonLegacy.js +48 -0
  32. package/ButtonLegacy.styles.js +28 -0
  33. package/CancelToken.js +77 -0
  34. package/CanceledError.js +11 -0
  35. package/Card.js +84 -0
  36. package/CardSkeleton.js +15 -14
  37. package/Checkbox.js +85 -0
  38. package/Checkbox.styles.js +2 -2
  39. package/Checkmark.js +7 -0
  40. package/Chip.js +70 -40
  41. package/Chip2.js +42 -0
  42. package/CollectionCard.js +9 -8
  43. package/CollectionItem.js +15 -14
  44. package/CollectionList.js +2 -2
  45. package/CollectionView.js +2 -2
  46. package/CollectionsView.js +6 -6
  47. package/ColorHexInput.js +31 -0
  48. package/ColorPicker.js +66 -0
  49. package/ColorPickerSolid.js +20 -0
  50. package/ColorPickerWithOpacity.js +37 -0
  51. package/Combobox.js +61 -0
  52. package/ConcealedAction.js +16 -0
  53. package/ConnectButton.js +1 -1
  54. package/Container.js +14 -13
  55. package/Container2.js +31 -0
  56. package/Content.js +16 -0
  57. package/ContextAction.js +18 -17
  58. package/ContextActionButton.js +29 -0
  59. package/ControlGroup.js +32 -0
  60. package/DOMFunctions.js +27 -0
  61. package/Dat.js +62 -50
  62. package/DatDropdownItem.js +20 -19
  63. package/DesignSystemContext.js +4 -4
  64. package/DesignSystemProvider.js +29 -0
  65. package/DirectionSelect.js +16 -15
  66. package/Divider.js +21 -0
  67. package/DomainInput.js +15 -14
  68. package/DragRange.js +25 -0
  69. package/DragSelect.js +11 -11
  70. package/Dropdown.js +12 -11
  71. package/Dropdown2.js +169 -0
  72. package/DropdownContent.js +2 -2
  73. package/DropdownListItem.js +3 -3
  74. package/Enum.js +12 -0
  75. package/ErrorMessage.js +20 -19
  76. package/FieldSelect.js +4 -4
  77. package/FilePlaceholder.js +19 -0
  78. package/FileSelector.js +11 -10
  79. package/Flex.js +21 -0
  80. package/FontPicker.js +104 -0
  81. package/Footer.js +16 -0
  82. package/Form.js +23 -0
  83. package/FormData.js +4 -0
  84. package/Frame.js +64 -0
  85. package/Group.js +17 -0
  86. package/Group2.js +26 -0
  87. package/Header2.js +43 -0
  88. package/Header22.js +15 -0
  89. package/HelperText.js +26 -0
  90. package/HorizontalScroll.js +4 -4
  91. package/HttpHandler.js +74 -0
  92. package/HttpResponse.js +85 -0
  93. package/HttpStatusCode.js +71 -0
  94. package/IconPlaceholder.js +18 -0
  95. package/Image.js +19 -0
  96. package/Images.js +30 -0
  97. package/Indicator.js +74 -0
  98. package/InfiniteScroll.js +8 -8
  99. package/InlineBanner.js +51 -0
  100. package/Input.js +109 -0
  101. package/Input.styles.js +71 -0
  102. package/InputContainer.js +9 -0
  103. package/InputField.js +74 -0
  104. package/InputRow.js +18 -0
  105. package/Inspector.js +34 -0
  106. package/InteractiveIcon.js +28 -0
  107. package/InterceptorManager.js +58 -0
  108. package/Item.js +107 -0
  109. package/Item2.js +14 -0
  110. package/Item4.js +190 -0
  111. package/Label.js +33 -0
  112. package/LeftArrow.js +3 -3
  113. package/List.js +25 -0
  114. package/ListItem.js +11 -0
  115. package/ListItem2.js +58 -0
  116. package/ListItem4.js +37 -0
  117. package/MetapropertyFilterContent.js +2 -2
  118. package/MetapropertyOption.js +2 -3
  119. package/Middleware.js +49 -0
  120. package/Middleware2.js +49 -0
  121. package/Modal.js +2 -2
  122. package/Modal2.js +31 -0
  123. package/ModalBase.js +117 -0
  124. package/ModalBase.styles.js +75 -0
  125. package/ModalConfirmation.js +8 -0
  126. package/NoResults.js +16 -15
  127. package/OffsetContext.js +9 -0
  128. package/Oops.js +1 -1
  129. package/OpacityInput.js +17 -0
  130. package/Option_new.js +19 -18
  131. package/Overlay.js +35 -0
  132. package/Parser.js +131 -0
  133. package/Prefixer.js +187 -0
  134. package/Radio.js +78 -0
  135. package/RadioGroup.js +25 -0
  136. package/RangeInput.js +41 -0
  137. package/RefreshingSpinner.js +3 -3
  138. package/ReportModal.js +16 -14
  139. package/RequestHandler.js +119 -0
  140. package/RightArrow.js +4 -4
  141. package/Row.js +16 -0
  142. package/SearchInput.js +15 -15
  143. package/SearchInput2.js +46 -0
  144. package/SectionTitle.js +17 -0
  145. package/Select.js +49 -0
  146. package/SelectButtonText.js +16 -0
  147. package/SelectedItemContainer.js +11 -10
  148. package/SelectedItems.js +2 -2
  149. package/SelectionFooter.js +8 -7
  150. package/Serializer.js +27 -0
  151. package/ShadowRootInternal.js +17 -17
  152. package/Sidebar.js +17 -0
  153. package/Skeleton.js +6 -6
  154. package/Slider.constants.js +6 -0
  155. package/Slider.js +128 -0
  156. package/SmartFilterContent.js +2 -2
  157. package/SmartFilterSelect_new.js +2 -2
  158. package/Smartfilters_new.js +53 -50
  159. package/Spinner.js +2 -2
  160. package/Spinner2.js +15 -0
  161. package/StatefulAssetList.js +15 -15
  162. package/Stats.js +16 -0
  163. package/StatsItem.js +23 -0
  164. package/Status.js +32 -0
  165. package/Switch.js +82 -0
  166. package/SwitchNLS.js +26 -23
  167. package/Tabs2.js +10 -0
  168. package/TagItem.js +8 -8
  169. package/Tags.js +9 -9
  170. package/Text2.js +11 -0
  171. package/Text22.js +18 -0
  172. package/Text4.js +18 -0
  173. package/Textarea.js +92 -0
  174. package/Theming.js +4 -4
  175. package/Thumb.js +28 -0
  176. package/Thumbnail.js +91 -0
  177. package/Tokenizer.js +147 -0
  178. package/Toolbar.js +13 -12
  179. package/Tooltip.js +2 -2
  180. package/Tooltip2.js +111 -0
  181. package/TruncatedText.js +34 -0
  182. package/URLSearchParams.js +5 -0
  183. package/Utility.js +56 -0
  184. package/ViewSwitch.js +8 -7
  185. package/_check_private_redeclaration.js +7 -0
  186. package/_class_apply_descriptor_get.js +6 -0
  187. package/_class_apply_descriptor_set.js +11 -0
  188. package/_class_extract_field_descriptor.js +7 -0
  189. package/_class_private_field_get.js +9 -0
  190. package/_class_private_field_init.js +7 -0
  191. package/_class_private_field_set.js +9 -0
  192. package/_commonjsHelpers.js +6 -0
  193. package/adapters.js +53 -0
  194. package/api.js +25 -0
  195. package/api2.js +40 -0
  196. package/api3.js +406 -0
  197. package/applyScopeDataToEvent.js +83 -0
  198. package/applyScopeDataToEvent2.js +55 -0
  199. package/asset.type.js +9 -9
  200. package/autocomplete.js +2 -2
  201. package/axios.js +46 -0
  202. package/base.js +57 -0
  203. package/baseclient.js +498 -0
  204. package/bind.js +8 -0
  205. package/browser.js +44 -0
  206. package/buildFullPath.js +9 -0
  207. package/buildURL.js +23 -0
  208. package/bundle.esm.js +81 -0
  209. package/calculateContainerMaxHeight.js +12 -0
  210. package/calculateNodeHeight.js +35 -0
  211. package/carrier.js +13 -0
  212. package/chain.js +8 -0
  213. package/checkGlobals.js +13 -0
  214. package/checks.js +178 -0
  215. package/chunk-6HYIRFX2.js +1 -0
  216. package/cleanUrl.js +11 -0
  217. package/client.js +76 -0
  218. package/clientreport.js +15 -0
  219. package/clsx.js +17 -0
  220. package/colorTransforms.js +12 -0
  221. package/combineMetaproperties.js +1 -1
  222. package/combineURLs.js +6 -0
  223. package/composeSignals.js +30 -0
  224. package/constants.js +2 -12
  225. package/constants2.js +82 -0
  226. package/constants3.js +14 -0
  227. package/constants4.js +8 -0
  228. package/constants5.js +4 -0
  229. package/constants6.js +4 -0
  230. package/context.js +12 -0
  231. package/context10.js +12 -0
  232. package/context2.js +9 -0
  233. package/context3.js +12 -0
  234. package/context6.js +5 -0
  235. package/cookieStore.js +116 -0
  236. package/cookies.js +32 -0
  237. package/core.js +42 -0
  238. package/currentScopes.js +9 -0
  239. package/data.js +4 -0
  240. package/de_DE.json.js +18 -0
  241. package/debug-build.js +4 -0
  242. package/debug-build2.js +4 -0
  243. package/debug-build3.js +4 -0
  244. package/debug-build4.js +4 -0
  245. package/debug-build5.js +4 -0
  246. package/debug-build6.js +4 -0
  247. package/decorators.js +37 -0
  248. package/defaultScopes.js +12 -0
  249. package/devUtils.js +20 -0
  250. package/dispatchRequest.js +31 -0
  251. package/doc.js +26 -0
  252. package/domHelpers.js +15 -0
  253. package/dsn.js +54 -0
  254. package/dynamicSamplingContext.js +34 -0
  255. package/dynamicSamplingContext2.js +34 -0
  256. package/emotion-unitless.esm.js +52 -0
  257. package/en_US.json.js +23 -0
  258. package/englishText-12403056.js +6 -0
  259. package/env.js +6 -0
  260. package/envelope.js +113 -0
  261. package/envelope2.js +23 -0
  262. package/envelope3.js +24 -0
  263. package/error.js +9 -0
  264. package/errors.js +33 -0
  265. package/errors2.js +55 -0
  266. package/es_ES.json.js +18 -0
  267. package/es_MX.json.js +18 -0
  268. package/eventProcessors.js +27 -0
  269. package/eventProcessors2.js +23 -0
  270. package/eventbuilder.js +128 -0
  271. package/exports.js +11 -0
  272. package/exports2.js +16 -0
  273. package/exports3.js +8 -0
  274. package/fetch.js +44 -0
  275. package/fetch2.js +141 -0
  276. package/filterAssets.js +1 -1
  277. package/fixFontSpaceInUrl.js +8 -0
  278. package/focusWithoutScrolling.js +45 -0
  279. package/forceHiddenStyles.js +19 -0
  280. package/formDataToJSON.js +31 -0
  281. package/fr_FR.json.js +18 -0
  282. package/getAbsoluteUrl.js +13 -0
  283. package/getAsset.js +1 -1
  284. package/getAssetCounts.js +1 -1
  285. package/getAssets.js +2 -2
  286. package/getCallFrame.js +12 -0
  287. package/getCollections.js +1 -1
  288. package/getFilterOptions.js +1 -1
  289. package/getFilters.js +1 -1
  290. package/getFilters_new.js +1 -1
  291. package/getRequestCookies.js +40 -0
  292. package/getRootSpan.js +6 -0
  293. package/getRootSpan2.js +6 -0
  294. package/getSimilarityAssets.js +1 -1
  295. package/getSizingData.js +45 -0
  296. package/getStatusCodeColor.js +6 -0
  297. package/getThumbPosition.js +6 -0
  298. package/getTimestamp.js +7 -0
  299. package/getUseLayerOptions.js +49 -0
  300. package/handlers.js +92 -6
  301. package/handlers2.js +6 -0
  302. package/helpers.js +3 -4
  303. package/helpers2.js +6 -0
  304. package/hexFromPercentage.js +7 -0
  305. package/http.js +17 -0
  306. package/hub.js +446 -0
  307. package/hub2.js +442 -0
  308. package/immer.js +472 -0
  309. package/import.js +7 -0
  310. package/index-esm.js +10781 -0
  311. package/index-esm2.js +138 -0
  312. package/index-esm3.js +131 -0
  313. package/index.browser.js +11 -0
  314. package/index.module.js +57 -0
  315. package/index.module2.js +72 -0
  316. package/index.module3.js +57 -0
  317. package/index10.js +20 -0
  318. package/index102.js +273 -0
  319. package/index11.js +18 -0
  320. package/index112.js +29 -0
  321. package/index12.js +38 -0
  322. package/index13.js +2432 -0
  323. package/index14.js +558 -0
  324. package/index15.js +58 -0
  325. package/index16.js +4 -0
  326. package/index17.js +89 -0
  327. package/index18.js +9 -0
  328. package/index19.js +62 -0
  329. package/index20.js +15 -0
  330. package/index21.js +11 -0
  331. package/index22.js +42 -0
  332. package/index23.js +9 -0
  333. package/index24.js +10 -0
  334. package/index25.js +7 -0
  335. package/index26.js +12 -0
  336. package/index27.js +11 -0
  337. package/index28.js +639 -0
  338. package/index29.js +76 -0
  339. package/index3.js +5 -53
  340. package/index30.js +7 -0
  341. package/index31.js +22 -0
  342. package/index32.js +2 -0
  343. package/index33.js +7 -0
  344. package/index34.js +20 -0
  345. package/index35.js +8 -0
  346. package/index36.js +4 -0
  347. package/index37.js +13 -0
  348. package/index38.js +13 -0
  349. package/index39.js +15 -0
  350. package/index4.js +1684 -17
  351. package/index40.js +13 -0
  352. package/index41.js +21 -0
  353. package/index42.js +66 -0
  354. package/index43.js +8 -0
  355. package/index44.js +57 -0
  356. package/index45.js +69 -0
  357. package/index46.js +33 -0
  358. package/index47.js +13 -0
  359. package/index48.js +123 -0
  360. package/index49.js +88 -0
  361. package/index5.js +27 -0
  362. package/index50.js +10 -0
  363. package/index51.js +13 -0
  364. package/index52.js +16 -0
  365. package/index53.js +16 -0
  366. package/index54.js +9 -0
  367. package/index55.js +9 -0
  368. package/index56.js +17 -0
  369. package/index57.js +31 -0
  370. package/index58.js +18 -0
  371. package/index6.js +315 -0
  372. package/index7.js +4 -0
  373. package/index72.js +228 -0
  374. package/index8.js +5051 -0
  375. package/index82.js +8 -0
  376. package/index9.js +55 -0
  377. package/index92.js +12 -0
  378. package/integration.js +38 -0
  379. package/is.js +77 -0
  380. package/is2.js +14 -0
  381. package/is3.js +14 -0
  382. package/isAbsoluteURL.js +6 -0
  383. package/isAbsoluteUrl2.js +6 -0
  384. package/isAxiosError.js +7 -0
  385. package/isCancel.js +6 -0
  386. package/isIterable.js +6 -0
  387. package/isStringEqual.js +6 -0
  388. package/isURLSameOrigin.js +8 -0
  389. package/isValidHexValue.js +6 -0
  390. package/isVirtualEvent.js +11 -0
  391. package/iso.js +38 -0
  392. package/it_IT.json.js +18 -0
  393. package/itemContext.js +5 -0
  394. package/ja_JP.json.js +18 -0
  395. package/ko_KR.json.js +18 -0
  396. package/localStorageHelper.js +32 -0
  397. package/localStorageHelper2.js +4 -0
  398. package/localization.js +46 -0
  399. package/logger2.js +56 -0
  400. package/logger3.js +56 -0
  401. package/logger4.js +56 -0
  402. package/makeHexWithOpacity.js +12 -0
  403. package/makeInternalTokens.js +22 -0
  404. package/matchRequestUrl.js +23 -0
  405. package/memo.js +25 -0
  406. package/merge.js +13 -0
  407. package/mergeConfig.js +70 -0
  408. package/mergeProps.js +22 -0
  409. package/mergeRefs.js +9 -0
  410. package/middleware.js +177 -0
  411. package/middleware2.js +177 -0
  412. package/misc.js +58 -0
  413. package/misc2.js +28 -0
  414. package/misc3.js +24 -0
  415. package/nl_NL.json.js +18 -0
  416. package/normalize.js +97 -0
  417. package/normalizePath.js +11 -0
  418. package/normalizeResponse.js +1 -1
  419. package/normalizeRows.js +10 -0
  420. package/notify.js +52 -0
  421. package/null.js +4 -0
  422. package/object.js +110 -0
  423. package/object2.js +39 -0
  424. package/object3.js +17 -0
  425. package/opacityPercentageFromHex.js +9 -0
  426. package/openLink.js +27 -0
  427. package/package.json +1 -1
  428. package/packageVersion.js +4 -0
  429. package/parse.js +9 -0
  430. package/parse2.js +44 -0
  431. package/parseHeaders.js +30 -0
  432. package/parseProtocol.js +7 -0
  433. package/pl_PL.json.js +18 -0
  434. package/platform.js +42 -0
  435. package/prepareEvent.js +141 -0
  436. package/prepareEvent2.js +5 -0
  437. package/prepareEvent3.js +5 -0
  438. package/progressEventReducer.js +35 -0
  439. package/promisebuffer.js +44 -0
  440. package/propagationContext.js +11 -0
  441. package/pt_BR.json.js +18 -0
  442. package/ratelimit.js +37 -0
  443. package/react.js +19 -0
  444. package/react2.js +19 -0
  445. package/regexes.js +51 -0
  446. package/registries.js +41 -0
  447. package/resolveConfig.js +33 -0
  448. package/ru_RU.json.js +18 -0
  449. package/runAfterTransition.js +35 -0
  450. package/schemas.js +368 -0
  451. package/schemas2.js +691 -0
  452. package/scope.js +412 -0
  453. package/scope2.js +407 -0
  454. package/scope3.js +348 -0
  455. package/sdk-DhxX43BH.js +4813 -0
  456. package/sdkMetadata.js +15 -0
  457. package/serializeRequest.js +12 -0
  458. package/serializeResponse.js +14 -0
  459. package/session.js +57 -0
  460. package/session2.js +57 -0
  461. package/session3.js +16 -0
  462. package/settle.js +14 -0
  463. package/shadowdom.js +13 -0
  464. package/shadowdom2.js +13 -0
  465. package/spanOnScope.js +12 -0
  466. package/spanUtils.js +31 -0
  467. package/spanUtils2.js +31 -0
  468. package/speedometer.js +19 -0
  469. package/spread.js +8 -0
  470. package/stack-parsers.js +48 -0
  471. package/stackStrategy.js +98 -0
  472. package/stacktrace.js +49 -0
  473. package/state.js +106 -0
  474. package/store/useDatStore.d.ts +11 -8
  475. package/string.js +6 -0
  476. package/styled-components.browser.esm.js +530 -0
  477. package/styles.js +55 -0
  478. package/styles2.js +17 -0
  479. package/supports.js +6 -0
  480. package/syncpromise.js +121 -0
  481. package/syncpromise2.js +109 -0
  482. package/textSelection.js +33 -0
  483. package/textStyles.js +20 -0
  484. package/theme.js +238 -0
  485. package/themeContainers.js +20 -0
  486. package/themes3.js +26 -0
  487. package/throttle.js +15 -0
  488. package/time.js +24 -0
  489. package/time2.js +24 -0
  490. package/time3.js +24 -0
  491. package/toFormData.js +85 -0
  492. package/toPublicUrl.js +9 -0
  493. package/toURLEncodedForm.js +13 -0
  494. package/token.js +236 -0
  495. package/tokenExpirationHelper.js +48 -0
  496. package/tokenExpirationHelper2.js +4 -0
  497. package/tokensAndThemes.js +92 -0
  498. package/tr_TR.json.js +18 -0
  499. package/trackStream.js +63 -0
  500. package/transformData.js +13 -0
  501. package/transitional.js +8 -0
  502. package/trimMetapropertyValue.js +1 -1
  503. package/tslib.es6.js +18 -0
  504. package/typeof.js +11 -0
  505. package/urlHelper.js +15 -0
  506. package/urlHelper2.js +4 -0
  507. package/useAutoHeight.js +25 -0
  508. package/useDatStore.js +31 -27
  509. package/useEffectEvent.js +18 -0
  510. package/useFocus.js +30 -0
  511. package/useFocusRing.js +34 -0
  512. package/useFocusVisible.js +92 -0
  513. package/useFocusWithin.js +57 -0
  514. package/useFonts.js +118 -0
  515. package/useGlobalListeners.js +34 -0
  516. package/useGroupContext.js +10 -0
  517. package/useHover.js +79 -0
  518. package/useId.js +8 -0
  519. package/useId2.js +17 -0
  520. package/useKeyDown.js +14 -0
  521. package/useLayoutEffect.js +6 -0
  522. package/useOrderingStore.js +6 -6
  523. package/usePress.js +359 -0
  524. package/useRouterStore.js +6 -6
  525. package/useScrollHighlightedIntoView.js +24 -0
  526. package/useSearchStore.js +5 -5
  527. package/useSimilaritySearchStore.js +6 -6
  528. package/useSyncRef.js +12 -0
  529. package/useTranslate.js +13 -0
  530. package/useZIndex.js +9 -0
  531. package/userfeedback.js +28 -0
  532. package/util.js +265 -0
  533. package/utils/fixFontSpaceInUrl.d.ts +1 -0
  534. package/utils.js +26 -44
  535. package/utils2.js +43 -45
  536. package/utils3.js +50 -0
  537. package/utils4.js +12 -0
  538. package/utils5.js +71 -0
  539. package/utils6.js +222 -0
  540. package/utils7.js +9 -0
  541. package/utils8.js +70 -0
  542. package/validator.js +54 -0
  543. package/vanilla.js +14 -0
  544. package/vanilla2.js +14 -0
  545. package/version.js +4 -0
  546. package/version2.js +4 -0
  547. package/version3.js +4 -0
  548. package/versionContext.js +9 -0
  549. package/versions.js +8 -0
  550. package/worldwide.js +19 -0
  551. package/worldwide2.js +15 -0
  552. package/worldwide3.js +10 -0
  553. package/xhr.js +71 -0
  554. package/zh_CN.json.js +18 -0
  555. package/zh_TW.json.js +18 -0
package/envelope.js ADDED
@@ -0,0 +1,113 @@
1
+ import { dsnToString as d } from "./dsn.js";
2
+ import { normalize as u } from "./normalize.js";
3
+ import { dropUndefinedKeys as p } from "./object.js";
4
+ function h(e, t = []) {
5
+ return [e, t];
6
+ }
7
+ function E(e, t) {
8
+ const [r, o] = e;
9
+ return [r, [...o, t]];
10
+ }
11
+ function S(e, t) {
12
+ const r = e[1];
13
+ for (const o of r) {
14
+ const n = o[0].type;
15
+ if (t(o, n))
16
+ return !0;
17
+ }
18
+ return !1;
19
+ }
20
+ function f(e, t) {
21
+ return (t || new TextEncoder()).encode(e);
22
+ }
23
+ function k(e, t) {
24
+ const [r, o] = e;
25
+ let n = JSON.stringify(r);
26
+ function i(s) {
27
+ typeof n == "string" ? n = typeof s == "string" ? n + s : [f(n, t), s] : n.push(typeof s == "string" ? f(s, t) : s);
28
+ }
29
+ for (const s of o) {
30
+ const [l, a] = s;
31
+ if (i(`
32
+ ${JSON.stringify(l)}
33
+ `), typeof a == "string" || a instanceof Uint8Array)
34
+ i(a);
35
+ else {
36
+ let c;
37
+ try {
38
+ c = JSON.stringify(a);
39
+ } catch {
40
+ c = JSON.stringify(u(a));
41
+ }
42
+ i(c);
43
+ }
44
+ }
45
+ return typeof n == "string" ? n : y(n);
46
+ }
47
+ function y(e) {
48
+ const t = e.reduce((n, i) => n + i.length, 0), r = new Uint8Array(t);
49
+ let o = 0;
50
+ for (const n of e)
51
+ r.set(n, o), o += n.length;
52
+ return r;
53
+ }
54
+ function I(e, t) {
55
+ const r = typeof e.data == "string" ? f(e.data, t) : e.data;
56
+ return [
57
+ p({
58
+ type: "attachment",
59
+ length: r.length,
60
+ filename: e.filename,
61
+ content_type: e.contentType,
62
+ attachment_type: e.attachmentType
63
+ }),
64
+ r
65
+ ];
66
+ }
67
+ const m = {
68
+ session: "session",
69
+ sessions: "session",
70
+ attachment: "attachment",
71
+ transaction: "transaction",
72
+ event: "error",
73
+ client_report: "internal",
74
+ user_report: "default",
75
+ profile: "profile",
76
+ replay_event: "replay",
77
+ replay_recording: "replay",
78
+ check_in: "monitor",
79
+ feedback: "feedback",
80
+ span: "span",
81
+ statsd: "metric_bucket"
82
+ };
83
+ function A(e) {
84
+ return m[e];
85
+ }
86
+ function M(e) {
87
+ if (!e || !e.sdk)
88
+ return;
89
+ const { name: t, version: r } = e.sdk;
90
+ return { name: t, version: r };
91
+ }
92
+ function O(e, t, r, o) {
93
+ const n = e.sdkProcessingMetadata && e.sdkProcessingMetadata.dynamicSamplingContext;
94
+ return {
95
+ event_id: e.event_id,
96
+ sent_at: (/* @__PURE__ */ new Date()).toISOString(),
97
+ ...t && { sdk: t },
98
+ ...!!r && o && { dsn: d(o) },
99
+ ...n && {
100
+ trace: p({ ...n })
101
+ }
102
+ };
103
+ }
104
+ export {
105
+ E as addItemToEnvelope,
106
+ I as createAttachmentEnvelopeItem,
107
+ h as createEnvelope,
108
+ O as createEventEnvelopeHeaders,
109
+ A as envelopeItemTypeToDataCategory,
110
+ S as forEachEnvelopeItem,
111
+ M as getSdkMetadataForEnvelopeHeader,
112
+ k as serializeEnvelope
113
+ };
package/envelope2.js ADDED
@@ -0,0 +1,23 @@
1
+ import { getSdkMetadataForEnvelopeHeader as p, createEventEnvelopeHeaders as c, createEnvelope as i } from "./envelope.js";
2
+ import { dsnToString as d } from "./dsn.js";
3
+ function k(e, s) {
4
+ return s && (e.sdk = e.sdk || {}, e.sdk.name = e.sdk.name || s.name, e.sdk.version = e.sdk.version || s.version, e.sdk.integrations = [...e.sdk.integrations || [], ...s.integrations || []], e.sdk.packages = [...e.sdk.packages || [], ...s.packages || []]), e;
5
+ }
6
+ function y(e, s, t, o) {
7
+ const n = p(t), r = {
8
+ sent_at: (/* @__PURE__ */ new Date()).toISOString(),
9
+ ...n && { sdk: n },
10
+ ...!!o && s && { dsn: d(s) }
11
+ }, a = "aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()];
12
+ return i(r, [a]);
13
+ }
14
+ function E(e, s, t, o) {
15
+ const n = p(t), r = e.type && e.type !== "replay_event" ? e.type : "event";
16
+ k(e, t && t.sdk);
17
+ const a = c(e, n, o, s);
18
+ return delete e.sdkProcessingMetadata, i(a, [[{ type: r }, e]]);
19
+ }
20
+ export {
21
+ E as createEventEnvelope,
22
+ y as createSessionEnvelope
23
+ };
package/envelope3.js ADDED
@@ -0,0 +1,24 @@
1
+ import { serializeMetricBuckets as s } from "./utils4.js";
2
+ import { dsnToString as c } from "./dsn.js";
3
+ import { createEnvelope as m } from "./envelope.js";
4
+ function a(r, e, t, o) {
5
+ const n = {
6
+ sent_at: (/* @__PURE__ */ new Date()).toISOString()
7
+ };
8
+ t && t.sdk && (n.sdk = {
9
+ name: t.sdk.name,
10
+ version: t.sdk.version
11
+ }), o && e && (n.dsn = c(e));
12
+ const i = p(r);
13
+ return m(n, [i]);
14
+ }
15
+ function p(r) {
16
+ const e = s(r);
17
+ return [{
18
+ type: "statsd",
19
+ length: e.length
20
+ }, e];
21
+ }
22
+ export {
23
+ a as createMetricEnvelope
24
+ };
package/error.js ADDED
@@ -0,0 +1,9 @@
1
+ class o extends Error {
2
+ /** Display name of this error instance. */
3
+ constructor(t, r = "warn") {
4
+ super(t), this.message = t, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = r;
5
+ }
6
+ }
7
+ export {
8
+ o as SentryError
9
+ };
package/errors.js ADDED
@@ -0,0 +1,33 @@
1
+ import { $ZodError as t, flattenError as a, formatError as s } from "./errors2.js";
2
+ import { $constructor as u } from "./core.js";
3
+ const d = (r, o) => {
4
+ t.init(r, o), r.name = "ZodError", Object.defineProperties(r, {
5
+ format: {
6
+ value: (e) => s(r, e)
7
+ // enumerable: false,
8
+ },
9
+ flatten: {
10
+ value: (e) => a(r, e)
11
+ // enumerable: false,
12
+ },
13
+ addIssue: {
14
+ value: (e) => r.issues.push(e)
15
+ // enumerable: false,
16
+ },
17
+ addIssues: {
18
+ value: (e) => r.issues.push(...e)
19
+ // enumerable: false,
20
+ },
21
+ isEmpty: {
22
+ get() {
23
+ return r.issues.length === 0;
24
+ }
25
+ // enumerable: false,
26
+ }
27
+ });
28
+ }, E = u("ZodError", d, {
29
+ Parent: Error
30
+ });
31
+ export {
32
+ E as ZodRealError
33
+ };
package/errors2.js ADDED
@@ -0,0 +1,55 @@
1
+ import { $constructor as f } from "./core.js";
2
+ import { jsonStringifyReplacer as p } from "./util.js";
3
+ const c = (r, n) => {
4
+ r.name = "$ZodError", Object.defineProperty(r, "_zod", {
5
+ value: r._zod,
6
+ enumerable: !1
7
+ }), Object.defineProperty(r, "issues", {
8
+ value: n,
9
+ enumerable: !1
10
+ }), Object.defineProperty(r, "message", {
11
+ get() {
12
+ return JSON.stringify(n, p, 2);
13
+ },
14
+ enumerable: !0
15
+ // configurable: false,
16
+ }), Object.defineProperty(r, "toString", {
17
+ value: () => r.message,
18
+ enumerable: !1
19
+ });
20
+ }, g = f("$ZodError", c), E = f("$ZodError", c, { Parent: Error });
21
+ function _(r, n = (o) => o.message) {
22
+ const o = {}, i = [];
23
+ for (const s of r.issues)
24
+ s.path.length > 0 ? (o[s.path[0]] = o[s.path[0]] || [], o[s.path[0]].push(n(s))) : i.push(n(s));
25
+ return { formErrors: i, fieldErrors: o };
26
+ }
27
+ function b(r, n) {
28
+ const o = n || function(u) {
29
+ return u.message;
30
+ }, i = { _errors: [] }, s = (u) => {
31
+ for (const e of u.issues)
32
+ if (e.code === "invalid_union" && e.errors.length)
33
+ e.errors.map((t) => s({ issues: t }));
34
+ else if (e.code === "invalid_key")
35
+ s({ issues: e.issues });
36
+ else if (e.code === "invalid_element")
37
+ s({ issues: e.issues });
38
+ else if (e.path.length === 0)
39
+ i._errors.push(o(e));
40
+ else {
41
+ let t = i, a = 0;
42
+ for (; a < e.path.length; ) {
43
+ const l = e.path[a];
44
+ a === e.path.length - 1 ? (t[l] = t[l] || { _errors: [] }, t[l]._errors.push(o(e))) : t[l] = t[l] || { _errors: [] }, t = t[l], a++;
45
+ }
46
+ }
47
+ };
48
+ return s(r), i;
49
+ }
50
+ export {
51
+ g as $ZodError,
52
+ E as $ZodRealError,
53
+ _ as flattenError,
54
+ b as formatError
55
+ };
package/es_ES.json.js ADDED
@@ -0,0 +1,18 @@
1
+ const a = {
2
+ "colorpicker.opacity-input": "Opacidad",
3
+ "datepicker.clear-date": "Borrar fecha",
4
+ "datepicker.next-month": "Próximo mes",
5
+ "datepicker.open-calendar": "Abrir calendario",
6
+ "datepicker.previous-month": "Mes anterior",
7
+ "input.clear": "Borrar entrada",
8
+ "input.hide-password": "Ocultar contraseña",
9
+ "input.show-password": "Mostrar contraseña",
10
+ "modal.close": "Cerrar",
11
+ "multiselectchips.add-value": "Agregar ‘{value}’",
12
+ "multiselectchips.remove-all": "Quitar todos",
13
+ "pagination.next-page": "Siguiente página",
14
+ "pagination.previous-page": "Página anterior"
15
+ };
16
+ export {
17
+ a as default
18
+ };
package/es_MX.json.js ADDED
@@ -0,0 +1,18 @@
1
+ const a = {
2
+ "colorpicker.opacity-input": "Opacidad",
3
+ "datepicker.clear-date": "Borrar fecha",
4
+ "datepicker.next-month": "Próximo mes",
5
+ "datepicker.open-calendar": "Abrir calendario",
6
+ "datepicker.previous-month": "Mes anterior",
7
+ "input.clear": "Borrar entrada",
8
+ "input.hide-password": "Ocultar contraseña",
9
+ "input.show-password": "Mostrar contraseña",
10
+ "modal.close": "Cerrar",
11
+ "multiselectchips.add-value": "Agregar ‘{value}’",
12
+ "multiselectchips.remove-all": "Eliminar todo",
13
+ "pagination.next-page": "Siguiente página",
14
+ "pagination.previous-page": "Página anterior"
15
+ };
16
+ export {
17
+ a as default
18
+ };
@@ -0,0 +1,27 @@
1
+ import { DEBUG_BUILD as m } from "./debug-build2.js";
2
+ import { getGlobalSingleton as c } from "./worldwide.js";
3
+ import { SyncPromise as p } from "./syncpromise.js";
4
+ import { logger as g } from "./logger2.js";
5
+ import { isThenable as a } from "./is.js";
6
+ function d() {
7
+ return c("globalEventProcessors", () => []);
8
+ }
9
+ function G(o) {
10
+ d().push(o);
11
+ }
12
+ function f(o, r, e, l = 0) {
13
+ return new p((i, s) => {
14
+ const n = o[l];
15
+ if (r === null || typeof n != "function")
16
+ i(r);
17
+ else {
18
+ const t = n({ ...r }, e);
19
+ m && n.id && t === null && g.log(`Event processor "${n.id}" dropped event`), a(t) ? t.then((u) => f(o, u, e, l + 1).then(i)).then(null, s) : f(o, t, e, l + 1).then(i).then(null, s);
20
+ }
21
+ });
22
+ }
23
+ export {
24
+ G as addGlobalEventProcessor,
25
+ d as getGlobalEventProcessors,
26
+ f as notifyEventProcessors
27
+ };
@@ -0,0 +1,23 @@
1
+ import { DEBUG_BUILD as u } from "./debug-build4.js";
2
+ import { getGlobalSingleton as p } from "./worldwide2.js";
3
+ import { SyncPromise as c } from "./syncpromise2.js";
4
+ import { logger as g } from "./logger3.js";
5
+ import { isThenable as E } from "./is2.js";
6
+ function v() {
7
+ return p("globalEventProcessors", () => []);
8
+ }
9
+ function s(t, r, e, l = 0) {
10
+ return new c((i, f) => {
11
+ const o = t[l];
12
+ if (r === null || typeof o != "function")
13
+ i(r);
14
+ else {
15
+ const n = o({ ...r }, e);
16
+ u && o.id && n === null && g.log(`Event processor "${o.id}" dropped event`), E(n) ? n.then((m) => s(t, m, e, l + 1).then(i)).then(null, f) : s(t, n, e, l + 1).then(i).then(null, f);
17
+ }
18
+ });
19
+ }
20
+ export {
21
+ v as getGlobalEventProcessors,
22
+ s as notifyEventProcessors
23
+ };
@@ -0,0 +1,128 @@
1
+ import { addExceptionMechanism as u, addExceptionTypeValue as d } from "./misc.js";
2
+ import { resolvedSyncPromise as g } from "./syncpromise.js";
3
+ import { isErrorEvent as E, isDOMError as p, isDOMException as y, isError as _, isPlainObject as O, isEvent as m, isParameterizedString as M } from "./is.js";
4
+ import { getClient as $ } from "./exports.js";
5
+ import { normalizeToSize as b } from "./normalize.js";
6
+ import { extractExceptionKeysForMessage as j } from "./object.js";
7
+ function F(r, e) {
8
+ const o = l(r, e), t = {
9
+ type: e && e.name,
10
+ value: h(e)
11
+ };
12
+ return o.length && (t.stacktrace = { frames: o }), t.type === void 0 && t.value === "" && (t.value = "Unrecoverable error caught"), t;
13
+ }
14
+ function z(r, e, o, t) {
15
+ const i = $(), n = i && i.getOptions().normalizeDepth, s = {
16
+ exception: {
17
+ values: [
18
+ {
19
+ type: m(e) ? e.constructor.name : t ? "UnhandledRejection" : "Error",
20
+ value: N(e, { isUnhandledRejection: t })
21
+ }
22
+ ]
23
+ },
24
+ extra: {
25
+ __serialized__: b(e, n)
26
+ }
27
+ };
28
+ if (o) {
29
+ const a = l(r, o);
30
+ a.length && (s.exception.values[0].stacktrace = { frames: a });
31
+ }
32
+ return s;
33
+ }
34
+ function c(r, e) {
35
+ return {
36
+ exception: {
37
+ values: [F(r, e)]
38
+ }
39
+ };
40
+ }
41
+ function l(r, e) {
42
+ const o = e.stacktrace || e.stack || "", t = S(e);
43
+ try {
44
+ return r(o, t);
45
+ } catch {
46
+ }
47
+ return [];
48
+ }
49
+ const D = /Minified React error #\d+;/i;
50
+ function S(r) {
51
+ if (r) {
52
+ if (typeof r.framesToPop == "number")
53
+ return r.framesToPop;
54
+ if (D.test(r.message))
55
+ return 1;
56
+ }
57
+ return 0;
58
+ }
59
+ function h(r) {
60
+ const e = r && r.message;
61
+ return e ? e.error && typeof e.error.message == "string" ? e.error.message : e : "No error message";
62
+ }
63
+ function I(r, e, o, t) {
64
+ const i = o && o.syntheticException || void 0, n = k(r, e, i, t);
65
+ return u(n), n.level = "error", o && o.event_id && (n.event_id = o.event_id), g(n);
66
+ }
67
+ function K(r, e, o = "info", t, i) {
68
+ const n = t && t.syntheticException || void 0, s = f(r, e, n, i);
69
+ return s.level = o, t && t.event_id && (s.event_id = t.event_id), g(s);
70
+ }
71
+ function k(r, e, o, t, i) {
72
+ let n;
73
+ if (E(e) && e.error)
74
+ return c(r, e.error);
75
+ if (p(e) || y(e)) {
76
+ const s = e;
77
+ if ("stack" in e)
78
+ n = c(r, e);
79
+ else {
80
+ const a = s.name || (p(s) ? "DOMError" : "DOMException"), v = s.message ? `${a}: ${s.message}` : a;
81
+ n = f(r, v, o, t), d(n, v);
82
+ }
83
+ return "code" in s && (n.tags = { ...n.tags, "DOMException.code": `${s.code}` }), n;
84
+ }
85
+ return _(e) ? c(r, e) : O(e) || m(e) ? (n = z(r, e, o, i), u(n, {
86
+ synthetic: !0
87
+ }), n) : (n = f(r, e, o, t), d(n, `${e}`), u(n, {
88
+ synthetic: !0
89
+ }), n);
90
+ }
91
+ function f(r, e, o, t) {
92
+ const i = {};
93
+ if (t && o) {
94
+ const n = l(r, o);
95
+ n.length && (i.exception = {
96
+ values: [{ value: e, stacktrace: { frames: n } }]
97
+ });
98
+ }
99
+ if (M(e)) {
100
+ const { __sentry_template_string__: n, __sentry_template_values__: s } = e;
101
+ return i.logentry = {
102
+ message: n,
103
+ params: s
104
+ }, i;
105
+ }
106
+ return i.message = e, i;
107
+ }
108
+ function N(r, { isUnhandledRejection: e }) {
109
+ const o = j(r), t = "exception";
110
+ return E(r) ? `Event \`ErrorEvent\` captured as ${t} with message \`${r.message}\`` : m(r) ? `Event \`${T(r)}\` (type=${r.type}) captured as ${t}` : `Object captured as ${t} with keys: ${o}`;
111
+ }
112
+ function T(r) {
113
+ try {
114
+ const e = Object.getPrototypeOf(r);
115
+ return e ? e.constructor.name : void 0;
116
+ } catch {
117
+ }
118
+ }
119
+ export {
120
+ c as eventFromError,
121
+ I as eventFromException,
122
+ K as eventFromMessage,
123
+ z as eventFromPlainObject,
124
+ f as eventFromString,
125
+ k as eventFromUnknownInput,
126
+ F as exceptionFromError,
127
+ l as parseStackFrames
128
+ };
package/exports.js ADDED
@@ -0,0 +1,11 @@
1
+ import { getCurrentHub as t } from "./hub.js";
2
+ function r() {
3
+ return t().getClient();
4
+ }
5
+ function n() {
6
+ return t().getScope();
7
+ }
8
+ export {
9
+ r as getClient,
10
+ n as getCurrentScope
11
+ };
package/exports2.js ADDED
@@ -0,0 +1,16 @@
1
+ import { getCurrentHub as t } from "./hub2.js";
2
+ import { parseEventHintOrCaptureContext as r } from "./prepareEvent2.js";
3
+ function i(e, n) {
4
+ return t().captureException(e, r());
5
+ }
6
+ function p() {
7
+ return t().getClient();
8
+ }
9
+ function c() {
10
+ return t().getScope();
11
+ }
12
+ export {
13
+ i as captureException,
14
+ p as getClient,
15
+ c as getCurrentScope
16
+ };
package/exports3.js ADDED
@@ -0,0 +1,8 @@
1
+ import { getCurrentScope as r } from "./currentScopes.js";
2
+ import { parseEventHintOrCaptureContext as e } from "./prepareEvent3.js";
3
+ function i(t, n) {
4
+ return r().captureException(t, e());
5
+ }
6
+ export {
7
+ i as captureException
8
+ };
package/fetch.js ADDED
@@ -0,0 +1,44 @@
1
+ import { getNativeFetchImplementation as d, clearCachedFetchImplementation as h } from "./utils.js";
2
+ import { createTransport as s } from "./base.js";
3
+ import { rejectedSyncPromise as u } from "./syncpromise.js";
4
+ function p(t, o = d()) {
5
+ let r = 0, n = 0;
6
+ function c(i) {
7
+ const a = i.body.length;
8
+ r += a, n++;
9
+ const m = {
10
+ body: i.body,
11
+ method: "POST",
12
+ referrerPolicy: "origin",
13
+ headers: t.headers,
14
+ // Outgoing requests are usually cancelled when navigating to a different page, causing a "TypeError: Failed to
15
+ // fetch" error and sending a "network_error" client-outcome - in Chrome, the request status shows "(cancelled)".
16
+ // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're
17
+ // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).
18
+ // Gotchas:
19
+ // - `keepalive` isn't supported by Firefox
20
+ // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):
21
+ // If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.
22
+ // We will therefore only activate the flag when we're below that limit.
23
+ // There is also a limit of requests that can be open at the same time, so we also limit this to 15
24
+ // See https://github.com/getsentry/sentry-javascript/pull/7553 for details
25
+ keepalive: r <= 6e4 && n < 15,
26
+ ...t.fetchOptions
27
+ };
28
+ try {
29
+ return o(t.url, m).then((e) => (r -= a, n--, {
30
+ statusCode: e.status,
31
+ headers: {
32
+ "x-sentry-rate-limits": e.headers.get("X-Sentry-Rate-Limits"),
33
+ "retry-after": e.headers.get("Retry-After")
34
+ }
35
+ }));
36
+ } catch (e) {
37
+ return h(), r -= a, n--, u(e);
38
+ }
39
+ }
40
+ return s(t, c);
41
+ }
42
+ export {
43
+ p as makeFetchTransport
44
+ };