react-easy-wall 2.0.10 → 2.0.12
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/dist/cjs/_virtual/index10.cjs +2 -2
- package/dist/cjs/_virtual/index11.cjs +2 -2
- package/dist/cjs/_virtual/index2.cjs +2 -8
- package/dist/cjs/_virtual/index2.cjs.map +1 -1
- package/dist/cjs/_virtual/index3.cjs +8 -2
- package/dist/cjs/_virtual/index3.cjs.map +1 -1
- package/dist/cjs/_virtual/index4.cjs +2 -8
- package/dist/cjs/_virtual/index4.cjs.map +1 -1
- package/dist/cjs/_virtual/index5.cjs +3 -7
- package/dist/cjs/_virtual/index5.cjs.map +1 -1
- package/dist/cjs/_virtual/index6.cjs +2 -2
- package/dist/cjs/_virtual/index7.cjs +2 -4
- package/dist/cjs/_virtual/index7.cjs.map +1 -1
- package/dist/cjs/_virtual/index8.cjs +2 -2
- package/dist/cjs/_virtual/index9.cjs +2 -2
- package/dist/cjs/components/comment/Comments.cjs +3 -4
- package/dist/cjs/components/comment/Comments.cjs.map +1 -1
- package/dist/cjs/components/comment/comment.utils.cjs +1 -0
- package/dist/cjs/components/comment/comment.utils.cjs.map +1 -1
- package/dist/cjs/components/comment/components/AddComment.cjs +2 -4
- package/dist/cjs/components/comment/components/AddComment.cjs.map +1 -1
- package/dist/cjs/components/comment/components/AddCommentContainer.cjs +2 -6
- package/dist/cjs/components/comment/components/AddCommentContainer.cjs.map +1 -1
- package/dist/cjs/components/comment/components/AddReplyComment.cjs +2 -5
- package/dist/cjs/components/comment/components/AddReplyComment.cjs.map +1 -1
- package/dist/cjs/components/comment/components/AddReplyCommentContainer.cjs +2 -5
- package/dist/cjs/components/comment/components/AddReplyCommentContainer.cjs.map +1 -1
- package/dist/cjs/components/comment/components/CommentContainer.cjs +2 -4
- package/dist/cjs/components/comment/components/CommentContainer.cjs.map +1 -1
- package/dist/cjs/components/comment/components/CommentItem.cjs +3 -8
- package/dist/cjs/components/comment/components/CommentItem.cjs.map +1 -1
- package/dist/cjs/components/comment/components/CommentSubscriptionDialog.cjs +2 -3
- package/dist/cjs/components/comment/components/CommentSubscriptionDialog.cjs.map +1 -1
- package/dist/cjs/components/comment/components/ReplyComments.cjs +2 -2
- package/dist/cjs/components/comment/components/ReplyComments.cjs.map +1 -1
- package/dist/cjs/components/comment/components/ShowMoreComments.cjs +2 -4
- package/dist/cjs/components/comment/components/ShowMoreComments.cjs.map +1 -1
- package/dist/cjs/components/panel/Panel.cjs +2 -3
- package/dist/cjs/components/panel/Panel.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelAvatar.cjs +2 -5
- package/dist/cjs/components/panel/PanelAvatar.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelButton.cjs +3 -3
- package/dist/cjs/components/panel/PanelButton.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelDivider.cjs +2 -2
- package/dist/cjs/components/panel/PanelDivider.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelFooter.cjs +3 -4
- package/dist/cjs/components/panel/PanelFooter.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelHeader.cjs +2 -2
- package/dist/cjs/components/panel/PanelHeader.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelItem.cjs +2 -5
- package/dist/cjs/components/panel/PanelItem.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelListItems.cjs +2 -4
- package/dist/cjs/components/panel/PanelListItems.cjs.map +1 -1
- package/dist/cjs/components/panel/PanelSubscriptionIcon.cjs +2 -2
- package/dist/cjs/components/panel/PanelSubscriptionIcon.cjs.map +1 -1
- package/dist/cjs/components/paywall/PaywallRegister.cjs +6 -8
- package/dist/cjs/components/paywall/PaywallRegister.cjs.map +1 -1
- package/dist/cjs/components/paywall/PaywallSubscription.cjs +6 -8
- package/dist/cjs/components/paywall/PaywallSubscription.cjs.map +1 -1
- package/dist/cjs/components/session/session.actions.cjs +2 -3
- package/dist/cjs/components/session/session.actions.cjs.map +1 -1
- package/dist/cjs/components/session/session.constants.cjs +2 -2
- package/dist/cjs/components/session/session.constants.cjs.map +1 -1
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/caches.cjs +0 -31
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/caches.cjs.map +1 -1
- package/dist/cjs/node_modules/@cobuildlab/react-simple-state/lib/index.cjs +1 -1
- package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +446 -0
- package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.cjs +130 -0
- package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.browser.esm.cjs +127 -0
- package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.cjs +190 -0
- package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.cjs +18 -0
- package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.cjs +34 -0
- package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +50 -0
- package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs.map +1 -0
- package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.cjs +0 -7
- package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs +2 -2
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs +2 -2
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +2 -2
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.cjs +2 -2
- package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.cjs.map +1 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.cjs +3 -3
- package/dist/cjs/node_modules/axios/lib/adapters/http.cjs.map +1 -1
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.cjs +2 -2
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.cjs.map +1 -1
- package/dist/cjs/node_modules/combined-stream/lib/combined_stream.cjs +3 -3
- package/dist/cjs/node_modules/combined-stream/lib/combined_stream.cjs.map +1 -1
- package/dist/cjs/node_modules/debug/src/index.cjs +1 -4
- package/dist/cjs/node_modules/debug/src/index.cjs.map +1 -1
- package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.cjs +3 -3
- package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.cjs.map +1 -1
- package/dist/cjs/node_modules/follow-redirects/index.cjs +1 -1
- package/dist/cjs/node_modules/form-data/lib/form_data.cjs +5 -5
- package/dist/cjs/node_modules/form-data/lib/form_data.cjs.map +1 -1
- package/dist/cjs/node_modules/graphql/language/ast.cjs +0 -104
- package/dist/cjs/node_modules/graphql/language/ast.cjs.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/client/script.cjs +2 -2
- package/dist/cjs/node_modules/next/dist/client/script.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/cookie/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs +5 -5
- package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/path-to-regexp/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -1
- package/dist/cjs/node_modules/prop-types/index.cjs +1 -1
- package/dist/cjs/node_modules/proxy-from-env/index.cjs +1 -1
- package/dist/cjs/node_modules/react-giphy-searchbox/es/index.cjs +1 -1
- package/dist/cjs/node_modules/react-is/index.cjs +1 -1
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscription.cjs +1 -2
- package/dist/cjs/node_modules/rxjs/dist/esm5/internal/Subscription.cjs.map +1 -1
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs +0 -79
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs.map +1 -1
- package/dist/cjs/shared/apollo/apollo.client.cjs +4 -6
- package/dist/cjs/shared/apollo/apollo.client.cjs.map +1 -1
- package/dist/cjs/shared/components/buttons/ButtonDefault.cjs +3 -5
- package/dist/cjs/shared/components/buttons/ButtonDefault.cjs.map +1 -1
- package/dist/cjs/shared/components/dialog/DialogDefault.cjs +2 -5
- package/dist/cjs/shared/components/dialog/DialogDefault.cjs.map +1 -1
- package/dist/cjs/shared/components/react-editor/BtnEmoji.cjs +2 -3
- package/dist/cjs/shared/components/react-editor/BtnEmoji.cjs.map +1 -1
- package/dist/cjs/shared/components/react-editor/BtnGif.cjs +3 -5
- package/dist/cjs/shared/components/react-editor/BtnGif.cjs.map +1 -1
- package/dist/cjs/shared/components/react-editor/ReactSimpleWysiwyg.cjs +2 -2
- package/dist/cjs/shared/components/react-editor/ReactSimpleWysiwyg.cjs.map +1 -1
- package/dist/cjs/shared/cookies/cookies.utils.cjs +2 -2
- package/dist/cjs/shared/cookies/cookies.utils.cjs.map +1 -1
- package/dist/cjs/shared/types/generated.cjs +7 -7
- package/dist/cjs/shared/types/generated.cjs.map +1 -1
- package/dist/esm/_virtual/index10.js +2 -2
- package/dist/esm/_virtual/index11.js +2 -2
- package/dist/esm/_virtual/index2.js +2 -6
- package/dist/esm/_virtual/index2.js.map +1 -1
- package/dist/esm/_virtual/index3.js +6 -2
- package/dist/esm/_virtual/index3.js.map +1 -1
- package/dist/esm/_virtual/index4.js +2 -6
- package/dist/esm/_virtual/index4.js.map +1 -1
- package/dist/esm/_virtual/index5.js +3 -5
- package/dist/esm/_virtual/index5.js.map +1 -1
- package/dist/esm/_virtual/index6.js +2 -2
- package/dist/esm/_virtual/index7.js +2 -4
- package/dist/esm/_virtual/index7.js.map +1 -1
- package/dist/esm/_virtual/index8.js +2 -2
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/components/comment/Comments.js +1 -2
- package/dist/esm/components/comment/Comments.js.map +1 -1
- package/dist/esm/components/comment/comment.utils.js +1 -0
- package/dist/esm/components/comment/comment.utils.js.map +1 -1
- package/dist/esm/components/comment/components/AddComment.js +1 -3
- package/dist/esm/components/comment/components/AddComment.js.map +1 -1
- package/dist/esm/components/comment/components/AddCommentContainer.js +1 -5
- package/dist/esm/components/comment/components/AddCommentContainer.js.map +1 -1
- package/dist/esm/components/comment/components/AddReplyComment.js +1 -4
- package/dist/esm/components/comment/components/AddReplyComment.js.map +1 -1
- package/dist/esm/components/comment/components/AddReplyCommentContainer.js +1 -4
- package/dist/esm/components/comment/components/AddReplyCommentContainer.js.map +1 -1
- package/dist/esm/components/comment/components/CommentContainer.js +1 -3
- package/dist/esm/components/comment/components/CommentContainer.js.map +1 -1
- package/dist/esm/components/comment/components/CommentItem.js +1 -6
- package/dist/esm/components/comment/components/CommentItem.js.map +1 -1
- package/dist/esm/components/comment/components/CommentSubscriptionDialog.js +1 -2
- package/dist/esm/components/comment/components/CommentSubscriptionDialog.js.map +1 -1
- package/dist/esm/components/comment/components/ReplyComments.js +1 -1
- package/dist/esm/components/comment/components/ShowMoreComments.js +1 -3
- package/dist/esm/components/comment/components/ShowMoreComments.js.map +1 -1
- package/dist/esm/components/panel/Panel.js +1 -2
- package/dist/esm/components/panel/Panel.js.map +1 -1
- package/dist/esm/components/panel/PanelAvatar.js +1 -4
- package/dist/esm/components/panel/PanelAvatar.js.map +1 -1
- package/dist/esm/components/panel/PanelButton.js +1 -1
- package/dist/esm/components/panel/PanelDivider.js +1 -1
- package/dist/esm/components/panel/PanelFooter.js +1 -2
- package/dist/esm/components/panel/PanelFooter.js.map +1 -1
- package/dist/esm/components/panel/PanelHeader.js +1 -1
- package/dist/esm/components/panel/PanelItem.js +1 -4
- package/dist/esm/components/panel/PanelItem.js.map +1 -1
- package/dist/esm/components/panel/PanelListItems.js +1 -3
- package/dist/esm/components/panel/PanelListItems.js.map +1 -1
- package/dist/esm/components/panel/PanelSubscriptionIcon.js +1 -1
- package/dist/esm/components/paywall/PaywallRegister.js +1 -3
- package/dist/esm/components/paywall/PaywallRegister.js.map +1 -1
- package/dist/esm/components/paywall/PaywallSubscription.js +1 -3
- package/dist/esm/components/paywall/PaywallSubscription.js.map +1 -1
- package/dist/esm/components/session/session.actions.js +1 -2
- package/dist/esm/components/session/session.actions.js.map +1 -1
- package/dist/esm/components/session/session.constants.js +1 -1
- package/dist/esm/node_modules/@apollo/client/utilities/internal/caches.js +1 -31
- package/dist/esm/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
- package/dist/esm/node_modules/@cobuildlab/react-simple-state/lib/index.js +1 -1
- package/dist/esm/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +4 -4
- package/dist/esm/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +2 -2
- package/dist/esm/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js.map +1 -1
- package/dist/esm/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +1 -24
- package/dist/esm/node_modules/@emotion/react/dist/emotion-react.browser.esm.js.map +1 -1
- package/dist/esm/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +0 -1
- package/dist/esm/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/zero-styled/index.js +1 -7
- package/dist/esm/node_modules/@mui/material/esm/zero-styled/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +1 -5
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/useId/useId.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/useId/useId.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +3 -3
- package/dist/esm/node_modules/axios/lib/adapters/http.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
- package/dist/esm/node_modules/axios/lib/helpers/formDataToStream.js.map +1 -1
- package/dist/esm/node_modules/combined-stream/lib/combined_stream.js +3 -3
- package/dist/esm/node_modules/combined-stream/lib/combined_stream.js.map +1 -1
- package/dist/esm/node_modules/debug/src/index.js +1 -4
- package/dist/esm/node_modules/debug/src/index.js.map +1 -1
- package/dist/esm/node_modules/delayed-stream/lib/delayed_stream.js +3 -3
- package/dist/esm/node_modules/delayed-stream/lib/delayed_stream.js.map +1 -1
- package/dist/esm/node_modules/follow-redirects/index.js +1 -1
- package/dist/esm/node_modules/form-data/lib/form_data.js +5 -5
- package/dist/esm/node_modules/form-data/lib/form_data.js.map +1 -1
- package/dist/esm/node_modules/graphql/language/ast.js +1 -103
- package/dist/esm/node_modules/graphql/language/ast.js.map +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/next/dist/client/script.js +2 -2
- package/dist/esm/node_modules/next/dist/client/script.js.map +1 -1
- package/dist/esm/node_modules/next/dist/compiled/cookie/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js +5 -5
- package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js.map +1 -1
- package/dist/esm/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/index.js +1 -1
- package/dist/esm/node_modules/prop-types/index.js +1 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
- package/dist/esm/node_modules/react-giphy-searchbox/es/index.js +1 -1
- package/dist/esm/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/rxjs/dist/esm5/internal/Subscriber.js +1 -1
- package/dist/esm/node_modules/rxjs/dist/esm5/internal/Subscription.js +2 -2
- package/dist/esm/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
- package/dist/esm/node_modules/stylis/src/Parser.js +1 -1
- package/dist/esm/node_modules/stylis/src/Tokenizer.js +1 -1
- package/dist/esm/node_modules/tslib/tslib.es6.js +1 -75
- package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/esm/shared/apollo/apollo.client.js +1 -3
- package/dist/esm/shared/apollo/apollo.client.js.map +1 -1
- package/dist/esm/shared/components/buttons/ButtonDefault.js +1 -3
- package/dist/esm/shared/components/buttons/ButtonDefault.js.map +1 -1
- package/dist/esm/shared/components/dialog/DialogDefault.js +1 -4
- package/dist/esm/shared/components/dialog/DialogDefault.js.map +1 -1
- package/dist/esm/shared/components/react-editor/BtnEmoji.js +1 -2
- package/dist/esm/shared/components/react-editor/BtnEmoji.js.map +1 -1
- package/dist/esm/shared/components/react-editor/BtnGif.js +1 -3
- package/dist/esm/shared/components/react-editor/BtnGif.js.map +1 -1
- package/dist/esm/shared/components/react-editor/ReactSimpleWysiwyg.js +1 -1
- package/dist/esm/shared/cookies/cookies.utils.js +1 -1
- package/dist/esm/shared/types/generated.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-cache.browser.esm.cjs","sources":["../../../../../../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"],"sourcesContent":["import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value;\n var parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n"],"names":["peek","token","next","slice","position","delimit","from","dealloc","alloc","hash","WEBKIT","MOZ","MS","replace","strlen","charat","indexof","DECLARATION","KEYFRAMES","serialize","copy","RULESET","combine","match","stringify","rulesheet","middleware","compile","StyleSheet"],"mappings":";;;;;;;;;;;;AAKA,IAAI,2BAA2B,GAAG,SAAS,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE;AAC7F,EAAE,IAAI,QAAQ,GAAG,CAAC;AAClB,EAAE,IAAI,SAAS,GAAG,CAAC;;AAEnB,EAAE,OAAO,IAAI,EAAE;AACf,IAAI,QAAQ,GAAG,SAAS;AACxB,IAAI,SAAS,GAAGA,cAAI,EAAE,CAAC;;AAEvB,IAAI,IAAI,QAAQ,KAAK,EAAE,IAAI,SAAS,KAAK,EAAE,EAAE;AAC7C,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;AACvB,IAAI;;AAEJ,IAAI,IAAIC,eAAK,CAAC,SAAS,CAAC,EAAE;AAC1B,MAAM;AACN,IAAI;;AAEJ,IAAIC,cAAI,EAAE;AACV,EAAE;;AAEF,EAAE,OAAOC,eAAK,CAAC,KAAK,EAAEC,kBAAQ,CAAC;AAC/B,CAAC;;AAED,IAAI,OAAO,GAAG,SAAS,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE;AAC/C;AACA,EAAE,IAAI,KAAK,GAAG,EAAE;AAChB,EAAE,IAAI,SAAS,GAAG,EAAE;;AAEpB,EAAE,GAAG;AACL,IAAI,QAAQH,eAAK,CAAC,SAAS,CAAC;AAC5B,MAAM,KAAK,CAAC;AACZ;AACA,QAAQ,IAAI,SAAS,KAAK,EAAE,IAAID,cAAI,EAAE,KAAK,EAAE,EAAE;AAC/C;AACA;AAC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ionCache_browser_esm = require('../../cache/dist/emotion-cache.browser.esm.cjs');
|
|
5
|
+
var emotionUtils_browser_esm = require('../../utils/dist/emotion-utils.browser.esm.cjs');
|
|
6
|
+
var emotionSerialize_esm = require('../../serialize/dist/emotion-serialize.esm.cjs');
|
|
7
|
+
var emotionUseInsertionEffectWithFallbacks_browser_esm = require('../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.cjs');
|
|
8
|
+
|
|
9
|
+
function _interopNamespaceDefault(e) {
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
27
|
+
|
|
28
|
+
var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
29
|
+
// because this module is primarily intended for the browser and node
|
|
30
|
+
// but it's also required in react native and similar environments sometimes
|
|
31
|
+
// and we could have a special build just for that
|
|
32
|
+
// but this is much easier and the native packages
|
|
33
|
+
// might use a different theme context in the future anyway
|
|
34
|
+
typeof HTMLElement !== 'undefined' ? /* #__PURE__ */emotionCache_browser_esm.default({
|
|
35
|
+
key: 'css'
|
|
36
|
+
}) : null);
|
|
37
|
+
|
|
38
|
+
EmotionCacheContext.Provider;
|
|
39
|
+
|
|
40
|
+
var withEmotionCache = function withEmotionCache(func) {
|
|
41
|
+
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
42
|
+
// the cache will never be null in the browser
|
|
43
|
+
var cache = React.useContext(EmotionCacheContext);
|
|
44
|
+
return func(props, cache, ref);
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
|
|
49
|
+
|
|
50
|
+
var hasOwn = {}.hasOwnProperty;
|
|
51
|
+
|
|
52
|
+
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
53
|
+
var createEmotionProps = function createEmotionProps(type, props) {
|
|
54
|
+
|
|
55
|
+
var newProps = {};
|
|
56
|
+
|
|
57
|
+
for (var _key in props) {
|
|
58
|
+
if (hasOwn.call(props, _key)) {
|
|
59
|
+
newProps[_key] = props[_key];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
|
|
64
|
+
|
|
65
|
+
return newProps;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
var Insertion = function Insertion(_ref) {
|
|
69
|
+
var cache = _ref.cache,
|
|
70
|
+
serialized = _ref.serialized,
|
|
71
|
+
isStringTag = _ref.isStringTag;
|
|
72
|
+
emotionUtils_browser_esm.registerStyles(cache, serialized, isStringTag);
|
|
73
|
+
emotionUseInsertionEffectWithFallbacks_browser_esm.useInsertionEffectAlwaysWithSyncFallback(function () {
|
|
74
|
+
return emotionUtils_browser_esm.insertStyles(cache, serialized, isStringTag);
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return null;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
81
|
+
var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
|
|
82
|
+
// not passing the registered cache to serializeStyles because it would
|
|
83
|
+
// make certain babel optimisations not possible
|
|
84
|
+
|
|
85
|
+
if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
|
|
86
|
+
cssProp = cache.registered[cssProp];
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
var WrappedComponent = props[typePropName];
|
|
90
|
+
var registeredStyles = [cssProp];
|
|
91
|
+
var className = '';
|
|
92
|
+
|
|
93
|
+
if (typeof props.className === 'string') {
|
|
94
|
+
className = emotionUtils_browser_esm.getRegisteredStyles(cache.registered, registeredStyles, props.className);
|
|
95
|
+
} else if (props.className != null) {
|
|
96
|
+
className = props.className + " ";
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
var serialized = emotionSerialize_esm.serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext));
|
|
100
|
+
|
|
101
|
+
className += cache.key + "-" + serialized.name;
|
|
102
|
+
var newProps = {};
|
|
103
|
+
|
|
104
|
+
for (var _key2 in props) {
|
|
105
|
+
if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (true )) {
|
|
106
|
+
newProps[_key2] = props[_key2];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
newProps.className = className;
|
|
111
|
+
|
|
112
|
+
if (ref) {
|
|
113
|
+
newProps.ref = ref;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
|
|
117
|
+
cache: cache,
|
|
118
|
+
serialized: serialized,
|
|
119
|
+
isStringTag: typeof WrappedComponent === 'string'
|
|
120
|
+
}), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
var Emotion$1 = Emotion;
|
|
124
|
+
|
|
125
|
+
exports.E = Emotion$1;
|
|
126
|
+
exports.T = ThemeContext;
|
|
127
|
+
exports.c = createEmotionProps;
|
|
128
|
+
exports.h = hasOwn;
|
|
129
|
+
exports.w = withEmotionCache;
|
|
130
|
+
//# sourceMappingURL=emotion-element-f0de968e.browser.esm.cjs.map
|
package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-element-f0de968e.browser.esm.cjs","sources":["../../../../../../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"],"sourcesContent":["import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\nvar EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n var WithTheme = /*#__PURE__*/React.forwardRef(function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n });\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n\n var newProps = {};\n\n for (var _key in props) {\n if (hasOwn.call(props, _key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var _key2 in props) {\n if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {\n newProps[_key2] = props[_key2];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n"],"names":["React","createCache","forwardRef","useContext","registerStyles","useInsertionEffectAlwaysWithSyncFallback","insertStyles","getRegisteredStyles","serializeStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,IAAI,mBAAmB,kBAAkBA,gBAAK,CAAC,aAAa;AAC5D;AACA;AACA;AACA;AACA;AACA,OAAO,WAAW,KAAK,WAAW,kBAAkBC,gCAAW,CAAC;AAChE,EAAE,GAAG,EAAE;AACP,CAAC,CAAC,GAAG,IAAI,CAAC;;AAEU,mBAAmB,CAAC;;AAKrC,IAAC,gBAAgB,GAAG,SAAS,gBAAgB,CAAC,IAAI,EAAE;AACvD,EAAE,oBAAoBC,gBAAU,CAAC,UAAU,KAAK,EAAE,GAAG,EAAE;AACvD;AACA,IAAI,IAAI,KAAK,GAAGC,gBAAU,CAAC,mBAAmB,CAAC;AAC/C,IAAI,OAAO,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC;AAClC,EAAE,CAAC,CAAC;AACJ;;AAEG,IAAC,YAAY,kBAAkBH,gBAAK,CAAC,aAAa,CAAC,EAAE;;AA6CrD,IA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AK;AAChB,IAAI,UAAU,EAAE,UAAU;AAC1B,IAAI,WAAW,EAAE,OAAO,gBAAgB,KAAK;AAC7C,GAAG,CAAC,eAAeA,gBAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC;AACnE,CAAC,CAAC;;AAEC,IAAC,SAAS,GAAG;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var emotionElementF0de968e_browser_esm = require('./emotion-element-f0de968e.browser.esm.cjs');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var emotionUtils_browser_esm = require('../../utils/dist/emotion-utils.browser.esm.cjs');
|
|
6
|
+
var emotionUseInsertionEffectWithFallbacks_browser_esm = require('../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.cjs');
|
|
7
|
+
var emotionSerialize_esm = require('../../serialize/dist/emotion-serialize.esm.cjs');
|
|
8
|
+
require('../../../../_virtual/hoist-non-react-statics.cjs.cjs');
|
|
9
|
+
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
28
|
+
|
|
29
|
+
exports.jsx = function jsx(type, props) {
|
|
30
|
+
// eslint-disable-next-line prefer-rest-params
|
|
31
|
+
var args = arguments;
|
|
32
|
+
|
|
33
|
+
if (props == null || !emotionElementF0de968e_browser_esm.h.call(props, 'css')) {
|
|
34
|
+
return React__namespace.createElement.apply(undefined, args);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
var argsLength = args.length;
|
|
38
|
+
var createElementArgArray = new Array(argsLength);
|
|
39
|
+
createElementArgArray[0] = emotionElementF0de968e_browser_esm.E;
|
|
40
|
+
createElementArgArray[1] = emotionElementF0de968e_browser_esm.c(type, props);
|
|
41
|
+
|
|
42
|
+
for (var i = 2; i < argsLength; i++) {
|
|
43
|
+
createElementArgArray[i] = args[i];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return React__namespace.createElement.apply(null, createElementArgArray);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
(function (_jsx) {
|
|
50
|
+
var JSX;
|
|
51
|
+
|
|
52
|
+
(function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
|
|
53
|
+
})(exports.jsx || (exports.jsx = {}));
|
|
54
|
+
|
|
55
|
+
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
|
|
56
|
+
// initial client-side render from SSR, use place of hydrating tag
|
|
57
|
+
|
|
58
|
+
var Global = /* #__PURE__ */emotionElementF0de968e_browser_esm.w(function (props, cache) {
|
|
59
|
+
|
|
60
|
+
var styles = props.styles;
|
|
61
|
+
var serialized = emotionSerialize_esm.serializeStyles([styles], undefined, React__namespace.useContext(emotionElementF0de968e_browser_esm.T));
|
|
62
|
+
// but it is based on a constant that will never change at runtime
|
|
63
|
+
// it's effectively like having two implementations and switching them out
|
|
64
|
+
// so it's not actually breaking anything
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
var sheetRef = React__namespace.useRef();
|
|
68
|
+
emotionUseInsertionEffectWithFallbacks_browser_esm.useInsertionEffectWithLayoutFallback(function () {
|
|
69
|
+
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
70
|
+
|
|
71
|
+
var sheet = new cache.sheet.constructor({
|
|
72
|
+
key: key,
|
|
73
|
+
nonce: cache.sheet.nonce,
|
|
74
|
+
container: cache.sheet.container,
|
|
75
|
+
speedy: cache.sheet.isSpeedy
|
|
76
|
+
});
|
|
77
|
+
var rehydrating = false;
|
|
78
|
+
var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
|
|
79
|
+
|
|
80
|
+
if (cache.sheet.tags.length) {
|
|
81
|
+
sheet.before = cache.sheet.tags[0];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (node !== null) {
|
|
85
|
+
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
|
|
86
|
+
|
|
87
|
+
node.setAttribute('data-emotion', key);
|
|
88
|
+
sheet.hydrate([node]);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
sheetRef.current = [sheet, rehydrating];
|
|
92
|
+
return function () {
|
|
93
|
+
sheet.flush();
|
|
94
|
+
};
|
|
95
|
+
}, [cache]);
|
|
96
|
+
emotionUseInsertionEffectWithFallbacks_browser_esm.useInsertionEffectWithLayoutFallback(function () {
|
|
97
|
+
var sheetRefCurrent = sheetRef.current;
|
|
98
|
+
var sheet = sheetRefCurrent[0],
|
|
99
|
+
rehydrating = sheetRefCurrent[1];
|
|
100
|
+
|
|
101
|
+
if (rehydrating) {
|
|
102
|
+
sheetRefCurrent[1] = false;
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (serialized.next !== undefined) {
|
|
107
|
+
// insert keyframes
|
|
108
|
+
emotionUtils_browser_esm.insertStyles(cache, serialized.next, true);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (sheet.tags.length) {
|
|
112
|
+
// if this doesn't exist then it will be null so the style element will be appended
|
|
113
|
+
var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
|
|
114
|
+
sheet.before = element;
|
|
115
|
+
sheet.flush();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
cache.insert("", serialized, sheet, false);
|
|
119
|
+
}, [cache, serialized.name]);
|
|
120
|
+
return null;
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
exports.ThemeContext = emotionElementF0de968e_browser_esm.T;
|
|
124
|
+
exports.withEmotionCache = emotionElementF0de968e_browser_esm.w;
|
|
125
|
+
exports.Global = Global;
|
|
126
|
+
exports.createElement = exports.jsx;
|
|
127
|
+
//# sourceMappingURL=emotion-react.browser.esm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-react.browser.esm.cjs","sources":["../../../../../../node_modules/@emotion/react/dist/emotion-react.browser.esm.js"],"sourcesContent":["import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-f0de968e.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-f0de968e.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx = function jsx(type, props) {\n // eslint-disable-next-line prefer-rest-params\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n(function (_jsx) {\n var JSX;\n\n (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));\n})(jsx || (jsx = {}));\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nfunction keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n}\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n"],"names":["jsx","hasOwn","React","Emotion","createEmotionProps","withEmotionCache","serializeStyles","ThemeContext","useInsertionEffectWithLayoutFallback","insertStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYIA,WAAG,GAAG,SAAS,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE;AACpC;AACA,EAAE,IAAI,IAAI,GAAG,SAAS;;AAEtB,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI,CAACC,oCAAM,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;AACnD,IAAI,OAAOC,gBAAK,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC;AACrD,EAAE;;AAEF,EAAE,IAAI,UAAU,GAAG,IAAI,CAAC,MAAM;AAC9B,EAAE,IAAI,qBAAqB,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC;AACnD,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAGC,oCAAO;AACpC,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAGC,oCAAkB,CAAC,IAAI,EAAE,KAAK,CAAC;;AAE5D,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EA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KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,kBAAkB;AACxE,MAAM,KAAK,CAAC,MAAM,GAAG,OAAO;AAC5B,MAAM,KAAK,CAAC,KAAK,EAAE;AACnB,IAAI;;AAEJ,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC;AAC9C,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,EAAE,OAAO,IAAI;AACb,CAAC;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _extends = require('../../../../@babel/runtime/helpers/esm/extends.cjs');
|
|
6
|
+
var emotionSerialize_esm = require('../../../serialize/dist/emotion-serialize.esm.cjs');
|
|
7
|
+
var emotionUseInsertionEffectWithFallbacks_browser_esm = require('../../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.cjs');
|
|
8
|
+
var emotionUtils_browser_esm = require('../../../utils/dist/emotion-utils.browser.esm.cjs');
|
|
9
|
+
var React = require('react');
|
|
10
|
+
var emotionIsPropValid_esm = require('../../../is-prop-valid/dist/emotion-is-prop-valid.esm.cjs');
|
|
11
|
+
var emotionElementF0de968e_browser_esm = require('../../../react/dist/emotion-element-f0de968e.browser.esm.cjs');
|
|
12
|
+
|
|
13
|
+
function _interopNamespaceDefault(e) {
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n.default = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
31
|
+
|
|
32
|
+
var testOmitPropsOnStringTag = emotionIsPropValid_esm.default;
|
|
33
|
+
|
|
34
|
+
var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
|
|
35
|
+
return key !== 'theme';
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
|
|
39
|
+
return typeof tag === 'string' && // 96 is one less than the char code
|
|
40
|
+
// for "a" so this is checking that
|
|
41
|
+
// it's a lowercase character
|
|
42
|
+
tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
|
|
43
|
+
};
|
|
44
|
+
var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
|
|
45
|
+
var shouldForwardProp;
|
|
46
|
+
|
|
47
|
+
if (options) {
|
|
48
|
+
var optionsShouldForwardProp = options.shouldForwardProp;
|
|
49
|
+
shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
|
|
50
|
+
return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
|
|
51
|
+
} : optionsShouldForwardProp;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (typeof shouldForwardProp !== 'function' && isReal) {
|
|
55
|
+
shouldForwardProp = tag.__emotion_forwardProp;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return shouldForwardProp;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
var Insertion = function Insertion(_ref) {
|
|
62
|
+
var cache = _ref.cache,
|
|
63
|
+
serialized = _ref.serialized,
|
|
64
|
+
isStringTag = _ref.isStringTag;
|
|
65
|
+
emotionUtils_browser_esm.registerStyles(cache, serialized, isStringTag);
|
|
66
|
+
emotionUseInsertionEffectWithFallbacks_browser_esm.useInsertionEffectAlwaysWithSyncFallback(function () {
|
|
67
|
+
return emotionUtils_browser_esm.insertStyles(cache, serialized, isStringTag);
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
var createStyled = function createStyled(tag, options) {
|
|
74
|
+
|
|
75
|
+
var isReal = tag.__emotion_real === tag;
|
|
76
|
+
var baseTag = isReal && tag.__emotion_base || tag;
|
|
77
|
+
var identifierName;
|
|
78
|
+
var targetClassName;
|
|
79
|
+
|
|
80
|
+
if (options !== undefined) {
|
|
81
|
+
identifierName = options.label;
|
|
82
|
+
targetClassName = options.target;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
|
|
86
|
+
var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
|
|
87
|
+
var shouldUseAs = !defaultShouldForwardProp('as');
|
|
88
|
+
return function () {
|
|
89
|
+
// eslint-disable-next-line prefer-rest-params
|
|
90
|
+
var args = arguments;
|
|
91
|
+
var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
|
|
92
|
+
|
|
93
|
+
if (identifierName !== undefined) {
|
|
94
|
+
styles.push("label:" + identifierName + ";");
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (args[0] == null || args[0].raw === undefined) {
|
|
98
|
+
// eslint-disable-next-line prefer-spread
|
|
99
|
+
styles.push.apply(styles, args);
|
|
100
|
+
} else {
|
|
101
|
+
var templateStringsArr = args[0];
|
|
102
|
+
|
|
103
|
+
styles.push(templateStringsArr[0]);
|
|
104
|
+
var len = args.length;
|
|
105
|
+
var i = 1;
|
|
106
|
+
|
|
107
|
+
for (; i < len; i++) {
|
|
108
|
+
|
|
109
|
+
styles.push(args[i], templateStringsArr[i]);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
var Styled = emotionElementF0de968e_browser_esm.w(function (props, cache, ref) {
|
|
114
|
+
var FinalTag = shouldUseAs && props.as || baseTag;
|
|
115
|
+
var className = '';
|
|
116
|
+
var classInterpolations = [];
|
|
117
|
+
var mergedProps = props;
|
|
118
|
+
|
|
119
|
+
if (props.theme == null) {
|
|
120
|
+
mergedProps = {};
|
|
121
|
+
|
|
122
|
+
for (var key in props) {
|
|
123
|
+
mergedProps[key] = props[key];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
mergedProps.theme = React__namespace.useContext(emotionElementF0de968e_browser_esm.T);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (typeof props.className === 'string') {
|
|
130
|
+
className = emotionUtils_browser_esm.getRegisteredStyles(cache.registered, classInterpolations, props.className);
|
|
131
|
+
} else if (props.className != null) {
|
|
132
|
+
className = props.className + " ";
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
var serialized = emotionSerialize_esm.serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
|
|
136
|
+
className += cache.key + "-" + serialized.name;
|
|
137
|
+
|
|
138
|
+
if (targetClassName !== undefined) {
|
|
139
|
+
className += " " + targetClassName;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
|
|
143
|
+
var newProps = {};
|
|
144
|
+
|
|
145
|
+
for (var _key in props) {
|
|
146
|
+
if (shouldUseAs && _key === 'as') continue;
|
|
147
|
+
|
|
148
|
+
if (finalShouldForwardProp(_key)) {
|
|
149
|
+
newProps[_key] = props[_key];
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
newProps.className = className;
|
|
154
|
+
|
|
155
|
+
if (ref) {
|
|
156
|
+
newProps.ref = ref;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
|
|
160
|
+
cache: cache,
|
|
161
|
+
serialized: serialized,
|
|
162
|
+
isStringTag: typeof FinalTag === 'string'
|
|
163
|
+
}), /*#__PURE__*/React__namespace.createElement(FinalTag, newProps));
|
|
164
|
+
});
|
|
165
|
+
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
166
|
+
Styled.defaultProps = tag.defaultProps;
|
|
167
|
+
Styled.__emotion_real = Styled;
|
|
168
|
+
Styled.__emotion_base = baseTag;
|
|
169
|
+
Styled.__emotion_styles = styles;
|
|
170
|
+
Styled.__emotion_forwardProp = shouldForwardProp;
|
|
171
|
+
Object.defineProperty(Styled, 'toString', {
|
|
172
|
+
value: function value() {
|
|
173
|
+
|
|
174
|
+
return "." + targetClassName;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
Styled.withComponent = function (nextTag, nextOptions) {
|
|
179
|
+
var newStyled = createStyled(nextTag, _extends.default({}, options, nextOptions, {
|
|
180
|
+
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
181
|
+
}));
|
|
182
|
+
return newStyled.apply(void 0, styles);
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
return Styled;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
exports.default = createStyled;
|
|
190
|
+
//# sourceMappingURL=emotion-styled-base.browser.esm.cjs.map
|
package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-styled-base.browser.esm.cjs","sources":["../../../../../../../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"],"sourcesContent":["import _extends from '@babel/runtime/helpers/esm/extends';\nimport { withEmotionCache, ThemeContext } from '@emotion/react';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport * as React from 'react';\nimport isPropValid from '@emotion/is-prop-valid';\n\nvar isDevelopment = false;\n\nvar testOmitPropsOnStringTag = isPropValid;\n\nvar testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {\n return key !== 'theme';\n};\n\nvar getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {\n return typeof tag === 'string' && // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;\n};\nvar composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {\n var shouldForwardProp;\n\n if (options) {\n var optionsShouldForwardProp = options.shouldForwardProp;\n shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {\n return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);\n } : optionsShouldForwardProp;\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp;\n }\n\n return shouldForwardProp;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar createStyled = function createStyled(tag, options) {\n\n var isReal = tag.__emotion_real === tag;\n var baseTag = isReal && tag.__emotion_base || tag;\n var identifierName;\n var targetClassName;\n\n if (options !== undefined) {\n identifierName = options.label;\n targetClassName = options.target;\n }\n\n var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);\n var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);\n var shouldUseAs = !defaultShouldForwardProp('as');\n return function () {\n // eslint-disable-next-line prefer-rest-params\n var args = arguments;\n var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];\n\n if (identifierName !== undefined) {\n styles.push(\"label:\" + identifierName + \";\");\n }\n\n if (args[0] == null || args[0].raw === undefined) {\n // eslint-disable-next-line prefer-spread\n styles.push.apply(styles, args);\n } else {\n var templateStringsArr = args[0];\n\n styles.push(templateStringsArr[0]);\n var len = args.length;\n var i = 1;\n\n for (; i < len; i++) {\n\n styles.push(args[i], templateStringsArr[i]);\n }\n }\n\n var Styled = withEmotionCache(function (props, cache, ref) {\n var FinalTag = shouldUseAs && props.as || baseTag;\n var className = '';\n var classInterpolations = [];\n var mergedProps = props;\n\n if (props.theme == null) {\n mergedProps = {};\n\n for (var key in props) {\n mergedProps[key] = props[key];\n }\n\n mergedProps.theme = React.useContext(ThemeContext);\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, classInterpolations, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);\n className += cache.key + \"-\" + serialized.name;\n\n if (targetClassName !== undefined) {\n className += \" \" + targetClassName;\n }\n\n var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;\n var newProps = {};\n\n for (var _key in props) {\n if (shouldUseAs && _key === 'as') continue;\n\n if (finalShouldForwardProp(_key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof FinalTag === 'string'\n }), /*#__PURE__*/React.createElement(FinalTag, newProps));\n });\n Styled.displayName = identifierName !== undefined ? identifierName : \"Styled(\" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + \")\";\n Styled.defaultProps = tag.defaultProps;\n Styled.__emotion_real = Styled;\n Styled.__emotion_base = baseTag;\n Styled.__emotion_styles = styles;\n Styled.__emotion_forwardProp = shouldForwardProp;\n Object.defineProperty(Styled, 'toString', {\n value: function value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR';\n }\n\n return \".\" + targetClassName;\n }\n });\n\n Styled.withComponent = function (nextTag, nextOptions) {\n var newStyled = createStyled(nextTag, _extends({}, options, nextOptions, {\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n }));\n return newStyled.apply(void 0, styles);\n };\n\n return Styled;\n };\n};\n\nexport { createStyled as default };\n"],"names":["isPropValid","registerStyles","useInsertionEffectAlwaysWithSyncFallback","insertStyles","withEmotionCache","React","ThemeContext","getRegisteredStyles","serializeStyles","_extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,IAAI,wBAAwB,GAAGA,8BAAW;;AAE1C,IAAI,wBAAwB,GAAG,SAAS,wBAAwB,CAAC,GAAG,EAAE;AACtE,EAAE,OAAO,GAAG,KAAK,OAAO;AACxB,CAAC;;AAED,IAAI,2BAA2B,GAAG,SAAS,2BAA2B,CAAC,GAAG,EAAE;AAC5E,EAAE,OAAO,OAAO,GAAG,KAAK,QAAQ;AAChC;AACA;AACA,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,wBAAwB,GAAG,wBAAwB;AAC9E,CAAC;AACD,IAAI,yBAAyB,GAAG,SAAS,yBAAyB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE;AACzF,EAAE,IAAI,iBAAiB;;AAEvB,EAAE,IAAI,OAAO,EAAE;AACf,IAAI,IAAI,wBAAwB,GAAG,OAAO,CAAC,iBAAiB;AAC5D,IAAI,iBAAiB,GAAG,GAAG,CAAC,qBAAqB,IAAI,wBAAwB,GAAG,UAAU,QAAQ,EAAE;AACpG,MAAM,OAAO,GAAG,CAAC,qBAAqB,CAAC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AM,CAAC,aAAa,GAAG,UAAU,OAAO,EAAE,WAAW,EAAE;AAC3D,MAAM,IAAI,SAAS,GAAG,YAAY,CAAC,OAAO,EAAEI,gBAAQ,CAAC,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;AAC/E,QAAQ,iBAAiB,EAAE,yBAAyB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI;AAC9E,OAAO,CAAC,CAAC;AACT,MAAM,OAAO,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC;AAC5C,IAAI,CAAC;;AAEL,IAAI,OAAO,MAAM;AACjB,EAAE,CAAC;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var emotionStyledBase_browser_esm = require('../base/dist/emotion-styled-base.browser.esm.cjs');
|
|
6
|
+
require('react');
|
|
7
|
+
|
|
8
|
+
var tags = ['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', // SVG
|
|
9
|
+
'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
|
|
10
|
+
|
|
11
|
+
// bind it to avoid mutating the original function
|
|
12
|
+
var styled = emotionStyledBase_browser_esm.default.bind(null);
|
|
13
|
+
tags.forEach(function (tagName) {
|
|
14
|
+
styled[tagName] = styled(tagName);
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
exports.default = styled;
|
|
18
|
+
//# sourceMappingURL=emotion-styled.browser.esm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-styled.browser.esm.cjs","sources":["../../../../../../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js"],"sourcesContent":["import createStyled from '../base/dist/emotion-styled-base.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/react';\nimport '@emotion/serialize';\nimport '@emotion/use-insertion-effect-with-fallbacks';\nimport '@emotion/utils';\nimport 'react';\nimport '@emotion/is-prop-valid';\n\nvar tags = ['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', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];\n\n// bind it to avoid mutating the original function\nvar styled = createStyled.bind(null);\ntags.forEach(function (tagName) {\n styled[tagName] = styled(tagName);\n});\n\nexport { styled as default };\n"],"names":["createStyled"],"mappings":";;;;;;;AASA,IAAI,IAAI,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI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