@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.
- package/AccessToken.js +5 -0
- package/AccessToken2.js +176 -0
- package/AccessToken3.js +4 -0
- package/ActiveFilter.js +6 -5
- package/ActiveFilters.js +24 -24
- package/AddMedia.js +1 -1
- package/AdditionalInfo.js +18 -0
- package/Advanced.js +3 -3
- package/App.js +46 -43
- package/Arrow.js +14 -0
- package/AssetCard.js +32 -29
- package/AssetCardMetaproperties.js +14 -13
- package/AssetFilter.js +36 -35
- package/AssetFilterContext.js +3 -3
- package/AssetItem.js +14 -13
- package/AssetList.js +7 -7
- package/AssetTypeItem.js +13 -12
- package/Autocomplete_new.js +41 -37
- package/Axios2.js +136 -0
- package/AxiosError.js +54 -0
- package/AxiosHeaders.js +181 -0
- package/AxiosURLSearchParams.js +33 -0
- package/Badge.js +44 -0
- package/Baloon.js +42 -0
- package/BaseStyles.js +10 -0
- package/Blob.js +4 -0
- package/Box.js +22 -0
- package/Button.js +39 -0
- package/Button.styles.js +40 -0
- package/ButtonAction.js +3 -3
- package/ButtonLegacy.js +48 -0
- package/ButtonLegacy.styles.js +28 -0
- package/CancelToken.js +77 -0
- package/CanceledError.js +11 -0
- package/Card.js +84 -0
- package/CardSkeleton.js +15 -14
- package/Checkbox.js +85 -0
- package/Checkbox.styles.js +2 -2
- package/Checkmark.js +7 -0
- package/Chip.js +70 -40
- package/Chip2.js +42 -0
- package/CollectionCard.js +9 -8
- package/CollectionItem.js +15 -14
- package/CollectionList.js +2 -2
- package/CollectionView.js +2 -2
- package/CollectionsView.js +6 -6
- package/ColorHexInput.js +31 -0
- package/ColorPicker.js +66 -0
- package/ColorPickerSolid.js +20 -0
- package/ColorPickerWithOpacity.js +37 -0
- package/Combobox.js +61 -0
- package/ConcealedAction.js +16 -0
- package/ConnectButton.js +1 -1
- package/Container.js +14 -13
- package/Container2.js +31 -0
- package/Content.js +16 -0
- package/ContextAction.js +18 -17
- package/ContextActionButton.js +29 -0
- package/ControlGroup.js +32 -0
- package/DOMFunctions.js +27 -0
- package/Dat.js +62 -50
- package/DatDropdownItem.js +20 -19
- package/DesignSystemContext.js +4 -4
- package/DesignSystemProvider.js +29 -0
- package/DirectionSelect.js +16 -15
- package/Divider.js +21 -0
- package/DomainInput.js +15 -14
- package/DragRange.js +25 -0
- package/DragSelect.js +11 -11
- package/Dropdown.js +12 -11
- package/Dropdown2.js +169 -0
- package/DropdownContent.js +2 -2
- package/DropdownListItem.js +3 -3
- package/Enum.js +12 -0
- package/ErrorMessage.js +20 -19
- package/FieldSelect.js +4 -4
- package/FilePlaceholder.js +19 -0
- package/FileSelector.js +11 -10
- package/Flex.js +21 -0
- package/FontPicker.js +104 -0
- package/Footer.js +16 -0
- package/Form.js +23 -0
- package/FormData.js +4 -0
- package/Frame.js +64 -0
- package/Group.js +17 -0
- package/Group2.js +26 -0
- package/Header2.js +43 -0
- package/Header22.js +15 -0
- package/HelperText.js +26 -0
- package/HorizontalScroll.js +4 -4
- package/HttpHandler.js +74 -0
- package/HttpResponse.js +85 -0
- package/HttpStatusCode.js +71 -0
- package/IconPlaceholder.js +18 -0
- package/Image.js +19 -0
- package/Images.js +30 -0
- package/Indicator.js +74 -0
- package/InfiniteScroll.js +8 -8
- package/InlineBanner.js +51 -0
- package/Input.js +109 -0
- package/Input.styles.js +71 -0
- package/InputContainer.js +9 -0
- package/InputField.js +74 -0
- package/InputRow.js +18 -0
- package/Inspector.js +34 -0
- package/InteractiveIcon.js +28 -0
- package/InterceptorManager.js +58 -0
- package/Item.js +107 -0
- package/Item2.js +14 -0
- package/Item4.js +190 -0
- package/Label.js +33 -0
- package/LeftArrow.js +3 -3
- package/List.js +25 -0
- package/ListItem.js +11 -0
- package/ListItem2.js +58 -0
- package/ListItem4.js +37 -0
- package/MetapropertyFilterContent.js +2 -2
- package/MetapropertyOption.js +2 -3
- package/Middleware.js +49 -0
- package/Middleware2.js +49 -0
- package/Modal.js +2 -2
- package/Modal2.js +31 -0
- package/ModalBase.js +117 -0
- package/ModalBase.styles.js +75 -0
- package/ModalConfirmation.js +8 -0
- package/NoResults.js +16 -15
- package/OffsetContext.js +9 -0
- package/Oops.js +1 -1
- package/OpacityInput.js +17 -0
- package/Option_new.js +19 -18
- package/Overlay.js +35 -0
- package/Parser.js +131 -0
- package/Prefixer.js +187 -0
- package/Radio.js +78 -0
- package/RadioGroup.js +25 -0
- package/RangeInput.js +41 -0
- package/RefreshingSpinner.js +3 -3
- package/ReportModal.js +16 -14
- package/RequestHandler.js +119 -0
- package/RightArrow.js +4 -4
- package/Row.js +16 -0
- package/SearchInput.js +15 -15
- package/SearchInput2.js +46 -0
- package/SectionTitle.js +17 -0
- package/Select.js +49 -0
- package/SelectButtonText.js +16 -0
- package/SelectedItemContainer.js +11 -10
- package/SelectedItems.js +2 -2
- package/SelectionFooter.js +8 -7
- package/Serializer.js +27 -0
- package/ShadowRootInternal.js +17 -17
- package/Sidebar.js +17 -0
- package/Skeleton.js +6 -6
- package/Slider.constants.js +6 -0
- package/Slider.js +128 -0
- package/SmartFilterContent.js +2 -2
- package/SmartFilterSelect_new.js +2 -2
- package/Smartfilters_new.js +53 -50
- package/Spinner.js +2 -2
- package/Spinner2.js +15 -0
- package/StatefulAssetList.js +15 -15
- package/Stats.js +16 -0
- package/StatsItem.js +23 -0
- package/Status.js +32 -0
- package/Switch.js +82 -0
- package/SwitchNLS.js +26 -23
- package/Tabs2.js +10 -0
- package/TagItem.js +8 -8
- package/Tags.js +9 -9
- package/Text2.js +11 -0
- package/Text22.js +18 -0
- package/Text4.js +18 -0
- package/Textarea.js +92 -0
- package/Theming.js +4 -4
- package/Thumb.js +28 -0
- package/Thumbnail.js +91 -0
- package/Tokenizer.js +147 -0
- package/Toolbar.js +13 -12
- package/Tooltip.js +2 -2
- package/Tooltip2.js +111 -0
- package/TruncatedText.js +34 -0
- package/URLSearchParams.js +5 -0
- package/Utility.js +56 -0
- package/ViewSwitch.js +8 -7
- package/_check_private_redeclaration.js +7 -0
- package/_class_apply_descriptor_get.js +6 -0
- package/_class_apply_descriptor_set.js +11 -0
- package/_class_extract_field_descriptor.js +7 -0
- package/_class_private_field_get.js +9 -0
- package/_class_private_field_init.js +7 -0
- package/_class_private_field_set.js +9 -0
- package/_commonjsHelpers.js +6 -0
- package/adapters.js +53 -0
- package/api.js +25 -0
- package/api2.js +40 -0
- package/api3.js +406 -0
- package/applyScopeDataToEvent.js +83 -0
- package/applyScopeDataToEvent2.js +55 -0
- package/asset.type.js +9 -9
- package/autocomplete.js +2 -2
- package/axios.js +46 -0
- package/base.js +57 -0
- package/baseclient.js +498 -0
- package/bind.js +8 -0
- package/browser.js +44 -0
- package/buildFullPath.js +9 -0
- package/buildURL.js +23 -0
- package/bundle.esm.js +81 -0
- package/calculateContainerMaxHeight.js +12 -0
- package/calculateNodeHeight.js +35 -0
- package/carrier.js +13 -0
- package/chain.js +8 -0
- package/checkGlobals.js +13 -0
- package/checks.js +178 -0
- package/chunk-6HYIRFX2.js +1 -0
- package/cleanUrl.js +11 -0
- package/client.js +76 -0
- package/clientreport.js +15 -0
- package/clsx.js +17 -0
- package/colorTransforms.js +12 -0
- package/combineMetaproperties.js +1 -1
- package/combineURLs.js +6 -0
- package/composeSignals.js +30 -0
- package/constants.js +2 -12
- package/constants2.js +82 -0
- package/constants3.js +14 -0
- package/constants4.js +8 -0
- package/constants5.js +4 -0
- package/constants6.js +4 -0
- package/context.js +12 -0
- package/context10.js +12 -0
- package/context2.js +9 -0
- package/context3.js +12 -0
- package/context6.js +5 -0
- package/cookieStore.js +116 -0
- package/cookies.js +32 -0
- package/core.js +42 -0
- package/currentScopes.js +9 -0
- package/data.js +4 -0
- package/de_DE.json.js +18 -0
- package/debug-build.js +4 -0
- package/debug-build2.js +4 -0
- package/debug-build3.js +4 -0
- package/debug-build4.js +4 -0
- package/debug-build5.js +4 -0
- package/debug-build6.js +4 -0
- package/decorators.js +37 -0
- package/defaultScopes.js +12 -0
- package/devUtils.js +20 -0
- package/dispatchRequest.js +31 -0
- package/doc.js +26 -0
- package/domHelpers.js +15 -0
- package/dsn.js +54 -0
- package/dynamicSamplingContext.js +34 -0
- package/dynamicSamplingContext2.js +34 -0
- package/emotion-unitless.esm.js +52 -0
- package/en_US.json.js +23 -0
- package/englishText-12403056.js +6 -0
- package/env.js +6 -0
- package/envelope.js +113 -0
- package/envelope2.js +23 -0
- package/envelope3.js +24 -0
- package/error.js +9 -0
- package/errors.js +33 -0
- package/errors2.js +55 -0
- package/es_ES.json.js +18 -0
- package/es_MX.json.js +18 -0
- package/eventProcessors.js +27 -0
- package/eventProcessors2.js +23 -0
- package/eventbuilder.js +128 -0
- package/exports.js +11 -0
- package/exports2.js +16 -0
- package/exports3.js +8 -0
- package/fetch.js +44 -0
- package/fetch2.js +141 -0
- package/filterAssets.js +1 -1
- package/fixFontSpaceInUrl.js +8 -0
- package/focusWithoutScrolling.js +45 -0
- package/forceHiddenStyles.js +19 -0
- package/formDataToJSON.js +31 -0
- package/fr_FR.json.js +18 -0
- package/getAbsoluteUrl.js +13 -0
- package/getAsset.js +1 -1
- package/getAssetCounts.js +1 -1
- package/getAssets.js +2 -2
- package/getCallFrame.js +12 -0
- package/getCollections.js +1 -1
- package/getFilterOptions.js +1 -1
- package/getFilters.js +1 -1
- package/getFilters_new.js +1 -1
- package/getRequestCookies.js +40 -0
- package/getRootSpan.js +6 -0
- package/getRootSpan2.js +6 -0
- package/getSimilarityAssets.js +1 -1
- package/getSizingData.js +45 -0
- package/getStatusCodeColor.js +6 -0
- package/getThumbPosition.js +6 -0
- package/getTimestamp.js +7 -0
- package/getUseLayerOptions.js +49 -0
- package/handlers.js +92 -6
- package/handlers2.js +6 -0
- package/helpers.js +3 -4
- package/helpers2.js +6 -0
- package/hexFromPercentage.js +7 -0
- package/http.js +17 -0
- package/hub.js +446 -0
- package/hub2.js +442 -0
- package/immer.js +472 -0
- package/import.js +7 -0
- package/index-esm.js +10781 -0
- package/index-esm2.js +138 -0
- package/index-esm3.js +131 -0
- package/index.browser.js +11 -0
- package/index.module.js +57 -0
- package/index.module2.js +72 -0
- package/index.module3.js +57 -0
- package/index10.js +20 -0
- package/index102.js +273 -0
- package/index11.js +18 -0
- package/index112.js +29 -0
- package/index12.js +38 -0
- package/index13.js +2432 -0
- package/index14.js +558 -0
- package/index15.js +58 -0
- package/index16.js +4 -0
- package/index17.js +89 -0
- package/index18.js +9 -0
- package/index19.js +62 -0
- package/index20.js +15 -0
- package/index21.js +11 -0
- package/index22.js +42 -0
- package/index23.js +9 -0
- package/index24.js +10 -0
- package/index25.js +7 -0
- package/index26.js +12 -0
- package/index27.js +11 -0
- package/index28.js +639 -0
- package/index29.js +76 -0
- package/index3.js +5 -53
- package/index30.js +7 -0
- package/index31.js +22 -0
- package/index32.js +2 -0
- package/index33.js +7 -0
- package/index34.js +20 -0
- package/index35.js +8 -0
- package/index36.js +4 -0
- package/index37.js +13 -0
- package/index38.js +13 -0
- package/index39.js +15 -0
- package/index4.js +1684 -17
- package/index40.js +13 -0
- package/index41.js +21 -0
- package/index42.js +66 -0
- package/index43.js +8 -0
- package/index44.js +57 -0
- package/index45.js +69 -0
- package/index46.js +33 -0
- package/index47.js +13 -0
- package/index48.js +123 -0
- package/index49.js +88 -0
- package/index5.js +27 -0
- package/index50.js +10 -0
- package/index51.js +13 -0
- package/index52.js +16 -0
- package/index53.js +16 -0
- package/index54.js +9 -0
- package/index55.js +9 -0
- package/index56.js +17 -0
- package/index57.js +31 -0
- package/index58.js +18 -0
- package/index6.js +315 -0
- package/index7.js +4 -0
- package/index72.js +228 -0
- package/index8.js +5051 -0
- package/index82.js +8 -0
- package/index9.js +55 -0
- package/index92.js +12 -0
- package/integration.js +38 -0
- package/is.js +77 -0
- package/is2.js +14 -0
- package/is3.js +14 -0
- package/isAbsoluteURL.js +6 -0
- package/isAbsoluteUrl2.js +6 -0
- package/isAxiosError.js +7 -0
- package/isCancel.js +6 -0
- package/isIterable.js +6 -0
- package/isStringEqual.js +6 -0
- package/isURLSameOrigin.js +8 -0
- package/isValidHexValue.js +6 -0
- package/isVirtualEvent.js +11 -0
- package/iso.js +38 -0
- package/it_IT.json.js +18 -0
- package/itemContext.js +5 -0
- package/ja_JP.json.js +18 -0
- package/ko_KR.json.js +18 -0
- package/localStorageHelper.js +32 -0
- package/localStorageHelper2.js +4 -0
- package/localization.js +46 -0
- package/logger2.js +56 -0
- package/logger3.js +56 -0
- package/logger4.js +56 -0
- package/makeHexWithOpacity.js +12 -0
- package/makeInternalTokens.js +22 -0
- package/matchRequestUrl.js +23 -0
- package/memo.js +25 -0
- package/merge.js +13 -0
- package/mergeConfig.js +70 -0
- package/mergeProps.js +22 -0
- package/mergeRefs.js +9 -0
- package/middleware.js +177 -0
- package/middleware2.js +177 -0
- package/misc.js +58 -0
- package/misc2.js +28 -0
- package/misc3.js +24 -0
- package/nl_NL.json.js +18 -0
- package/normalize.js +97 -0
- package/normalizePath.js +11 -0
- package/normalizeResponse.js +1 -1
- package/normalizeRows.js +10 -0
- package/notify.js +52 -0
- package/null.js +4 -0
- package/object.js +110 -0
- package/object2.js +39 -0
- package/object3.js +17 -0
- package/opacityPercentageFromHex.js +9 -0
- package/openLink.js +27 -0
- package/package.json +1 -1
- package/packageVersion.js +4 -0
- package/parse.js +9 -0
- package/parse2.js +44 -0
- package/parseHeaders.js +30 -0
- package/parseProtocol.js +7 -0
- package/pl_PL.json.js +18 -0
- package/platform.js +42 -0
- package/prepareEvent.js +141 -0
- package/prepareEvent2.js +5 -0
- package/prepareEvent3.js +5 -0
- package/progressEventReducer.js +35 -0
- package/promisebuffer.js +44 -0
- package/propagationContext.js +11 -0
- package/pt_BR.json.js +18 -0
- package/ratelimit.js +37 -0
- package/react.js +19 -0
- package/react2.js +19 -0
- package/regexes.js +51 -0
- package/registries.js +41 -0
- package/resolveConfig.js +33 -0
- package/ru_RU.json.js +18 -0
- package/runAfterTransition.js +35 -0
- package/schemas.js +368 -0
- package/schemas2.js +691 -0
- package/scope.js +412 -0
- package/scope2.js +407 -0
- package/scope3.js +348 -0
- package/sdk-DhxX43BH.js +4813 -0
- package/sdkMetadata.js +15 -0
- package/serializeRequest.js +12 -0
- package/serializeResponse.js +14 -0
- package/session.js +57 -0
- package/session2.js +57 -0
- package/session3.js +16 -0
- package/settle.js +14 -0
- package/shadowdom.js +13 -0
- package/shadowdom2.js +13 -0
- package/spanOnScope.js +12 -0
- package/spanUtils.js +31 -0
- package/spanUtils2.js +31 -0
- package/speedometer.js +19 -0
- package/spread.js +8 -0
- package/stack-parsers.js +48 -0
- package/stackStrategy.js +98 -0
- package/stacktrace.js +49 -0
- package/state.js +106 -0
- package/store/useDatStore.d.ts +11 -8
- package/string.js +6 -0
- package/styled-components.browser.esm.js +530 -0
- package/styles.js +55 -0
- package/styles2.js +17 -0
- package/supports.js +6 -0
- package/syncpromise.js +121 -0
- package/syncpromise2.js +109 -0
- package/textSelection.js +33 -0
- package/textStyles.js +20 -0
- package/theme.js +238 -0
- package/themeContainers.js +20 -0
- package/themes3.js +26 -0
- package/throttle.js +15 -0
- package/time.js +24 -0
- package/time2.js +24 -0
- package/time3.js +24 -0
- package/toFormData.js +85 -0
- package/toPublicUrl.js +9 -0
- package/toURLEncodedForm.js +13 -0
- package/token.js +236 -0
- package/tokenExpirationHelper.js +48 -0
- package/tokenExpirationHelper2.js +4 -0
- package/tokensAndThemes.js +92 -0
- package/tr_TR.json.js +18 -0
- package/trackStream.js +63 -0
- package/transformData.js +13 -0
- package/transitional.js +8 -0
- package/trimMetapropertyValue.js +1 -1
- package/tslib.es6.js +18 -0
- package/typeof.js +11 -0
- package/urlHelper.js +15 -0
- package/urlHelper2.js +4 -0
- package/useAutoHeight.js +25 -0
- package/useDatStore.js +31 -27
- package/useEffectEvent.js +18 -0
- package/useFocus.js +30 -0
- package/useFocusRing.js +34 -0
- package/useFocusVisible.js +92 -0
- package/useFocusWithin.js +57 -0
- package/useFonts.js +118 -0
- package/useGlobalListeners.js +34 -0
- package/useGroupContext.js +10 -0
- package/useHover.js +79 -0
- package/useId.js +8 -0
- package/useId2.js +17 -0
- package/useKeyDown.js +14 -0
- package/useLayoutEffect.js +6 -0
- package/useOrderingStore.js +6 -6
- package/usePress.js +359 -0
- package/useRouterStore.js +6 -6
- package/useScrollHighlightedIntoView.js +24 -0
- package/useSearchStore.js +5 -5
- package/useSimilaritySearchStore.js +6 -6
- package/useSyncRef.js +12 -0
- package/useTranslate.js +13 -0
- package/useZIndex.js +9 -0
- package/userfeedback.js +28 -0
- package/util.js +265 -0
- package/utils/fixFontSpaceInUrl.d.ts +1 -0
- package/utils.js +26 -44
- package/utils2.js +43 -45
- package/utils3.js +50 -0
- package/utils4.js +12 -0
- package/utils5.js +71 -0
- package/utils6.js +222 -0
- package/utils7.js +9 -0
- package/utils8.js +70 -0
- package/validator.js +54 -0
- package/vanilla.js +14 -0
- package/vanilla2.js +14 -0
- package/version.js +4 -0
- package/version2.js +4 -0
- package/version3.js +4 -0
- package/versionContext.js +9 -0
- package/versions.js +8 -0
- package/worldwide.js +19 -0
- package/worldwide2.js +15 -0
- package/worldwide3.js +10 -0
- package/xhr.js +71 -0
- package/zh_CN.json.js +18 -0
- package/zh_TW.json.js +18 -0
package/normalize.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { isNaN as a, isVueViewModel as g, isSyntheticEvent as l } from "./is.js";
|
|
2
|
+
import { memoBuilder as h } from "./memo.js";
|
|
3
|
+
import { convertToPlainObject as z } from "./object.js";
|
|
4
|
+
import { getFunctionName as N } from "./stacktrace.js";
|
|
5
|
+
function w(n, t = 100, r = 1 / 0) {
|
|
6
|
+
try {
|
|
7
|
+
return y("", n, t, r);
|
|
8
|
+
} catch (i) {
|
|
9
|
+
return { ERROR: `**non-serializable** (${i})` };
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function O(n, t = 3, r = 100 * 1024) {
|
|
13
|
+
const i = w(n, t);
|
|
14
|
+
return E(i) > r ? O(n, t - 1, r) : i;
|
|
15
|
+
}
|
|
16
|
+
function y(n, t, r = 1 / 0, i = 1 / 0, e = h()) {
|
|
17
|
+
const [d, _] = e;
|
|
18
|
+
if (t == null || // this matches null and undefined -> eqeq not eqeqeq
|
|
19
|
+
["number", "boolean", "string"].includes(typeof t) && !a(t))
|
|
20
|
+
return t;
|
|
21
|
+
const f = j(n, t);
|
|
22
|
+
if (!f.startsWith("[object "))
|
|
23
|
+
return f;
|
|
24
|
+
if (t.__sentry_skip_normalization__)
|
|
25
|
+
return t;
|
|
26
|
+
const c = typeof t.__sentry_override_normalization_depth__ == "number" ? t.__sentry_override_normalization_depth__ : r;
|
|
27
|
+
if (c === 0)
|
|
28
|
+
return f.replace("object ", "");
|
|
29
|
+
if (d(t))
|
|
30
|
+
return "[Circular ~]";
|
|
31
|
+
const s = t;
|
|
32
|
+
if (s && typeof s.toJSON == "function")
|
|
33
|
+
try {
|
|
34
|
+
const o = s.toJSON();
|
|
35
|
+
return y("", o, c - 1, i, e);
|
|
36
|
+
} catch {
|
|
37
|
+
}
|
|
38
|
+
const m = Array.isArray(t) ? [] : {};
|
|
39
|
+
let p = 0;
|
|
40
|
+
const u = z(t);
|
|
41
|
+
for (const o in u) {
|
|
42
|
+
if (!Object.prototype.hasOwnProperty.call(u, o))
|
|
43
|
+
continue;
|
|
44
|
+
if (p >= i) {
|
|
45
|
+
m[o] = "[MaxProperties ~]";
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
const b = u[o];
|
|
49
|
+
m[o] = y(o, b, c - 1, i, e), p++;
|
|
50
|
+
}
|
|
51
|
+
return _(t), m;
|
|
52
|
+
}
|
|
53
|
+
function j(n, t) {
|
|
54
|
+
try {
|
|
55
|
+
if (n === "domain" && t && typeof t == "object" && t._events)
|
|
56
|
+
return "[Domain]";
|
|
57
|
+
if (n === "domainEmitter")
|
|
58
|
+
return "[DomainEmitter]";
|
|
59
|
+
if (typeof global < "u" && t === global)
|
|
60
|
+
return "[Global]";
|
|
61
|
+
if (typeof window < "u" && t === window)
|
|
62
|
+
return "[Window]";
|
|
63
|
+
if (typeof document < "u" && t === document)
|
|
64
|
+
return "[Document]";
|
|
65
|
+
if (g(t))
|
|
66
|
+
return "[VueViewModel]";
|
|
67
|
+
if (l(t))
|
|
68
|
+
return "[SyntheticEvent]";
|
|
69
|
+
if (typeof t == "number" && t !== t)
|
|
70
|
+
return "[NaN]";
|
|
71
|
+
if (typeof t == "function")
|
|
72
|
+
return `[Function: ${N(t)}]`;
|
|
73
|
+
if (typeof t == "symbol")
|
|
74
|
+
return `[${String(t)}]`;
|
|
75
|
+
if (typeof t == "bigint")
|
|
76
|
+
return `[BigInt: ${String(t)}]`;
|
|
77
|
+
const r = S(t);
|
|
78
|
+
return /^HTML(\w*)Element$/.test(r) ? `[HTMLElement: ${r}]` : `[object ${r}]`;
|
|
79
|
+
} catch (r) {
|
|
80
|
+
return `**non-serializable** (${r})`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function S(n) {
|
|
84
|
+
const t = Object.getPrototypeOf(n);
|
|
85
|
+
return t ? t.constructor.name : "null prototype";
|
|
86
|
+
}
|
|
87
|
+
function $(n) {
|
|
88
|
+
return ~-encodeURI(n).split(/%..|./).length;
|
|
89
|
+
}
|
|
90
|
+
function E(n) {
|
|
91
|
+
return $(JSON.stringify(n));
|
|
92
|
+
}
|
|
93
|
+
export {
|
|
94
|
+
w as normalize,
|
|
95
|
+
O as normalizeToSize,
|
|
96
|
+
y as walk
|
|
97
|
+
};
|
package/normalizePath.js
ADDED
package/normalizeResponse.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WEBDAM_TRANSFORM_BASE_URL_NAME as r, BYNDER_TRANSFORM_BASE_URL_NAME as n } from "./
|
|
1
|
+
import { WEBDAM_TRANSFORM_BASE_URL_NAME as r, BYNDER_TRANSFORM_BASE_URL_NAME as n } from "./constants3.js";
|
|
2
2
|
function a(s) {
|
|
3
3
|
if (s[r]) {
|
|
4
4
|
const { [r]: e, ...t } = s;
|
package/normalizeRows.js
ADDED
package/notify.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { cloneElement as f } from "react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import { nanoid as u } from "./index.browser.js";
|
|
5
|
+
import { IconCancel as s, IconCheck as d } from "./index4.js";
|
|
6
|
+
import { Button as C } from "./Button.js";
|
|
7
|
+
import { Thumbnail as c } from "./Thumbnail.js";
|
|
8
|
+
import { Spinner as h } from "./Spinner2.js";
|
|
9
|
+
import { Baloon as k } from "./Baloon.js";
|
|
10
|
+
const g = 8e3, T = 288e5;
|
|
11
|
+
function m({
|
|
12
|
+
isPersistent: r,
|
|
13
|
+
button: o,
|
|
14
|
+
id: e = u(),
|
|
15
|
+
variant: a,
|
|
16
|
+
thumbnail: l,
|
|
17
|
+
...p
|
|
18
|
+
}) {
|
|
19
|
+
return n((t) => /* @__PURE__ */ i(k, { thumbnail: b(l, a), ...p, button: o ? f(o, {
|
|
20
|
+
variant: "clean",
|
|
21
|
+
onClick() {
|
|
22
|
+
o.props.onClick?.(), n.dismiss(t.id);
|
|
23
|
+
}
|
|
24
|
+
}) : /* @__PURE__ */ i(C, { variant: "clean", onClick: () => {
|
|
25
|
+
n.dismiss(t.id);
|
|
26
|
+
}, icon: /* @__PURE__ */ i(s, {}), title: "Close" }) }), {
|
|
27
|
+
id: e,
|
|
28
|
+
// `react-hot-toast` currently doesn't support persistent notifications, so as workaround we use very long duration
|
|
29
|
+
// https://github.com/timolins/react-hot-toast/issues/36
|
|
30
|
+
duration: r ? T : g
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
m.dismiss = function(o) {
|
|
34
|
+
n.dismiss(o);
|
|
35
|
+
};
|
|
36
|
+
m.remove = function(o) {
|
|
37
|
+
n.remove(o);
|
|
38
|
+
};
|
|
39
|
+
function b(r, o) {
|
|
40
|
+
const e = {
|
|
41
|
+
loading: /* @__PURE__ */ i(c, { shape: "circle", backgroundColor: "transparent", icon: /* @__PURE__ */ i(h, {}) }),
|
|
42
|
+
success: /* @__PURE__ */ i(c, { shape: "circle", backgroundColor: "green500", icon: /* @__PURE__ */ i(d, {}), iconColor: "white" }),
|
|
43
|
+
error: /* @__PURE__ */ i(c, { shape: "circle", backgroundColor: "red500", icon: /* @__PURE__ */ i(s, {}), iconColor: "white" })
|
|
44
|
+
};
|
|
45
|
+
if (r)
|
|
46
|
+
return r;
|
|
47
|
+
if (o)
|
|
48
|
+
return e[o];
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
m as notify
|
|
52
|
+
};
|
package/null.js
ADDED
package/object.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { htmlTreeAsString as d } from "./browser.js";
|
|
2
|
+
import { DEBUG_BUILD as y } from "./debug-build3.js";
|
|
3
|
+
import { isPlainObject as u, isError as m, isEvent as p, isInstanceOf as g, isElement as l } from "./is.js";
|
|
4
|
+
import { logger as O } from "./logger2.js";
|
|
5
|
+
import { truncate as s } from "./string.js";
|
|
6
|
+
function w(e, t, r) {
|
|
7
|
+
try {
|
|
8
|
+
Object.defineProperty(e, t, {
|
|
9
|
+
// enumerable: false, // the default, so we can save on bundle size by not explicitly setting it
|
|
10
|
+
value: r,
|
|
11
|
+
writable: !0,
|
|
12
|
+
configurable: !0
|
|
13
|
+
});
|
|
14
|
+
} catch {
|
|
15
|
+
y && O.log(`Failed to add non-enumerable property "${t}" to object`, e);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function U(e) {
|
|
19
|
+
return Object.keys(e).map((t) => `${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&");
|
|
20
|
+
}
|
|
21
|
+
function a(e) {
|
|
22
|
+
if (m(e))
|
|
23
|
+
return {
|
|
24
|
+
message: e.message,
|
|
25
|
+
name: e.name,
|
|
26
|
+
stack: e.stack,
|
|
27
|
+
...i(e)
|
|
28
|
+
};
|
|
29
|
+
if (p(e)) {
|
|
30
|
+
const t = {
|
|
31
|
+
type: e.type,
|
|
32
|
+
target: f(e.target),
|
|
33
|
+
currentTarget: f(e.currentTarget),
|
|
34
|
+
...i(e)
|
|
35
|
+
};
|
|
36
|
+
return typeof CustomEvent < "u" && g(e, CustomEvent) && (t.detail = e.detail), t;
|
|
37
|
+
} else
|
|
38
|
+
return e;
|
|
39
|
+
}
|
|
40
|
+
function f(e) {
|
|
41
|
+
try {
|
|
42
|
+
return l(e) ? d(e) : Object.prototype.toString.call(e);
|
|
43
|
+
} catch {
|
|
44
|
+
return "<unknown>";
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function i(e) {
|
|
48
|
+
if (typeof e == "object" && e !== null) {
|
|
49
|
+
const t = {};
|
|
50
|
+
for (const r in e)
|
|
51
|
+
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
|
|
52
|
+
return t;
|
|
53
|
+
} else
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
56
|
+
function T(e, t = 40) {
|
|
57
|
+
const r = Object.keys(a(e));
|
|
58
|
+
if (r.sort(), !r.length)
|
|
59
|
+
return "[object has no keys]";
|
|
60
|
+
if (r[0].length >= t)
|
|
61
|
+
return s(r[0], t);
|
|
62
|
+
for (let n = r.length; n > 0; n--) {
|
|
63
|
+
const o = r.slice(0, n).join(", ");
|
|
64
|
+
if (!(o.length > t))
|
|
65
|
+
return n === r.length ? o : s(o, t);
|
|
66
|
+
}
|
|
67
|
+
return "";
|
|
68
|
+
}
|
|
69
|
+
function C(e) {
|
|
70
|
+
return c(e, /* @__PURE__ */ new Map());
|
|
71
|
+
}
|
|
72
|
+
function c(e, t) {
|
|
73
|
+
if (b(e)) {
|
|
74
|
+
const r = t.get(e);
|
|
75
|
+
if (r !== void 0)
|
|
76
|
+
return r;
|
|
77
|
+
const n = {};
|
|
78
|
+
t.set(e, n);
|
|
79
|
+
for (const o of Object.keys(e))
|
|
80
|
+
typeof e[o] < "u" && (n[o] = c(e[o], t));
|
|
81
|
+
return n;
|
|
82
|
+
}
|
|
83
|
+
if (Array.isArray(e)) {
|
|
84
|
+
const r = t.get(e);
|
|
85
|
+
if (r !== void 0)
|
|
86
|
+
return r;
|
|
87
|
+
const n = [];
|
|
88
|
+
return t.set(e, n), e.forEach((o) => {
|
|
89
|
+
n.push(c(o, t));
|
|
90
|
+
}), n;
|
|
91
|
+
}
|
|
92
|
+
return e;
|
|
93
|
+
}
|
|
94
|
+
function b(e) {
|
|
95
|
+
if (!u(e))
|
|
96
|
+
return !1;
|
|
97
|
+
try {
|
|
98
|
+
const t = Object.getPrototypeOf(e).constructor.name;
|
|
99
|
+
return !t || t === "Object";
|
|
100
|
+
} catch {
|
|
101
|
+
return !0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export {
|
|
105
|
+
w as addNonEnumerableProperty,
|
|
106
|
+
a as convertToPlainObject,
|
|
107
|
+
C as dropUndefinedKeys,
|
|
108
|
+
T as extractExceptionKeysForMessage,
|
|
109
|
+
U as urlEncode
|
|
110
|
+
};
|
package/object2.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { isPlainObject as c } from "./is2.js";
|
|
2
|
+
function y(r) {
|
|
3
|
+
return o(r, /* @__PURE__ */ new Map());
|
|
4
|
+
}
|
|
5
|
+
function o(r, e) {
|
|
6
|
+
if (s(r)) {
|
|
7
|
+
const n = e.get(r);
|
|
8
|
+
if (n !== void 0)
|
|
9
|
+
return n;
|
|
10
|
+
const t = {};
|
|
11
|
+
e.set(r, t);
|
|
12
|
+
for (const f of Object.keys(r))
|
|
13
|
+
typeof r[f] < "u" && (t[f] = o(r[f], e));
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
if (Array.isArray(r)) {
|
|
17
|
+
const n = e.get(r);
|
|
18
|
+
if (n !== void 0)
|
|
19
|
+
return n;
|
|
20
|
+
const t = [];
|
|
21
|
+
return e.set(r, t), r.forEach((f) => {
|
|
22
|
+
t.push(o(f, e));
|
|
23
|
+
}), t;
|
|
24
|
+
}
|
|
25
|
+
return r;
|
|
26
|
+
}
|
|
27
|
+
function s(r) {
|
|
28
|
+
if (!c(r))
|
|
29
|
+
return !1;
|
|
30
|
+
try {
|
|
31
|
+
const e = Object.getPrototypeOf(r).constructor.name;
|
|
32
|
+
return !e || e === "Object";
|
|
33
|
+
} catch {
|
|
34
|
+
return !0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
y as dropUndefinedKeys
|
|
39
|
+
};
|
package/object3.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DEBUG_BUILD as t } from "./debug-build6.js";
|
|
2
|
+
import { logger as a } from "./logger4.js";
|
|
3
|
+
function p(e, r, o) {
|
|
4
|
+
try {
|
|
5
|
+
Object.defineProperty(e, r, {
|
|
6
|
+
// enumerable: false, // the default, so we can save on bundle size by not explicitly setting it
|
|
7
|
+
value: o,
|
|
8
|
+
writable: !0,
|
|
9
|
+
configurable: !0
|
|
10
|
+
});
|
|
11
|
+
} catch {
|
|
12
|
+
t && a.log(`Failed to add non-enumerable property "${r}" to object`, e);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
p as addNonEnumerableProperty
|
|
17
|
+
};
|
package/openLink.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { focusWithoutScrolling as p } from "./focusWithoutScrolling.js";
|
|
2
|
+
import { isFirefox as f, isWebKit as b, isMac as d, isIPad as u } from "./platform.js";
|
|
3
|
+
import "react";
|
|
4
|
+
function o(e, c, l = !0) {
|
|
5
|
+
var t, i;
|
|
6
|
+
let { metaKey: a, ctrlKey: n, altKey: r, shiftKey: s } = c;
|
|
7
|
+
f() && (!((i = window.event) === null || i === void 0 || (t = i.type) === null || t === void 0) && t.startsWith("key")) && e.target === "_blank" && (d() ? a = !0 : n = !0);
|
|
8
|
+
let $ = b() && d() && !u() ? new KeyboardEvent("keydown", {
|
|
9
|
+
keyIdentifier: "Enter",
|
|
10
|
+
metaKey: a,
|
|
11
|
+
ctrlKey: n,
|
|
12
|
+
altKey: r,
|
|
13
|
+
shiftKey: s
|
|
14
|
+
}) : new MouseEvent("click", {
|
|
15
|
+
metaKey: a,
|
|
16
|
+
ctrlKey: n,
|
|
17
|
+
altKey: r,
|
|
18
|
+
shiftKey: s,
|
|
19
|
+
bubbles: !0,
|
|
20
|
+
cancelable: !0
|
|
21
|
+
});
|
|
22
|
+
o.isOpening = l, p(e), e.dispatchEvent($), o.isOpening = !1;
|
|
23
|
+
}
|
|
24
|
+
o.isOpening = !1;
|
|
25
|
+
export {
|
|
26
|
+
o as openLink
|
|
27
|
+
};
|
package/package.json
CHANGED
package/parse.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ZodRealError as s } from "./errors.js";
|
|
2
|
+
import { _parse as r, _safeParse as e, _parseAsync as a, _safeParseAsync as o } from "./parse2.js";
|
|
3
|
+
const p = /* @__PURE__ */ r(s), t = /* @__PURE__ */ a(s), f = /* @__PURE__ */ e(s), m = /* @__PURE__ */ o(s);
|
|
4
|
+
export {
|
|
5
|
+
p as parse,
|
|
6
|
+
t as parseAsync,
|
|
7
|
+
f as safeParse,
|
|
8
|
+
m as safeParseAsync
|
|
9
|
+
};
|
package/parse2.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { $ZodAsyncError as f, config as u } from "./core.js";
|
|
2
|
+
import { $ZodError as w, $ZodRealError as y } from "./errors2.js";
|
|
3
|
+
import { finalizeIssue as i, captureStackTrace as m } from "./util.js";
|
|
4
|
+
const z = (t) => (a, c, r, n) => {
|
|
5
|
+
const s = r ? Object.assign(r, { async: !1 }) : { async: !1 }, e = a._zod.run({ value: c, issues: [] }, s);
|
|
6
|
+
if (e instanceof Promise)
|
|
7
|
+
throw new f();
|
|
8
|
+
if (e.issues.length) {
|
|
9
|
+
const o = new (n?.Err ?? t)(e.issues.map((l) => i(l, s, u())));
|
|
10
|
+
throw m(o, n?.callee), o;
|
|
11
|
+
}
|
|
12
|
+
return e.value;
|
|
13
|
+
}, E = (t) => async (a, c, r, n) => {
|
|
14
|
+
const s = r ? Object.assign(r, { async: !0 }) : { async: !0 };
|
|
15
|
+
let e = a._zod.run({ value: c, issues: [] }, s);
|
|
16
|
+
if (e instanceof Promise && (e = await e), e.issues.length) {
|
|
17
|
+
const o = new (n?.Err ?? t)(e.issues.map((l) => i(l, s, u())));
|
|
18
|
+
throw m(o, n?.callee), o;
|
|
19
|
+
}
|
|
20
|
+
return e.value;
|
|
21
|
+
}, d = (t) => (a, c, r) => {
|
|
22
|
+
const n = r ? { ...r, async: !1 } : { async: !1 }, s = a._zod.run({ value: c, issues: [] }, n);
|
|
23
|
+
if (s instanceof Promise)
|
|
24
|
+
throw new f();
|
|
25
|
+
return s.issues.length ? {
|
|
26
|
+
success: !1,
|
|
27
|
+
error: new (t ?? w)(s.issues.map((e) => i(e, n, u())))
|
|
28
|
+
} : { success: !0, data: s.value };
|
|
29
|
+
}, v = /* @__PURE__ */ d(y), p = (t) => async (a, c, r) => {
|
|
30
|
+
const n = r ? Object.assign(r, { async: !0 }) : { async: !0 };
|
|
31
|
+
let s = a._zod.run({ value: c, issues: [] }, n);
|
|
32
|
+
return s instanceof Promise && (s = await s), s.issues.length ? {
|
|
33
|
+
success: !1,
|
|
34
|
+
error: new t(s.issues.map((e) => i(e, n, u())))
|
|
35
|
+
} : { success: !0, data: s.value };
|
|
36
|
+
}, A = /* @__PURE__ */ p(y);
|
|
37
|
+
export {
|
|
38
|
+
z as _parse,
|
|
39
|
+
E as _parseAsync,
|
|
40
|
+
d as _safeParse,
|
|
41
|
+
p as _safeParseAsync,
|
|
42
|
+
v as safeParse,
|
|
43
|
+
A as safeParseAsync
|
|
44
|
+
};
|
package/parseHeaders.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import n from "./utils6.js";
|
|
2
|
+
const a = n.toObjectSet([
|
|
3
|
+
"age",
|
|
4
|
+
"authorization",
|
|
5
|
+
"content-length",
|
|
6
|
+
"content-type",
|
|
7
|
+
"etag",
|
|
8
|
+
"expires",
|
|
9
|
+
"from",
|
|
10
|
+
"host",
|
|
11
|
+
"if-modified-since",
|
|
12
|
+
"if-unmodified-since",
|
|
13
|
+
"last-modified",
|
|
14
|
+
"location",
|
|
15
|
+
"max-forwards",
|
|
16
|
+
"proxy-authorization",
|
|
17
|
+
"referer",
|
|
18
|
+
"retry-after",
|
|
19
|
+
"user-agent"
|
|
20
|
+
]), u = (s) => {
|
|
21
|
+
const t = {};
|
|
22
|
+
let e, r, i;
|
|
23
|
+
return s && s.split(`
|
|
24
|
+
`).forEach(function(o) {
|
|
25
|
+
i = o.indexOf(":"), e = o.substring(0, i).trim().toLowerCase(), r = o.substring(i + 1).trim(), !(!e || t[e] && a[e]) && (e === "set-cookie" ? t[e] ? t[e].push(r) : t[e] = [r] : t[e] = t[e] ? t[e] + ", " + r : r);
|
|
26
|
+
}), t;
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
u as default
|
|
30
|
+
};
|
package/parseProtocol.js
ADDED
package/pl_PL.json.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
"colorpicker.opacity-input": "Nieprzezroczystość",
|
|
3
|
+
"datepicker.clear-date": "Wyczyść datę",
|
|
4
|
+
"datepicker.next-month": "Następny miesiąc",
|
|
5
|
+
"datepicker.open-calendar": "Otwórz kalendarz",
|
|
6
|
+
"datepicker.previous-month": "Poprzedni miesiąc",
|
|
7
|
+
"input.clear": "Wyczyść pole wprowadzania",
|
|
8
|
+
"input.hide-password": "Ukryj hasło",
|
|
9
|
+
"input.show-password": "Pokaż hasło",
|
|
10
|
+
"modal.close": "Zamknij",
|
|
11
|
+
"multiselectchips.add-value": "Dodaj „{value}”",
|
|
12
|
+
"multiselectchips.remove-all": "Usuń wszystko",
|
|
13
|
+
"pagination.next-page": "Następna strona",
|
|
14
|
+
"pagination.previous-page": "Poprzednia strona"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
a as default
|
|
18
|
+
};
|
package/platform.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
function t(e) {
|
|
2
|
+
var n;
|
|
3
|
+
if (typeof window > "u" || window.navigator == null) return !1;
|
|
4
|
+
let o = (n = window.navigator.userAgentData) === null || n === void 0 ? void 0 : n.brands;
|
|
5
|
+
return Array.isArray(o) && o.some((i) => e.test(i.brand)) || e.test(window.navigator.userAgent);
|
|
6
|
+
}
|
|
7
|
+
function r(e) {
|
|
8
|
+
var n;
|
|
9
|
+
return typeof window < "u" && window.navigator != null ? e.test(((n = window.navigator.userAgentData) === null || n === void 0 ? void 0 : n.platform) || window.navigator.platform) : !1;
|
|
10
|
+
}
|
|
11
|
+
function a(e) {
|
|
12
|
+
let n = null;
|
|
13
|
+
return () => (n == null && (n = e()), n);
|
|
14
|
+
}
|
|
15
|
+
const s = a(function() {
|
|
16
|
+
return r(/^Mac/i);
|
|
17
|
+
}), c = a(function() {
|
|
18
|
+
return r(/^iPhone/i);
|
|
19
|
+
}), u = a(function() {
|
|
20
|
+
return r(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
21
|
+
s() && navigator.maxTouchPoints > 1;
|
|
22
|
+
}), $ = a(function() {
|
|
23
|
+
return c() || u();
|
|
24
|
+
}), f = a(function() {
|
|
25
|
+
return t(/AppleWebKit/i) && !d();
|
|
26
|
+
}), d = a(function() {
|
|
27
|
+
return t(/Chrome/i);
|
|
28
|
+
}), l = a(function() {
|
|
29
|
+
return t(/Android/i);
|
|
30
|
+
}), w = a(function() {
|
|
31
|
+
return t(/Firefox/i);
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
l as isAndroid,
|
|
35
|
+
d as isChrome,
|
|
36
|
+
w as isFirefox,
|
|
37
|
+
$ as isIOS,
|
|
38
|
+
u as isIPad,
|
|
39
|
+
c as isIPhone,
|
|
40
|
+
s as isMac,
|
|
41
|
+
f as isWebKit
|
|
42
|
+
};
|