{"ast":null,"code":"\"use strict\";\n\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nimport { getLabel, Label, PlatformPressable } from '@react-navigation/elements';\nimport { useTheme } from '@react-navigation/native';\nimport Color from 'color';\nimport React from 'react';\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { TabBarIcon } from \"./TabBarIcon.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar renderButtonDefault = function renderButtonDefault(props) {\n  return _jsx(PlatformPressable, _objectSpread({}, props));\n};\nvar SUPPORTS_LARGE_CONTENT_VIEWER = Platform.OS === 'ios' && parseInt(Platform.Version, 10) >= 13;\nexport function BottomTabItem(_ref) {\n  var route = _ref.route,\n    href = _ref.href,\n    focused = _ref.focused,\n    descriptor = _ref.descriptor,\n    label = _ref.label,\n    icon = _ref.icon,\n    badge = _ref.badge,\n    badgeStyle = _ref.badgeStyle,\n    _ref$button = _ref.button,\n    button = _ref$button === void 0 ? renderButtonDefault : _ref$button,\n    accessibilityLabel = _ref.accessibilityLabel,\n    testID = _ref.testID,\n    onPress = _ref.onPress,\n    onLongPress = _ref.onLongPress,\n    horizontal = _ref.horizontal,\n    compact = _ref.compact,\n    sidebar = _ref.sidebar,\n    variant = _ref.variant,\n    customActiveTintColor = _ref.activeTintColor,\n    customInactiveTintColor = _ref.inactiveTintColor,\n    customActiveBackgroundColor = _ref.activeBackgroundColor,\n    _ref$inactiveBackgrou = _ref.inactiveBackgroundColor,\n    inactiveBackgroundColor = _ref$inactiveBackgrou === void 0 ? 'transparent' : _ref$inactiveBackgrou,\n    _ref$showLabel = _ref.showLabel,\n    showLabel = _ref$showLabel === void 0 ? true : _ref$showLabel,\n    _ref$allowFontScaling = _ref.allowFontScaling,\n    allowFontScaling = _ref$allowFontScaling === void 0 ? SUPPORTS_LARGE_CONTENT_VIEWER ? false : undefined : _ref$allowFontScaling,\n    labelStyle = _ref.labelStyle,\n    iconStyle = _ref.iconStyle,\n    style = _ref.style;\n  var _useTheme = useTheme(),\n    colors = _useTheme.colors,\n    fonts = _useTheme.fonts;\n  var activeTintColor = customActiveTintColor != null ? customActiveTintColor : variant === 'uikit' && sidebar && horizontal ? Color(colors.primary).isDark() ? 'white' : Color(colors.primary).darken(0.71).string() : colors.primary;\n  var inactiveTintColor = customInactiveTintColor === undefined ? variant === 'material' ? Color(colors.text).alpha(0.68).rgb().string() : Color(colors.text).mix(Color(colors.card), 0.5).hex() : customInactiveTintColor;\n  var activeBackgroundColor = customActiveBackgroundColor != null ? customActiveBackgroundColor : variant === 'material' ? Color(activeTintColor).alpha(0.12).rgb().string() : sidebar && horizontal ? colors.primary : 'transparent';\n  var options = descriptor.options;\n  var labelString = getLabel({\n    label: typeof options.tabBarLabel === 'string' ? options.tabBarLabel : undefined,\n    title: options.title\n  }, route.name);\n  var labelInactiveTintColor = inactiveTintColor;\n  var iconInactiveTintColor = inactiveTintColor;\n  if (variant === 'uikit' && sidebar && horizontal && customInactiveTintColor === undefined) {\n    iconInactiveTintColor = colors.primary;\n    labelInactiveTintColor = colors.text;\n  }\n  var renderLabel = function renderLabel(_ref2) {\n    var focused = _ref2.focused;\n    if (showLabel === false) {\n      return null;\n    }\n    var color = focused ? activeTintColor : labelInactiveTintColor;\n    if (typeof label !== 'string') {\n      return label({\n        focused: focused,\n        color: color,\n        position: horizontal ? 'beside-icon' : 'below-icon',\n        children: labelString\n      });\n    }\n    return _jsx(Label, {\n      style: [horizontal ? [styles.labelBeside, variant === 'material' ? styles.labelSidebarMaterial : sidebar ? styles.labelSidebarUiKit : compact ? styles.labelBesideUikitCompact : styles.labelBesideUikit, icon == null && {\n        marginStart: 0\n      }] : styles.labelBeneath, compact || variant === 'uikit' && sidebar && horizontal ? fonts.regular : fonts.medium, labelStyle],\n      allowFontScaling: allowFontScaling,\n      tintColor: color,\n      children: label\n    });\n  };\n  var renderIcon = function renderIcon(_ref3) {\n    var focused = _ref3.focused;\n    if (icon === undefined) {\n      return null;\n    }\n    var activeOpacity = focused ? 1 : 0;\n    var inactiveOpacity = focused ? 0 : 1;\n    return _jsx(TabBarIcon, {\n      route: route,\n      variant: variant,\n      size: compact ? 'compact' : 'regular',\n      badge: badge,\n      badgeStyle: badgeStyle,\n      activeOpacity: activeOpacity,\n      allowFontScaling: allowFontScaling,\n      inactiveOpacity: inactiveOpacity,\n      activeTintColor: activeTintColor,\n      inactiveTintColor: iconInactiveTintColor,\n      renderIcon: icon,\n      style: iconStyle\n    });\n  };\n  var scene = {\n    route: route,\n    focused: focused\n  };\n  var backgroundColor = focused ? activeBackgroundColor : inactiveBackgroundColor;\n  var _StyleSheet$flatten = StyleSheet.flatten(style || {}),\n    flex = _StyleSheet$flatten.flex;\n  var borderRadius = variant === 'material' ? horizontal ? 56 : 16 : sidebar && horizontal ? 10 : 0;\n  return _jsx(View, {\n    style: [{\n      borderRadius: borderRadius,\n      overflow: variant === 'material' ? 'hidden' : 'visible'\n    }, style],\n    children: button({\n      href: href,\n      onPress: onPress,\n      onLongPress: onLongPress,\n      testID: testID,\n      'aria-label': accessibilityLabel,\n      'accessibilityLargeContentTitle': labelString,\n      'accessibilityShowsLargeContentViewer': true,\n      'role': Platform.select({\n        ios: 'button',\n        default: 'tab'\n      }),\n      'aria-selected': focused,\n      'android_ripple': {\n        borderless: true\n      },\n      'hoverEffect': variant === 'material' || sidebar && horizontal ? {\n        color: colors.text\n      } : undefined,\n      'pressOpacity': 1,\n      'style': [styles.tab, {\n        flex: flex,\n        backgroundColor: backgroundColor,\n        borderRadius: borderRadius\n      }, sidebar ? variant === 'material' ? horizontal ? styles.tabBarSidebarMaterial : styles.tabVerticalMaterial : horizontal ? styles.tabBarSidebarUiKit : styles.tabVerticalUiKit : variant === 'material' ? styles.tabVerticalMaterial : horizontal ? styles.tabHorizontalUiKit : styles.tabVerticalUiKit],\n      'children': _jsxs(React.Fragment, {\n        children: [renderIcon(scene), renderLabel(scene)]\n      })\n    })\n  });\n}\nvar styles = StyleSheet.create({\n  tab: {\n    alignItems: 'center',\n    borderRadius: 10\n  },\n  tabVerticalUiKit: {\n    justifyContent: 'flex-start',\n    flexDirection: 'column',\n    padding: 5\n  },\n  tabVerticalMaterial: {\n    padding: 10\n  },\n  tabHorizontalUiKit: {\n    justifyContent: 'center',\n    alignItems: 'center',\n    flexDirection: 'row',\n    padding: 5\n  },\n  tabBarSidebarUiKit: {\n    justifyContent: 'flex-start',\n    alignItems: 'center',\n    flexDirection: 'row',\n    paddingVertical: 7,\n    paddingHorizontal: 5\n  },\n  tabBarSidebarMaterial: {\n    justifyContent: 'flex-start',\n    alignItems: 'center',\n    flexDirection: 'row',\n    paddingVertical: 15,\n    paddingStart: 16,\n    paddingEnd: 24\n  },\n  labelSidebarMaterial: {\n    marginStart: 12\n  },\n  labelSidebarUiKit: {\n    fontSize: 17,\n    marginStart: 10\n  },\n  labelBeneath: {\n    fontSize: 10\n  },\n  labelBeside: {\n    marginEnd: 12,\n    lineHeight: 24\n  },\n  labelBesideUikit: {\n    fontSize: 13,\n    marginStart: 5\n  },\n  labelBesideUikitCompact: {\n    fontSize: 12,\n    marginStart: 5\n  }\n});","map":{"version":3,"names":["getLabel","Label","PlatformPressable","useTheme","Color","React","Platform","StyleSheet","View","TabBarIcon","jsx","_jsx","jsxs","_jsxs","renderButtonDefault","props","_objectSpread","SUPPORTS_LARGE_CONTENT_VIEWER","OS","parseInt","Version","BottomTabItem","_ref","route","href","focused","descriptor","label","icon","badge","badgeStyle","_ref$button","button","accessibilityLabel","testID","onPress","onLongPress","horizontal","compact","sidebar","variant","customActiveTintColor","activeTintColor","customInactiveTintColor","inactiveTintColor","customActiveBackgroundColor","activeBackgroundColor","_ref$inactiveBackgrou","inactiveBackgroundColor","_ref$showLabel","showLabel","_ref$allowFontScaling","allowFontScaling","undefined","labelStyle","iconStyle","style","_useTheme","colors","fonts","primary","isDark","darken","string","text","alpha","rgb","mix","card","hex","options","labelString","tabBarLabel","title","name","labelInactiveTintColor","iconInactiveTintColor","renderLabel","_ref2","color","position","children","styles","labelBeside","labelSidebarMaterial","labelSidebarUiKit","labelBesideUikitCompact","labelBesideUikit","marginStart","labelBeneath","regular","medium","tintColor","renderIcon","_ref3","activeOpacity","inactiveOpacity","size","scene","backgroundColor","_StyleSheet$flatten","flatten","flex","borderRadius","overflow","select","ios","default","borderless","tab","tabBarSidebarMaterial","tabVerticalMaterial","tabBarSidebarUiKit","tabVerticalUiKit","tabHorizontalUiKit","Fragment","create","alignItems","justifyContent","flexDirection","padding","paddingVertical","paddingHorizontal","paddingStart","paddingEnd","fontSize","marginEnd","lineHeight"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/bottom-tabs/src/views/BottomTabItem.tsx"],"sourcesContent":["import { getLabel, Label, PlatformPressable } from '@react-navigation/elements';\nimport { type Route, useTheme } from '@react-navigation/native';\nimport Color from 'color';\nimport React from 'react';\nimport {\n  type GestureResponderEvent,\n  Platform,\n  type StyleProp,\n  StyleSheet,\n  type TextStyle,\n  View,\n  type ViewStyle,\n} from 'react-native';\n\nimport type {\n  BottomTabBarButtonProps,\n  BottomTabDescriptor,\n  LabelPosition,\n} from '../types';\nimport { TabBarIcon } from './TabBarIcon';\n\ntype Props = {\n  /**\n   * The route object which should be specified by the tab.\n   */\n  route: Route<string>;\n  /**\n   * The `href` to use for the anchor tag on web\n   */\n  href?: string;\n  /**\n   * Whether the tab is focused.\n   */\n  focused: boolean;\n  /**\n   * The descriptor object for the route.\n   */\n  descriptor: BottomTabDescriptor;\n  /**\n   * The label text of the tab.\n   */\n  label:\n    | string\n    | ((props: {\n        focused: boolean;\n        color: string;\n        position: LabelPosition;\n        children: string;\n      }) => React.ReactNode);\n  /**\n   * Icon to display for the tab.\n   */\n  icon: (props: {\n    focused: boolean;\n    size: number;\n    color: string;\n  }) => React.ReactNode;\n  /**\n   * Text to show in a badge on the tab icon.\n   */\n  badge?: number | string;\n  /**\n   * Custom style for the badge.\n   */\n  badgeStyle?: StyleProp<TextStyle>;\n  /**\n   * The button for the tab. Uses a `Pressable` by default.\n   */\n  button?: (props: BottomTabBarButtonProps) => React.ReactNode;\n  /**\n   * The accessibility label for the tab.\n   */\n  accessibilityLabel?: string;\n  /**\n   * An unique ID for testing for the tab.\n   */\n  testID?: string;\n  /**\n   * Function to execute on press in React Native.\n   * On the web, this will use onClick.\n   */\n  onPress: (\n    e: React.MouseEvent<HTMLElement, MouseEvent> | GestureResponderEvent\n  ) => void;\n  /**\n   * Function to execute on long press.\n   */\n  onLongPress: (e: GestureResponderEvent) => void;\n  /**\n   * Whether the label should be aligned with the icon horizontally.\n   */\n  horizontal: boolean;\n  /**\n   * Whether to render the icon and label in compact mode.\n   */\n  compact: boolean;\n  /**\n   * Whether the tab is an item in a side bar.\n   */\n  sidebar: boolean;\n  /**\n   * Variant of navigation bar styling\n   * - `uikit`: iOS UIKit style\n   * - `material`: Material Design style\n   */\n  variant: 'uikit' | 'material';\n  /**\n   * Color for the icon and label when the item is active.\n   */\n  activeTintColor?: string;\n  /**\n   * Color for the icon and label when the item is inactive.\n   */\n  inactiveTintColor?: string;\n  /**\n   * Background color for item when its active.\n   */\n  activeBackgroundColor?: string;\n  /**\n   * Background color for item when its inactive.\n   */\n  inactiveBackgroundColor?: string;\n  /**\n   * Whether to show the label text for the tab.\n   */\n  showLabel?: boolean;\n  /**\n   * Whether to allow scaling the font for the label for accessibility purposes.\n   * Defaults to `false` on iOS 13+ where it uses `largeContentTitle`.\n   */\n  allowFontScaling?: boolean;\n  /**\n   * Style object for the label element.\n   */\n  labelStyle?: StyleProp<TextStyle>;\n  /**\n   * Style object for the icon element.\n   */\n  iconStyle?: StyleProp<ViewStyle>;\n  /**\n   * Style object for the wrapper element.\n   */\n  style?: StyleProp<ViewStyle>;\n};\n\nconst renderButtonDefault = (props: BottomTabBarButtonProps) => (\n  <PlatformPressable {...props} />\n);\n\nconst SUPPORTS_LARGE_CONTENT_VIEWER =\n  Platform.OS === 'ios' && parseInt(Platform.Version, 10) >= 13;\n\nexport function BottomTabItem({\n  route,\n  href,\n  focused,\n  descriptor,\n  label,\n  icon,\n  badge,\n  badgeStyle,\n  button = renderButtonDefault,\n  accessibilityLabel,\n  testID,\n  onPress,\n  onLongPress,\n  horizontal,\n  compact,\n  sidebar,\n  variant,\n  activeTintColor: customActiveTintColor,\n  inactiveTintColor: customInactiveTintColor,\n  activeBackgroundColor: customActiveBackgroundColor,\n  inactiveBackgroundColor = 'transparent',\n  showLabel = true,\n  // On iOS 13+, we use `largeContentTitle` for accessibility\n  // So we don't need the font to scale up\n  // https://developer.apple.com/documentation/uikit/uiview/3183939-largecontenttitle\n  allowFontScaling = SUPPORTS_LARGE_CONTENT_VIEWER ? false : undefined,\n  labelStyle,\n  iconStyle,\n  style,\n}: Props) {\n  const { colors, fonts } = useTheme();\n\n  const activeTintColor =\n    customActiveTintColor ??\n    (variant === 'uikit' && sidebar && horizontal\n      ? Color(colors.primary).isDark()\n        ? 'white'\n        : Color(colors.primary).darken(0.71).string()\n      : colors.primary);\n\n  const inactiveTintColor =\n    customInactiveTintColor === undefined\n      ? variant === 'material'\n        ? Color(colors.text).alpha(0.68).rgb().string()\n        : Color(colors.text).mix(Color(colors.card), 0.5).hex()\n      : customInactiveTintColor;\n\n  const activeBackgroundColor =\n    customActiveBackgroundColor ??\n    (variant === 'material'\n      ? Color(activeTintColor).alpha(0.12).rgb().string()\n      : sidebar && horizontal\n        ? colors.primary\n        : 'transparent');\n\n  const { options } = descriptor;\n  const labelString = getLabel(\n    {\n      label:\n        typeof options.tabBarLabel === 'string'\n          ? options.tabBarLabel\n          : undefined,\n      title: options.title,\n    },\n    route.name\n  );\n\n  let labelInactiveTintColor = inactiveTintColor;\n  let iconInactiveTintColor = inactiveTintColor;\n\n  if (\n    variant === 'uikit' &&\n    sidebar &&\n    horizontal &&\n    customInactiveTintColor === undefined\n  ) {\n    iconInactiveTintColor = colors.primary;\n    labelInactiveTintColor = colors.text;\n  }\n\n  const renderLabel = ({ focused }: { focused: boolean }) => {\n    if (showLabel === false) {\n      return null;\n    }\n\n    const color = focused ? activeTintColor : labelInactiveTintColor;\n\n    if (typeof label !== 'string') {\n      return label({\n        focused,\n        color,\n        position: horizontal ? 'beside-icon' : 'below-icon',\n        children: labelString,\n      });\n    }\n\n    return (\n      <Label\n        style={[\n          horizontal\n            ? [\n                styles.labelBeside,\n                variant === 'material'\n                  ? styles.labelSidebarMaterial\n                  : sidebar\n                    ? styles.labelSidebarUiKit\n                    : compact\n                      ? styles.labelBesideUikitCompact\n                      : styles.labelBesideUikit,\n                icon == null && { marginStart: 0 },\n              ]\n            : styles.labelBeneath,\n          compact || (variant === 'uikit' && sidebar && horizontal)\n            ? fonts.regular\n            : fonts.medium,\n          labelStyle,\n        ]}\n        allowFontScaling={allowFontScaling}\n        tintColor={color}\n      >\n        {label}\n      </Label>\n    );\n  };\n\n  const renderIcon = ({ focused }: { focused: boolean }) => {\n    if (icon === undefined) {\n      return null;\n    }\n\n    const activeOpacity = focused ? 1 : 0;\n    const inactiveOpacity = focused ? 0 : 1;\n\n    return (\n      <TabBarIcon\n        route={route}\n        variant={variant}\n        size={compact ? 'compact' : 'regular'}\n        badge={badge}\n        badgeStyle={badgeStyle}\n        activeOpacity={activeOpacity}\n        allowFontScaling={allowFontScaling}\n        inactiveOpacity={inactiveOpacity}\n        activeTintColor={activeTintColor}\n        inactiveTintColor={iconInactiveTintColor}\n        renderIcon={icon}\n        style={iconStyle}\n      />\n    );\n  };\n\n  const scene = { route, focused };\n\n  const backgroundColor = focused\n    ? activeBackgroundColor\n    : inactiveBackgroundColor;\n\n  const { flex } = StyleSheet.flatten(style || {});\n  const borderRadius =\n    variant === 'material'\n      ? horizontal\n        ? 56\n        : 16\n      : sidebar && horizontal\n        ? 10\n        : 0;\n\n  return (\n    <View\n      style={[\n        // Clip ripple effect on Android\n        {\n          borderRadius,\n          overflow: variant === 'material' ? 'hidden' : 'visible',\n        },\n        style,\n      ]}\n    >\n      {button({\n        href,\n        onPress,\n        onLongPress,\n        testID,\n        'aria-label': accessibilityLabel,\n        'accessibilityLargeContentTitle': labelString,\n        'accessibilityShowsLargeContentViewer': true,\n        // FIXME: role: 'tab' doesn't seem to work as expected on iOS\n        'role': Platform.select({ ios: 'button', default: 'tab' }),\n        'aria-selected': focused,\n        'android_ripple': { borderless: true },\n        'hoverEffect':\n          variant === 'material' || (sidebar && horizontal)\n            ? { color: colors.text }\n            : undefined,\n        'pressOpacity': 1,\n        'style': [\n          styles.tab,\n          { flex, backgroundColor, borderRadius },\n          sidebar\n            ? variant === 'material'\n              ? horizontal\n                ? styles.tabBarSidebarMaterial\n                : styles.tabVerticalMaterial\n              : horizontal\n                ? styles.tabBarSidebarUiKit\n                : styles.tabVerticalUiKit\n            : variant === 'material'\n              ? styles.tabVerticalMaterial\n              : horizontal\n                ? styles.tabHorizontalUiKit\n                : styles.tabVerticalUiKit,\n        ],\n        'children': (\n          <React.Fragment>\n            {renderIcon(scene)}\n            {renderLabel(scene)}\n          </React.Fragment>\n        ),\n      })}\n    </View>\n  );\n}\n\nconst styles = StyleSheet.create({\n  tab: {\n    alignItems: 'center',\n    // Roundness for iPad hover effect\n    borderRadius: 10,\n  },\n  tabVerticalUiKit: {\n    justifyContent: 'flex-start',\n    flexDirection: 'column',\n    padding: 5,\n  },\n  tabVerticalMaterial: {\n    padding: 10,\n  },\n  tabHorizontalUiKit: {\n    justifyContent: 'center',\n    alignItems: 'center',\n    flexDirection: 'row',\n    padding: 5,\n  },\n  tabBarSidebarUiKit: {\n    justifyContent: 'flex-start',\n    alignItems: 'center',\n    flexDirection: 'row',\n    paddingVertical: 7,\n    paddingHorizontal: 5,\n  },\n  tabBarSidebarMaterial: {\n    justifyContent: 'flex-start',\n    alignItems: 'center',\n    flexDirection: 'row',\n    paddingVertical: 15,\n    paddingStart: 16,\n    paddingEnd: 24,\n  },\n  labelSidebarMaterial: {\n    marginStart: 12,\n  },\n  labelSidebarUiKit: {\n    fontSize: 17,\n    marginStart: 10,\n  },\n  labelBeneath: {\n    fontSize: 10,\n  },\n  labelBeside: {\n    marginEnd: 12,\n    lineHeight: 24,\n  },\n  labelBesideUikit: {\n    fontSize: 13,\n    marginStart: 5,\n  },\n  labelBesideUikitCompact: {\n    fontSize: 12,\n    marginStart: 5,\n  },\n});\n"],"mappings":";;;;;AAAA,SAASA,QAAQ,EAAEC,KAAK,EAAEC,iBAAiB,QAAQ,4BAA4B;AAC/E,SAAqBC,QAAQ,QAAQ,0BAA0B;AAC/D,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAAA,OAAAC,IAAA;AAgBzB,SAASC,UAAU;AAAuB,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8H1C,IAAMC,mBAAmB,GAAI,SAAvBA,mBAAmBA,CAAIC,KAA8B;EAAA,OACzDJ,IAAA,CAACT,iBAAiB,EAAAc,aAAA,KAAKD,KAAA,CAAQ,CAChC;AAAA;AAED,IAAME,6BAA6B,GACjCX,QAAQ,CAACY,EAAE,KAAK,KAAK,IAAIC,QAAQ,CAACb,QAAQ,CAACc,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE;AAE/D,OAAO,SAAS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