{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { resetIcon } from '../../style';\nimport { mergeToken } from '../../theme/internal';\n/**\n * Get multiple selector needed style. The calculation:\n *\n * ContainerPadding = BasePadding - ItemMargin\n *\n * Border:                    ╔═══════════════════════════╗                 ┬\n * ContainerPadding:          ║                           ║                 │\n *                            ╟───────────────────────────╢     ┬           │\n * Item Margin:               ║                           ║     │           │\n *                            ║             ┌──────────┐  ║     │           │\n * Item(multipleItemHeight):  ║ BasePadding │   Item   │  ║  Overflow  Container(ControlHeight)\n *                            ║             └──────────┘  ║     │           │\n * Item Margin:               ║                           ║     │           │\n *                            ╟───────────────────────────╢     ┴           │\n * ContainerPadding:          ║                           ║                 │\n * Border:                    ╚═══════════════════════════╝                 ┴\n */\nexport const getMultipleSelectorUnit = token => {\n  const {\n    multipleSelectItemHeight,\n    paddingXXS,\n    lineWidth,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const basePadding = token.max(token.calc(paddingXXS).sub(lineWidth).equal(), 0);\n  const containerPadding = token.max(token.calc(basePadding).sub(INTERNAL_FIXED_ITEM_MARGIN).equal(), 0);\n  return {\n    basePadding,\n    containerPadding,\n    itemHeight: unit(multipleSelectItemHeight),\n    itemLineHeight: unit(token.calc(multipleSelectItemHeight).sub(token.calc(token.lineWidth).mul(2)).equal())\n  };\n};\nconst getSelectItemStyle = token => {\n  const {\n    multipleSelectItemHeight,\n    selectHeight,\n    lineWidth\n  } = token;\n  const selectItemDist = token.calc(selectHeight).sub(multipleSelectItemHeight).div(2).sub(lineWidth).equal();\n  return selectItemDist;\n};\n/**\n * Get the `rc-overflow` needed style.\n * It's a share style which means not affected by `size`.\n */\nexport const genOverflowStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    borderRadiusSM,\n    motionDurationSlow,\n    paddingXS,\n    multipleItemColorDisabled,\n    multipleItemBorderColorDisabled,\n    colorIcon,\n    colorIconHover,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const selectOverflowPrefixCls = `${componentCls}-selection-overflow`;\n  return {\n    /**\n     * Do not merge `height` & `line-height` under style with `selection` & `search`, since chrome\n     * may update to redesign with its align logic.\n     */\n    // =========================== Overflow ===========================\n    [selectOverflowPrefixCls]: {\n      position: 'relative',\n      display: 'flex',\n      flex: 'auto',\n      flexWrap: 'wrap',\n      maxWidth: '100%',\n      '&-item': {\n        flex: 'none',\n        alignSelf: 'center',\n        // https://github.com/ant-design/ant-design/issues/54179\n        maxWidth: 'calc(100% - 4px)',\n        display: 'inline-flex'\n      },\n      // ======================== Selections ==========================\n      [`${componentCls}-selection-item`]: {\n        display: 'flex',\n        alignSelf: 'center',\n        flex: 'none',\n        boxSizing: 'border-box',\n        maxWidth: '100%',\n        marginBlock: INTERNAL_FIXED_ITEM_MARGIN,\n        borderRadius: borderRadiusSM,\n        cursor: 'default',\n        transition: `font-size ${motionDurationSlow}, line-height ${motionDurationSlow}, height ${motionDurationSlow}`,\n        marginInlineEnd: token.calc(INTERNAL_FIXED_ITEM_MARGIN).mul(2).equal(),\n        paddingInlineStart: paddingXS,\n        paddingInlineEnd: token.calc(paddingXS).div(2).equal(),\n        [`${componentCls}-disabled&`]: {\n          color: multipleItemColorDisabled,\n          borderColor: multipleItemBorderColorDisabled,\n          cursor: 'not-allowed'\n        },\n        // It's ok not to do this, but 24px makes bottom narrow in view should adjust\n        '&-content': {\n          display: 'inline-block',\n          marginInlineEnd: token.calc(paddingXS).div(2).equal(),\n          overflow: 'hidden',\n          whiteSpace: 'pre',\n          // fix whitespace wrapping. custom tags display all whitespace within.\n          textOverflow: 'ellipsis'\n        },\n        '&-remove': Object.assign(Object.assign({}, resetIcon()), {\n          display: 'inline-flex',\n          alignItems: 'center',\n          color: colorIcon,\n          fontWeight: 'bold',\n          fontSize: 10,\n          lineHeight: 'inherit',\n          cursor: 'pointer',\n          [`> ${iconCls}`]: {\n            verticalAlign: '-0.2em'\n          },\n          '&:hover': {\n            color: colorIconHover\n          }\n        })\n      }\n    }\n  };\n};\nconst genSelectionStyle = (token, suffix) => {\n  const {\n    componentCls,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const selectOverflowPrefixCls = `${componentCls}-selection-overflow`;\n  const selectItemHeight = token.multipleSelectItemHeight;\n  const selectItemDist = getSelectItemStyle(token);\n  const suffixCls = suffix ? `${componentCls}-${suffix}` : '';\n  const multipleSelectorUnit = getMultipleSelectorUnit(token);\n  return {\n    [`${componentCls}-multiple${suffixCls}`]: Object.assign(Object.assign({}, genOverflowStyle(token)), {\n      // ========================= Selector =========================\n      [`${componentCls}-selector`]: {\n        display: 'flex',\n        alignItems: 'center',\n        width: '100%',\n        height: '100%',\n        // Multiple is little different that horizontal is follow the vertical\n        paddingInline: multipleSelectorUnit.basePadding,\n        paddingBlock: multipleSelectorUnit.containerPadding,\n        borderRadius: token.borderRadius,\n        [`${componentCls}-disabled&`]: {\n          background: token.multipleSelectorBgDisabled,\n          cursor: 'not-allowed'\n        },\n        '&:after': {\n          display: 'inline-block',\n          width: 0,\n          margin: `${unit(INTERNAL_FIXED_ITEM_MARGIN)} 0`,\n          lineHeight: unit(selectItemHeight),\n          visibility: 'hidden',\n          content: '\"\\\\a0\"'\n        }\n      },\n      // ======================== Selections ========================\n      [`${componentCls}-selection-item`]: {\n        height: multipleSelectorUnit.itemHeight,\n        lineHeight: unit(multipleSelectorUnit.itemLineHeight)\n      },\n      // ========================== Wrap ===========================\n      [`${componentCls}-selection-wrap`]: {\n        alignSelf: 'flex-start',\n        '&:after': {\n          lineHeight: unit(selectItemHeight),\n          marginBlock: INTERNAL_FIXED_ITEM_MARGIN\n        }\n      },\n      // ========================== Input ==========================\n      [`${componentCls}-prefix`]: {\n        marginInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(multipleSelectorUnit.basePadding).equal()\n      },\n      [`${selectOverflowPrefixCls}-item + ${selectOverflowPrefixCls}-item,\n        ${componentCls}-prefix + ${componentCls}-selection-wrap\n      `]: {\n        [`${componentCls}-selection-search`]: {\n          marginInlineStart: 0\n        },\n        [`${componentCls}-selection-placeholder`]: {\n          insetInlineStart: 0\n        }\n      },\n      // https://github.com/ant-design/ant-design/issues/44754\n      // Same as `wrap:after`\n      [`${selectOverflowPrefixCls}-item-suffix`]: {\n        minHeight: multipleSelectorUnit.itemHeight,\n        marginBlock: INTERNAL_FIXED_ITEM_MARGIN\n      },\n      [`${componentCls}-selection-search`]: {\n        display: 'inline-flex',\n        position: 'relative',\n        maxWidth: '100%',\n        marginInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(selectItemDist).equal(),\n        [`\n          &-input,\n          &-mirror\n        `]: {\n          height: selectItemHeight,\n          fontFamily: token.fontFamily,\n          lineHeight: unit(selectItemHeight),\n          transition: `all ${token.motionDurationSlow}`\n        },\n        '&-input': {\n          width: '100%',\n          minWidth: 4.1 // fix search cursor missing\n        },\n        '&-mirror': {\n          position: 'absolute',\n          top: 0,\n          insetInlineStart: 0,\n          insetInlineEnd: 'auto',\n          zIndex: 999,\n          whiteSpace: 'pre',\n          // fix whitespace wrapping caused width calculation bug\n          visibility: 'hidden'\n        }\n      },\n      // ======================= Placeholder =======================\n      [`${componentCls}-selection-placeholder`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(multipleSelectorUnit.basePadding).equal(),\n        insetInlineEnd: token.inputPaddingHorizontalBase,\n        transform: 'translateY(-50%)',\n        transition: `all ${token.motionDurationSlow}`\n      }\n    })\n  };\n};\nfunction genSizeStyle(token, suffix) {\n  const {\n    componentCls\n  } = token;\n  const suffixCls = suffix ? `${componentCls}-${suffix}` : '';\n  const rawStyle = {\n    [`${componentCls}-multiple${suffixCls}`]: {\n      fontSize: token.fontSize,\n      // ========================= Selector =========================\n      [`${componentCls}-selector`]: {\n        [`${componentCls}-show-search&`]: {\n          cursor: 'text'\n        }\n      },\n      [`\n        &${componentCls}-show-arrow ${componentCls}-selector,\n        &${componentCls}-allow-clear ${componentCls}-selector\n      `]: {\n        paddingInlineEnd: token.calc(token.fontSizeIcon).add(token.controlPaddingHorizontal).equal()\n      }\n    }\n  };\n  return [genSelectionStyle(token, suffix), rawStyle];\n}\nconst genMultipleStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const smallToken = mergeToken(token, {\n    selectHeight: token.controlHeightSM,\n    multipleSelectItemHeight: token.multipleItemHeightSM,\n    borderRadius: token.borderRadiusSM,\n    borderRadiusSM: token.borderRadiusXS\n  });\n  const largeToken = mergeToken(token, {\n    fontSize: token.fontSizeLG,\n    selectHeight: token.controlHeightLG,\n    multipleSelectItemHeight: token.multipleItemHeightLG,\n    borderRadius: token.borderRadiusLG,\n    borderRadiusSM: token.borderRadius\n  });\n  return [genSizeStyle(token),\n  // ======================== Small ========================\n  genSizeStyle(smallToken, 'sm'),\n  // Padding\n  {\n    [`${componentCls}-multiple${componentCls}-sm`]: {\n      [`${componentCls}-selection-placeholder`]: {\n        insetInline: token.calc(token.controlPaddingHorizontalSM).sub(token.lineWidth).equal()\n      },\n      // https://github.com/ant-design/ant-design/issues/29559\n      [`${componentCls}-selection-search`]: {\n        marginInlineStart: 2 // Magic Number\n      }\n    }\n  },\n  // ======================== Large ========================\n  genSizeStyle(largeToken, 'lg')];\n};\nexport default genMultipleStyle;","map":{"version":3,"names":["unit","resetIcon","mergeToken","getMultipleSelectorUnit","token","multipleSelectItemHeight","paddingXXS","lineWidth","INTERNAL_FIXED_ITEM_MARGIN","basePadding","max","calc","sub","equal","containerPadding","itemHeight","itemLineHeight","mul","getSelectItemStyle","selectHeight","selectItemDist","div","genOverflowStyle","componentCls","iconCls","borderRadiusSM","motionDurationSlow","paddingXS","multipleItemColorDisabled","multipleItemBorderColorDisabled","colorIcon","colorIconHover","selectOverflowPrefixCls","position","display","flex","flexWrap","maxWidth","alignSelf","boxSizing","marginBlock","borderRadius","cursor","transition","marginInlineEnd","paddingInlineStart","paddingInlineEnd","color","borderColor","overflow","whiteSpace","textOverflow","Object","assign","alignItems","fontWeight","fontSize","lineHeight","verticalAlign","genSelectionStyle","suffix","selectItemHeight","suffixCls","multipleSelectorUnit","width","height","paddingInline","paddingBlock","background","multipleSelectorBgDisabled","margin","visibility","content","marginInlineStart","inputPaddingHorizontalBase","insetInlineStart","minHeight","fontFamily","minWidth","top","insetInlineEnd","zIndex","transform","genSizeStyle","rawStyle","fontSizeIcon","add","controlPaddingHorizontal","genMultipleStyle","smallToken","controlHeightSM","multipleItemHeightSM","borderRadiusXS","largeToken","fontSizeLG","controlHeightLG","multipleItemHeightLG","borderRadiusLG","insetInline","controlPaddingHorizontalSM"],"sources":["/Users/nili/Documents/trae_projects/client/node_modules/antd/es/select/style/multiple.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { resetIcon } from '../../style';\nimport { mergeToken } from '../../theme/internal';\n/**\n * Get multiple selector needed style. The calculation:\n *\n * ContainerPadding = BasePadding - ItemMargin\n *\n * Border:                    ╔═══════════════════════════╗                 ┬\n * ContainerPadding:          ║                           ║                 │\n *                            ╟───────────────────────────╢     ┬           │\n * Item Margin:               ║                           ║     │           │\n *                            ║             ┌──────────┐  ║     │           │\n * Item(multipleItemHeight):  ║ BasePadding │   Item   │  ║  Overflow  Container(ControlHeight)\n *                            ║             └──────────┘  ║     │           │\n * Item Margin:               ║                           ║     │           │\n *                            ╟───────────────────────────╢     ┴           │\n * ContainerPadding:          ║                           ║                 │\n * Border:                    ╚═══════════════════════════╝                 ┴\n */\nexport const getMultipleSelectorUnit = token => {\n  const {\n    multipleSelectItemHeight,\n    paddingXXS,\n    lineWidth,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const basePadding = token.max(token.calc(paddingXXS).sub(lineWidth).equal(), 0);\n  const containerPadding = token.max(token.calc(basePadding).sub(INTERNAL_FIXED_ITEM_MARGIN).equal(), 0);\n  return {\n    basePadding,\n    containerPadding,\n    itemHeight: unit(multipleSelectItemHeight),\n    itemLineHeight: unit(token.calc(multipleSelectItemHeight).sub(token.calc(token.lineWidth).mul(2)).equal())\n  };\n};\nconst getSelectItemStyle = token => {\n  const {\n    multipleSelectItemHeight,\n    selectHeight,\n    lineWidth\n  } = token;\n  const selectItemDist = token.calc(selectHeight).sub(multipleSelectItemHeight).div(2).sub(lineWidth).equal();\n  return selectItemDist;\n};\n/**\n * Get the `rc-overflow` needed style.\n * It's a share style which means not affected by `size`.\n */\nexport const genOverflowStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    borderRadiusSM,\n    motionDurationSlow,\n    paddingXS,\n    multipleItemColorDisabled,\n    multipleItemBorderColorDisabled,\n    colorIcon,\n    colorIconHover,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const selectOverflowPrefixCls = `${componentCls}-selection-overflow`;\n  return {\n    /**\n     * Do not merge `height` & `line-height` under style with `selection` & `search`, since chrome\n     * may update to redesign with its align logic.\n     */\n    // =========================== Overflow ===========================\n    [selectOverflowPrefixCls]: {\n      position: 'relative',\n      display: 'flex',\n      flex: 'auto',\n      flexWrap: 'wrap',\n      maxWidth: '100%',\n      '&-item': {\n        flex: 'none',\n        alignSelf: 'center',\n        // https://github.com/ant-design/ant-design/issues/54179\n        maxWidth: 'calc(100% - 4px)',\n        display: 'inline-flex'\n      },\n      // ======================== Selections ==========================\n      [`${componentCls}-selection-item`]: {\n        display: 'flex',\n        alignSelf: 'center',\n        flex: 'none',\n        boxSizing: 'border-box',\n        maxWidth: '100%',\n        marginBlock: INTERNAL_FIXED_ITEM_MARGIN,\n        borderRadius: borderRadiusSM,\n        cursor: 'default',\n        transition: `font-size ${motionDurationSlow}, line-height ${motionDurationSlow}, height ${motionDurationSlow}`,\n        marginInlineEnd: token.calc(INTERNAL_FIXED_ITEM_MARGIN).mul(2).equal(),\n        paddingInlineStart: paddingXS,\n        paddingInlineEnd: token.calc(paddingXS).div(2).equal(),\n        [`${componentCls}-disabled&`]: {\n          color: multipleItemColorDisabled,\n          borderColor: multipleItemBorderColorDisabled,\n          cursor: 'not-allowed'\n        },\n        // It's ok not to do this, but 24px makes bottom narrow in view should adjust\n        '&-content': {\n          display: 'inline-block',\n          marginInlineEnd: token.calc(paddingXS).div(2).equal(),\n          overflow: 'hidden',\n          whiteSpace: 'pre',\n          // fix whitespace wrapping. custom tags display all whitespace within.\n          textOverflow: 'ellipsis'\n        },\n        '&-remove': Object.assign(Object.assign({}, resetIcon()), {\n          display: 'inline-flex',\n          alignItems: 'center',\n          color: colorIcon,\n          fontWeight: 'bold',\n          fontSize: 10,\n          lineHeight: 'inherit',\n          cursor: 'pointer',\n          [`> ${iconCls}`]: {\n            verticalAlign: '-0.2em'\n          },\n          '&:hover': {\n            color: colorIconHover\n          }\n        })\n      }\n    }\n  };\n};\nconst genSelectionStyle = (token, suffix) => {\n  const {\n    componentCls,\n    INTERNAL_FIXED_ITEM_MARGIN\n  } = token;\n  const selectOverflowPrefixCls = `${componentCls}-selection-overflow`;\n  const selectItemHeight = token.multipleSelectItemHeight;\n  const selectItemDist = getSelectItemStyle(token);\n  const suffixCls = suffix ? `${componentCls}-${suffix}` : '';\n  const multipleSelectorUnit = getMultipleSelectorUnit(token);\n  return {\n    [`${componentCls}-multiple${suffixCls}`]: Object.assign(Object.assign({}, genOverflowStyle(token)), {\n      // ========================= Selector =========================\n      [`${componentCls}-selector`]: {\n        display: 'flex',\n        alignItems: 'center',\n        width: '100%',\n        height: '100%',\n        // Multiple is little different that horizontal is follow the vertical\n        paddingInline: multipleSelectorUnit.basePadding,\n        paddingBlock: multipleSelectorUnit.containerPadding,\n        borderRadius: token.borderRadius,\n        [`${componentCls}-disabled&`]: {\n          background: token.multipleSelectorBgDisabled,\n          cursor: 'not-allowed'\n        },\n        '&:after': {\n          display: 'inline-block',\n          width: 0,\n          margin: `${unit(INTERNAL_FIXED_ITEM_MARGIN)} 0`,\n          lineHeight: unit(selectItemHeight),\n          visibility: 'hidden',\n          content: '\"\\\\a0\"'\n        }\n      },\n      // ======================== Selections ========================\n      [`${componentCls}-selection-item`]: {\n        height: multipleSelectorUnit.itemHeight,\n        lineHeight: unit(multipleSelectorUnit.itemLineHeight)\n      },\n      // ========================== Wrap ===========================\n      [`${componentCls}-selection-wrap`]: {\n        alignSelf: 'flex-start',\n        '&:after': {\n          lineHeight: unit(selectItemHeight),\n          marginBlock: INTERNAL_FIXED_ITEM_MARGIN\n        }\n      },\n      // ========================== Input ==========================\n      [`${componentCls}-prefix`]: {\n        marginInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(multipleSelectorUnit.basePadding).equal()\n      },\n      [`${selectOverflowPrefixCls}-item + ${selectOverflowPrefixCls}-item,\n        ${componentCls}-prefix + ${componentCls}-selection-wrap\n      `]: {\n        [`${componentCls}-selection-search`]: {\n          marginInlineStart: 0\n        },\n        [`${componentCls}-selection-placeholder`]: {\n          insetInlineStart: 0\n        }\n      },\n      // https://github.com/ant-design/ant-design/issues/44754\n      // Same as `wrap:after`\n      [`${selectOverflowPrefixCls}-item-suffix`]: {\n        minHeight: multipleSelectorUnit.itemHeight,\n        marginBlock: INTERNAL_FIXED_ITEM_MARGIN\n      },\n      [`${componentCls}-selection-search`]: {\n        display: 'inline-flex',\n        position: 'relative',\n        maxWidth: '100%',\n        marginInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(selectItemDist).equal(),\n        [`\n          &-input,\n          &-mirror\n        `]: {\n          height: selectItemHeight,\n          fontFamily: token.fontFamily,\n          lineHeight: unit(selectItemHeight),\n          transition: `all ${token.motionDurationSlow}`\n        },\n        '&-input': {\n          width: '100%',\n          minWidth: 4.1 // fix search cursor missing\n        },\n        '&-mirror': {\n          position: 'absolute',\n          top: 0,\n          insetInlineStart: 0,\n          insetInlineEnd: 'auto',\n          zIndex: 999,\n          whiteSpace: 'pre',\n          // fix whitespace wrapping caused width calculation bug\n          visibility: 'hidden'\n        }\n      },\n      // ======================= Placeholder =======================\n      [`${componentCls}-selection-placeholder`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineStart: token.calc(token.inputPaddingHorizontalBase).sub(multipleSelectorUnit.basePadding).equal(),\n        insetInlineEnd: token.inputPaddingHorizontalBase,\n        transform: 'translateY(-50%)',\n        transition: `all ${token.motionDurationSlow}`\n      }\n    })\n  };\n};\nfunction genSizeStyle(token, suffix) {\n  const {\n    componentCls\n  } = token;\n  const suffixCls = suffix ? `${componentCls}-${suffix}` : '';\n  const rawStyle = {\n    [`${componentCls}-multiple${suffixCls}`]: {\n      fontSize: token.fontSize,\n      // ========================= Selector =========================\n      [`${componentCls}-selector`]: {\n        [`${componentCls}-show-search&`]: {\n          cursor: 'text'\n        }\n      },\n      [`\n        &${componentCls}-show-arrow ${componentCls}-selector,\n        &${componentCls}-allow-clear ${componentCls}-selector\n      `]: {\n        paddingInlineEnd: token.calc(token.fontSizeIcon).add(token.controlPaddingHorizontal).equal()\n      }\n    }\n  };\n  return [genSelectionStyle(token, suffix), rawStyle];\n}\nconst genMultipleStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const smallToken = mergeToken(token, {\n    selectHeight: token.controlHeightSM,\n    multipleSelectItemHeight: token.multipleItemHeightSM,\n    borderRadius: token.borderRadiusSM,\n    borderRadiusSM: token.borderRadiusXS\n  });\n  const largeToken = mergeToken(token, {\n    fontSize: token.fontSizeLG,\n    selectHeight: token.controlHeightLG,\n    multipleSelectItemHeight: token.multipleItemHeightLG,\n    borderRadius: token.borderRadiusLG,\n    borderRadiusSM: token.borderRadius\n  });\n  return [genSizeStyle(token),\n  // ======================== Small ========================\n  genSizeStyle(smallToken, 'sm'),\n  // Padding\n  {\n    [`${componentCls}-multiple${componentCls}-sm`]: {\n      [`${componentCls}-selection-placeholder`]: {\n        insetInline: token.calc(token.controlPaddingHorizontalSM).sub(token.lineWidth).equal()\n      },\n      // https://github.com/ant-design/ant-design/issues/29559\n      [`${componentCls}-selection-search`]: {\n        marginInlineStart: 2 // Magic Number\n      }\n    }\n  },\n  // ======================== Large ========================\n  genSizeStyle(largeToken, 'lg')];\n};\nexport default genMultipleStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAq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