@vincentgraul/react-components 1.0.7 → 1.0.8
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/README.md +2 -0
- package/build/cjs/_virtual/AsymmetricMatcher.js +1 -1
- package/build/cjs/_virtual/ConvertAnsi.js +1 -1
- package/build/cjs/_virtual/DOMCollection.js +1 -1
- package/build/cjs/_virtual/DOMElement.js +1 -1
- package/build/cjs/_virtual/Immutable.js +1 -1
- package/build/cjs/_virtual/ReactElement.js +1 -1
- package/build/cjs/_virtual/ReactTestComponent.js +1 -1
- package/build/cjs/_virtual/_commonjsHelpers.js +1 -1
- package/build/cjs/_virtual/alertRole.js +1 -1
- package/build/cjs/_virtual/alertdialogRole.js +1 -1
- package/build/cjs/_virtual/applicationRole.js +1 -1
- package/build/cjs/_virtual/ariaAbstractRoles.js +1 -1
- package/build/cjs/_virtual/ariaDpubRoles.js +1 -1
- package/build/cjs/_virtual/ariaGraphicsRoles.js +1 -0
- package/build/cjs/_virtual/ariaLiteralRoles.js +1 -1
- package/build/cjs/_virtual/ariaPropsMap.js +1 -1
- package/build/cjs/_virtual/articleRole.js +1 -1
- package/build/cjs/_virtual/bannerRole.js +1 -1
- package/build/cjs/_virtual/blockquoteRole.js +1 -1
- package/build/cjs/_virtual/buttonRole.js +1 -1
- package/build/cjs/_virtual/captionRole.js +1 -1
- package/build/cjs/_virtual/cellRole.js +1 -1
- package/build/cjs/_virtual/checkboxRole.js +1 -1
- package/build/cjs/_virtual/codeRole.js +1 -1
- package/build/cjs/_virtual/collections.js +1 -1
- package/build/cjs/_virtual/columnheaderRole.js +1 -1
- package/build/cjs/_virtual/comboboxRole.js +1 -1
- package/build/cjs/_virtual/commandRole.js +1 -1
- package/build/cjs/_virtual/complementaryRole.js +1 -1
- package/build/cjs/_virtual/compositeRole.js +1 -1
- package/build/cjs/_virtual/contentinfoRole.js +1 -1
- package/build/cjs/_virtual/definitionRole.js +1 -1
- package/build/cjs/_virtual/deletionRole.js +1 -1
- package/build/cjs/_virtual/dialogRole.js +1 -1
- package/build/cjs/_virtual/directoryRole.js +1 -1
- package/build/cjs/_virtual/docAbstractRole.js +1 -1
- package/build/cjs/_virtual/docAcknowledgmentsRole.js +1 -1
- package/build/cjs/_virtual/docAfterwordRole.js +1 -1
- package/build/cjs/_virtual/docAppendixRole.js +1 -1
- package/build/cjs/_virtual/docBacklinkRole.js +1 -1
- package/build/cjs/_virtual/docBiblioentryRole.js +1 -1
- package/build/cjs/_virtual/docBibliographyRole.js +1 -1
- package/build/cjs/_virtual/docBibliorefRole.js +1 -1
- package/build/cjs/_virtual/docChapterRole.js +1 -1
- package/build/cjs/_virtual/docColophonRole.js +1 -1
- package/build/cjs/_virtual/docConclusionRole.js +1 -1
- package/build/cjs/_virtual/docCoverRole.js +1 -1
- package/build/cjs/_virtual/docCreditRole.js +1 -1
- package/build/cjs/_virtual/docCreditsRole.js +1 -1
- package/build/cjs/_virtual/docDedicationRole.js +1 -1
- package/build/cjs/_virtual/docEndnoteRole.js +1 -1
- package/build/cjs/_virtual/docEndnotesRole.js +1 -1
- package/build/cjs/_virtual/docEpigraphRole.js +1 -1
- package/build/cjs/_virtual/docEpilogueRole.js +1 -1
- package/build/cjs/_virtual/docErrataRole.js +1 -1
- package/build/cjs/_virtual/docExampleRole.js +1 -1
- package/build/cjs/_virtual/docFootnoteRole.js +1 -1
- package/build/cjs/_virtual/docForewordRole.js +1 -1
- package/build/cjs/_virtual/docGlossaryRole.js +1 -1
- package/build/cjs/_virtual/docGlossrefRole.js +1 -1
- package/build/cjs/_virtual/docIndexRole.js +1 -1
- package/build/cjs/_virtual/docIntroductionRole.js +1 -1
- package/build/cjs/_virtual/docNoterefRole.js +1 -1
- package/build/cjs/_virtual/docNoticeRole.js +1 -1
- package/build/cjs/_virtual/docPagebreakRole.js +1 -1
- package/build/cjs/_virtual/docPagelistRole.js +1 -1
- package/build/cjs/_virtual/docPartRole.js +1 -1
- package/build/cjs/_virtual/docPrefaceRole.js +1 -1
- package/build/cjs/_virtual/docPrologueRole.js +1 -1
- package/build/cjs/_virtual/docPullquoteRole.js +1 -1
- package/build/cjs/_virtual/docQnaRole.js +1 -1
- package/build/cjs/_virtual/docSubtitleRole.js +1 -1
- package/build/cjs/_virtual/docTipRole.js +1 -1
- package/build/cjs/_virtual/docTocRole.js +1 -1
- package/build/cjs/_virtual/documentRole.js +1 -1
- package/build/cjs/_virtual/domMap.js +1 -1
- package/build/cjs/_virtual/elementRoleMap.js +1 -1
- package/build/cjs/_virtual/emphasisRole.js +1 -1
- package/build/cjs/_virtual/escapeHTML.js +1 -1
- package/build/cjs/_virtual/feedRole.js +1 -1
- package/build/cjs/_virtual/figureRole.js +1 -1
- package/build/cjs/_virtual/formRole.js +1 -1
- package/build/cjs/_virtual/genericRole.js +1 -1
- package/build/cjs/_virtual/graphicsDocumentRole.js +1 -0
- package/build/cjs/_virtual/graphicsObjectRole.js +1 -0
- package/build/cjs/_virtual/graphicsSymbolRole.js +1 -0
- package/build/cjs/_virtual/gridRole.js +1 -1
- package/build/cjs/_virtual/gridcellRole.js +1 -1
- package/build/cjs/_virtual/groupRole.js +1 -1
- package/build/cjs/_virtual/headingRole.js +1 -1
- package/build/cjs/_virtual/imgRole.js +1 -1
- package/build/cjs/_virtual/implementation.js +1 -1
- package/build/cjs/_virtual/index.js +1 -1
- package/build/cjs/_virtual/index10.js +1 -1
- package/build/cjs/_virtual/index2.js +1 -1
- package/build/cjs/_virtual/index3.js +1 -1
- package/build/cjs/_virtual/index4.js +1 -1
- package/build/cjs/_virtual/index5.js +1 -1
- package/build/cjs/_virtual/index6.js +1 -1
- package/build/cjs/_virtual/index7.js +1 -1
- package/build/cjs/_virtual/index8.js +1 -1
- package/build/cjs/_virtual/index9.js +1 -1
- package/build/cjs/_virtual/inputRole.js +1 -1
- package/build/cjs/_virtual/insertionRole.js +1 -1
- package/build/cjs/_virtual/iterationDecorator.js +1 -1
- package/build/cjs/_virtual/iteratorProxy.js +1 -1
- package/build/cjs/_virtual/jsx-runtime.js +1 -1
- package/build/cjs/_virtual/landmarkRole.js +1 -1
- package/build/cjs/_virtual/linkRole.js +1 -1
- package/build/cjs/_virtual/listRole.js +1 -1
- package/build/cjs/_virtual/listboxRole.js +1 -1
- package/build/cjs/_virtual/listitemRole.js +1 -1
- package/build/cjs/_virtual/logRole.js +1 -1
- package/build/cjs/_virtual/lz-string.js +1 -1
- package/build/cjs/_virtual/mainRole.js +1 -1
- package/build/cjs/_virtual/markup.js +1 -1
- package/build/cjs/_virtual/marqueeRole.js +1 -1
- package/build/cjs/_virtual/mathRole.js +1 -1
- package/build/cjs/_virtual/menuRole.js +1 -1
- package/build/cjs/_virtual/menubarRole.js +1 -1
- package/build/cjs/_virtual/menuitemRole.js +1 -1
- package/build/cjs/_virtual/menuitemcheckboxRole.js +1 -1
- package/build/cjs/_virtual/menuitemradioRole.js +1 -1
- package/build/cjs/_virtual/meterRole.js +1 -1
- package/build/cjs/_virtual/navigationRole.js +1 -1
- package/build/cjs/_virtual/noneRole.js +1 -1
- package/build/cjs/_virtual/noteRole.js +1 -1
- package/build/cjs/_virtual/optionRole.js +1 -1
- package/build/cjs/_virtual/paragraphRole.js +1 -1
- package/build/cjs/_virtual/presentationRole.js +1 -1
- package/build/cjs/_virtual/progressbarRole.js +1 -1
- package/build/cjs/_virtual/radioRole.js +1 -1
- package/build/cjs/_virtual/radiogroupRole.js +1 -1
- package/build/cjs/_virtual/rangeRole.js +1 -1
- package/build/cjs/_virtual/react-dom-test-utils.development.js +1 -1
- package/build/cjs/_virtual/react-dom-test-utils.production.min.js +1 -1
- package/build/cjs/_virtual/react-is.development.js +1 -1
- package/build/cjs/_virtual/react-is.development2.js +1 -1
- package/build/cjs/_virtual/react-is.development3.js +1 -1
- package/build/cjs/_virtual/react-is.production.min.js +1 -1
- package/build/cjs/_virtual/react-is.production.min2.js +1 -1
- package/build/cjs/_virtual/react-is.production.min3.js +1 -1
- package/build/cjs/_virtual/react-jsx-runtime.development.js +1 -1
- package/build/cjs/_virtual/react-jsx-runtime.production.min.js +1 -1
- package/build/cjs/_virtual/regionRole.js +1 -1
- package/build/cjs/_virtual/roleElementMap.js +1 -1
- package/build/cjs/_virtual/rolesMap.js +1 -1
- package/build/cjs/_virtual/roletypeRole.js +1 -1
- package/build/cjs/_virtual/rowRole.js +1 -1
- package/build/cjs/_virtual/rowgroupRole.js +1 -1
- package/build/cjs/_virtual/rowheaderRole.js +1 -1
- package/build/cjs/_virtual/scrollbarRole.js +1 -1
- package/build/cjs/_virtual/searchRole.js +1 -1
- package/build/cjs/_virtual/searchboxRole.js +1 -1
- package/build/cjs/_virtual/sectionRole.js +1 -1
- package/build/cjs/_virtual/sectionheadRole.js +1 -1
- package/build/cjs/_virtual/selectRole.js +1 -1
- package/build/cjs/_virtual/separatorRole.js +1 -1
- package/build/cjs/_virtual/sliderRole.js +1 -1
- package/build/cjs/_virtual/spinbuttonRole.js +1 -1
- package/build/cjs/_virtual/statusRole.js +1 -1
- package/build/cjs/_virtual/strongRole.js +1 -1
- package/build/cjs/_virtual/structureRole.js +1 -1
- package/build/cjs/_virtual/subscriptRole.js +1 -1
- package/build/cjs/_virtual/superscriptRole.js +1 -1
- package/build/cjs/_virtual/switchRole.js +1 -1
- package/build/cjs/_virtual/tabRole.js +1 -1
- package/build/cjs/_virtual/tableRole.js +1 -1
- package/build/cjs/_virtual/tablistRole.js +1 -1
- package/build/cjs/_virtual/tabpanelRole.js +1 -1
- package/build/cjs/_virtual/termRole.js +1 -1
- package/build/cjs/_virtual/test-utils.js +1 -1
- package/build/cjs/_virtual/textboxRole.js +1 -1
- package/build/cjs/_virtual/timeRole.js +1 -1
- package/build/cjs/_virtual/timerRole.js +1 -1
- package/build/cjs/_virtual/toolbarRole.js +1 -1
- package/build/cjs/_virtual/tooltipRole.js +1 -1
- package/build/cjs/_virtual/treeRole.js +1 -1
- package/build/cjs/_virtual/treegridRole.js +1 -1
- package/build/cjs/_virtual/treeitemRole.js +1 -1
- package/build/cjs/_virtual/ua-parser.js +1 -1
- package/build/cjs/_virtual/widgetRole.js +1 -1
- package/build/cjs/_virtual/windowRole.js +1 -1
- package/build/cjs/node_modules/@emotion/unitless/dist/unitless.esm.js +1 -0
- package/build/cjs/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js +1 -1
- package/build/cjs/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +1 -1
- package/build/cjs/node_modules/ansi-regex/index.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/ariaPropsMap.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/domMap.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/elementRoleMap.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +1 -0
- package/build/cjs/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +1 -0
- package/build/cjs/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +1 -0
- package/build/cjs/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +1 -0
- package/build/cjs/node_modules/aria-query/lib/index.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/roleElementMap.js +1 -1
- package/build/cjs/node_modules/aria-query/lib/rolesMap.js +1 -1
- package/build/cjs/node_modules/array-buffer-byte-length/index.js +1 -0
- package/build/cjs/node_modules/available-typed-arrays/index.js +1 -1
- package/build/cjs/node_modules/call-bind/callBound.js +1 -1
- package/build/cjs/node_modules/call-bind/index.js +1 -1
- package/build/cjs/node_modules/deep-equal/index.js +1 -1
- package/build/cjs/node_modules/define-properties/index.js +1 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-description.js +1 -0
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js +1 -0
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-name.js +1 -0
- package/build/cjs/node_modules/dom-accessibility-api/dist/polyfills/SetLike.js +1 -0
- package/build/cjs/node_modules/dom-accessibility-api/dist/util.js +1 -0
- package/build/cjs/node_modules/es-get-iterator/node.js +1 -0
- package/build/cjs/node_modules/for-each/index.js +1 -1
- package/build/cjs/node_modules/function-bind/implementation.js +1 -1
- package/build/cjs/node_modules/function-bind/index.js +1 -1
- package/build/cjs/node_modules/functions-have-names/index.js +1 -1
- package/build/cjs/node_modules/get-intrinsic/index.js +1 -1
- package/build/cjs/node_modules/gopd/index.js +1 -0
- package/build/cjs/node_modules/has/src/index.js +1 -1
- package/build/cjs/node_modules/has-bigints/index.js +1 -1
- package/build/cjs/node_modules/has-property-descriptors/index.js +1 -1
- package/build/cjs/node_modules/has-proto/index.js +1 -0
- package/build/cjs/node_modules/has-symbols/index.js +1 -1
- package/build/cjs/node_modules/has-symbols/shams.js +1 -1
- package/build/cjs/node_modules/has-tostringtag/shams.js +1 -1
- package/build/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
- package/build/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +2 -2
- package/build/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +2 -2
- package/build/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/build/cjs/node_modules/is-arguments/index.js +1 -1
- package/build/cjs/node_modules/is-array-buffer/index.js +1 -0
- package/build/cjs/node_modules/is-bigint/index.js +1 -1
- package/build/cjs/node_modules/is-boolean-object/index.js +1 -1
- package/build/cjs/node_modules/is-callable/index.js +1 -1
- package/build/cjs/node_modules/is-date-object/index.js +1 -1
- package/build/cjs/node_modules/is-map/index.js +1 -1
- package/build/cjs/node_modules/is-number-object/index.js +1 -1
- package/build/cjs/node_modules/is-regex/index.js +1 -1
- package/build/cjs/node_modules/is-set/index.js +1 -1
- package/build/cjs/node_modules/is-shared-array-buffer/index.js +1 -0
- package/build/cjs/node_modules/is-string/index.js +1 -1
- package/build/cjs/node_modules/is-symbol/index.js +1 -1
- package/build/cjs/node_modules/is-typed-array/index.js +1 -1
- package/build/cjs/node_modules/is-weakmap/index.js +1 -1
- package/build/cjs/node_modules/is-weakset/index.js +1 -1
- package/build/cjs/node_modules/isarray/index.js +1 -1
- package/build/cjs/node_modules/lz-string/libs/lz-string.js +1 -1
- package/build/cjs/node_modules/object-inspect/index.js +1 -1
- package/build/cjs/node_modules/object-inspect/util.inspect.js +1 -1
- package/build/cjs/node_modules/object-is/implementation.js +1 -1
- package/build/cjs/node_modules/object-is/index.js +1 -1
- package/build/cjs/node_modules/object-is/polyfill.js +1 -1
- package/build/cjs/node_modules/object-is/shim.js +1 -1
- package/build/cjs/node_modules/object-keys/implementation.js +1 -1
- package/build/cjs/node_modules/object-keys/index.js +1 -1
- package/build/cjs/node_modules/object-keys/isArguments.js +1 -1
- package/build/cjs/node_modules/object.assign/implementation.js +1 -1
- package/build/cjs/node_modules/object.assign/index.js +1 -1
- package/build/cjs/node_modules/object.assign/polyfill.js +1 -1
- package/build/cjs/node_modules/object.assign/shim.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/collections.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/index.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/plugins/ConvertAnsi.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/plugins/Immutable.js +1 -1
- package/build/cjs/node_modules/pretty-format/build/plugins/ReactElement.js +1 -1
- package/build/cjs/node_modules/pretty-format/node_modules/ansi-styles/index.js +1 -1
- package/build/cjs/node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js +2 -2
- package/build/cjs/node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js +2 -2
- package/build/cjs/node_modules/pretty-format/node_modules/react-is/index.js +1 -1
- package/build/cjs/node_modules/react/cjs/react-jsx-runtime.development.js +1 -10
- package/build/cjs/node_modules/react/cjs/react-jsx-runtime.production.min.js +1 -10
- package/build/cjs/node_modules/react/jsx-runtime.js +1 -1
- package/build/cjs/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1 -1
- package/build/cjs/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +1 -1
- package/build/cjs/node_modules/react-dom/client.js +1 -1
- package/build/cjs/node_modules/react-dom/test-utils.js +1 -1
- package/build/cjs/node_modules/react-is/cjs/react-is.development.js +2 -2
- package/build/cjs/node_modules/react-is/cjs/react-is.production.min.js +2 -2
- package/build/cjs/node_modules/react-is/index.js +1 -1
- package/build/cjs/node_modules/regexp.prototype.flags/implementation.js +1 -1
- package/build/cjs/node_modules/regexp.prototype.flags/index.js +1 -1
- package/build/cjs/node_modules/regexp.prototype.flags/polyfill.js +1 -1
- package/build/cjs/node_modules/regexp.prototype.flags/shim.js +1 -1
- package/build/cjs/node_modules/side-channel/index.js +1 -1
- package/build/cjs/node_modules/styled-components/dist/styled-components.esm.js +1 -1
- package/build/cjs/node_modules/ua-parser-js/src/ua-parser.js +1 -1
- package/build/cjs/node_modules/which-boxed-primitive/index.js +1 -1
- package/build/cjs/node_modules/which-collection/index.js +1 -1
- package/build/cjs/node_modules/which-typed-array/index.js +1 -1
- package/build/cjs/src/index.d.ts +4 -0
- package/build/cjs/src/index.d.ts.map +1 -1
- package/build/cjs/src/index.js +1 -1
- package/build/cjs/src/modal/Modal.d.ts +9 -0
- package/build/cjs/src/modal/Modal.d.ts.map +1 -0
- package/build/cjs/src/modal/Modal.js +20 -0
- package/build/cjs/src/mount-react-hook/mountReactHook.js +1 -1
- package/build/cjs/src/numbered-pagination/NumberedPagination.d.ts +1 -1
- package/build/cjs/src/numbered-pagination/NumberedPagination.d.ts.map +1 -1
- package/build/cjs/src/numbered-pagination/NumberedPagination.js +3 -3
- package/build/cjs/src/outside-alerter/useOutsideAlerter.d.ts +3 -0
- package/build/cjs/src/outside-alerter/useOutsideAlerter.d.ts.map +1 -0
- package/build/cjs/src/outside-alerter/useOutsideAlerter.js +1 -0
- package/build/cjs/src/table/Table.js +7 -7
- package/build/esm/_virtual/graphicsSymbolRole.js +1 -0
- package/build/esm/_virtual/implementation.js +1 -1
- package/build/esm/_virtual/index.js +1 -1
- package/build/esm/_virtual/index10.js +1 -1
- package/build/esm/_virtual/index2.js +1 -1
- package/build/esm/_virtual/index4.js +1 -1
- package/build/esm/_virtual/index5.js +1 -1
- package/build/esm/_virtual/index6.js +1 -1
- package/build/esm/_virtual/index7.js +1 -1
- package/build/esm/_virtual/index8.js +1 -1
- package/build/esm/_virtual/index9.js +1 -1
- package/build/esm/_virtual/jsx-runtime.js +1 -1
- package/build/esm/_virtual/lz-string.js +1 -1
- package/build/esm/_virtual/test-utils.js +1 -1
- package/build/esm/_virtual/ua-parser.js +1 -1
- package/build/esm/node_modules/@emotion/unitless/dist/unitless.esm.js +1 -0
- package/build/esm/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js +1 -1
- package/build/esm/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +1 -1
- package/build/esm/node_modules/ansi-regex/index.js +1 -1
- package/build/esm/node_modules/aria-query/lib/ariaPropsMap.js +1 -1
- package/build/esm/node_modules/aria-query/lib/domMap.js +1 -1
- package/build/esm/node_modules/aria-query/lib/elementRoleMap.js +1 -1
- package/build/esm/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +1 -0
- package/build/esm/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +1 -0
- package/build/esm/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +1 -0
- package/build/esm/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +1 -0
- package/build/esm/node_modules/aria-query/lib/index.js +1 -1
- package/build/esm/node_modules/aria-query/lib/roleElementMap.js +1 -1
- package/build/esm/node_modules/aria-query/lib/rolesMap.js +1 -1
- package/build/esm/node_modules/array-buffer-byte-length/index.js +1 -0
- package/build/esm/node_modules/available-typed-arrays/index.js +1 -1
- package/build/esm/node_modules/call-bind/callBound.js +1 -1
- package/build/esm/node_modules/call-bind/index.js +1 -1
- package/build/esm/node_modules/deep-equal/index.js +1 -1
- package/build/esm/node_modules/define-properties/index.js +1 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-description.js +1 -0
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js +1 -0
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-name.js +1 -0
- package/build/esm/node_modules/dom-accessibility-api/dist/polyfills/SetLike.js +1 -0
- package/build/esm/node_modules/dom-accessibility-api/dist/util.js +1 -0
- package/build/esm/node_modules/es-get-iterator/node.js +1 -0
- package/build/esm/node_modules/for-each/index.js +1 -1
- package/build/esm/node_modules/function-bind/implementation.js +1 -1
- package/build/esm/node_modules/function-bind/index.js +1 -1
- package/build/esm/node_modules/functions-have-names/index.js +1 -1
- package/build/esm/node_modules/get-intrinsic/index.js +1 -1
- package/build/esm/node_modules/gopd/index.js +1 -0
- package/build/esm/node_modules/has/src/index.js +1 -1
- package/build/esm/node_modules/has-bigints/index.js +1 -1
- package/build/esm/node_modules/has-property-descriptors/index.js +1 -1
- package/build/esm/node_modules/has-proto/index.js +1 -0
- package/build/esm/node_modules/has-symbols/index.js +1 -1
- package/build/esm/node_modules/has-symbols/shams.js +1 -1
- package/build/esm/node_modules/has-tostringtag/shams.js +1 -1
- package/build/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
- package/build/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/build/esm/node_modules/is-arguments/index.js +1 -1
- package/build/esm/node_modules/is-array-buffer/index.js +1 -0
- package/build/esm/node_modules/is-bigint/index.js +1 -1
- package/build/esm/node_modules/is-boolean-object/index.js +1 -1
- package/build/esm/node_modules/is-callable/index.js +1 -1
- package/build/esm/node_modules/is-date-object/index.js +1 -1
- package/build/esm/node_modules/is-map/index.js +1 -1
- package/build/esm/node_modules/is-number-object/index.js +1 -1
- package/build/esm/node_modules/is-regex/index.js +1 -1
- package/build/esm/node_modules/is-set/index.js +1 -1
- package/build/esm/node_modules/is-shared-array-buffer/index.js +1 -0
- package/build/esm/node_modules/is-string/index.js +1 -1
- package/build/esm/node_modules/is-symbol/index.js +1 -1
- package/build/esm/node_modules/is-typed-array/index.js +1 -1
- package/build/esm/node_modules/is-weakmap/index.js +1 -1
- package/build/esm/node_modules/is-weakset/index.js +1 -1
- package/build/esm/node_modules/isarray/index.js +1 -1
- package/build/esm/node_modules/lz-string/libs/lz-string.js +1 -1
- package/build/esm/node_modules/object-inspect/index.js +1 -1
- package/build/esm/node_modules/object-inspect/util.inspect.js +1 -1
- package/build/esm/node_modules/object-is/implementation.js +1 -1
- package/build/esm/node_modules/object-is/index.js +1 -1
- package/build/esm/node_modules/object-is/polyfill.js +1 -1
- package/build/esm/node_modules/object-is/shim.js +1 -1
- package/build/esm/node_modules/object-keys/implementation.js +1 -1
- package/build/esm/node_modules/object-keys/index.js +1 -1
- package/build/esm/node_modules/object-keys/isArguments.js +1 -1
- package/build/esm/node_modules/object.assign/implementation.js +1 -1
- package/build/esm/node_modules/object.assign/index.js +1 -1
- package/build/esm/node_modules/object.assign/polyfill.js +1 -1
- package/build/esm/node_modules/object.assign/shim.js +1 -1
- package/build/esm/node_modules/pretty-format/build/collections.js +1 -1
- package/build/esm/node_modules/pretty-format/build/index.js +1 -1
- package/build/esm/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +1 -1
- package/build/esm/node_modules/pretty-format/build/plugins/ConvertAnsi.js +1 -1
- package/build/esm/node_modules/pretty-format/build/plugins/Immutable.js +1 -1
- package/build/esm/node_modules/pretty-format/build/plugins/ReactElement.js +1 -1
- package/build/esm/node_modules/pretty-format/build/plugins/lib/markup.js +1 -1
- package/build/esm/node_modules/pretty-format/node_modules/ansi-styles/index.js +1 -1
- package/build/esm/node_modules/pretty-format/node_modules/react-is/index.js +1 -1
- package/build/esm/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
- package/build/esm/node_modules/react/jsx-runtime.js +1 -1
- package/build/esm/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1 -1
- package/build/esm/node_modules/react-dom/test-utils.js +1 -1
- package/build/esm/node_modules/react-is/index.js +1 -1
- package/build/esm/node_modules/regexp.prototype.flags/implementation.js +1 -1
- package/build/esm/node_modules/regexp.prototype.flags/index.js +1 -1
- package/build/esm/node_modules/regexp.prototype.flags/polyfill.js +1 -1
- package/build/esm/node_modules/regexp.prototype.flags/shim.js +1 -1
- package/build/esm/node_modules/side-channel/index.js +1 -1
- package/build/esm/node_modules/styled-components/dist/styled-components.esm.js +1 -1
- package/build/esm/node_modules/ua-parser-js/src/ua-parser.js +1 -1
- package/build/esm/node_modules/which-boxed-primitive/index.js +1 -1
- package/build/esm/node_modules/which-collection/index.js +1 -1
- package/build/esm/node_modules/which-typed-array/index.js +1 -1
- package/build/esm/src/index.d.ts +4 -0
- package/build/esm/src/index.d.ts.map +1 -1
- package/build/esm/src/index.js +1 -1
- package/build/esm/src/modal/Modal.d.ts +9 -0
- package/build/esm/src/modal/Modal.d.ts.map +1 -0
- package/build/esm/src/modal/Modal.js +20 -0
- package/build/esm/src/mount-react-hook/mountReactHook.js +1 -1
- package/build/esm/src/numbered-pagination/NumberedPagination.d.ts +1 -1
- package/build/esm/src/numbered-pagination/NumberedPagination.d.ts.map +1 -1
- package/build/esm/src/numbered-pagination/NumberedPagination.js +3 -3
- package/build/esm/src/outside-alerter/useOutsideAlerter.d.ts +3 -0
- package/build/esm/src/outside-alerter/useOutsideAlerter.d.ts.map +1 -0
- package/build/esm/src/outside-alerter/useOutsideAlerter.js +1 -0
- package/build/esm/src/table/Table.js +7 -7
- package/package.json +31 -17
- package/build/cjs/_virtual/index11.js +0 -1
- package/build/cjs/_virtual/inherits.js +0 -1
- package/build/cjs/_virtual/inherits_browser.js +0 -1
- package/build/cjs/_virtual/unitless.cjs.dev.js +0 -1
- package/build/cjs/_virtual/unitless.cjs.js +0 -1
- package/build/cjs/_virtual/unitless.cjs.prod.js +0 -1
- package/build/cjs/_virtual/util.js +0 -1
- package/build/cjs/node_modules/@emotion/unitless/dist/unitless.cjs.dev.js +0 -1
- package/build/cjs/node_modules/@emotion/unitless/dist/unitless.cjs.js +0 -1
- package/build/cjs/node_modules/@emotion/unitless/dist/unitless.cjs.prod.js +0 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-description.mjs.js +0 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs.js +0 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/accessible-name.mjs.js +0 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs.js +0 -1
- package/build/cjs/node_modules/dom-accessibility-api/dist/util.mjs.js +0 -1
- package/build/cjs/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +0 -1
- package/build/cjs/node_modules/es-get-iterator/index.js +0 -1
- package/build/cjs/node_modules/util/node_modules/inherits/inherits.js +0 -1
- package/build/cjs/node_modules/util/node_modules/inherits/inherits_browser.js +0 -1
- package/build/cjs/node_modules/util/support/isBuffer.js +0 -1
- package/build/cjs/node_modules/util/util.js +0 -1
- package/build/esm/_virtual/index11.js +0 -1
- package/build/esm/_virtual/inherits.js +0 -1
- package/build/esm/_virtual/inherits_browser.js +0 -1
- package/build/esm/_virtual/unitless.cjs.js +0 -1
- package/build/esm/node_modules/@emotion/unitless/dist/unitless.cjs.dev.js +0 -1
- package/build/esm/node_modules/@emotion/unitless/dist/unitless.cjs.js +0 -1
- package/build/esm/node_modules/@emotion/unitless/dist/unitless.cjs.prod.js +0 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-description.mjs.js +0 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs.js +0 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/accessible-name.mjs.js +0 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs.js +0 -1
- package/build/esm/node_modules/dom-accessibility-api/dist/util.mjs.js +0 -1
- package/build/esm/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +0 -1
- package/build/esm/node_modules/es-get-iterator/index.js +0 -1
- package/build/esm/node_modules/util/node_modules/inherits/inherits.js +0 -1
- package/build/esm/node_modules/util/node_modules/inherits/inherits_browser.js +0 -1
- package/build/esm/node_modules/util/support/isBuffer.js +0 -1
- package/build/esm/node_modules/util/util.js +0 -1
- /package/build/cjs/node_modules/dom-accessibility-api/dist/{getRole.mjs.js → getRole.js} +0 -0
- /package/build/cjs/node_modules/dom-accessibility-api/dist/polyfills/{array.from.mjs.js → array.from.js} +0 -0
- /package/build/esm/_virtual/{unitless.cjs.dev.js → ariaGraphicsRoles.js} +0 -0
- /package/build/esm/_virtual/{unitless.cjs.prod.js → graphicsDocumentRole.js} +0 -0
- /package/build/esm/_virtual/{util.js → graphicsObjectRole.js} +0 -0
- /package/build/esm/node_modules/dom-accessibility-api/dist/{getRole.mjs.js → getRole.js} +0 -0
- /package/build/esm/node_modules/dom-accessibility-api/dist/polyfills/{array.from.mjs.js → array.from.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/react-dom-test-utils.development.js"),t=require("react"),n=require("react-dom");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o,a=r(t),i=r(n);exports.__require=function(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){var t=a.default,n=i.default,r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(e,t,n){var o=r.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var a=n.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}function s(e){return e._reactInternals}function u(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{0!=(4098&(t=r).flags)&&(n=t.return),r=t.return}while(r)}return 3===t.tag?n:null}function c(e){if(u(e)!==e)throw new Error("Unable to find node on an unmounted component.")}r.ReactCurrentOwner;var l=Object.assign;function d(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function p(){return!0}function f(){return!1}function h(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var s=e[i];this[i]=s?s(o):o[i]}var u=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=u?p:f,this.isPropagationStopped=f,this}return l(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=p)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=p)},persist:function(){},isPersistent:p}),t}var m,v,y,w={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},g=h(w),_=l({},w,{view:0,detail:0});h(_);var E=l({},_,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:T,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(function(e){e!==y&&(y&&"mousemove"===e.type?(m=e.screenX-y.screenX,v=e.screenY-y.screenY):(m=0,v=0),y=e)}(e),m)},movementY:function(e){return"movementY"in e?e.movementY:v}});h(E),h(l({},E,{dataTransfer:0})),h(l({},_,{relatedTarget:0})),h(l({},w,{animationName:0,elapsedTime:0,pseudoElement:0})),h(l({},w,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),h(l({},w,{data:0}));var b={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},C={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var k={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=k[e];return!!n&&!!t[n]}function T(e){return D}h(l({},_,{key:function(e){if(e.key){var t=b[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=d(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?C[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:T,charCode:function(e){return"keypress"===e.type?d(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?d(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),h(l({},E,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),h(l({},_,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:T})),h(l({},w,{propertyName:0,elapsedTime:0,pseudoElement:0})),h(l({},E,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));function M(e,t,n,r,o,a,i,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var O=M;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var R=document.createElement("react");O=function(e,t,n,r,o,a,i,s,u){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var c=document.createEvent("Event"),l=!1,d=!0,p=window.event,f=Object.getOwnPropertyDescriptor(window,"event");function h(){R.removeEventListener(E,y,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var m,v=Array.prototype.slice.call(arguments,3);function y(){l=!0,h(),t.apply(n,v),d=!1}var w=!1,g=!1;function _(e){if(m=e.error,w=!0,null===m&&0===e.colno&&0===e.lineno&&(g=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var E="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",_),R.addEventListener(E,y,!1),c.initEvent(E,!1,!1),R.dispatchEvent(c),f&&Object.defineProperty(window,"event",f),l&&d&&(w?g&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",_),!l)return h(),M.apply(this,arguments)}}var S=O,P=!1,x=null,U=!1,L=null,I={onError:function(e){P=!0,x=e}};function N(e,t,n,r,o,a,i,s,u){P=!1,x=null,S.apply(I,arguments)}function A(){if(P){var e=x;return P=!1,x=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var W=Array.isArray;function K(e){return W(e)}var Y=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,j=Y[0],F=Y[1],X=Y[2],V=Y[3],q=Y[4],B=t.unstable_act;function z(e){}var H=!1;function Z(e,t){if(!e)return[];var n=function(e){var t=e.alternate;if(!t){var n=u(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var s=a.return;if(null!==s){r=o=s;continue}break}if(a.child===i.child){for(var l=a.child;l;){if(l===r)return c(a),e;if(l===o)return c(a),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var d=!1,p=a.child;p;){if(p===r){d=!0,r=a,o=i;break}if(p===o){d=!0,o=a,r=i;break}p=p.sibling}if(!d){for(p=i.child;p;){if(p===r){d=!0,r=i,o=a;break}if(p===o){d=!0,o=i,r=a;break}p=p.sibling}if(!d)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}(e);if(!n)return[];for(var r=n,o=[];;){if(5===r.tag||6===r.tag||1===r.tag||0===r.tag){var a=r.stateNode;t(a)&&o.push(a)}if(r.child)r.child.return=r,r=r.child;else{if(r===n)return o;for(;!r.sibling;){if(!r.return||r.return===n)return o;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function G(e,t){if(e&&!s(e)){var n,r=String(e);throw n=K(e)?"an array":e&&1===e.nodeType&&e.tagName?"a DOM node":"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,new Error(t+"(...): the first argument must be a React class instance. Instead received: "+n+".")}}function J(e){return!(!e||1!==e.nodeType||!e.tagName)}function Q(e){return!J(e)&&(null!=e&&"function"==typeof e.render&&"function"==typeof e.setState)}function $(e,t){return!!Q(e)&&s(e).type===t}function ee(e,t){return G(e,"findAllInRenderedTree"),e?Z(s(e),t):[]}function te(e,t){return G(e,"scryRenderedDOMComponentsWithClass"),ee(e,(function(e){if(J(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var r=n.split(/\s+/);if(!K(t)){if(void 0===t)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every((function(e){return-1!==r.indexOf(e)}))}return!1}))}function ne(e,t){return G(e,"scryRenderedDOMComponentsWithTag"),ee(e,(function(e){return J(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))}function re(e,t){return G(e,"scryRenderedComponentsWithType"),ee(e,(function(e){return $(e,t)}))}function oe(e,t,n){var r=e.type||"unknown-event";e.currentTarget=F(n),function(e,t,n,r,o,a,i,s,u){if(N.apply(this,arguments),P){var c=A();U||(U=!0,L=c)}}(r,t,void 0,e),e.currentTarget=null}var ae=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(K(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)oe(e,t[r],n[r]);else t&&oe(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null}(e),e.isPersistent()||e.constructor.release(e))};function ie(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function se(e,t,n){for(var r,o=[];e;)o.push(e),e=ie(e);for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)}function ue(e,t){var n=e.stateNode;if(!n)return null;var r=X(n);if(!r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}function ce(e,t,n){e||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o("error",e,n)}("Dispatching inst must not be null");var r=function(e,t,n){var r=t._reactName;return"captured"===n&&(r+="Capture"),ue(e,r)}(e,n,t);r&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(r),n._dispatchInstances.push(e))}function le(e){e&&e._reactName&&function(e,t,n){if(e&&n&&n._reactName){var r=ue(e,n._reactName);r&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(r),n._dispatchInstances.push(e))}}(e._targetInst,0,e)}var de={},pe=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function fe(e){return function(r,o){if(t.isValidElement(r))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(Q(r))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var a="on"+e[0].toUpperCase()+e.slice(1),i=new z;i.target=r,i.type=e.toLowerCase();var s=j(r),u=new g(a,i.type,s,i,r);u.persist(),l(u,o),pe.has(e)?le(u):function(e){e&&e._reactName&&se(e._targetInst,ce,e)}(u),n.unstable_batchedUpdates((function(){V(r),ae(u),function(){if(U){var e=L;throw U=!1,L=null,e}}()})),q()}}["blur","cancel","click","close","contextMenu","copy","cut","auxClick","doubleClick","dragEnd","dragStart","drop","focus","input","invalid","keyDown","keyPress","keyUp","mouseDown","mouseUp","paste","pause","play","pointerCancel","pointerDown","pointerUp","rateChange","reset","resize","seeked","submit","touchCancel","touchEnd","touchStart","volumeChange","drag","dragEnter","dragExit","dragLeave","dragOver","mouseMove","mouseOut","mouseOver","pointerMove","pointerOut","pointerOver","scroll","toggle","touchMove","wheel","abort","animationEnd","animationIteration","animationStart","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","gotPointerCapture","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","playing","progress","seeking","stalled","suspend","timeUpdate","transitionEnd","waiting","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"].forEach((function(e){de[e]=fe(e)})),e.__exports.Simulate=de,e.__exports.act=B,e.__exports.findAllInRenderedTree=ee,e.__exports.findRenderedComponentWithType=function(e,t){G(e,"findRenderedComponentWithType");var n=re(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for componentType:"+t);return n[0]},e.__exports.findRenderedDOMComponentWithClass=function(e,t){G(e,"findRenderedDOMComponentWithClass");var n=te(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},e.__exports.findRenderedDOMComponentWithTag=function(e,t){G(e,"findRenderedDOMComponentWithTag");var n=ne(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for tag:"+t);return n[0]},e.__exports.isCompositeComponent=Q,e.__exports.isCompositeComponentWithType=$,e.__exports.isDOMComponent=J,e.__exports.isDOMComponentElement=function(e){return!!(e&&t.isValidElement(e)&&e.tagName)},e.__exports.isElement=function(e){return t.isValidElement(e)},e.__exports.isElementOfType=function(e,n){return t.isValidElement(e)&&e.type===n},e.__exports.mockComponent=function(e,n){return H||(H=!0,function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o("warn",e,n)}("ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.\n\nSee https://reactjs.org/link/test-utils-mock-component for more information.")),n=n||e.mockTagName||"div",e.prototype.render.mockImplementation((function(){return t.createElement(n,null,this.props.children)})),this},e.__exports.nativeTouchData=function(e,t){return{touches:[{pageX:e,pageY:t}]}},e.__exports.renderIntoDocument=function(e){var t=document.createElement("div");return n.render(e,t)},e.__exports.scryRenderedComponentsWithType=re,e.__exports.scryRenderedDOMComponentsWithClass=te,e.__exports.scryRenderedDOMComponentsWithTag=ne,e.__exports.traverseTwoPhase=se}()),e.__exports};
|
|
1
|
+
"use strict";var e,t=require("../../../_virtual/react-dom-test-utils.development.js"),n=require("react"),r=require("react-dom");exports.__require=function(){return e||(e=1,"production"!==process.env.NODE_ENV&&function(){var e=n,o=r,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(e,t,n){var r=a.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}function s(e){return e._reactInternals}var u=0,c=1,l=3,d=5,p=6,f=0,h=2,m=4096;function v(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{((t=r).flags&(h|m))!==f&&(n=t.return),r=t.return}while(r)}return t.tag===l?n:null}function y(e){if(v(e)!==e)throw new Error("Unable to find node on an unmounted component.")}a.ReactCurrentOwner;var w=Object.assign;function g(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function _(){return!0}function E(){return!1}function b(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var s=e[i];this[i]=s?s(o):o[i]}var u=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=u?_:E,this.isPropagationStopped=E,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=_)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=_)},persist:function(){},isPersistent:_}),t}var C,k,D,T={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},M=b(T),O=w({},T,{view:0,detail:0});b(O);var R=w({},O,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:L,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(function(e){e!==D&&(D&&"mousemove"===e.type?(C=e.screenX-D.screenX,k=e.screenY-D.screenY):(C=0,k=0),D=e)}(e),C)},movementY:function(e){return"movementY"in e?e.movementY:k}});b(R),b(w({},R,{dataTransfer:0})),b(w({},O,{relatedTarget:0})),b(w({},T,{animationName:0,elapsedTime:0,pseudoElement:0})),b(w({},T,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),b(w({},T,{data:0}));var S={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var x={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=x[e];return!!n&&!!t[n]}function L(e){return U}b(w({},O,{key:function(e){if(e.key){var t=S[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=g(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?P[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:L,charCode:function(e){return"keypress"===e.type?g(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?g(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),b(w({},R,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),b(w({},O,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:L})),b(w({},T,{propertyName:0,elapsedTime:0,pseudoElement:0})),b(w({},R,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));var I=1;function N(e,t,n,r,o,a,i,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var A=N;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var W=document.createElement("react");A=function(e,t,n,r,o,a,i,s,u){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var c=document.createEvent("Event"),l=!1,d=!0,p=window.event,f=Object.getOwnPropertyDescriptor(window,"event");function h(){W.removeEventListener(E,y,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var m,v=Array.prototype.slice.call(arguments,3);function y(){l=!0,h(),t.apply(n,v),d=!1}var w=!1,g=!1;function _(e){if(m=e.error,w=!0,null===m&&0===e.colno&&0===e.lineno&&(g=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var E="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",_),W.addEventListener(E,y,!1),c.initEvent(E,!1,!1),W.dispatchEvent(c),f&&Object.defineProperty(window,"event",f),l&&d&&(w?g&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",_),!l)return h(),N.apply(this,arguments)}}var K=A,Y=!1,F=null,X=!1,j=null,V={onError:function(e){Y=!0,F=e}};function q(e,t,n,r,o,a,i,s,u){Y=!1,F=null,K.apply(V,arguments)}function B(e,t,n,r,o,a,i,s,u){if(q.apply(this,arguments),Y){var c=function(){if(Y){var e=F;return Y=!1,F=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}();X||(X=!0,j=c)}}var z=Array.isArray;function H(e){return z(e)}var Z=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,G=Z[0],J=Z[1],Q=Z[2],$=Z[3],ee=Z[4],te=e.unstable_act;function ne(e){}var re=!1;function oe(e,t){if(!e)return[];var n=function(e){var t=e.alternate;if(!t){var n=v(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var s=a.return;if(null!==s){r=o=s;continue}break}if(a.child===i.child){for(var u=a.child;u;){if(u===r)return y(a),e;if(u===o)return y(a),t;u=u.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var c=!1,d=a.child;d;){if(d===r){c=!0,r=a,o=i;break}if(d===o){c=!0,o=a,r=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===r){c=!0,r=i,o=a;break}if(d===o){c=!0,o=i,r=a;break}d=d.sibling}if(!c)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==l)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}(e);if(!n)return[];for(var r=n,o=[];;){if(r.tag===d||r.tag===p||r.tag===c||r.tag===u){var a=r.stateNode;t(a)&&o.push(a)}if(r.child)r.child.return=r,r=r.child;else{if(r===n)return o;for(;!r.sibling;){if(!r.return||r.return===n)return o;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function ae(e,t){if(e&&!s(e)){var n,r=String(e);throw n=H(e)?"an array":e&&e.nodeType===I&&e.tagName?"a DOM node":"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,new Error(t+"(...): the first argument must be a React class instance. Instead received: "+n+".")}}function ie(e){return!(!e||e.nodeType!==I||!e.tagName)}function se(e){return!ie(e)&&(null!=e&&"function"==typeof e.render&&"function"==typeof e.setState)}function ue(e,t){return!!se(e)&&s(e).type===t}function ce(e,t){return ae(e,"findAllInRenderedTree"),e?oe(s(e),t):[]}function le(e,t){return ae(e,"scryRenderedDOMComponentsWithClass"),ce(e,(function(e){if(ie(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var r=n.split(/\s+/);if(!H(t)){if(void 0===t)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every((function(e){return-1!==r.indexOf(e)}))}return!1}))}function de(e,t){return ae(e,"scryRenderedDOMComponentsWithTag"),ce(e,(function(e){return ie(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))}function pe(e,t){return ae(e,"scryRenderedComponentsWithType"),ce(e,(function(e){return ue(e,t)}))}function fe(e,t,n){var r=e.type||"unknown-event";e.currentTarget=J(n),B(r,t,void 0,e),e.currentTarget=null}var he=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(H(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)fe(e,t[r],n[r]);else t&&fe(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null}(e),e.isPersistent()||e.constructor.release(e))};function me(e){do{e=e.return}while(e&&e.tag!==d);return e||null}function ve(e,t,n){for(var r,o=[];e;)o.push(e),e=me(e);for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)}function ye(e,t){var n=e.stateNode;if(!n)return null;var r=Q(n);if(!r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}function we(e,t,n){e||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("error",e,n)}("Dispatching inst must not be null");var r=function(e,t,n){var r=t._reactName;return"captured"===n&&(r+="Capture"),ye(e,r)}(e,n,t);r&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(r),n._dispatchInstances.push(e))}function ge(e){e&&e._reactName&&function(e,t,n){if(e&&n&&n._reactName){var r=ye(e,n._reactName);r&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(r),n._dispatchInstances.push(e))}}(e._targetInst,0,e)}var _e={},Ee=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function be(t){return function(n,r){if(e.isValidElement(n))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(se(n))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var a="on"+t[0].toUpperCase()+t.slice(1),i=new ne;i.target=n,i.type=t.toLowerCase();var s=G(n),u=new M(a,i.type,s,i,n);u.persist(),w(u,r),Ee.has(t)?ge(u):function(e){e&&e._reactName&&ve(e._targetInst,we,e)}(u),o.unstable_batchedUpdates((function(){$(n),he(u),function(){if(X){var e=j;throw X=!1,j=null,e}}()})),ee()}}["blur","cancel","click","close","contextMenu","copy","cut","auxClick","doubleClick","dragEnd","dragStart","drop","focus","input","invalid","keyDown","keyPress","keyUp","mouseDown","mouseUp","paste","pause","play","pointerCancel","pointerDown","pointerUp","rateChange","reset","resize","seeked","submit","touchCancel","touchEnd","touchStart","volumeChange","drag","dragEnter","dragExit","dragLeave","dragOver","mouseMove","mouseOut","mouseOver","pointerMove","pointerOut","pointerOver","scroll","toggle","touchMove","wheel","abort","animationEnd","animationIteration","animationStart","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","gotPointerCapture","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","playing","progress","seeking","stalled","suspend","timeUpdate","transitionEnd","waiting","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"].forEach((function(e){_e[e]=be(e)})),t.__exports.Simulate=_e,t.__exports.act=te,t.__exports.findAllInRenderedTree=ce,t.__exports.findRenderedComponentWithType=function(e,t){ae(e,"findRenderedComponentWithType");var n=pe(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for componentType:"+t);return n[0]},t.__exports.findRenderedDOMComponentWithClass=function(e,t){ae(e,"findRenderedDOMComponentWithClass");var n=le(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},t.__exports.findRenderedDOMComponentWithTag=function(e,t){ae(e,"findRenderedDOMComponentWithTag");var n=de(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for tag:"+t);return n[0]},t.__exports.isCompositeComponent=se,t.__exports.isCompositeComponentWithType=ue,t.__exports.isDOMComponent=ie,t.__exports.isDOMComponentElement=function(t){return!!(t&&e.isValidElement(t)&&t.tagName)},t.__exports.isElement=function(t){return e.isValidElement(t)},t.__exports.isElementOfType=function(t,n){return e.isValidElement(t)&&t.type===n},t.__exports.mockComponent=function(t,n){return re||(re=!0,function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("warn",e,n)}("ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.\n\nSee https://reactjs.org/link/test-utils-mock-component for more information.")),n=n||t.mockTagName||"div",t.prototype.render.mockImplementation((function(){return e.createElement(n,null,this.props.children)})),this},t.__exports.nativeTouchData=function(e,t){return{touches:[{pageX:e,pageY:t}]}},t.__exports.renderIntoDocument=function(e){var t=document.createElement("div");return o.render(e,t)},t.__exports.scryRenderedComponentsWithType=pe,t.__exports.scryRenderedDOMComponentsWithClass=le,t.__exports.scryRenderedDOMComponentsWithTag=de,t.__exports.traverseTwoPhase=ve}()),t.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/react-dom-test-utils.production.min.js"),t=require("react"),n=require("react-dom");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o,a=r(t),i=r(n);exports.__require=function(){if(o)return e.__exports;o=1;var t=a.default,n=i.default;function r(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function s(e){if(r(e)!==e)throw Error("Unable to find node on an unmounted component.")}var u=Object.assign;function l(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function c(){return!0}function d(){return!1}function p(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?c:d,this.isPropagationStopped=d,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=c)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=c)},persist:function(){},isPersistent:c}),t}var f={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},h=p(f),m=u({},f,{view:0,detail:0});p(m);var y,g,v,_=u({},m,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==v&&(v&&"mousemove"===e.type?(y=e.screenX-v.screenX,g=e.screenY-v.screenY):g=y=0,v=e),y)},movementY:function(e){return"movementY"in e?e.movementY:g}});p(_),p(u({},_,{dataTransfer:0})),p(u({},m,{relatedTarget:0})),p(u({},f,{animationName:0,elapsedTime:0,pseudoElement:0})),p(u({},f,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),p(u({},f,{data:0}));var w={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},C={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=C[e])&&!!t[e]}function D(){return E}function k(e,t,n,r,o,a,i,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}p(u({},m,{key:function(e){if(e.key){var t=w[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=l(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?b[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D,charCode:function(e){return"keypress"===e.type?l(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?l(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),p(u({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),p(u({},m,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D})),p(u({},f,{propertyName:0,elapsedTime:0,pseudoElement:0})),p(u({},_,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));var T=!1,M=null,x=!1,P=null,O={onError:function(e){T=!0,M=e}};function S(e,t,n,r,o,a,i,s,u){T=!1,M=null,k.apply(O,arguments)}var R=Array.isArray,U=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,I=U[0],L=U[1],N=U[2],A=U[3],K=U[4],W=t.unstable_act;function Y(){}function X(e,t){if(!e)return[];if(e=function(e){var t=e.alternate;if(!t){if(null===(t=r(e)))throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,o=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){n=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return s(a),e;if(i===o)return s(a),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==o.return)n=a,o=i;else{for(var u=!1,l=a.child;l;){if(l===n){u=!0,n=a,o=i;break}if(l===o){u=!0,o=a,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,o=a;break}if(l===o){u=!0,o=i,n=a;break}l=l.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}(e),!e)return[];for(var n=e,o=[];;){if(5===n.tag||6===n.tag||1===n.tag||0===n.tag){var a=n.stateNode;t(a)&&o.push(a)}if(n.child)n.child.return=n,n=n.child;else{if(n===e)return o;for(;!n.sibling;){if(!n.return||n.return===e)return o;n=n.return}n.sibling.return=n.return,n=n.sibling}}}function F(e,t){if(e&&!e._reactInternals){var n=String(e);throw e=R(e)?"an array":e&&1===e.nodeType&&e.tagName?"a DOM node":"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,Error(t+"(...): the first argument must be a React class instance. Instead received: "+e+".")}}function j(e){return!(!e||1!==e.nodeType||!e.tagName)}function V(e){return!j(e)&&(null!=e&&"function"==typeof e.render&&"function"==typeof e.setState)}function q(e,t){return!!V(e)&&e._reactInternals.type===t}function B(e,t){return F(e,"findAllInRenderedTree"),e?X(e._reactInternals,t):[]}function z(e,t){return F(e,"scryRenderedDOMComponentsWithClass"),B(e,(function(e){if(j(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var r=n.split(/\s+/);if(!R(t)){if(void 0===t)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every((function(e){return-1!==r.indexOf(e)}))}return!1}))}function H(e,t){return F(e,"scryRenderedDOMComponentsWithTag"),B(e,(function(e){return j(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))}function Z(e,t){return F(e,"scryRenderedComponentsWithType"),B(e,(function(e){return q(e,t)}))}function G(e,t,n){var r=e.type||"unknown-event";e.currentTarget=L(n),function(e,t,n,r,o,a,i,s,u){if(S.apply(this,arguments),T){if(!T)throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");var l=M;T=!1,M=null,x||(x=!0,P=l)}}(r,t,void 0,e),e.currentTarget=null}function J(e,t,n){for(var r=[];e;){r.push(e);do{e=e.return}while(e&&5!==e.tag);e=e||null}for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function Q(e,t){var n=e.stateNode;if(!n)return null;var r=N(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function $(e,t,n){var r=n._reactName;"captured"===t&&(r+="Capture"),(t=Q(e,r))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(t),n._dispatchInstances.push(e))}var ee={},te=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function ne(e){return function(r,o){if(t.isValidElement(r))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(V(r))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var a="on"+e[0].toUpperCase()+e.slice(1),i=new Y;i.target=r,i.type=e.toLowerCase();var s=I(r),l=new h(a,i.type,s,i,r);l.persist(),u(l,o),te.has(e)?l&&l._reactName&&function(e,t,n){e&&n&&n._reactName&&(t=Q(e,n._reactName))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(t),n._dispatchInstances.push(e))}(l._targetInst,null,l):l&&l._reactName&&J(l._targetInst,$,l),n.unstable_batchedUpdates((function(){if(A(r),l){var e=l._dispatchListeners,t=l._dispatchInstances;if(R(e))for(var n=0;n<e.length&&!l.isPropagationStopped();n++)G(l,e[n],t[n]);else e&&G(l,e,t);l._dispatchListeners=null,l._dispatchInstances=null,l.isPersistent()||l.constructor.release(l)}if(x)throw e=P,x=!1,P=null,e})),K()}}return"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach((function(e){ee[e]=ne(e)})),e.__exports.Simulate=ee,e.__exports.act=W,e.__exports.findAllInRenderedTree=B,e.__exports.findRenderedComponentWithType=function(e,t){if(F(e,"findRenderedComponentWithType"),1!==(e=Z(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for componentType:"+t);return e[0]},e.__exports.findRenderedDOMComponentWithClass=function(e,t){if(F(e,"findRenderedDOMComponentWithClass"),1!==(e=z(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for class:"+t);return e[0]},e.__exports.findRenderedDOMComponentWithTag=function(e,t){if(F(e,"findRenderedDOMComponentWithTag"),1!==(e=H(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for tag:"+t);return e[0]},e.__exports.isCompositeComponent=V,e.__exports.isCompositeComponentWithType=q,e.__exports.isDOMComponent=j,e.__exports.isDOMComponentElement=function(e){return!!(e&&t.isValidElement(e)&&e.tagName)},e.__exports.isElement=function(e){return t.isValidElement(e)},e.__exports.isElementOfType=function(e,n){return t.isValidElement(e)&&e.type===n},e.__exports.mockComponent=function(e,n){return n=n||e.mockTagName||"div",e.prototype.render.mockImplementation((function(){return t.createElement(n,null,this.props.children)})),this},e.__exports.nativeTouchData=function(e,t){return{touches:[{pageX:e,pageY:t}]}},e.__exports.renderIntoDocument=function(e){var t=document.createElement("div");return n.render(e,t)},e.__exports.scryRenderedComponentsWithType=Z,e.__exports.scryRenderedDOMComponentsWithClass=z,e.__exports.scryRenderedDOMComponentsWithTag=H,e.__exports.traverseTwoPhase=J,e.__exports};
|
|
1
|
+
"use strict";var e,t=require("../../../_virtual/react-dom-test-utils.production.min.js"),n=require("react"),r=require("react-dom");exports.__require=function(){if(e)return t.__exports;e=1;var o=n,a=r;function i(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function s(e){if(i(e)!==e)throw Error("Unable to find node on an unmounted component.")}var u=Object.assign;function l(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function c(){return!0}function d(){return!1}function p(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?c:d,this.isPropagationStopped=d,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=c)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=c)},persist:function(){},isPersistent:c}),t}var f={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},h=p(f),m=u({},f,{view:0,detail:0});p(m);var y,g,v,_=u({},m,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==v&&(v&&"mousemove"===e.type?(y=e.screenX-v.screenX,g=e.screenY-v.screenY):g=y=0,v=e),y)},movementY:function(e){return"movementY"in e?e.movementY:g}});p(_),p(u({},_,{dataTransfer:0})),p(u({},m,{relatedTarget:0})),p(u({},f,{animationName:0,elapsedTime:0,pseudoElement:0})),p(u({},f,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),p(u({},f,{data:0}));var w={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},C={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=C[e])&&!!t[e]}function D(){return E}function k(e,t,n,r,o,a,i,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}p(u({},m,{key:function(e){if(e.key){var t=w[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=l(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?b[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D,charCode:function(e){return"keypress"===e.type?l(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?l(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),p(u({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),p(u({},m,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D})),p(u({},f,{propertyName:0,elapsedTime:0,pseudoElement:0})),p(u({},_,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));var T=!1,M=null,x=!1,P=null,S={onError:function(e){T=!0,M=e}};function O(e,t,n,r,o,a,i,s,u){T=!1,M=null,k.apply(S,arguments)}var R=Array.isArray,U=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,I=U[0],L=U[1],N=U[2],A=U[3],K=U[4],W=o.unstable_act;function Y(){}function X(e,t){if(!e)return[];if(e=function(e){var t=e.alternate;if(!t){if(null===(t=i(e)))throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return s(o),e;if(a===r)return s(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}(e),!e)return[];for(var n=e,r=[];;){if(5===n.tag||6===n.tag||1===n.tag||0===n.tag){var o=n.stateNode;t(o)&&r.push(o)}if(n.child)n.child.return=n,n=n.child;else{if(n===e)return r;for(;!n.sibling;){if(!n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}}}function F(e,t){if(e&&!e._reactInternals){var n=String(e);throw e=R(e)?"an array":e&&1===e.nodeType&&e.tagName?"a DOM node":"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,Error(t+"(...): the first argument must be a React class instance. Instead received: "+e+".")}}function j(e){return!(!e||1!==e.nodeType||!e.tagName)}function V(e){return!j(e)&&(null!=e&&"function"==typeof e.render&&"function"==typeof e.setState)}function q(e,t){return!!V(e)&&e._reactInternals.type===t}function B(e,t){return F(e,"findAllInRenderedTree"),e?X(e._reactInternals,t):[]}function z(e,t){return F(e,"scryRenderedDOMComponentsWithClass"),B(e,(function(e){if(j(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var r=n.split(/\s+/);if(!R(t)){if(void 0===t)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every((function(e){return-1!==r.indexOf(e)}))}return!1}))}function H(e,t){return F(e,"scryRenderedDOMComponentsWithTag"),B(e,(function(e){return j(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))}function Z(e,t){return F(e,"scryRenderedComponentsWithType"),B(e,(function(e){return q(e,t)}))}function G(e,t,n){var r=e.type||"unknown-event";e.currentTarget=L(n),function(e,t,n,r,o,a,i,s,u){if(O.apply(this,arguments),T){if(!T)throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");var l=M;T=!1,M=null,x||(x=!0,P=l)}}(r,t,void 0,e),e.currentTarget=null}function J(e,t,n){for(var r=[];e;){r.push(e);do{e=e.return}while(e&&5!==e.tag);e=e||null}for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function Q(e,t){var n=e.stateNode;if(!n)return null;var r=N(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function $(e,t,n){var r=n._reactName;"captured"===t&&(r+="Capture"),(t=Q(e,r))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(t),n._dispatchInstances.push(e))}var ee={},te=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function ne(e){return function(t,n){if(o.isValidElement(t))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(V(t))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var r="on"+e[0].toUpperCase()+e.slice(1),i=new Y;i.target=t,i.type=e.toLowerCase();var s=I(t),l=new h(r,i.type,s,i,t);l.persist(),u(l,n),te.has(e)?l&&l._reactName&&function(e,t,n){e&&n&&n._reactName&&(t=Q(e,n._reactName))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(t),n._dispatchInstances.push(e))}(l._targetInst,null,l):l&&l._reactName&&J(l._targetInst,$,l),a.unstable_batchedUpdates((function(){if(A(t),l){var e=l._dispatchListeners,n=l._dispatchInstances;if(R(e))for(var r=0;r<e.length&&!l.isPropagationStopped();r++)G(l,e[r],n[r]);else e&&G(l,e,n);l._dispatchListeners=null,l._dispatchInstances=null,l.isPersistent()||l.constructor.release(l)}if(x)throw e=P,x=!1,P=null,e})),K()}}return"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach((function(e){ee[e]=ne(e)})),t.__exports.Simulate=ee,t.__exports.act=W,t.__exports.findAllInRenderedTree=B,t.__exports.findRenderedComponentWithType=function(e,t){if(F(e,"findRenderedComponentWithType"),1!==(e=Z(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for componentType:"+t);return e[0]},t.__exports.findRenderedDOMComponentWithClass=function(e,t){if(F(e,"findRenderedDOMComponentWithClass"),1!==(e=z(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for class:"+t);return e[0]},t.__exports.findRenderedDOMComponentWithTag=function(e,t){if(F(e,"findRenderedDOMComponentWithTag"),1!==(e=H(e,t)).length)throw Error("Did not find exactly one match (found: "+e.length+") for tag:"+t);return e[0]},t.__exports.isCompositeComponent=V,t.__exports.isCompositeComponentWithType=q,t.__exports.isDOMComponent=j,t.__exports.isDOMComponentElement=function(e){return!!(e&&o.isValidElement(e)&&e.tagName)},t.__exports.isElement=function(e){return o.isValidElement(e)},t.__exports.isElementOfType=function(e,t){return o.isValidElement(e)&&e.type===t},t.__exports.mockComponent=function(e,t){return t=t||e.mockTagName||"div",e.prototype.render.mockImplementation((function(){return o.createElement(t,null,this.props.children)})),this},t.__exports.nativeTouchData=function(e,t){return{touches:[{pageX:e,pageY:t}]}},t.__exports.renderIntoDocument=function(e){var t=document.createElement("div");return a.render(e,t)},t.__exports.scryRenderedComponentsWithType=Z,t.__exports.scryRenderedDOMComponentsWithClass=z,t.__exports.scryRenderedDOMComponentsWithTag=H,t.__exports.traverseTwoPhase=J,t.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var t=require("react-dom");exports.hydrateRoot=void 0,exports.createRoot=void 0;var o=t;if("production"===process.env.NODE_ENV)exports.createRoot=o.createRoot,exports.hydrateRoot=o.hydrateRoot;else{var e=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;exports.createRoot=function(t,r){e.usingClientEntryPoint=!0;try{return o.createRoot(t,r)}finally{e.usingClientEntryPoint=!1}},exports.hydrateRoot=function(t,r,n){e.usingClientEntryPoint=!0;try{return o.hydrateRoot(t,r,n)}finally{e.usingClientEntryPoint=!1}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e
|
|
1
|
+
"use strict";var e=require("../../_virtual/test-utils.js"),t=require("./cjs/react-dom-test-utils.production.min.js"),r=require("./cjs/react-dom-test-utils.development.js");"production"===process.env.NODE_ENV?e.__module.exports=t.__require():e.__module.exports=r.__require();var s=e.__module.exports;exports.testUtilsExports=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e,r=require("../../../_virtual/react-is.development.js");
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-is.development.js
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/exports.__require=function(){return e||(e=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),_=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:var x=e.type;switch(x){case n:case c:case s:case p:case u:return x;default:var m=x&&x.$$typeof;switch(m){case _:case i:case f:case y:case l:case a:return m;default:return r}}case o:return r}}}e=Symbol.for("react.module.reference");var d=i,b=a,S=t,$=f,v=n,w=y,M=l,C=o,h=c,P=s,R=p,g=u,
|
|
10
|
+
*/exports.__require=function(){return e||(e=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),_=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:var x=e.type;switch(x){case n:case c:case s:case p:case u:return x;default:var m=x&&x.$$typeof;switch(m){case _:case i:case f:case y:case l:case a:return m;default:return r}}case o:return r}}}e=Symbol.for("react.module.reference");var d=i,b=a,S=t,$=f,v=n,w=y,M=l,C=o,h=c,P=s,R=p,g=u,E=!1,j=!1;r.__exports.ContextConsumer=d,r.__exports.ContextProvider=b,r.__exports.Element=S,r.__exports.ForwardRef=$,r.__exports.Fragment=v,r.__exports.Lazy=w,r.__exports.Memo=M,r.__exports.Portal=C,r.__exports.Profiler=h,r.__exports.StrictMode=P,r.__exports.Suspense=R,r.__exports.SuspenseList=g,r.__exports.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},r.__exports.isConcurrentMode=function(e){return j||(j=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},r.__exports.isContextConsumer=function(e){return m(e)===i},r.__exports.isContextProvider=function(e){return m(e)===a},r.__exports.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r.__exports.isForwardRef=function(e){return m(e)===f},r.__exports.isFragment=function(e){return m(e)===n},r.__exports.isLazy=function(e){return m(e)===y},r.__exports.isMemo=function(e){return m(e)===l},r.__exports.isPortal=function(e){return m(e)===o},r.__exports.isProfiler=function(e){return m(e)===c},r.__exports.isStrictMode=function(e){return m(e)===s},r.__exports.isSuspense=function(e){return m(e)===p},r.__exports.isSuspenseList=function(e){return m(e)===u},r.__exports.isValidElementType=function(r){return"string"==typeof r||"function"==typeof r||(r===n||r===c||r===s||r===p||r===u||r===x||"object"==typeof r&&null!==r&&(r.$$typeof===y||r.$$typeof===l||r.$$typeof===a||r.$$typeof===i||r.$$typeof===f||r.$$typeof===e||void 0!==r.getModuleId))},r.__exports.typeOf=m}()),r.__exports};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e,r=require("../../../_virtual/react-is.production.min.js");
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-is.production.min.js
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/exports.__require=function(){if(e)return r.__exports;e=1;var t,o=Symbol.for("react.element"),s=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),
|
|
10
|
+
*/exports.__require=function(){if(e)return r.__exports;e=1;var t,o=Symbol.for("react.element"),s=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),i=Symbol.for("react.context"),u=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function S(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case o:switch(e=e.type){case n:case c:case _:case a:case l:return e;default:switch(e=e&&e.$$typeof){case u:case i:case p:case y:case x:case f:return e;default:return r}}case s:return r}}}return t=Symbol.for("react.module.reference"),r.__exports.ContextConsumer=i,r.__exports.ContextProvider=f,r.__exports.Element=o,r.__exports.ForwardRef=p,r.__exports.Fragment=n,r.__exports.Lazy=y,r.__exports.Memo=x,r.__exports.Portal=s,r.__exports.Profiler=c,r.__exports.StrictMode=_,r.__exports.Suspense=a,r.__exports.SuspenseList=l,r.__exports.isAsyncMode=function(){return!1},r.__exports.isConcurrentMode=function(){return!1},r.__exports.isContextConsumer=function(e){return S(e)===i},r.__exports.isContextProvider=function(e){return S(e)===f},r.__exports.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},r.__exports.isForwardRef=function(e){return S(e)===p},r.__exports.isFragment=function(e){return S(e)===n},r.__exports.isLazy=function(e){return S(e)===y},r.__exports.isMemo=function(e){return S(e)===x},r.__exports.isPortal=function(e){return S(e)===s},r.__exports.isProfiler=function(e){return S(e)===c},r.__exports.isStrictMode=function(e){return S(e)===_},r.__exports.isSuspense=function(e){return S(e)===a},r.__exports.isSuspenseList=function(e){return S(e)===l},r.__exports.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===_||e===a||e===l||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===x||e.$$typeof===f||e.$$typeof===i||e.$$typeof===p||e.$$typeof===t||void 0!==e.getModuleId)},r.__exports.typeOf=S,r.__exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e
|
|
1
|
+
"use strict";var e=require("../../_virtual/index.js"),r=require("./cjs/react-is.production.min.js"),s=require("./cjs/react-is.development.js");"production"===process.env.NODE_ENV?e.__module.exports=r.__require():e.__module.exports=s.__require();var o=e.__module.exports;exports.reactIsExports=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t,i,s,n=require("../../_virtual/implementation.js"),
|
|
1
|
+
"use strict";var e,t,i,s,n=require("../../_virtual/implementation.js"),o=require("../functions-have-names/index.js");e=n.__module,t=o.functionsHaveNames_1.functionsHaveConfigurableNames(),i=Object,s=TypeError,e.exports=function(){if(null!=this&&this!==i(this))throw new s("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"});var r=n.__module.exports;exports.implementationExports=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../define-properties/index.js")
|
|
1
|
+
"use strict";var e=require("../define-properties/index.js"),i=require("../call-bind/index.js"),r=require("./implementation.js"),l=require("./polyfill.js"),s=require("./shim.js"),t=e.defineProperties_1,p=i.callBindExports,o=r.implementationExports,n=l.polyfill,m=s.shim,a=p(n());t(a,{getPolyfill:n,implementation:o,shim:m});var d=a;exports.regexp_prototype_flags=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./implementation.js")
|
|
1
|
+
"use strict";var e=require("./implementation.js"),t=require("../define-properties/index.js"),r=e.implementationExports,o=t.defineProperties_1.supportsDescriptors,i=Object.getOwnPropertyDescriptor;exports.polyfill=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",p={};if(Object.defineProperty(p,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(p,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../define-properties/index.js"),r=require("./polyfill.js"),t=e.supportsDescriptors,o=r,p=Object.getOwnPropertyDescriptor,s=Object.defineProperty,i=TypeError,n=Object.getPrototypeOf,
|
|
1
|
+
"use strict";var e=require("../define-properties/index.js"),r=require("./polyfill.js"),t=e.defineProperties_1.supportsDescriptors,o=r.polyfill,p=Object.getOwnPropertyDescriptor,s=Object.defineProperty,i=TypeError,n=Object.getPrototypeOf,f=/a/;exports.shim=function(){if(!t||!n)throw new i("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),r=n(f),l=p(r,"flags");return l&&l.get===e||s(r,"flags",{configurable:!0,enumerable:!1,get:e}),e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../get-intrinsic/index.js"),t=require("../call-bind/callBound.js"),n=require("../object-inspect/index.js"),r=e("%TypeError%"),
|
|
1
|
+
"use strict";var e=require("../get-intrinsic/index.js"),t=require("../call-bind/callBound.js"),n=require("../object-inspect/index.js"),r=e.getIntrinsic,o=t.callBound,i=n.objectInspect,u=r("%TypeError%"),a=r("%WeakMap%",!0),f=r("%Map%",!0),p=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),s=o("WeakMap.prototype.has",!0),l=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),x=o("Map.prototype.has",!0),d=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};exports.sideChannel=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new u("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(f){if(t)return l(t,r)}else if(n)return function(e,t){var n=d(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return s(e,r)}else if(f){if(t)return x(t,r)}else if(n)return function(e,t){return!!d(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),c(e,r,o)):f?(t||(t=new f),y(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=d(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../react-is/index.js");var e=require("react"),t=require("../../@emotion/stylis/dist/stylis.esm.js"),n=require("../../@emotion/unitless/dist/unitless.cjs.js"),r=require("../../@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"),o=require("../../hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),s=require("../../../_virtual/index.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},l=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!s.reactIs.exports.typeOf(e)},d=Object.freeze([]),p=Object.freeze({});function h(e){return"function"==typeof e}function f(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function m(e){return e&&"string"==typeof e.styledComponentId}var y="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",v="undefined"!=typeof window&&"HTMLElement"in window,g=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),S="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function w(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(w.apply(void 0,[S[e]].concat(n)).trim())}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&b(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),_=new Map,C=new Map,N=1,A=function(e){if(_.has(e))return _.get(e);for(;C.has(N);)N++;var t=N++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&b(16,""+t),_.set(e,t),C.set(t,e),t},I=function(e){return C.get(e)},P=function(e,t){t>=N&&(N=t+1),_.set(e,t),C.set(t,e)},R="style["+y+'][data-styled-version="5.3.6"]',j=new RegExp("^"+y+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},O=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(j);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(P(u,c),D(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(i)}}},x=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(y))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(y,"active"),r.setAttribute("data-styled-version","5.3.6");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},T=function(){function e(e){var t=this.element=x(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}b(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),k=function(){function e(e){var t=this.element=x(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),V=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),z=v,B={isServer:!v,useCSSOMInjection:!g},q=function(){function e(e,t,n){void 0===e&&(e=p),void 0===t&&(t={}),this.options=c({},B,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&v&&z&&(z=!1,function(e){for(var t=document.querySelectorAll(R),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(y)&&(O(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return A(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(c({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new V(o):r?new T(o):new k(o),new E(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(A(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(A(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(A(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=I(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=y+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),F=/(a)(d)/gi,L=function(e){return String.fromCharCode(e+(e>25?39:97))};function M(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=L(t%52)+n;return(L(t%52)+n).replace(F,"$1-$2")}var G=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Y=function(e){return G(5381,e)};var $=Y("5.3.6"),H=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(h(n)&&!m(n))return!1}return!0}(e),this.componentId=t,this.baseHash=G($,t),this.baseStyle=n,q.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var s=ie(this.rules,e,t,n).join(""),i=M(G(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,u=G(this.baseHash,n.hash),l="",d=0;d<c;d++){var p=this.rules[d];if("string"==typeof p)l+=p,"production"!==process.env.NODE_ENV&&(u=G(u,p+d));else if(p){var h=ie(p,e,t,n),f=Array.isArray(h)?h.join(""):h;u=G(u,f+d),l+=f}}if(l){var m=M(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y)}o.push(m)}}return o.join(" ")},e}(),U=/^\s*\/\/.*$/gm,W=[":","[",".","#"];var Z=a.default.createContext();Z.Consumer;var J=a.default.createContext(),X=(J.Consumer,new q),K=function(e){var n,r,o,s,i=void 0===e?p:e,a=i.options,c=void 0===a?p:a,u=i.plugins,l=void 0===u?d:u,h=new t(c),f=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),y=function(e,t,o){return 0===t&&-1!==W.indexOf(o[r.length])||o.match(s)?e:"."+n};function v(e,t,i,a){void 0===a&&(a="&");var c=e.replace(U,""),u=t&&i?i+" "+t+" { "+c+" }":c;return n=a,r=t,o=new RegExp("\\"+r+"\\b","g"),s=new RegExp("(\\"+r+"\\b){2,}"),h(i||!t?"":t,u)}return h.use([].concat(l,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,y))},m,function(e){if(-2===e){var t=f;return f=[],t}}])),v.hash=l.length?l.reduce((function(e,t){return t.name||b(15),G(e,t.name)}),5381).toString():"",v}();var Q=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=K);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return b(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=K),this.name+e.hash},e}(),ee=/([A-Z])/,te=/([A-Z])/g,ne=/^ms-/,re=function(e){return"-"+e.toLowerCase()};function oe(e){return ee.test(e)?e.replace(te,re).replace(ne,"-ms-"):e}var se=function(e){return null==e||!1===e||""===e};function ie(e,t,r,o){if(Array.isArray(e)){for(var i,a=[],c=0,u=e.length;c<u;c+=1)""!==(i=ie(e[c],t,r,o))&&(Array.isArray(i)?a.push.apply(a,i):a.push(i));return a}if(se(e))return"";if(m(e))return"."+e.styledComponentId;if(h(e)){if("function"!=typeof(p=e)||p.prototype&&p.prototype.isReactComponent||!t)return e;var d=e(t);return"production"!==process.env.NODE_ENV&&s.reactIs.exports.isElement(d)&&console.warn(f(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),ie(d,t,r,o)}var p;return e instanceof Q?r?(e.inject(r,o),e.getName(o)):e:l(e)?function e(t,r){var o,s,i=[];for(var a in t)t.hasOwnProperty(a)&&!se(t[a])&&(Array.isArray(t[a])&&t[a].isCss||h(t[a])?i.push(oe(a)+":",t[a],";"):l(t[a])?i.push.apply(i,e(t[a],a)):i.push(oe(a)+": "+(o=a,(null==(s=t[a])||"boolean"==typeof s||""===s?"":"number"!=typeof s||0===s||o in n?String(s).trim():s+"px")+";")));return r?[r+" {"].concat(i,["}"]):i}(e):e.toString()}var ae=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return h(e)||l(e)?ae(ie(u(d,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ae(ie(u(e,n)))}var ue=/invalid hook call/i,le=new Set,de=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,pe=/(^-|-$)/g;function he(e){return e.replace(de,"-").replace(pe,"")}function fe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var me=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ye=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ve(e,t,n){var r=e[n];me(t)&&me(r)?ge(r,t):e[n]=t}function ge(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(me(i))for(var a in i)ye(a)&&ve(e,i[a],a)}return e}var Se=a.default.createContext();Se.Consumer;var we={};function be(t,n,s){var i=m(t),u=!fe(t),l=n.attrs,y=void 0===l?d:l,v=n.componentId,g=void 0===v?function(e,t){var n="string"!=typeof e?"sc":he(e);we[n]=(we[n]||0)+1;var r=n+"-"+function(e){return M(Y(e)>>>0)}("5.3.6"+n+we[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):v,S=n.displayName,w=void 0===S?function(e){return fe(e)?"styled."+e:"Styled("+f(e)+")"}(t):S,b=n.displayName&&n.componentId?he(n.displayName)+"-"+n.componentId:n.componentId||g,E=i&&t.attrs?Array.prototype.concat(t.attrs,y).filter(Boolean):y,_=n.shouldForwardProp;i&&t.shouldForwardProp&&(_=n.shouldForwardProp?function(e,r,o){return t.shouldForwardProp(e,r,o)&&n.shouldForwardProp(e,r,o)}:t.shouldForwardProp);var C,N=new H(s,b,i?t.componentStyle:void 0),A=N.isStatic&&0===y.length,I=function(t,n){return function(t,n,o,s){var i=t.attrs,a=t.componentStyle,u=t.defaultProps,l=t.foldedComponentIds,d=t.shouldForwardProp,f=t.styledComponentId,m=t.target;"production"!==process.env.NODE_ENV&&e.useDebugValue(f);var y=function(e,t,n){void 0===e&&(e=p);var r=c({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in h(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t]})),[r,o]}(function(e,t,n){return void 0===n&&(n=p),e.theme!==n.theme&&e.theme||t||n.theme}(n,e.useContext(Se),u)||p,n,i),v=y[0],g=y[1],S=function(t,n,r,o){var s=e.useContext(Z)||X,i=e.useContext(J)||K,a=n?t.generateAndInjectStyles(p,s,i):t.generateAndInjectStyles(r,s,i);return"production"!==process.env.NODE_ENV&&e.useDebugValue(a),"production"!==process.env.NODE_ENV&&!n&&o&&o(a),a}(a,s,v,"production"!==process.env.NODE_ENV?t.warnTooManyClasses:void 0),w=o,b=g.$as||n.$as||g.as||n.as||m,E=fe(b),_=g!==n?c({},n,{},g):n,C={};for(var N in _)"$"!==N[0]&&"as"!==N&&("forwardedAs"===N?C.as=_[N]:(d?d(N,r,b):!E||r(N))&&(C[N]=_[N]));return n.style&&g.style!==n.style&&(C.style=c({},n.style,{},g.style)),C.className=Array.prototype.concat(l,f,S!==f?S:null,n.className,g.className).filter(Boolean).join(" "),C.ref=w,e.createElement(b,C)}(C,t,n,A)};return I.displayName=w,(C=a.default.forwardRef(I)).attrs=E,C.componentStyle=N,C.displayName=w,C.shouldForwardProp=_,C.foldedComponentIds=i?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):d,C.styledComponentId=b,C.target=i?t.target:t,C.withComponent=function(e){var t=n.componentId,r=function(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),o=t&&t+"-"+(fe(e)?e:he(f(e)));return be(e,c({},r,{attrs:E,componentId:o}),s)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?ge({},t.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(function(t,n){if("production"!==process.env.NODE_ENV){var r="The component "+t+(n?' with the id of "'+n+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var s=!0;console.error=function(e){if(ue.test(e))s=!1,le.delete(r);else{for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];o.apply(void 0,[e].concat(n))}},e.useRef(),s&&!le.has(r)&&(console.warn(r),le.add(r))}catch(t){ue.test(t.message)&&le.delete(r)}finally{console.error=o}}}(w,b),C.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+s+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(w,b)),C.toString=function(){return"."+C.styledComponentId},u&&o(C,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var Ee=function(e){return function e(t,n,r){if(void 0===r&&(r=p),!s.reactIs.exports.isValidElementType(n))return b(1,String(n));var o=function(){return t(n,r,ce.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,c({},r,{},o))},o.attrs=function(o){return e(t,n,c({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(be,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ee[e]=Ee(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1),exports.StyleSheetContext=Z,exports.ThemeContext=Se,exports.css=ce,exports.default=Ee,exports.isStyledComponent=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../react-is/index.js"),t=require("react"),n=require("../../@emotion/stylis/dist/stylis.esm.js"),r=require("../../@emotion/unitless/dist/unitless.esm.js"),o=require("../../@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"),s=require("../../hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},c=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!e.reactIsExports.typeOf(t)},u=Object.freeze([]),l=Object.freeze({});function d(e){return"function"==typeof e}function p(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function h(e){return e&&"string"==typeof e.styledComponentId}var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="undefined"!=typeof window&&"HTMLElement"in window,y=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV)),v="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function g(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function S(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(g.apply(void 0,[v[e]].concat(n)).trim())}var w=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&S(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),b=new Map,E=new Map,_=1,C=function(e){if(b.has(e))return b.get(e);for(;E.has(_);)_++;var t=_++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&S(16,""+t),b.set(e,t),E.set(t,e),t},A=function(e){return E.get(e)},N=function(e,t){t>=_&&(_=t+1),b.set(e,t),E.set(t,e)},I="style["+f+'][data-styled-version="5.3.11"]',P=new RegExp("^"+f+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),R=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},j=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(P);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(N(u,c),R(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(i)}}},O=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(f))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(f,"active"),r.setAttribute("data-styled-version","5.3.11");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},x=function(){function e(e){var t=this.element=O(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}S(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),D=function(){function e(e){var t=this.element=O(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),T=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),k=m,z={isServer:!m,useCSSOMInjection:!y},B=function(){function e(e,t,n){void 0===e&&(e=l),void 0===t&&(t={}),this.options=i({},z,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&m&&k&&(k=!1,function(e){for(var t=document.querySelectorAll(I),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(f)&&(j(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return C(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(i({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new T(o):r?new x(o):new D(o),new w(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(C(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(C(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(C(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=A(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=f+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),V=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function F(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=q(t%52)+n;return(q(t%52)+n).replace(V,"$1-$2")}var L=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},M=function(e){return L(5381,e)};var G=M("5.3.11"),Y=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(d(n)&&!h(n))return!1}return!0}(e),this.componentId=t,this.baseHash=L(G,t),this.baseStyle=n,B.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var s=ie(this.rules,e,t,n).join(""),i=F(L(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,u=L(this.baseHash,n.hash),l="",d=0;d<c;d++){var p=this.rules[d];if("string"==typeof p)l+=p,"production"!==process.env.NODE_ENV&&(u=L(u,p+d));else if(p){var h=ie(p,e,t,n),f=Array.isArray(h)?h.join(""):h;u=L(u,f+d),l+=f}}if(l){var m=F(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y)}o.push(m)}}return o.join(" ")},e}(),$=/^\s*\/\/.*$/gm,H=[":","[",".","#"];var U=t.createContext();U.Consumer;var W=t.createContext(),Z=(W.Consumer,new B),J=function(e){var t,r,o,s,i=void 0===e?l:e,a=i.options,c=void 0===a?l:a,d=i.plugins,p=void 0===d?u:d,h=new n(c),f=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),y=function(e,n,o){return 0===n&&-1!==H.indexOf(o[r.length])||o.match(s)?e:"."+t};function v(e,n,i,a){void 0===a&&(a="&");var c=e.replace($,""),u=n&&i?i+" "+n+" { "+c+" }":c;return t=a,r=n,o=new RegExp("\\"+r+"\\b","g"),s=new RegExp("(\\"+r+"\\b){2,}"),h(i||!n?"":n,u)}return h.use([].concat(p,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,y))},m,function(e){if(-2===e){var t=f;return f=[],t}}])),v.hash=p.length?p.reduce((function(e,t){return t.name||S(15),L(e,t.name)}),5381).toString():"",v}();function X(){return t.useContext(U)||Z}function K(){return t.useContext(W)||J}var Q=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=J);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=J),this.name+e.hash},e}(),ee=/([A-Z])/,te=/([A-Z])/g,ne=/^ms-/,re=function(e){return"-"+e.toLowerCase()};function oe(e){return ee.test(e)?e.replace(te,re).replace(ne,"-ms-"):e}var se=function(e){return null==e||!1===e||""===e};function ie(t,n,o,s){if(Array.isArray(t)){for(var i,a=[],u=0,l=t.length;u<l;u+=1)""!==(i=ie(t[u],n,o,s))&&(Array.isArray(i)?a.push.apply(a,i):a.push(i));return a}if(se(t))return"";if(h(t))return"."+t.styledComponentId;if(d(t)){if("function"!=typeof(m=t)||m.prototype&&m.prototype.isReactComponent||!n)return t;var f=t(n);return"production"!==process.env.NODE_ENV&&e.reactIsExports.isElement(f)&&console.warn(p(t)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),ie(f,n,o,s)}var m;return t instanceof Q?o?(t.inject(o,s),t.getName(s)):t:c(t)?function e(t,n){var o,s,i=[];for(var a in t)t.hasOwnProperty(a)&&!se(t[a])&&(Array.isArray(t[a])&&t[a].isCss||d(t[a])?i.push(oe(a)+":",t[a],";"):c(t[a])?i.push.apply(i,e(t[a],a)):i.push(oe(a)+": "+(o=a,(null==(s=t[a])||"boolean"==typeof s||""===s?"":"number"!=typeof s||0===s||o in r||o.startsWith("--")?String(s).trim():s+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(t):t.toString()}var ae=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return d(e)||c(e)?ae(ie(a(u,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ae(ie(a(e,n)))}var ue=/invalid hook call/i,le=new Set,de=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,pe=/(^-|-$)/g;function he(e){return e.replace(de,"-").replace(pe,"")}function fe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var me=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ye=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ve(e,t,n){var r=e[n];me(t)&&me(r)?ge(r,t):e[n]=t}function ge(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(me(i))for(var a in i)ye(a)&&ve(e,i[a],a)}return e}var Se=t.createContext();Se.Consumer;var we={};function be(e,n,r){var a=h(e),c=!fe(e),f=n.attrs,m=void 0===f?u:f,y=n.componentId,v=void 0===y?function(e,t){var n="string"!=typeof e?"sc":he(e);we[n]=(we[n]||0)+1;var r=n+"-"+function(e){return F(M(e)>>>0)}("5.3.11"+n+we[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):y,g=n.displayName,S=void 0===g?function(e){return fe(e)?"styled."+e:"Styled("+p(e)+")"}(e):g,w=n.displayName&&n.componentId?he(n.displayName)+"-"+n.componentId:n.componentId||v,b=a&&e.attrs?Array.prototype.concat(e.attrs,m).filter(Boolean):m,E=n.shouldForwardProp;a&&e.shouldForwardProp&&(E=n.shouldForwardProp?function(t,r,o){return e.shouldForwardProp(t,r,o)&&n.shouldForwardProp(t,r,o)}:e.shouldForwardProp);var _,C=new Y(r,w,a?e.componentStyle:void 0),A=C.isStatic&&0===m.length,N=function(e,n){return function(e,n,r,s){var a=e.attrs,c=e.componentStyle,u=e.defaultProps,p=e.foldedComponentIds,h=e.shouldForwardProp,f=e.styledComponentId,m=e.target,y=function(e,t,n){void 0===e&&(e=l);var r=i({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in d(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t]})),[r,o]}(function(e,t,n){return void 0===n&&(n=l),e.theme!==n.theme&&e.theme||t||n.theme}(n,t.useContext(Se),u)||l,n,a),v=y[0],g=y[1],S=function(e,t,n,r){var o=X(),s=K(),i=t?e.generateAndInjectStyles(l,o,s):e.generateAndInjectStyles(n,o,s);return"production"!==process.env.NODE_ENV&&!t&&r&&r(i),i}(c,s,v,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),w=r,b=g.$as||n.$as||g.as||n.as||m,E=fe(b),_=g!==n?i({},n,{},g):n,C={};for(var A in _)"$"!==A[0]&&"as"!==A&&("forwardedAs"===A?C.as=_[A]:(h?h(A,o,b):!E||o(A))&&(C[A]=_[A]));return n.style&&g.style!==n.style&&(C.style=i({},n.style,{},g.style)),C.className=Array.prototype.concat(p,f,S!==f?S:null,n.className,g.className).filter(Boolean).join(" "),C.ref=w,t.createElement(b,C)}(_,e,n,A)};return N.displayName=S,(_=t.forwardRef(N)).attrs=b,_.componentStyle=C,_.displayName=S,_.shouldForwardProp=E,_.foldedComponentIds=a?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):u,_.styledComponentId=w,_.target=a?e.target:e,_.withComponent=function(e){var t=n.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),s=t&&t+"-"+(fe(e)?e:he(p(e)));return be(e,i({},o,{attrs:b,componentId:s}),r)},Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?ge({},e.defaultProps,t):t}}),"production"!==process.env.NODE_ENV&&(function(e,n){if("production"!==process.env.NODE_ENV){var r="The component "+e+(n?' with the id of "'+n+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var s=!0;console.error=function(e){if(ue.test(e))s=!1,le.delete(r);else{for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];o.apply(void 0,[e].concat(n))}},t.useRef(),s&&!le.has(r)&&(console.warn(r),le.add(r))}catch(e){ue.test(e.message)&&le.delete(r)}finally{console.error=o}}}(S,w),_.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+s+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(S,w)),Object.defineProperty(_,"toString",{value:function(){return"."+_.styledComponentId}}),c&&s(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),_}var Ee=function(t){return function t(n,r,o){if(void 0===o&&(o=l),!e.reactIsExports.isValidElementType(r))return S(1,String(r));var s=function(){return n(r,o,ce.apply(void 0,arguments))};return s.withConfig=function(e){return t(n,r,i({},o,{},e))},s.attrs=function(e){return t(n,r,i({},o,{attrs:Array.prototype.concat(o.attrs,e).filter(Boolean)}))},s}(be,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ee[e]=Ee(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var _e=Ee;exports.StyleSheetContext=U,exports.ThemeContext=Se,exports.css=ce,exports.default=_e,exports.isStyledComponent=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=require("../../../_virtual/_commonjsHelpers.js"),e=require("../../../_virtual/ua-parser.js");!function(e,o){!function(i,r){var a="function",n="undefined",s="object",t="string",b="model",w="name",l="type",d="vendor",u="version",c="architecture",m="console",p="mobile",h="tablet",f="smarttv",v="wearable",g="embedded",x="Amazon",k="Apple",y="ASUS",_="BlackBerry",q="Firefox",T="Google",S="Huawei",z="LG",N="Microsoft",C="Motorola",A="Opera",j="Samsung",O="Sharp",E="Sony",B="Xiaomi",U="Zebra",R="Facebook",P=function(i){for(var e={},o=0;o<i.length;o++)e[i[o].toUpperCase()]=i[o];return e},M=function(i,e){return typeof i===t&&-1!==V(e).indexOf(V(i))},V=function(i){return i.toLowerCase()},F=function(i,e){if(typeof i===t)return i=i.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===n?i:i.substring(0,350)},D=function(i,e){for(var o,n,t,b,w,l,d=0;d<e.length&&!w;){var u=e[d],c=e[d+1];for(o=n=0;o<u.length&&!w;)if(w=u[o++].exec(i))for(t=0;t<c.length;t++)l=w[++n],typeof(b=c[t])===s&&b.length>0?2===b.length?typeof b[1]==a?this[b[0]]=b[1].call(this,l):this[b[0]]=b[1]:3===b.length?typeof b[1]!==a||b[1].exec&&b[1].test?this[b[0]]=l?l.replace(b[1],b[2]):r:this[b[0]]=l?b[1].call(this,l,b[2]):r:4===b.length&&(this[b[0]]=l?b[3].call(this,l.replace(b[1],b[2])):r):this[b]=l||r;d+=2}},I=function(i,e){for(var o in e)if(typeof e[o]===s&&e[o].length>0){for(var a=0;a<e[o].length;a++)if(M(e[o][a],i))return"?"===o?r:o}else if(M(e[o],i))return"?"===o?r:o;return i},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[w,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[w,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[w,u],[/opios[\/ ]+([\w\.]+)/i],[u,[w,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[u,[w,A]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[w,u],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[w,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[u,[w,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[u,[w,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[w,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[w,"IE"]],[/yabrowser\/([\w\.]+)/i],[u,[w,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[w,/(.+)/,"$1 Secure Browser"],u],[/\bfocus\/([\w\.]+)/i],[u,[w,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[u,[w,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[w,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[w,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[w,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[w,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[u,[w,q]],[/\bqihu|(qi?ho?o?|360)browser/i],[[w,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[w,/(.+)/,"$1 Browser"],u],[/(comodo_dragon)\/([\w\.]+)/i],[[w,/_/g," "],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[w,u],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[w],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[w,R],u],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[w,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[w,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[w,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[w,"Chrome WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[w,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[w,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[w,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,w],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[w,[u,I,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[w,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[w,"Netscape"],u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[w,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[w,u]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[c,"amd64"]],[/(ia32(?=;))/i],[[c,V]],[/((?:i[346]|x)86)[;\)]/i],[[c,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[c,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[c,"armhf"]],[/windows (ce|mobile); ppc;/i],[[c,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[c,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[c,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[c,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[b,[d,j],[l,h]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[b,[d,j],[l,p]],[/\((ip(?:hone|od)[\w ]*);/i],[b,[d,k],[l,p]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[b,[d,k],[l,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[b,[d,S],[l,h]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[b,[d,S],[l,p]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[b,/_/g," "],[d,B],[l,p]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[b,/_/g," "],[d,B],[l,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[b,[d,"OPPO"],[l,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[b,[d,"Vivo"],[l,p]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[b,[d,"Realme"],[l,p]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[b,[d,C],[l,p]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[b,[d,C],[l,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[b,[d,z],[l,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[b,[d,z],[l,p]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[b,[d,"Lenovo"],[l,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[b,/_/g," "],[d,"Nokia"],[l,p]],[/(pixel c)\b/i],[b,[d,T],[l,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[b,[d,T],[l,p]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[b,[d,E],[l,p]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[b,"Xperia Tablet"],[d,E],[l,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[b,[d,"OnePlus"],[l,p]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[b,[d,x],[l,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[b,/(.+)/g,"Fire Phone $1"],[d,x],[l,p]],[/(playbook);[-\w\),; ]+(rim)/i],[b,d,[l,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[b,[d,_],[l,p]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[b,[d,y],[l,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[b,[d,y],[l,p]],[/(nexus 9)/i],[b,[d,"HTC"],[l,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[b,/_/g," "],[l,p]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[b,[d,"Acer"],[l,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[b,[d,"Meizu"],[l,p]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[b,[d,O],[l,p]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,b,[l,p]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,b,[l,h]],[/(surface duo)/i],[b,[d,N],[l,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[b,[d,"Fairphone"],[l,p]],[/(u304aa)/i],[b,[d,"AT&T"],[l,p]],[/\bsie-(\w*)/i],[b,[d,"Siemens"],[l,p]],[/\b(rct\w+) b/i],[b,[d,"RCA"],[l,h]],[/\b(venue[\d ]{2,7}) b/i],[b,[d,"Dell"],[l,h]],[/\b(q(?:mv|ta)\w+) b/i],[b,[d,"Verizon"],[l,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[b,[d,"Barnes & Noble"],[l,h]],[/\b(tm\d{3}\w+) b/i],[b,[d,"NuVision"],[l,h]],[/\b(k88) b/i],[b,[d,"ZTE"],[l,h]],[/\b(nx\d{3}j) b/i],[b,[d,"ZTE"],[l,p]],[/\b(gen\d{3}) b.+49h/i],[b,[d,"Swiss"],[l,p]],[/\b(zur\d{3}) b/i],[b,[d,"Swiss"],[l,h]],[/\b((zeki)?tb.*\b) b/i],[b,[d,"Zeki"],[l,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],b,[l,h]],[/\b(ns-?\w{0,9}) b/i],[b,[d,"Insignia"],[l,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[b,[d,"NextBook"],[l,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],b,[l,p]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],b,[l,p]],[/\b(ph-1) /i],[b,[d,"Essential"],[l,p]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[b,[d,"Envizen"],[l,h]],[/\b(trio[-\w\. ]+) b/i],[b,[d,"MachSpeed"],[l,h]],[/\btu_(1491) b/i],[b,[d,"Rotor"],[l,h]],[/(shield[\w ]+) b/i],[b,[d,"Nvidia"],[l,h]],[/(sprint) (\w+)/i],[d,b,[l,p]],[/(kin\.[onetw]{3})/i],[[b,/\./g," "],[d,N],[l,p]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[b,[d,U],[l,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[b,[d,U],[l,p]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,b,[l,m]],[/droid.+; (shield) bui/i],[b,[d,"Nvidia"],[l,m]],[/(playstation [345portablevi]+)/i],[b,[d,E],[l,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[b,[d,N],[l,m]],[/smart-tv.+(samsung)/i],[d,[l,f]],[/hbbtv.+maple;(\d+)/i],[[b,/^/,"SmartTV"],[d,j],[l,f]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,z],[l,f]],[/(apple) ?tv/i],[d,[b,"Apple TV"],[l,f]],[/crkey/i],[[b,"Chromecast"],[d,T],[l,f]],[/droid.+aft(\w)( bui|\))/i],[b,[d,x],[l,f]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[b,[d,O],[l,f]],[/(bravia[\w ]+)( bui|\))/i],[b,[d,E],[l,f]],[/(mitv-\w{5}) bui/i],[b,[d,B],[l,f]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[b,F],[l,f]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,f]],[/((pebble))app/i],[d,b,[l,v]],[/droid.+; (glass) \d/i],[b,[d,T],[l,v]],[/droid.+; (wt63?0{2,3})\)/i],[b,[d,U],[l,v]],[/(quest( 2)?)/i],[b,[d,R],[l,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[b,[l,p]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[b,[l,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,h]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,p]],[/(android[-\w\. ]{0,9});.+buil/i],[b,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[w,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[w,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[w,u],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,u],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[w,[u,I,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,"Windows"],[u,I,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[w,"Mac OS"],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[w,u],[/\(bb(10);/i],[u,[w,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[u,[w,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[w,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[w,"webOS"]],[/crkey\/([\d\.]+)/i],[u,[w,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[w,"Chromium OS"],u],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[w,u],[/(sunos) ?([\w\.\d]*)/i],[[w,"Solaris"],u],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[w,u]]},H=function(e,o){if(typeof e===s&&(o=e,e=r),!(this instanceof H))return new H(e,o).getResult();var a=e||(typeof i!==n&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),b=o?function(i,e){var o={};for(var r in i)e[r]&&e[r].length%2==0?o[r]=e[r].concat(i[r]):o[r]=i[r];return o}(W,o):W;return this.getBrowser=function(){var i,e={};return e.name=r,e.version=r,D.call(e,a,b.browser),e.major=typeof(i=e.version)===t?i.replace(/[^\d\.]/g,"").split(".")[0]:r,e},this.getCPU=function(){var i={};return i.architecture=r,D.call(i,a,b.cpu),i},this.getDevice=function(){var i={};return i.vendor=r,i.model=r,i.type=r,D.call(i,a,b.device),i},this.getEngine=function(){var i={};return i.name=r,i.version=r,D.call(i,a,b.engine),i},this.getOS=function(){var i={};return i.name=r,i.version=r,D.call(i,a,b.os),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return a},this.setUA=function(i){return a=typeof i===t&&i.length>350?F(i,350):i,this},this.setUA(a),this};H.VERSION="1.0.32",H.BROWSER=P([w,u,"major"]),H.CPU=P([c]),H.DEVICE=P([b,d,l,m,p,f,h,v,g]),H.ENGINE=H.OS=P([w,u]),e.exports&&(o=e.exports=H),o.UAParser=H;var L=typeof i!==n&&(i.jQuery||i.Zepto);if(L&&!L.ua){var Z=new H;L.ua=Z.getResult(),L.ua.get=function(){return Z.getUA()},L.ua.set=function(i){Z.setUA(i);var e=Z.getResult();for(var o in e)L.ua[o]=e[o]}}}("object"==typeof window?window:i.commonjsGlobal)}(e.uaParser,e.uaParser.exports);var o=e.uaParser.exports;module.exports=o;
|
|
1
|
+
"use strict";var i=require("../../../_virtual/_commonjsHelpers.js"),e=require("../../../_virtual/ua-parser.js");!function(e,o){!function(i,a){var r="function",t="undefined",n="object",s="string",b="major",w="model",l="name",d="type",c="vendor",u="version",m="architecture",p="console",h="mobile",f="tablet",v="smarttv",g="wearable",x="embedded",k="Amazon",y="Apple",_="ASUS",T="BlackBerry",q="Browser",S="Chrome",z="Firefox",N="Google",A="Huawei",j="LG",C="Microsoft",E="Motorola",O="Opera",U="Samsung",R="Sharp",M="Sony",P="Xiaomi",B="Zebra",D="Facebook",V="Chromium OS",I="Mac OS",F=function(i){for(var e={},o=0;o<i.length;o++)e[i[o].toUpperCase()]=i[o];return e},G=function(i,e){return typeof i===s&&-1!==H(e).indexOf(H(i))},H=function(i){return i.toLowerCase()},W=function(i,e){if(typeof i===s)return i=i.replace(/^\s\s*/,""),typeof e===t?i:i.substring(0,350)},L=function(i,e){for(var o,t,s,b,w,l,d=0;d<e.length&&!w;){var c=e[d],u=e[d+1];for(o=t=0;o<c.length&&!w&&c[o];)if(w=c[o++].exec(i))for(s=0;s<u.length;s++)l=w[++t],typeof(b=u[s])===n&&b.length>0?2===b.length?typeof b[1]==r?this[b[0]]=b[1].call(this,l):this[b[0]]=b[1]:3===b.length?typeof b[1]!==r||b[1].exec&&b[1].test?this[b[0]]=l?l.replace(b[1],b[2]):a:this[b[0]]=l?b[1].call(this,l,b[2]):a:4===b.length&&(this[b[0]]=l?b[3].call(this,l.replace(b[1],b[2])):a):this[b]=l||a;d+=2}},Z=function(i,e){for(var o in e)if(typeof e[o]===n&&e[o].length>0){for(var r=0;r<e[o].length;r++)if(G(e[o][r],i))return"?"===o?a:o}else if(G(e[o],i))return"?"===o?a:o;return i},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,u],[/opios[\/ ]+([\w\.]+)/i],[u,[l,O+" Mini"]],[/\bopr\/([\w\.]+)/i],[u,[l,O]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,u],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[l,"UC"+q]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[u,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[u,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[u,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+q],u],[/\bfocus\/([\w\.]+)/i],[u,[l,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[u,[l,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[l,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[l,"MIUI "+q]],[/fxios\/([-\w\.]+)/i],[u,[l,z]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+q]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+q],u],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,u],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,D],u],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[u,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[l,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,S+" WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[l,"Android "+q]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[u,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[l,z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,u],[/(cobalt)\/([\w\.]+)/i],[l,[u,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,H]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",H]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,H]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[w,[c,U],[d,f]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[w,[c,U],[d,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[w,[c,y],[d,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[w,[c,y],[d,f]],[/(macintosh);/i],[w,[c,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[w,[c,R],[d,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[w,[c,A],[d,f]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[w,[c,A],[d,h]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[w,/_/g," "],[c,P],[d,h]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[w,/_/g," "],[c,P],[d,f]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[w,[c,"OPPO"],[d,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[w,[c,"Vivo"],[d,h]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[w,[c,"Realme"],[d,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[w,[c,E],[d,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[w,[c,E],[d,f]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[w,[c,j],[d,f]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[w,[c,j],[d,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[w,[c,"Lenovo"],[d,f]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[w,/_/g," "],[c,"Nokia"],[d,h]],[/(pixel c)\b/i],[w,[c,N],[d,f]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[w,[c,N],[d,h]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[w,[c,M],[d,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[w,"Xperia Tablet"],[c,M],[d,f]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[w,[c,"OnePlus"],[d,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[w,[c,k],[d,f]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[w,/(.+)/g,"Fire Phone $1"],[c,k],[d,h]],[/(playbook);[-\w\),; ]+(rim)/i],[w,c,[d,f]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[w,[c,T],[d,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[w,[c,_],[d,f]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[w,[c,_],[d,h]],[/(nexus 9)/i],[w,[c,"HTC"],[d,f]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[c,[w,/_/g," "],[d,h]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[w,[c,"Acer"],[d,f]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[w,[c,"Meizu"],[d,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[c,w,[d,h]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[c,w,[d,f]],[/(surface duo)/i],[w,[c,C],[d,f]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[w,[c,"Fairphone"],[d,h]],[/(u304aa)/i],[w,[c,"AT&T"],[d,h]],[/\bsie-(\w*)/i],[w,[c,"Siemens"],[d,h]],[/\b(rct\w+) b/i],[w,[c,"RCA"],[d,f]],[/\b(venue[\d ]{2,7}) b/i],[w,[c,"Dell"],[d,f]],[/\b(q(?:mv|ta)\w+) b/i],[w,[c,"Verizon"],[d,f]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[w,[c,"Barnes & Noble"],[d,f]],[/\b(tm\d{3}\w+) b/i],[w,[c,"NuVision"],[d,f]],[/\b(k88) b/i],[w,[c,"ZTE"],[d,f]],[/\b(nx\d{3}j) b/i],[w,[c,"ZTE"],[d,h]],[/\b(gen\d{3}) b.+49h/i],[w,[c,"Swiss"],[d,h]],[/\b(zur\d{3}) b/i],[w,[c,"Swiss"],[d,f]],[/\b((zeki)?tb.*\b) b/i],[w,[c,"Zeki"],[d,f]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[c,"Dragon Touch"],w,[d,f]],[/\b(ns-?\w{0,9}) b/i],[w,[c,"Insignia"],[d,f]],[/\b((nxa|next)-?\w{0,9}) b/i],[w,[c,"NextBook"],[d,f]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[c,"Voice"],w,[d,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[c,"LvTel"],w,[d,h]],[/\b(ph-1) /i],[w,[c,"Essential"],[d,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[w,[c,"Envizen"],[d,f]],[/\b(trio[-\w\. ]+) b/i],[w,[c,"MachSpeed"],[d,f]],[/\btu_(1491) b/i],[w,[c,"Rotor"],[d,f]],[/(shield[\w ]+) b/i],[w,[c,"Nvidia"],[d,f]],[/(sprint) (\w+)/i],[c,w,[d,h]],[/(kin\.[onetw]{3})/i],[[w,/\./g," "],[c,C],[d,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[w,[c,B],[d,f]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[w,[c,B],[d,h]],[/smart-tv.+(samsung)/i],[c,[d,v]],[/hbbtv.+maple;(\d+)/i],[[w,/^/,"SmartTV"],[c,U],[d,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[c,j],[d,v]],[/(apple) ?tv/i],[c,[w,y+" TV"],[d,v]],[/crkey/i],[[w,S+"cast"],[c,N],[d,v]],[/droid.+aft(\w)( bui|\))/i],[w,[c,k],[d,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[w,[c,R],[d,v]],[/(bravia[\w ]+)( bui|\))/i],[w,[c,M],[d,v]],[/(mitv-\w{5}) bui/i],[w,[c,P],[d,v]],[/Hbbtv.*(technisat) (.*);/i],[c,w,[d,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[c,W],[w,W],[d,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[c,w,[d,p]],[/droid.+; (shield) bui/i],[w,[c,"Nvidia"],[d,p]],[/(playstation [345portablevi]+)/i],[w,[c,M],[d,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[w,[c,C],[d,p]],[/((pebble))app/i],[c,w,[d,g]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[w,[c,y],[d,g]],[/droid.+; (glass) \d/i],[w,[c,N],[d,g]],[/droid.+; (wt63?0{2,3})\)/i],[w,[c,B],[d,g]],[/(quest( 2| pro)?)/i],[w,[c,D],[d,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[c,[d,x]],[/(aeobc)\b/i],[w,[c,k],[d,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[w,[d,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[w,[d,f]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,f]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,h]],[/(android[-\w\. ]{0,9});.+buil/i],[w,[c,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,u],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,u],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[u,Z,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[u,Z,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,I],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,u],[/\(bb(10);/i],[u,[l,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[u,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[l,z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[u,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[u,[l,S+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,V],u],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,u],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],u],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,u]]},K=function(e,o){if(typeof e===n&&(o=e,e=a),!(this instanceof K))return new K(e,o).getResult();var p=typeof i!==t&&i.navigator?i.navigator:a,v=e||(p&&p.userAgent?p.userAgent:""),g=p&&p.userAgentData?p.userAgentData:a,x=o?function(i,e){var o={};for(var a in i)e[a]&&e[a].length%2==0?o[a]=e[a].concat(i[a]):o[a]=i[a];return o}(X,o):X,k=p&&p.userAgent==v;return this.getBrowser=function(){var i,e={};return e[l]=a,e[u]=a,L.call(e,v,x.browser),e[b]=typeof(i=e[u])===s?i.replace(/[^\d\.]/g,"").split(".")[0]:a,k&&p&&p.brave&&typeof p.brave.isBrave==r&&(e[l]="Brave"),e},this.getCPU=function(){var i={};return i[m]=a,L.call(i,v,x.cpu),i},this.getDevice=function(){var i={};return i[c]=a,i[w]=a,i[d]=a,L.call(i,v,x.device),k&&!i[d]&&g&&g.mobile&&(i[d]=h),k&&"Macintosh"==i[w]&&p&&typeof p.standalone!==t&&p.maxTouchPoints&&p.maxTouchPoints>2&&(i[w]="iPad",i[d]=f),i},this.getEngine=function(){var i={};return i[l]=a,i[u]=a,L.call(i,v,x.engine),i},this.getOS=function(){var i={};return i[l]=a,i[u]=a,L.call(i,v,x.os),k&&!i[l]&&g&&"Unknown"!=g.platform&&(i[l]=g.platform.replace(/chrome os/i,V).replace(/macos/i,I)),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(i){return v=typeof i===s&&i.length>350?W(i,350):i,this},this.setUA(v),this};K.VERSION="1.0.35",K.BROWSER=F([l,u,b]),K.CPU=F([m]),K.DEVICE=F([w,c,d,p,h,v,f,g,x]),K.ENGINE=K.OS=F([l,u]),e.exports&&(o=e.exports=K),o.UAParser=K;var Q=typeof i!==t&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var Y=new K;Q.ua=Y.getResult(),Q.ua.get=function(){return Y.getUA()},Q.ua.set=function(i){Y.setUA(i);var e=Y.getResult();for(var o in e)Q.ua[o]=e[o]}}}("object"==typeof window?window:i.commonjsGlobal)}(e.__module,e.__module.exports);var o=e.__module.exports,a=i.getDefaultExportFromCjs(o);module.exports=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var i=require("../is-string/index.js"),e=require("../is-number-object/index.js"),r=require("../is-boolean-object/index.js"),n=require("../is-symbol/index.js"),s=require("../is-bigint/index.js"),t=i.isString,o=e.isNumberObject,u=r.isBooleanObject,b=n.isSymbolExports,j=s.isBigintExports;exports.whichBoxedPrimitive=function(i){return null==i||"object"!=typeof i&&"function"!=typeof i?null:t(i)?"String":o(i)?"Number":u(i)?"Boolean":b(i)?"Symbol":j(i)?"BigInt":void 0};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../is-map/index.js"),
|
|
1
|
+
"use strict";var e=require("../is-map/index.js"),i=require("../is-set/index.js"),r=require("../is-weakmap/index.js"),s=require("../is-weakset/index.js"),t=e.isMap,a=i.isSet,n=r.isWeakmap,u=s.isWeaksetExports;exports.whichCollection=function(e){if(e&&"object"==typeof e){if(t(e))return"Map";if(a(e))return"Set";if(n(e))return"WeakMap";if(u(e))return"WeakSet"}return!1};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("../../_virtual/_commonjsHelpers.js"),e=require("../for-each/index.js"),
|
|
1
|
+
"use strict";var r=require("../../_virtual/_commonjsHelpers.js"),e=require("../for-each/index.js"),i=require("../available-typed-arrays/index.js"),t=require("../call-bind/callBound.js"),a=require("../gopd/index.js"),o=require("../has-tostringtag/shams.js"),n=require("../is-typed-array/index.js"),s=e.forEach_1,l=i.availableTypedArrays,c=t.callBound,y=a.gopd,u=c("Object.prototype.toString"),g=o.shams(),d="undefined"==typeof globalThis?r.commonjsGlobal:globalThis,p=l(),f=c("String.prototype.slice"),b={},j=Object.getPrototypeOf;g&&y&&j&&s(p,(function(r){if("function"==typeof d[r]){var e=new d[r];if(Symbol.toStringTag in e){var i=j(e),t=y(i,Symbol.toStringTag);if(!t){var a=j(i);t=y(a,Symbol.toStringTag)}b[r]=t.get}}}));var h=n.isTypedArray;exports.whichTypedArray=function(r){return!!h(r)&&(g&&Symbol.toStringTag in r?function(r){var e=!1;return s(b,(function(i,t){if(!e)try{var a=i.call(r);a===t&&(e=a)}catch(r){}})),e}(r):f(u(r),8,-1))};
|
package/build/cjs/src/index.d.ts
CHANGED
|
@@ -14,4 +14,8 @@ export { default as Table } from "./table/Table";
|
|
|
14
14
|
export * from "./table/Table";
|
|
15
15
|
export { default as useVisible } from "./visible/useVisible";
|
|
16
16
|
export * from "./visible/useVisible";
|
|
17
|
+
export { default as useOutsideAlerter } from "./outside-alerter/useOutsideAlerter";
|
|
18
|
+
export * from "./outside-alerter/useOutsideAlerter";
|
|
19
|
+
export { default as Modal } from "./modal/Modal";
|
|
20
|
+
export * from "./modal/Modal";
|
|
17
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,cAAc,+BAA+B,CAAC;AAE9C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACtF,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC9E,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACzF,cAAc,0CAA0C,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,4BAA4B,CAAC;AAE3C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACjE,cAAc,yBAAyB,CAAC;AAExC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC7D,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,cAAc,+BAA+B,CAAC;AAE9C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACtF,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC9E,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACzF,cAAc,0CAA0C,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,4BAA4B,CAAC;AAE3C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACjE,cAAc,yBAAyB,CAAC;AAExC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC7D,cAAc,sBAAsB,CAAC;AAErC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACnF,cAAc,qCAAqC,CAAC;AAEpD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,cAAc,eAAe,CAAC"}
|
package/build/cjs/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("./match-device/useMatchDevice.js"),r=require("./match-resolution/useMatchResolution.js"),t=require("./mount-react-hook/mountReactHook.js"),o=require("./numbered-pagination/NumberedPagination.js"),s=require("./pagination/usePagination.js"),i=require("./scroll-to/useScrollTo.js"),u=require("./table/Table.js"),a=require("./visible/useVisible.js"),n=require("./outside-alerter/useOutsideAlerter.js"),l=require("./modal/Modal.js");exports.useMatchDevice=e,exports.defaultBreakpoints=r.defaultBreakpoints,exports.useMatchResolution=r.default,exports.mountReactHook=t,Object.defineProperty(exports,"ArrowPosition",{enumerable:!0,get:function(){return o.ArrowPosition}}),exports.NumberedPagination=o.default,exports.usePagination=s,exports.useScrollTo=i,exports.Table=u.default,exports.Td=u.Td,exports.Th=u.Th,exports.Tr=u.Tr,exports.useVisible=a,exports.useOutsideAlerter=n,exports.Modal=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAI5D,UAAU,KAAK;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAkB9D"}
|