{"version":3,"sources":["jsdelivr-header.js","webpack:///webpack/bootstrap","webpack:///node_modules/@zendeskgarden/css-forms/dist/checkbox.css","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"@zendeskgarden/react-theming\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"prop-types\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"styled-components\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"react\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"classnames\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"@zendeskgarden/react-selection\"","/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/webpack:/external \"@zendeskgarden/react-utilities\"","webpack:///src/views/CheckboxView.js","webpack:///src/views/Input.js","webpack:///src/views/Label.js","webpack:///src/views/Hint.js","webpack:///src/elements/Checkbox.js","webpack:///src/views/Message.js","webpack:///src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;6DCLA,IAAA,EAAA,GAGA,SAAA,EAAA,GAGA,GAAA,EAAA,GACA,OAAA,EAAA,GAAA,QAGA,IAAA,EAAA,EAAA,GAAA,CACA,EAAA,EACA,GAAA,EACA,QAAA,IAUA,OANA,EAAA,GAAA,KAAA,EAAA,QAAA,IAAA,QAAA,GAGA,EAAA,GAAA,EAGA,EAAA,OACA,CAyDA,OArDA,EAAA,EAAA,EAGA,EAAA,EAAA,EAGA,EAAA,EAAA,SAAA,EAAA,EAAA,GACA,EAAA,EAAA,EAAA,IACA,OAAA,eAAA,EAAA,EAAA,CAA0C,YAAA,EAAA,IAAA,GAE1C,EAGA,EAAA,EAAA,SAAA,GACA,oBAAA,eAAA,aACA,OAAA,eAAA,EAAA,OAAA,YAAA,CAAwD,MAAA,WAExD,OAAA,eAAA,EAAA,cAAiD,OAAA,GACjD,EAOA,EAAA,EAAA,SAAA,EAAA,GA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EAAA,uBAAD,MACG,SAAA,GAAA,IAAG,EAAH,EAAG,cAAe,EAAlB,EAAkB,gBAAlB,OACC,EAAK,eAAe,CAClB,gBACA,gBACA,gBACA,eACA,mBANH,GAFJ,GAeN,M,8BAnGmC,uB,0HAAjB,E,YACA,CAIjB,GAAI,IAAU,IAId,aAAc,IAAU,OACxB,SAAU,IAAU,OCvBxB,IAAM,EAAe,qBACf,EACK,UADL,EAEK,UAFL,EAGG,QAHH,EAIE,OAMF,EAAU,IAAO,IAAI,OAAM,SAAA,GAAK,IAAA,EAAA,MAAK,CACzC,iBAAkB,EAClB,sBAAuB,QACvB,UAAW,IAAW,IAAe,mBAAhB,EAAA,GAAA,EAAA,EAClB,IAAe,2BAA6B,EAAM,aAAe,GAD/C,EAAA,EAElB,IAAe,2BAA6B,EAAM,aAAe,GAF/C,EAAA,EAGlB,IAAe,yBAA2B,EAAM,aAAe,GAH7C,EAAA,EAMlB,IAAe,UAAY,gBAAM,IANf,IAHe,IAAzB,WAAA,CAAA,YAAA,UAAA,YAAA,eAAG,CAAH,UAYT,SAAA,GAAK,OAAI,wBAAc,EAAc,EAAhC,IAGT,EAAQ,UAAY,CAClB,WAAY,IAAU,MAAM,CAC1B,EACA,EACA,EACA,KAIJ,EAAQ,QAAU,kBAAM,CAAN,EAGH,QCnDf,EAAA,EAAA,EAAA,8BAAA,CAAA,IAAA,EAAA,EAAA,EAAA,kCAAA,CAAA,IAAA,EAAA,EAAA,EAAA,0BAAA,CAAA,IAAA,EAAA,EAAA,EAAA,2BAAA,CAAA,IAAA,EAAA,EAAA,EAAA,2BAAA,CAAA,IAAA,EAAA,EAAA,EAAA,6BAAA,CAAA,G","file":"/npm/@zendeskgarden/react-checkboxes@6.9.2/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@zendeskgarden/react-checkboxes@6.9.2/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"c-chk\":\"checkbox__c-chk___2aS0f\",\"c-chk__input\":\"checkbox__c-chk__input___2EgMd\",\"c-chk__label\":\"checkbox__c-chk__label___3t_La\",\"c-chk__label--regular\":\"checkbox__c-chk__label--regular___2Bltj\",\"c-chk__hint\":\"checkbox__c-chk__hint___Nrn3w\",\"c-chk__message\":\"checkbox__c-chk__message___3mkXn\",\"c-chk__message--error\":\"checkbox__c-chk__message--error___3A2XV\",\"c-chk__message--success\":\"checkbox__c-chk__message--success___2H2M8\",\"c-chk__message--warning\":\"checkbox__c-chk__message--warning___3jrWL\",\"is-hidden\":\"checkbox__is-hidden___1GV-C\",\"is-rtl\":\"checkbox__is-rtl___3tZJI\",\"is-checked\":\"checkbox__is-checked___UKlaW\",\"c-chk__label--radio\":\"checkbox__c-chk__label--radio___vaGAT\",\"c-chk__label--toggle\":\"checkbox__c-chk__label--toggle___1t9Uh\",\"is-indeterminate\":\"checkbox__is-indeterminate___1-Uot\",\"is-disabled\":\"checkbox__is-disabled___3RT_2\",\"is-hovered\":\"checkbox__is-hovered___1vYYD\",\"is-focused\":\"checkbox__is-focused___HFI-K\",\"is-active\":\"checkbox__is-active___3LUDi\",\"c-chk__hint--toggle\":\"checkbox__c-chk__hint--toggle___3fG-F\",\"c-chk__message--toggle\":\"checkbox__c-chk__message--toggle___3GZjs\"};",null,null,null,null,null,null,null,"/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { retrieveTheme, isRtl } from '@zendeskgarden/react-theming';\nimport CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';\n\nconst COMPONENT_ID = 'checkboxes.checkbox_view';\n\n/**\n * Used as a layout wrapper for other Checkbox views. Accepts all `<div>` props.\n */\nconst CheckboxView = styled.div.attrs(props => ({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': PACKAGE_VERSION,\n  className: classNames(CheckboxStyles['c-chk'], {\n    // RTL\n    [CheckboxStyles['is-rtl']]: isRtl(props)\n  })\n}))`\n  ${props => retrieveTheme(COMPONENT_ID, props)};\n`;\n\n/** @component */\nexport default CheckboxView;\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport styled from 'styled-components';\nimport { retrieveTheme } from '@zendeskgarden/react-theming';\nimport CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';\n\nconst COMPONENT_ID = 'checkboxes.input';\n\n/**\n * Hidden `<input>` used to show custom checkbox visualization. Accepts all `<input>` props.\n */\nconst Input = styled.input.attrs({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': PACKAGE_VERSION,\n  className: CheckboxStyles['c-chk__input'],\n  type: 'checkbox',\n  tabIndex: 0\n})`\n  ${props => retrieveTheme(COMPONENT_ID, props)};\n`;\n\n/** @component */\nexport default Input;\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { retrieveTheme, isRtl } from '@zendeskgarden/react-theming';\nimport CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';\n\nconst COMPONENT_ID = 'checkboxes.label';\n\n/**\n * Accepts all `<label>` props\n */\nconst Label = styled.label.attrs(props => ({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': PACKAGE_VERSION,\n  className: classNames(CheckboxStyles['c-chk__label'], {\n    // Styles\n    [CheckboxStyles['c-chk__label--regular']]: props.regular,\n\n    // States\n    [CheckboxStyles['is-hidden']]: props.hidden,\n    [CheckboxStyles['is-checked']]: props.checked,\n    [CheckboxStyles['is-indeterminate']]: props.indeterminate,\n    [CheckboxStyles['is-hovered']]: props.hovered,\n    [CheckboxStyles['is-focused']]: props.focused,\n    [CheckboxStyles['is-disabled']]: props.disabled,\n\n    // RTL\n    [CheckboxStyles['is-rtl']]: isRtl(props)\n  })\n}))`\n  ${props => retrieveTheme(COMPONENT_ID, props)};\n`;\n\nLabel.propTypes = {\n  regular: PropTypes.bool,\n  checked: PropTypes.bool,\n  hidden: PropTypes.bool,\n  indeterminate: PropTypes.bool,\n  hovered: PropTypes.bool,\n  focused: PropTypes.bool,\n  disabled: PropTypes.bool\n};\n\nLabel.hasType = () => Label;\n\n/** @component */\nexport default Label;\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { retrieveTheme, isRtl } from '@zendeskgarden/react-theming';\nimport CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';\n\nconst COMPONENT_ID = 'checkboxes.hint';\n\n/**\n * Accepts all `<div>` props\n */\nconst Hint = styled.div.attrs(props => ({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': PACKAGE_VERSION,\n  className: classNames(CheckboxStyles['c-chk__hint'], {\n    // RTL\n    [CheckboxStyles['is-rtl']]: isRtl(props)\n  })\n}))`\n  ${props => retrieveTheme(COMPONENT_ID, props)};\n`;\n\nHint.hasType = () => Hint;\n\n/** @component */\nexport default Hint;\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport React, { Children, cloneElement, isValidElement } from 'react';\nimport PropTypes from 'prop-types';\nimport {\n  IdManager,\n  ControlledComponent,\n  KeyboardFocusContainer,\n  composeEventHandlers,\n  FieldContainer\n} from '@zendeskgarden/react-selection';\nimport { hasType } from '@zendeskgarden/react-utilities';\n\nimport CheckboxView from '../views/CheckboxView';\nimport Input from '../views/Input';\nimport Label from '../views/Label';\nimport Hint from '../views/Hint';\n\n/**\n * Accepts all `<input type=\"checkbox\" />` props\n */\nexport default class Checkbox extends ControlledComponent {\n  static propTypes = {\n    /**\n     * The root ID to use for descendants. A unique ID is created if none is provided.\n     **/\n    id: PropTypes.any,\n    /**\n     * Applies props to the containing `<div>` element\n     */\n    wrapperProps: PropTypes.object,\n    children: PropTypes.node\n  };\n\n  constructor(...args) {\n    super(...args);\n\n    this.state = {\n      id: IdManager.generateId('garden-checkbox')\n    };\n  }\n\n  renderCheckbox = ({\n    getLabelProps,\n    getInputProps,\n    getFocusProps,\n    getHintProps,\n    keyboardFocused\n  } = {}) => {\n    const { children, wrapperProps, id, ...checkboxInputProps } = this.props;\n\n    /**\n     * Due to us applying keyboard-only focus events to 2 separate elements (the input and label)\n     * we must apply the original `onMouseDown` event to the `onMouseUp` event of the label.\n     *\n     * By passing the original props within `getFocusProps` we are able to allow\n     * `event.preventDefault()` to still prevent chained events as expected.\n     */\n    const { onMouseDown: onFocusMouseDown, ...checkboxProps } = getFocusProps(checkboxInputProps);\n\n    let isDescribed = false;\n\n    Children.forEach(children, child => {\n      if (hasType(child, Hint)) {\n        isDescribed = true;\n      }\n    });\n\n    return (\n      <CheckboxView {...wrapperProps}>\n        <Input {...getInputProps(checkboxProps, { isDescribed })} />\n        {Children.map(children, child => {\n          if (!isValidElement(child)) {\n            return child;\n          }\n\n          if (hasType(child, Label)) {\n            const { onMouseUp, ...otherChildProps } = child.props;\n\n            return cloneElement(\n              child,\n              getLabelProps({\n                focused: keyboardFocused,\n                // Apply keyboard-only focus event\n                onMouseUp: composeEventHandlers(onMouseUp, onFocusMouseDown),\n                ...otherChildProps\n              })\n            );\n          }\n\n          if (hasType(child, Hint)) {\n            return cloneElement(child, getHintProps(child.props));\n          }\n\n          return child;\n        })}\n      </CheckboxView>\n    );\n  };\n\n  render() {\n    const { id } = this.getControlledState();\n\n    return (\n      <FieldContainer id={id}>\n        {({ getLabelProps, getInputProps, getHintProps }) => (\n          <KeyboardFocusContainer>\n            {({ getFocusProps, keyboardFocused }) =>\n              this.renderCheckbox({\n                getLabelProps,\n                getInputProps,\n                getFocusProps,\n                getHintProps,\n                keyboardFocused\n              })\n            }\n          </KeyboardFocusContainer>\n        )}\n      </FieldContainer>\n    );\n  }\n}\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { retrieveTheme, isRtl } from '@zendeskgarden/react-theming';\nimport CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';\n\nconst COMPONENT_ID = 'checkboxes.message';\nconst VALIDATION = {\n  SUCCESS: 'success',\n  WARNING: 'warning',\n  ERROR: 'error',\n  NONE: 'none'\n};\n\n/**\n * Accepts all `<div>` props\n */\nconst Message = styled.div.attrs(props => ({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': PACKAGE_VERSION,\n  className: classNames(CheckboxStyles['c-chk__message'], {\n    [CheckboxStyles['c-chk__message--success']]: props.validation === VALIDATION.SUCCESS,\n    [CheckboxStyles['c-chk__message--warning']]: props.validation === VALIDATION.WARNING,\n    [CheckboxStyles['c-chk__message--error']]: props.validation === VALIDATION.ERROR,\n\n    // RTL\n    [CheckboxStyles['is-rtl']]: isRtl(props)\n  })\n}))`\n  ${props => retrieveTheme(COMPONENT_ID, props)};\n`;\n\nMessage.propTypes = {\n  validation: PropTypes.oneOf([\n    VALIDATION.SUCCESS,\n    VALIDATION.WARNING,\n    VALIDATION.ERROR,\n    VALIDATION.NONE\n  ])\n};\n\nMessage.hasType = () => Message;\n\n/** @component */\nexport default Message;\n","/**\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\nexport { default as Checkbox } from './elements/Checkbox';\nexport { default as CheckboxView } from './views/CheckboxView';\nexport { default as Hint } from './views/Hint';\nexport { default as Input } from './views/Input';\nexport { default as Label } from './views/Label';\nexport { default as Message } from './views/Message';\n\nif (process.env.NODE_ENV !== 'production') {\n  /* eslint-disable no-console */\n  console.warn(\n    'Deprecation Warning: The `@zendeskgarden/react-checkboxes` package has been deprecated. ' +\n      'It will be removed in an upcoming major release. Migrate to the ' +\n      '`@zendeskgarden/react-forms` package to continue receiving updates.'\n  );\n  /* eslint-enable */\n}\n"]}