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MmF,WAAWQ,GAE9CN,EAAwBrF,EAAM8H,KAAKD,GAEvCjI,EAAiB,QAAIyF,C,kBCjLrB,IAAI9F,EAAyBC,EAAQ,OAErCE,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAiB,aAAI,EAErB,IAAI6F,EAAYlG,EAAuBC,EAAQ,QAE3C6B,EAAS9B,EAAuBC,EAAQ,QAExC0F,EAAWO,EAAmB,QAClCP,EAAS6C,MAAQ1G,EAAgB,QACjC6D,EAAS8C,gBAAiB,EAC1B,IAAI3C,EAAWH,EACftF,EAAiB,QAAIyF,C,kBCfrB7F,EAAQ,OAERA,EAAQ,M,gDCHR,SAAiB,C","sources":["../node_modules/antd/lib/checkbox/Checkbox.js","../node_modules/antd/lib/checkbox/Group.js","../node_modules/antd/lib/checkbox/index.js","../node_modules/antd/lib/checkbox/style/index.js","webpack://springX/./node_modules/antd/lib/checkbox/style/index.less?4604"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _rcCheckbox = _interopRequireDefault(require(\"rc-checkbox\"));\n\nvar _context = require(\"../form/context\");\n\nvar _Group = require(\"./Group\");\n\nvar _configProvider = require(\"../config-provider\");\n\nvar _warning = _interopRequireDefault(require(\"../_util/warning\"));\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar InternalCheckbox = function InternalCheckbox(_a, ref) {\n  var _classNames;\n\n  var customizePrefixCls = _a.prefixCls,\n      className = _a.className,\n      children = _a.children,\n      _a$indeterminate = _a.indeterminate,\n      indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate,\n      style = _a.style,\n      onMouseEnter = _a.onMouseEnter,\n      onMouseLeave = _a.onMouseLeave,\n      _a$skipGroup = _a.skipGroup,\n      skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup,\n      restProps = __rest(_a, [\"prefixCls\", \"className\", \"children\", \"indeterminate\", \"style\", \"onMouseEnter\", \"onMouseLeave\", \"skipGroup\"]);\n\n  var _React$useContext = React.useContext(_configProvider.ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls,\n      direction = _React$useContext.direction;\n\n  var checkboxGroup = React.useContext(_Group.GroupContext);\n\n  var _useContext = (0, React.useContext)(_context.FormItemInputContext),\n      isFormItemInput = _useContext.isFormItemInput;\n\n  var prevValue = React.useRef(restProps.value);\n  React.useEffect(function () {\n    checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);\n    process.env.NODE_ENV !== \"production\" ? (0, _warning[\"default\"])('checked' in restProps || !!checkboxGroup || !('value' in restProps), 'Checkbox', '`value` is not a valid prop, do you mean `checked`?') : void 0;\n  }, []);\n  React.useEffect(function () {\n    if (skipGroup) {\n      return;\n    }\n\n    if (restProps.value !== prevValue.current) {\n      checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current);\n      checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);\n      prevValue.current = restProps.value;\n    }\n\n    return function () {\n      return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value);\n    };\n  }, [restProps.value]);\n  var prefixCls = getPrefixCls('checkbox', customizePrefixCls);\n  var checkboxProps = (0, _extends2[\"default\"])({}, restProps);\n\n  if (checkboxGroup && !skipGroup) {\n    checkboxProps.onChange = function () {\n      if (restProps.onChange) {\n        restProps.onChange.apply(restProps, arguments);\n      }\n\n      if (checkboxGroup.toggleOption) {\n        checkboxGroup.toggleOption({\n          label: children,\n          value: restProps.value\n        });\n      }\n    };\n\n    checkboxProps.name = checkboxGroup.name;\n    checkboxProps.checked = checkboxGroup.value.indexOf(restProps.value) !== -1;\n    checkboxProps.disabled = restProps.disabled || checkboxGroup.disabled;\n  }\n\n  var classString = (0, _classnames[\"default\"])((_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-wrapper\"), true), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-wrapper-checked\"), checkboxProps.checked), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-wrapper-disabled\"), checkboxProps.disabled), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-wrapper-in-form-item\"), isFormItemInput), _classNames), className);\n  var checkboxClass = (0, _classnames[\"default\"])((0, _defineProperty2[\"default\"])({}, \"\".concat(prefixCls, \"-indeterminate\"), indeterminate));\n  var ariaChecked = indeterminate ? 'mixed' : undefined;\n  return (\n    /*#__PURE__*/\n    // eslint-disable-next-line jsx-a11y/label-has-associated-control\n    React.createElement(\"label\", {\n      className: classString,\n      style: style,\n      onMouseEnter: onMouseEnter,\n      onMouseLeave: onMouseLeave\n    }, /*#__PURE__*/React.createElement(_rcCheckbox[\"default\"], (0, _extends2[\"default\"])({\n      \"aria-checked\": ariaChecked\n    }, checkboxProps, {\n      prefixCls: prefixCls,\n      className: checkboxClass,\n      ref: ref\n    })), children !== undefined && /*#__PURE__*/React.createElement(\"span\", null, children))\n  );\n};\n\nvar Checkbox = /*#__PURE__*/React.forwardRef(InternalCheckbox);\nCheckbox.displayName = 'Checkbox';\nvar _default = Checkbox;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = exports.GroupContext = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _toConsumableArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));\n\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\n\nvar _Checkbox = _interopRequireDefault(require(\"./Checkbox\"));\n\nvar _configProvider = require(\"../config-provider\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar GroupContext = /*#__PURE__*/React.createContext(null);\nexports.GroupContext = GroupContext;\n\nvar InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {\n  var defaultValue = _a.defaultValue,\n      children = _a.children,\n      _a$options = _a.options,\n      options = _a$options === void 0 ? [] : _a$options,\n      customizePrefixCls = _a.prefixCls,\n      className = _a.className,\n      style = _a.style,\n      onChange = _a.onChange,\n      restProps = __rest(_a, [\"defaultValue\", \"children\", \"options\", \"prefixCls\", \"className\", \"style\", \"onChange\"]);\n\n  var _React$useContext = React.useContext(_configProvider.ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls,\n      direction = _React$useContext.direction;\n\n  var _React$useState = React.useState(restProps.value || defaultValue || []),\n      _React$useState2 = (0, _slicedToArray2[\"default\"])(_React$useState, 2),\n      value = _React$useState2[0],\n      setValue = _React$useState2[1];\n\n  var _React$useState3 = React.useState([]),\n      _React$useState4 = (0, _slicedToArray2[\"default\"])(_React$useState3, 2),\n      registeredValues = _React$useState4[0],\n      setRegisteredValues = _React$useState4[1];\n\n  React.useEffect(function () {\n    if ('value' in restProps) {\n      setValue(restProps.value || []);\n    }\n  }, [restProps.value]);\n\n  var getOptions = function getOptions() {\n    return options.map(function (option) {\n      if (typeof option === 'string' || typeof option === 'number') {\n        return {\n          label: option,\n          value: option\n        };\n      }\n\n      return option;\n    });\n  };\n\n  var cancelValue = function cancelValue(val) {\n    setRegisteredValues(function (prevValues) {\n      return prevValues.filter(function (v) {\n        return v !== val;\n      });\n    });\n  };\n\n  var registerValue = function registerValue(val) {\n    setRegisteredValues(function (prevValues) {\n      return [].concat((0, _toConsumableArray2[\"default\"])(prevValues), [val]);\n    });\n  };\n\n  var toggleOption = function toggleOption(option) {\n    var optionIndex = value.indexOf(option.value);\n    var newValue = (0, _toConsumableArray2[\"default\"])(value);\n\n    if (optionIndex === -1) {\n      newValue.push(option.value);\n    } else {\n      newValue.splice(optionIndex, 1);\n    }\n\n    if (!('value' in restProps)) {\n      setValue(newValue);\n    }\n\n    var opts = getOptions();\n    onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) {\n      return registeredValues.indexOf(val) !== -1;\n    }).sort(function (a, b) {\n      var indexA = opts.findIndex(function (opt) {\n        return opt.value === a;\n      });\n      var indexB = opts.findIndex(function (opt) {\n        return opt.value === b;\n      });\n      return indexA - indexB;\n    }));\n  };\n\n  var prefixCls = getPrefixCls('checkbox', customizePrefixCls);\n  var groupPrefixCls = \"\".concat(prefixCls, \"-group\");\n  var domProps = (0, _omit[\"default\"])(restProps, ['value', 'disabled']);\n\n  if (options && options.length > 0) {\n    children = getOptions().map(function (option) {\n      return /*#__PURE__*/React.createElement(_Checkbox[\"default\"], {\n        prefixCls: prefixCls,\n        key: option.value.toString(),\n        disabled: 'disabled' in option ? option.disabled : restProps.disabled,\n        value: option.value,\n        checked: value.indexOf(option.value) !== -1,\n        onChange: option.onChange,\n        className: \"\".concat(groupPrefixCls, \"-item\"),\n        style: option.style\n      }, option.label);\n    });\n  } // eslint-disable-next-line react/jsx-no-constructed-context-values\n\n\n  var context = {\n    toggleOption: toggleOption,\n    value: value,\n    disabled: restProps.disabled,\n    name: restProps.name,\n    // https://github.com/ant-design/ant-design/issues/16376\n    registerValue: registerValue,\n    cancelValue: cancelValue\n  };\n  var classString = (0, _classnames[\"default\"])(groupPrefixCls, (0, _defineProperty2[\"default\"])({}, \"\".concat(groupPrefixCls, \"-rtl\"), direction === 'rtl'), className);\n  return /*#__PURE__*/React.createElement(\"div\", (0, _extends2[\"default\"])({\n    className: classString,\n    style: style\n  }, domProps, {\n    ref: ref\n  }), /*#__PURE__*/React.createElement(GroupContext.Provider, {\n    value: context\n  }, children));\n};\n\nvar CheckboxGroup = /*#__PURE__*/React.forwardRef(InternalCheckboxGroup);\n\nvar _default = /*#__PURE__*/React.memo(CheckboxGroup);\n\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _Checkbox = _interopRequireDefault(require(\"./Checkbox\"));\n\nvar _Group = _interopRequireDefault(require(\"./Group\"));\n\nvar Checkbox = _Checkbox[\"default\"];\nCheckbox.Group = _Group[\"default\"];\nCheckbox.__ANT_CHECKBOX = true;\nvar _default = Checkbox;\nexports[\"default\"] = _default;","\"use strict\";\n\nrequire(\"../../style/default.less\");\n\nrequire(\"./index.less\");","// extracted by mini-css-extract-plugin\nexport default {};"],"names":["_interopRequireDefault","require","_typeof","Object","defineProperty","exports","value","_defineProperty2","_extends2","React","obj","nodeInterop","__esModule","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_interopRequireWildcard","_classnames","_rcCheckbox","_context","_Group","_configProvider","WeakMap","cacheBabelInterop","cacheNodeInterop","__rest","s","e","t","p","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","InternalCheckbox","_a","ref","_classNames","customizePrefixCls","prefixCls","className","children","_a$indeterminate","indeterminate","style","onMouseEnter","onMouseLeave","_a$skipGroup","skipGroup","restProps","_React$useContext","useContext","ConfigContext","getPrefixCls","direction","checkboxGroup","GroupContext","isFormItemInput","FormItemInputContext","prevValue","useRef","useEffect","registerValue","current","cancelValue","checkboxProps","onChange","apply","arguments","toggleOption","label","name","checked","disabled","classString","concat","checkboxClass","ariaChecked","undefined","createElement","Checkbox","forwardRef","displayName","_default","_toConsumableArray2","_slicedToArray2","_omit","_Checkbox","createContext","InternalCheckboxGroup","defaultValue","_a$options","options","_React$useState","useState","_React$useState2","setValue","_React$useState3","_React$useState4","registeredValues","setRegisteredValues","getOptions","map","option","groupPrefixCls","domProps","toString","context","optionIndex","newValue","push","splice","opts","filter","val","sort","a","b","findIndex","opt","prevValues","v","Provider","CheckboxGroup","memo","Group","__ANT_CHECKBOX"],"sourceRoot":""}