@react-hive/honey-style 3.0.0 → 3.1.0
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/css/css.d.ts +8 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +22 -16
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.dev.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.dev.cjs","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;AACb,KAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,+CAA+C,6BAA6B;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,gDAAgD;AAChE,gBAAgB,aAAa;AAC7B;AACA;AACA,gCAAgC,kCAAkC,OAAO;AACzE;AACA,gGAAgG,SAAS,UAAU,sFAAsF,aAAa,UAAU,UAAU;AAC1O;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAO,CAAC,oBAAO;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB,IAAI,WAAW;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,YAAY;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;;;;;;;;;;AC/VU;;AAEb,IAAI,KAAqC,EAAE;AAAA,EAE1C,CAAC;AACF,EAAE,+IAAkE;AACpE;;;;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WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,QAAQ,mDAAM;AACd;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,oCAAoC,mDAAM;AAC1C;;AAEA;AACA,WAAW,KAAK;AAChB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,QAAQ,iDAAI;AACZ;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA,WAAW,mDAAM;AACjB;AACA,WAAW,oDAAM;AACjB;AACA,YAAY,oDAAM,CAAC,iDAAI;AACvB;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kDAAkD,iDAAI;AACtD;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChQA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AiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN4B;AACD;AACC;AACJ;AACA;AACF;AACS;AACN;AACD","sources":["webpack://@react-hive/honey-style/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@react-hive/honey-style/./node_modules/react/jsx-runtime.js","webpack://@react-hive/honey-style/./src/constants.ts","webpack://@react-hive/honey-style/./src/contexts/HoneyStyleContext.ts","webpack://@react-hive/honey-style/./src/contexts/index.ts","webpack://@react-hive/honey-style/./src/css/at-rules/index.ts","webpack://@react-hive/honey-style/./src/css/at-rules/media-query.ts","webpack://@react-hive/honey-style/./src/css/constants.ts","webpack://@react-hive/honey-style/./src/css/css.ts","webpack://@react-hive/honey-style/./src/css/index.ts","webpack://@react-hive/honey-style/./src/css/middlewares/absolute-fill-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/center-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/ellipsis-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/factory.ts","webpack://@react-hive/honey-style/./src/css/middlewares/index.ts","webpack://@react-hive/honey-style/./src/css/middlewares/inline-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/media-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/spacing.ts","webpack://@react-hive/honey-style/./src/css/middlewares/stack-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/suggest.ts","webpack://@react-hive/honey-style/./src/css/processor.ts","webpack://@react-hive/honey-style/./src/css/types.ts","webpack://@react-hive/honey-style/./src/global-style.ts","webpack://@react-hive/honey-style/./src/hooks/index.ts","webpack://@react-hive/honey-style/./src/hooks/use-honey-style.ts","webpack://@react-hive/honey-style/./src/mount-style.ts","webpack://@react-hive/honey-style/./src/providers/HoneyStyleProvider.tsx","webpack://@react-hive/honey-style/./src/providers/index.ts","webpack://@react-hive/honey-style/./src/styled.ts","webpack://@react-hive/honey-style/./src/types/index.ts","webpack://@react-hive/honey-style/./src/types/theme.ts","webpack://@react-hive/honey-style/./src/types/utility.ts","webpack://@react-hive/honey-style/./src/utils.ts","webpack://@react-hive/honey-style/external commonjs2 \"react\"","webpack://@react-hive/honey-style/./node_modules/@react-hive/honey-utils/dist/index.mjs","webpack://@react-hive/honey-style/./node_modules/stylis/src/Enum.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Middleware.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Parser.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Prefixer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Serializer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Tokenizer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Utility.js","webpack://@react-hive/honey-style/webpack/bootstrap","webpack://@react-hive/honey-style/webpack/runtime/compat get default export","webpack://@react-hive/honey-style/webpack/runtime/define property getters","webpack://@react-hive/honey-style/webpack/runtime/hasOwnProperty shorthand","webpack://@react-hive/honey-style/webpack/runtime/make namespace object","webpack://@react-hive/honey-style/./src/index.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import type { SVGAttributes, TdHTMLAttributes } from 'react';\n\nimport type { HoneyBreakpointName } from './types';\n\nconst ENV = process.env.NODE_ENV || 'development';\n\nexport const __DEV__ =\n ENV !== 'production' && typeof window !== 'undefined' && !process.env.JEST_WORKER_ID;\n\nif (__DEV__) {\n console.info(\n '[@react-hive/honey-style]: You are running in development mode. ' +\n 'This build is not optimized for production and may include extra checks or logs.',\n );\n}\n\nexport const HONEY_STYLED_COMPONENT_ID_PROP = '$$ComponentId';\n\nexport const HONEY_GLOBAL_STYLE_ATTR = 'data-honey-global-style';\nexport const HONEY_STYLE_ATTR = 'data-honey-style';\n\nexport const HONEY_BREAKPOINTS: HoneyBreakpointName[] = ['xs', 'sm', 'md', 'lg', 'xl'];\n\nconst VALID_HTML_ATTRS = new Set([\n // Standard Attributes\n 'accept',\n 'accessKey',\n 'autoCapitalize',\n 'autoComplete',\n 'autoFocus',\n 'capture',\n 'class',\n 'className',\n 'contentEditable',\n 'contextMenu',\n 'dir',\n 'draggable',\n 'hidden',\n 'id',\n 'inert',\n 'inputMode',\n 'is',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellCheck',\n 'style',\n 'tabIndex',\n 'title',\n 'translate',\n 'unselectable',\n\n // Form Attributes\n 'checked',\n 'disabled',\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'list',\n 'max',\n 'maxLength',\n 'min',\n 'minLength',\n 'multiple',\n 'name',\n 'pattern',\n 'placeholder',\n 'readOnly',\n 'required',\n 'size',\n 'step',\n 'type',\n 'value',\n\n // Media Attributes\n 'alt',\n 'controls',\n 'crossOrigin',\n 'height',\n 'isMap',\n 'loop',\n 'media',\n 'muted',\n 'poster',\n 'preload',\n 'role',\n 'src',\n 'srcSet',\n 'useMap',\n 'width',\n\n // Anchor & Link Attributes\n 'download',\n 'href',\n 'hrefLang',\n 'referrerPolicy',\n 'rel',\n 'target',\n\n // React Specific\n 'dangerouslySetInnerHTML',\n 'key',\n 'ref',\n 'children',\n\n // Deprecated/Obscure Attributes (still valid in some contexts)\n 'char',\n 'charOff',\n\n // Web Components / Shadow DOM\n 'exportparts',\n 'popover',\n 'popoverTarget',\n 'popoverTargetAction',\n 'virtualkeyboardpolicy',\n 'writingsuggestions',\n]);\n\nconst VALID_TABLE_ATTRS = new Set<keyof TdHTMLAttributes<any>>([\n 'colSpan',\n 'rowSpan',\n 'headers',\n 'abbr',\n 'scope',\n /**\n * @deprecated https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align\n */\n 'align',\n /**\n * @deprecated https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign\n */\n 'valign',\n]);\n\nconst VALID_SVG_ATTRS = new Set<keyof SVGAttributes<any>>([\n 'viewBox',\n 'fill',\n 'stroke',\n 'strokeWidth',\n 'strokeLinecap',\n 'strokeLinejoin',\n 'strokeDasharray',\n 'strokeDashoffset',\n 'strokeOpacity',\n 'fillOpacity',\n 'opacity',\n 'pointerEvents',\n 'focusable',\n 'x',\n 'y',\n 'x1',\n 'x2',\n 'y1',\n 'y2',\n 'cx',\n 'cy',\n 'r',\n 'rx',\n 'ry',\n 'd',\n 'points',\n 'height',\n 'transform',\n 'xmlns',\n 'preserveAspectRatio',\n 'mask',\n 'clipPath',\n 'pathLength',\n 'markerStart',\n 'markerMid',\n 'markerEnd',\n 'refX',\n 'refY',\n 'dominantBaseline',\n 'textAnchor',\n]);\n\nconst VALID_EVENT_ATTRS = new Set([\n // Clipboard\n 'onCopy',\n 'onCut',\n 'onPaste',\n\n // Composition\n 'onCompositionEnd',\n 'onCompositionStart',\n 'onCompositionUpdate',\n\n // Focus\n 'onFocus',\n 'onBlur',\n\n // Form\n 'onChange',\n 'onInput',\n 'onInvalid',\n 'onReset',\n 'onSubmit',\n\n // Keyboard\n 'onKeyDown',\n 'onKeyPress',\n 'onKeyUp',\n\n // Mouse\n 'onClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n\n // Drag & Drop\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n\n // Pointer\n 'onPointerDown',\n 'onPointerMove',\n 'onPointerUp',\n 'onPointerCancel',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerOver',\n 'onPointerOut',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n\n // Selection\n 'onSelect',\n\n // Touch\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n\n // UI\n 'onScroll',\n\n // Wheel\n 'onWheel',\n\n // Media\n 'onAbort',\n 'onCanPlay',\n 'onCanPlayThrough',\n 'onDurationChange',\n 'onEmptied',\n 'onEncrypted',\n 'onEnded',\n 'onLoadedData',\n 'onLoadedMetadata',\n 'onLoadStart',\n 'onPause',\n 'onPlay',\n 'onPlaying',\n 'onProgress',\n 'onRateChange',\n 'onSeeked',\n 'onSeeking',\n 'onStalled',\n 'onSuspend',\n 'onTimeUpdate',\n 'onVolumeChange',\n 'onWaiting',\n\n // Image\n 'onLoad',\n 'onError',\n\n // Transition\n 'onTransitionEnd',\n 'onTransitionStart',\n 'onTransitionRun',\n 'onTransitionCancel',\n\n // Animation\n 'onAnimationStart',\n 'onAnimationEnd',\n 'onAnimationIteration',\n 'onAnimationCancel',\n]);\n\nexport const VALID_DOM_ELEMENT_ATTRS = new Set([\n ...VALID_HTML_ATTRS,\n ...VALID_TABLE_ATTRS,\n ...VALID_SVG_ATTRS,\n ...VALID_EVENT_ATTRS,\n]);\n","import { createContext } from 'react';\n\nimport type {\n HoneyCSSColor,\n HoneyCSSDimensionUnit,\n HoneyCSSDimensionValue,\n HoneyCSSSpacingValue,\n} from '../css';\nimport type {\n Nullable,\n HoneyTheme,\n HoneyColorKey,\n HoneyDimensionName,\n HoneyFontName,\n HoneySpacings,\n HoneyStyledInterpolation,\n} from '../types';\nimport type { HoneyResolveSpacingResult } from '../utils';\n\nexport interface HoneyStyleContextValue {\n /**\n * Represents the theme object.\n */\n theme: HoneyTheme;\n /**\n * Function to resolve spacing values based on a given theme.\n *\n * @template Value - A type representing the spacing value(s), which could be a single value or an array of values.\n * @template Unit - The CSS unit used for the resolved spacing value, e.g., 'px', 'em'.\n *\n * @param value - The spacing value(s) to be applied, which could be a single number or an array of numbers.\n * @param [unit] - The CSS unit to use for the calculated value. Defaults to 'px'.\n * @param [type] - The type of spacing to use from the theme (e.g., 'base', 'small', 'large').\n *\n * @returns The resolved spacing value, formatted as a string with the appropriate unit.\n */\n resolveSpacing: <\n Value extends HoneyCSSSpacingValue,\n Unit extends Nullable<HoneyCSSDimensionUnit> = 'px',\n >(\n value: Value,\n unit?: Unit,\n type?: keyof HoneySpacings,\n ) => HoneyResolveSpacingResult<Value, Unit>;\n /**\n * Function to resolve color values based on the theme.\n *\n * @param colorKey - The key representing the color in the theme.\n * @param [alpha] - Optional alpha value to apply to the color for transparency.\n *\n * @returns The resolved CSS color, optionally with alpha transparency.\n */\n resolveColor: (colorKey: HoneyColorKey, alpha?: number) => HoneyCSSColor;\n /**\n * Function to resolve font styles based on the theme.\n *\n * @param fontName - The name of the font to resolve from the theme.\n *\n * @returns The CSS style rules for the specified font.\n */\n resolveFont: (fontName: HoneyFontName) => HoneyStyledInterpolation<object>;\n /**\n * Function to resolve dimension values based on the theme.\n *\n * @param dimensionName - The name of the dimension to resolve from the theme.\n *\n * @returns The resolved CSS dimension value (e.g., width, height).\n */\n resolveDimension: (dimensionName: HoneyDimensionName) => HoneyCSSDimensionValue;\n}\n\nexport const HoneyStyleContext = createContext<HoneyStyleContextValue | undefined>(undefined);\n","export * from './HoneyStyleContext';\n","export * from './media-query';\n","import { compact } from '@react-hive/honey-utils';\n\nimport type { HoneyCSSDimensionValue } from '../types';\n\n/**\n * Represents CSS resolution units typically used in media queries.\n *\n * - `dpi` — dots per inch\n * - `dpcm` — dots per centimeter\n * - `dppx` — dots per pixel (e.g., 2dppx for Retina displays)\n * - `x` — alias for `dppx`\n */\ntype MediaQueryRuleResolutionUnit = 'dpi' | 'dpcm' | 'dppx' | 'x';\n\n/**\n * Represents a CSS resolution value, such as `'300dpi'`, `'2x'`, or `'1.5dppx'`.\n */\ntype MediaQueryRuleResolutionValue = `${number}${MediaQueryRuleResolutionUnit}`;\n\n/**\n * Properties for dimension-based media queries\n */\ninterface MediaQueryRuleDimensionProperties {\n width?: HoneyCSSDimensionValue;\n minWidth?: HoneyCSSDimensionValue;\n maxWidth?: HoneyCSSDimensionValue;\n height?: HoneyCSSDimensionValue;\n minHeight?: HoneyCSSDimensionValue;\n maxHeight?: HoneyCSSDimensionValue;\n}\n\n/**\n * Properties for resolution-based media queries\n */\ninterface MediaQueryRuleResolutionProperties {\n resolution?: MediaQueryRuleResolutionValue;\n minResolution?: MediaQueryRuleResolutionValue;\n maxResolution?: MediaQueryRuleResolutionValue;\n}\n\ntype MediaQueryRuleOperator = 'not' | 'only';\n\nexport type MediaQueryRuleType = 'all' | 'print' | 'screen' | 'speech';\n\n/**\n * Represents the possible values for media query orientation.\n *\n * Used in responsive styles to target specific device orientations.\n *\n * - `'landscape'` – Width is greater than height.\n * - `'portrait'` – Height is greater than width.\n */\nexport type MediaQueryRuleOrientation = 'landscape' | 'portrait';\n\ntype MediaQueryRuleUpdate = 'none' | 'slow' | 'fast';\n\n/**\n * Options for CSS @media at-rule.\n */\nexport interface HoneyMediaQueryRule\n extends MediaQueryRuleDimensionProperties, MediaQueryRuleResolutionProperties {\n operator?: MediaQueryRuleOperator;\n /**\n * @default screen\n */\n mediaType?: MediaQueryRuleType;\n orientation?: MediaQueryRuleOrientation;\n update?: MediaQueryRuleUpdate;\n}\n\ntype HoneyMediaQueryRuleConfig = [string, string | number];\n\n/**\n * Constructs a complete `@media` query string from an array of media rule objects.\n * Each rule defines conditions such as screen size, orientation, or resolution,\n * which are converted into standard CSS media query syntax.\n *\n * @param rules - An array of media rule objects used to generate individual media queries.\n *\n * @returns A string containing a full `@media` query that can be used in CSS or injected into a stylesheet.\n *\n * @example\n * ```ts\n * mediaQuery([\n * { minWidth: '768px', orientation: 'landscape' },\n * { mediaType: 'print' }\n * ]);\n * // Returns: \"@media screen and (min-width: 768px) and (orientation: landscape), print\"\n * ```\n */\nexport const mediaQuery = (rules: HoneyMediaQueryRule[]): string => {\n const mediaRules = rules.map(rule => {\n const rulesConfig: (HoneyMediaQueryRuleConfig | undefined)[] = [\n rule.width && ['width', rule.width],\n rule.minWidth && ['min-width', rule.minWidth],\n rule.maxWidth && ['max-width', rule.maxWidth],\n rule.height && ['height', rule.height],\n rule.minHeight && ['min-height', rule.minHeight],\n rule.maxHeight && ['max-height', rule.maxHeight],\n rule.orientation && ['orientation', rule.orientation],\n rule.minResolution && ['min-resolution', rule.minResolution],\n rule.maxResolution && ['max-resolution', rule.maxResolution],\n rule.resolution && ['resolution', rule.resolution],\n rule.update && ['update', rule.update],\n ];\n\n const conditions = compact(rulesConfig)\n .map(([prop, value]) => `(${prop}: ${value})`)\n .join(' and ');\n\n const operatorPart = rule.operator ? `${rule.operator} ` : '';\n const conditionsPart = conditions ? ` and ${conditions}` : '';\n\n return `${operatorPart}${rule.mediaType ?? 'screen'}${conditionsPart}`;\n });\n\n return `@media ${mediaRules.join(', ')}`;\n};\n","import type { HoneyCSSColorProperty, HoneyCSSSpacingProperty } from './types';\n\nexport const CSS_SPACING_PROPERTIES: readonly HoneyCSSSpacingProperty[] = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'padding',\n 'paddingTop',\n 'paddingRight',\n 'paddingBottom',\n 'paddingLeft',\n 'paddingBlock',\n 'paddingBlockStart',\n 'paddingBlockEnd',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'inset',\n 'gap',\n 'rowGap',\n 'columnGap',\n];\n\nexport const CSS_COLOR_PROPERTIES: readonly HoneyCSSColorProperty[] = [\n 'color',\n 'backgroundColor',\n 'borderColor',\n 'borderTopColor',\n 'borderRightColor',\n 'borderBottomColor',\n 'borderLeftColor',\n 'outlineColor',\n 'textDecorationColor',\n 'fill',\n 'stroke',\n];\n","import type { Middleware, Element } from 'stylis';\nimport {\n isArray,\n isFunction,\n isNilOrEmptyString,\n isObject,\n toKebabCase,\n} from '@react-hive/honey-utils';\nimport { serialize } from 'stylis';\n\nimport type { HoneyStyledInterpolation, HoneyStyledContext } from '../types';\nimport { HONEY_STYLED_COMPONENT_ID_PROP } from '../constants';\nimport { isStyledComponent } from '../utils';\n\nconst resolveCssInterpolation = <Props extends object>(\n value: HoneyStyledInterpolation<Props>,\n context: HoneyStyledContext<Props>,\n): string => {\n if (value === false || isNilOrEmptyString(value)) {\n return '';\n }\n\n if (isFunction(value)) {\n if (isStyledComponent(value)) {\n return `.${value[HONEY_STYLED_COMPONENT_ID_PROP]}`;\n }\n\n return resolveCssInterpolation(value(context), context);\n }\n\n if (isArray(value)) {\n return value.map(v => resolveCssInterpolation(v, context)).join('\\n');\n }\n\n if (isObject(value)) {\n return Object.entries(value)\n .filter(([, v]) => v !== undefined && v !== false)\n .map(([k, v]) => `${toKebabCase(k)}: ${v};`)\n .join('\\n');\n }\n\n return value.toString?.() ?? '';\n};\n\nexport const css = <Props extends object>(\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<Props>[]\n) => {\n return (context: HoneyStyledContext<Props>) =>\n strings.reduce(\n (cssResult, str, index) =>\n cssResult + str + resolveCssInterpolation(interpolations[index], context),\n '',\n );\n};\n\nexport const createCssRule = (selector: string, css: string) => `${selector}{${css}}`;\n\nexport const getChildrenCss = (element: Element, callback: Middleware): string =>\n isArray(element.children) ? serialize(element.children, callback) : element.children;\n\ninterface StylisChildrenGroups {\n declarations: Element[];\n other: Element[];\n}\n\nexport const splitStylisChildren = (children: string | Element[]): StylisChildrenGroups => {\n if (!isArray(children) || children.length === 0) {\n return {\n declarations: [],\n other: [],\n };\n }\n\n return children.reduce<StylisChildrenGroups>(\n (result, child) => {\n if (child.type === 'decl') {\n result.declarations.push(child);\n //\n } else {\n result.other.push(child);\n }\n\n return result;\n },\n {\n declarations: [],\n other: [],\n },\n );\n};\n","export * from './types';\nexport * from './constants';\nexport * from './middlewares';\nexport * from './processor';\nexport * from './css';\nexport * from './at-rules';\n","import { createAtRuleMiddleware } from './factory';\nimport type { CSSDeclaration } from './types';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createAbsoluteFillAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'absolute-fill',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['position:absolute;', 'inset:0;'];\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createCenterAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'center',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = [];\n\n switch (args[0]) {\n case 'horizontal':\n case 'x':\n declarations.push('display:flex;', 'justify-content:center;');\n break;\n case 'vertical':\n case 'y':\n declarations.push('display:flex;', 'align-items:center;');\n break;\n case 'block':\n declarations.push('display:block;', 'text-align:center;');\n break;\n case 'inline':\n declarations.push(\n 'display:inline-flex;',\n 'align-items:center;',\n 'justify-content:center;',\n );\n break;\n default:\n declarations.push('display:flex;', 'align-items:center;', 'justify-content:center;');\n break;\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createEllipsisAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'ellipsis',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = [\n 'white-space:nowrap;',\n 'overflow:hidden;',\n 'text-overflow:ellipsis;',\n ];\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import { compile, serialize } from 'stylis';\nimport type { Element, Middleware } from 'stylis';\n\nimport type { Nullable } from '../../types';\nimport { createCssRule } from '../css';\n\ninterface AtRuleMiddlewareOptions {\n /**\n * The suffix name of the custom at-rule without the `@honey-` prefix.\n *\n * For example, if you want to handle `@honey-stack`, set this to `\"stack\"`.\n *\n * This name is used to match the rule in the Stylis AST.\n */\n name: string;\n /**\n * A transformation function that returns CSS declarations to be injected\n * in place of the custom at-rule.\n *\n * @param args - An array of parsed arguments inside the at-rule parentheses.\n * Arguments are split by spaces.\n *\n * For example:\n * - `@honey-stack(2)` → `args = ['2']`\n * - `@honey-inline(2 center)` → `args = ['2', 'center']`\n *\n * @param element - The Stylis AST element representing the current at-rule node.\n * Can be useful for accessing raw content or children.\n *\n * @returns A string of one or more CSS declarations (e.g., `display:flex;gap:8px;`).\n * This string will be injected into the compiled output in place of the at-rule.\n */\n transform: (args: string[], element: Element, callback: Middleware) => Nullable<string>;\n}\n\n/**\n * Creates a Stylis middleware for transforming custom `@honey-*` at-rules into\n * regular CSS declarations.\n *\n * This utility enables the definition of expressive, domain-specific at-rules\n * such as `@honey-stack`, `@honey-inline`, or `@honey-center`, which can then be\n * expanded into valid CSS at build time.\n *\n * Supports optional arguments passed via parentheses (e.g., `@honey-stack(2)`),\n * as well as nested rule bodies (e.g., `@honey-stack { .child { ... } }`).\n *\n * ---\n *\n * ### Example\n * ```ts\n * createAtRuleMiddleware({\n * name: 'stack',\n * transform: args => {\n * const gap = parseFloat(args[0] ?? '0') * 8;\n *\n * return `display:flex;flex-direction:column;gap:${gap}px;`;\n * }\n * });\n * ```\n *\n * ---\n *\n * ### Behavior\n * - Matches only rules of the form `@honey-${name}` inside standard CSS rules.\n * - Parses arguments from parentheses (e.g. `@honey-name (arg1 arg2)`).\n * - Serializes nested content (children) and appends it to the output.\n *\n * @param options - Options for configuring the middleware:\n * - `name`: the custom at-rule suffix, without the `@honey-` prefix.\n * - `transform`: a function to convert parsed args and the AST node into CSS declarations.\n *\n * @returns A Stylis `Middleware` function that replaces the matched at-rule with the generated CSS.\n */\nexport const createAtRuleMiddleware =\n ({ name, transform }: AtRuleMiddlewareOptions): Middleware =>\n (element, _i, _children, callback) => {\n const { parent } = element;\n\n if (!parent || !parent.value || parent.type !== 'rule') {\n return;\n }\n\n if (element.type !== `@honey-${name}`) {\n return;\n }\n\n const argsMatch = element.value\n .trim()\n .match(new RegExp(`^${element.type}\\\\s*\\\\(\\\\s*([^)]+?)\\\\s*\\\\)\\\\s*;?$`, 'i'));\n\n element.type = 'decl';\n\n const args = argsMatch ? argsMatch[1].split(' ').filter(Boolean) : [];\n\n const css = transform(args, element, callback);\n if (css) {\n element.return = serialize(compile(css), callback);\n } else {\n element.value = '';\n }\n };\n","export * from './spacing';\nexport * from './stack-at-rule';\nexport * from './inline-at-rule';\nexport * from './center-at-rule';\nexport * from './absolute-fill-at-rule';\nexport * from './ellipsis-at-rule';\nexport * from './media-at-rule';\nexport * from './suggest';\n","import type { HoneyTheme } from '../../types';\nimport type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\ninterface CreateInlineAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createInlineAtRuleMiddleware = ({ theme }: CreateInlineAtRuleMiddlewareOptions = {}) =>\n createAtRuleMiddleware({\n name: 'inline',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['display:flex;', 'align-items:center;'];\n\n if (args.length) {\n const spacing = theme?.spacings.base ?? 0;\n\n const isNumber = /^-?\\d*\\.?\\d+$/.test(args[0]);\n const gap = isNumber ? `${parseFloat(args[0]) * spacing}px` : args;\n\n declarations.push(`gap:${gap};`);\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import { serialize } from 'stylis';\n\nimport type { HoneyBreakpoints, HoneyTheme } from '../../types';\nimport type {\n HoneyMediaQueryRule,\n MediaQueryRuleType,\n MediaQueryRuleOrientation,\n} from '../at-rules';\nimport { __DEV__ } from '../../constants';\nimport { createAtRuleMiddleware } from './factory';\nimport { mediaQuery } from '../at-rules';\nimport { createCssRule, splitStylisChildren } from '../css';\n\ntype BreakpointDirection = 'up' | 'down';\n\n/**\n * Determines whether token is breakpoint syntax:\n * sm:up\n * md:only\n * lg\n */\nconst isBreakpointToken = (token: string): token is BreakpointDirection =>\n /^[a-z]+\\b(:up|:down)?$/i.test(token);\n\n/**\n * Orientation tokens:\n * portrait\n * landscape\n */\nconst isOrientationToken = (token: string): token is MediaQueryRuleOrientation =>\n token === 'portrait' || token === 'landscape';\n\n/**\n * Media type tokens:\n * screen\n * print\n * speech\n */\nconst isMediaTypeToken = (token: string): token is MediaQueryRuleType =>\n token === 'all' || token === 'print' || token === 'screen' || token === 'speech';\n\n/**\n * Parses:\n * sm:up\n * md:down\n */\nconst parseBreakpointRule = (raw: string) => {\n const [key, direction] = raw.split(':');\n\n return {\n key,\n direction: (direction ?? 'up') as BreakpointDirection,\n };\n};\n\ninterface CreateMediaAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createMediaAtRuleMiddleware = ({ theme }: CreateMediaAtRuleMiddlewareOptions) =>\n createAtRuleMiddleware({\n name: 'media',\n transform: (args, element, callback) => {\n const { parent } = element;\n\n if (!parent || !args.length || !theme?.breakpoints) {\n return null;\n }\n\n const childrenGroups = splitStylisChildren(element.children);\n\n if (!childrenGroups.declarations.length && !childrenGroups.other.length) {\n return null;\n }\n\n const mediaQueryRules: HoneyMediaQueryRule[] = [];\n\n let orientation: MediaQueryRuleOrientation;\n let mediaType: MediaQueryRuleType;\n\n for (const token of args) {\n if (isOrientationToken(token)) {\n orientation = token;\n continue;\n }\n\n if (isMediaTypeToken(token)) {\n mediaType = token;\n continue;\n }\n\n if (!isBreakpointToken(token)) {\n if (__DEV__) {\n console.warn(`[@react-hive/honey-style]: Unknown @honey-media token: \"${token}\".`);\n }\n continue;\n }\n\n const breakpointRule = parseBreakpointRule(token);\n\n const breakpointPx =\n breakpointRule.key in theme.breakpoints\n ? theme.breakpoints[breakpointRule.key as keyof HoneyBreakpoints]\n : null;\n\n if (!breakpointPx) {\n if (__DEV__) {\n console.warn(\n `[@react-hive/honey-style]: Unknown breakpoint \"${breakpointRule.key}\" in @honey-media.`,\n );\n }\n continue;\n }\n\n let mediaQueryRule: HoneyMediaQueryRule | undefined;\n\n if (breakpointRule.direction === 'up') {\n mediaQueryRule = {\n minWidth: `${breakpointPx}px`,\n };\n } else if (breakpointRule.direction === 'down') {\n mediaQueryRule = {\n maxWidth: `${breakpointPx}px`,\n };\n }\n\n if (mediaQueryRule) {\n mediaQueryRules.push(mediaQueryRule);\n }\n }\n\n if (!mediaQueryRules.length) {\n return null;\n }\n\n const finalMediaQueryRules = mediaQueryRules.map<HoneyMediaQueryRule>(rule => ({\n ...rule,\n orientation,\n mediaType,\n }));\n\n const nestedRulesCss =\n childrenGroups.other.length > 0\n ? `${parent.value}${serialize(childrenGroups.other, callback)}`\n : '';\n\n const declarationCss =\n childrenGroups.declarations.length > 0\n ? createCssRule(parent.value, serialize(childrenGroups.declarations, callback))\n : '';\n\n return createCssRule(mediaQuery(finalMediaQueryRules), `${nestedRulesCss}${declarationCss}`);\n },\n });\n","import type { Middleware } from 'stylis';\nimport { isString } from '@react-hive/honey-utils';\n\nimport { CSS_SPACING_PROPERTIES } from '../constants';\nimport type { HoneyTheme } from '../../types';\n\nconst toKebabCase = (str: string): string =>\n str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\nconst KEBAB_CASE_SPACING_PROPERTIES: string[] = CSS_SPACING_PROPERTIES.map(toKebabCase);\n\ninterface SpacingMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createSpacingMiddleware =\n ({ theme }: SpacingMiddlewareOptions): Middleware =>\n element => {\n if (element.type !== 'decl') {\n return;\n }\n\n if (\n isString(element.props) &&\n KEBAB_CASE_SPACING_PROPERTIES.includes(element.props) &&\n isString(element.children)\n ) {\n // If the whole value contains parentheses, skip entirely (likely calc or var)\n if (/[()]/.test(element.children)) {\n return;\n }\n\n const transformedParts: string[] = [];\n\n const spacing = theme?.spacings.base ?? 0;\n const parts = element.children.trim().split(/\\s+/);\n\n for (const value of parts) {\n transformedParts.push(\n // Accept only numeric strings (integers or floats), no units or symbols\n /^-?\\d*\\.?\\d+$/.test(value) ? `${parseFloat(value) * spacing}px` : value,\n );\n }\n\n const transformed = transformedParts.join(' ');\n\n element.return = `${element.props}:${transformed};`;\n }\n };\n","import type { CSSDeclaration } from './types';\nimport type { HoneyTheme } from '../../types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\ninterface CreateStackAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createStackAtRuleMiddleware = ({ theme }: CreateStackAtRuleMiddlewareOptions) =>\n createAtRuleMiddleware({\n name: 'stack',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['display:flex;', 'flex-direction:column;'];\n\n if (args.length) {\n const spacing = theme?.spacings.base ?? 0;\n\n const isNumber = /^-?\\d*\\.?\\d+$/.test(args[0]);\n const gap = isNumber ? `${parseFloat(args[0]) * spacing}px` : args;\n\n declarations.push(`gap:${gap};`);\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { Middleware, Element } from 'stylis';\nimport { isArray, isString } from '@react-hive/honey-utils';\n\ninterface Declaration {\n prop: string;\n value: string;\n}\n\nconst collectDeclarations = (rule: Element): Declaration[] => {\n if (!isArray(rule.children)) {\n return [];\n }\n\n return rule.children\n .filter(child => child.type === 'decl' && isString(child.props) && isString(child.children))\n .map(child => ({\n prop: child.props,\n value: child.children,\n })) as Declaration[];\n};\n\ninterface KnownPattern {\n name: string;\n match: (declarations: Declaration[]) => boolean;\n}\n\nconst knownPatterns: KnownPattern[] = [\n {\n name: '@honey-center',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'align-items' && d.value === 'center') &&\n declarations.some(d => d.prop === 'justify-content' && d.value === 'center'),\n },\n {\n name: '@honey-stack',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'flex-direction' && d.value === 'column'),\n },\n {\n name: '@honey-inline',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'align-items' && d.value === 'center'),\n },\n];\n\nexport const suggestAtRuleMiddleware: Middleware = element => {\n if (element.type !== 'rule' || !element.children) {\n return;\n }\n\n const declarations = collectDeclarations(element);\n\n for (const pattern of knownPatterns) {\n if (pattern.match(declarations)) {\n console.info(\n `[@react-hive/honey-style]: The CSS rule \"${element.value}\" can be simplified using the shorthand at-rule \"${pattern.name}\".`,\n );\n\n break;\n }\n }\n};\n","import type { Middleware } from 'stylis';\nimport { compile, middleware, serialize, stringify } from 'stylis';\n\nimport type { HoneyTheme } from '../types';\nimport { __DEV__ } from '../constants';\nimport { createCssRule } from './css';\nimport {\n createAbsoluteFillAtRuleMiddleware,\n createCenterAtRuleMiddleware,\n createInlineAtRuleMiddleware,\n createSpacingMiddleware,\n createStackAtRuleMiddleware,\n createEllipsisAtRuleMiddleware,\n createMediaAtRuleMiddleware,\n} from './middlewares';\n\ninterface ProcessCssOptions {\n theme?: HoneyTheme;\n}\n\nexport const processCss = (\n rawCss: string,\n selector?: string,\n { theme }: ProcessCssOptions = {},\n): string => {\n const scopedCss = selector ? createCssRule(selector, rawCss) : rawCss;\n\n const middlewares: Middleware[] = [];\n\n if (__DEV__) {\n // middlewares.push(suggestAtRuleMiddleware);\n }\n\n middlewares.push(\n createMediaAtRuleMiddleware({ theme }),\n createSpacingMiddleware({ theme }),\n createStackAtRuleMiddleware({ theme }),\n createInlineAtRuleMiddleware({ theme }),\n createCenterAtRuleMiddleware(),\n createEllipsisAtRuleMiddleware(),\n createAbsoluteFillAtRuleMiddleware(),\n stringify,\n );\n\n return serialize(compile(scopedCss), middleware(middlewares));\n};\n","import * as CSS from 'csstype';\n\nexport type HoneyCSSClassName = string | undefined;\n\n/**\n * Represents a hexadecimal color value.\n *\n * Examples:\n * - `'#ffffff'`\n * - `'#123abc'`\n * - `'#000'`\n */\nexport type HoneyHEXColor = `#${string}`;\n\n/**\n * Represents any valid CSS color, either a named color (like `'red'`, `'blue'`)\n * or a hexadecimal color code (like `'#ff0000'`).\n */\nexport type HoneyCSSColor = HoneyHEXColor | CSS.DataType.ColorBase | CSS.Globals;\n\n/**\n * Represents absolute CSS dimension units.\n *\n * These units are fixed in physical measurements.\n *\n * - `'px'` — pixels\n * - `'cm'` — centimeters\n * - `'mm'` — millimeters\n * - `'in'` — inches\n * - `'pt'` — points\n * - `'pc'` — picas\n */\ntype HoneyCSSAbsoluteDimensionUnit = 'px' | 'cm' | 'mm' | 'in' | 'pt' | 'pc';\n\n/**\n * Represents relative CSS dimension units.\n *\n * These units scale depending on the context.\n *\n * - `'em'` — relative to the font-size of the element\n * - `'rem'` — relative to the font-size of the root element\n * - `'%'` — percentage of the parent element\n * - `'vh'` — 1% of the viewport height\n * - `'vw'` — 1% of the viewport width\n * - `'vmin'` — 1% of the smaller dimension of the viewport\n * - `'vmax'` — 1% of the larger dimension of the viewport\n */\ntype HoneyCSSRelativeDimensionUnit = 'em' | 'rem' | '%' | 'vh' | 'vw' | 'vmin' | 'vmax';\n\n/**\n * Represents any valid CSS dimension unit, including both absolute and relative types.\n */\nexport type HoneyCSSDimensionUnit = HoneyCSSAbsoluteDimensionUnit | HoneyCSSRelativeDimensionUnit;\n\n/**\n * Represents a numeric CSS dimension value with an optional specific unit.\n *\n * This type can represent:\n * - A value with a specific CSS unit, such as `'8px'`, `'1.5rem'`, or `'100%'`.\n * - The special value `'auto'` commonly used for flexible layout values.\n *\n * @template Unit - The CSS unit to use (e.g., `'px'`, `'em'`, `'rem'`).\n */\nexport type HoneyCSSDimensionValue<Unit extends HoneyCSSDimensionUnit = HoneyCSSDimensionUnit> =\n | `${number}${Unit}`\n | 'auto';\n\n/**\n * Represents a tuple of 2 to 4 values using standard CSS shorthand conventions.\n *\n * This type models how properties like `margin`, `padding`, `gap`, and `borderRadius`\n * can accept multiple values to control different sides or axes.\n *\n * Value interpretation follows CSS shorthand behavior:\n * - `[T, T]` → [top & bottom, left & right]\n * - `[T, T, T]` → [top, left & right, bottom]\n * - `[T, T, T, T]` → [top, right, bottom, left]\n *\n * @template T - The type of each spacing value (e.g., number, string, or token).\n */\nexport type HoneyCSSShorthandTuple<T> = [T, T] | [T, T, T] | [T, T, T, T];\n\n/**\n * Converts a tuple of spacing values into a valid CSS shorthand string using a consistent unit.\n *\n * Acts as a type-level converter that transforms 2–4 spacing values (e.g., `[8, 12]`) into a space-separated\n * CSS string (e.g., `'8px 12px'`), suitable for shorthand-compatible properties like `margin`, `padding`, or `gap`.\n *\n * This type enforces unit consistency across all values and is useful for generating precise, typed spacing strings.\n *\n * Example outputs:\n * - `'8px 12px'` for `[8, 12]`\n * - `'1rem 2rem 1.5rem'` for `[1, 2, 1.5]`\n * - `'4px 8px 12px 16px'` for `[4, 8, 12, 16]`\n *\n * @template Tuple - A tuple of 2 to 4 values to be converted into a CSS shorthand string.\n * @template Unit - The CSS unit to apply to each value (e.g., `'px'`, `'rem'`, `'%'`).\n */\nexport type HoneyCSSShorthandDimensionOutput<\n Tuple extends HoneyCSSShorthandTuple<unknown>,\n Unit extends HoneyCSSDimensionUnit,\n> = Tuple extends [unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : Tuple extends [unknown, unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : Tuple extends [unknown, unknown, unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : never;\n\n/**\n * Represents a CSS layout value that can be a single value or a shorthand array of values.\n *\n * Useful for properties like `margin`, `padding`, or `borderRadius`, which allow:\n * - A single value (applied to all sides)\n * - A tuple of 2–4 values using standard CSS shorthand behavior\n *\n * Examples:\n * - `'8px'`\n * - `['8px', '12px']`\n * - `['8px', '12px', '16px', '20px']`\n *\n * @template T - The type of each individual value.\n */\nexport type HoneyCSSMultiValue<T> = T | HoneyCSSShorthandTuple<T>;\n\n/**\n * Represents a spacing value used in layout-related CSS properties.\n *\n * Can be:\n * - A single numeric value (e.g., `8`)\n * - A single dimension string (e.g., `'1rem'`)\n * - A shorthand array of 2–4 values (e.g., `[8, 12]` or `['1rem', '2rem', '1.5rem']`)\n *\n * Commonly used for properties like `margin`, `padding`, `gap`, etc.\n */\nexport type HoneyCSSSpacingValue = HoneyCSSMultiValue<number | HoneyCSSDimensionValue>;\n\nexport type HoneyRawCSSSpacingValue = number | HoneyCSSDimensionValue | CSS.Globals;\n\n/**\n * Represents CSS properties related to spacing and positioning.\n */\nexport type HoneyCSSSpacingProperty = keyof Pick<\n CSS.Properties,\n | 'margin'\n | 'marginTop'\n | 'marginRight'\n | 'marginBottom'\n | 'marginLeft'\n | 'padding'\n | 'paddingTop'\n | 'paddingRight'\n | 'paddingBottom'\n | 'paddingLeft'\n | 'paddingBlock'\n | 'paddingBlockStart'\n | 'paddingBlockEnd'\n | 'top'\n | 'right'\n | 'bottom'\n | 'left'\n | 'inset'\n | 'gap'\n | 'rowGap'\n | 'columnGap'\n>;\n\n/**\n * Represents shorthand spacing properties that support multi-value arrays.\n *\n * These properties accept 2–4 space-separated values\n * to control spacing on multiple sides (e.g., top, right, bottom, left).\n */\nexport type HoneyCSSShorthandSpacingProperty = keyof Pick<\n CSS.Properties,\n 'margin' | 'padding' | 'gap'\n>;\n\n/**\n * Represents a subset of CSS properties that define color-related styles.\n */\nexport type HoneyCSSColorProperty = keyof Pick<\n CSS.Properties,\n | 'color'\n | 'backgroundColor'\n | 'borderColor'\n | 'borderTopColor'\n | 'borderRightColor'\n | 'borderBottomColor'\n | 'borderLeftColor'\n | 'outlineColor'\n | 'textDecorationColor'\n | 'fill'\n | 'stroke'\n>;\n","import { useInsertionEffect } from 'react';\n\nimport type { HoneyStyledInterpolation, HoneyStyledContext } from './types';\nimport { HONEY_GLOBAL_STYLE_ATTR } from './constants';\nimport { css, processCss } from './css';\nimport { generateId } from './utils';\nimport { useHoneyStyle } from './hooks';\n\nexport const createGlobalStyle = (\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<HoneyStyledContext<object>>[]\n) => {\n const styleId = generateId('hsg');\n\n const computeCss = css(strings, ...interpolations);\n\n const GlobalStyle = () => {\n const { theme } = useHoneyStyle();\n\n useInsertionEffect(() => {\n const rawCss = computeCss({ theme });\n const processedCss = processCss(rawCss);\n\n const styleElement = document.createElement('style');\n styleElement.id = styleId;\n styleElement.innerHTML = processedCss;\n styleElement.setAttribute(HONEY_GLOBAL_STYLE_ATTR, 'true');\n\n document.head.insertBefore(styleElement, document.head.firstChild);\n\n return () => {\n styleElement.remove();\n };\n }, [theme]);\n\n return null;\n };\n\n return GlobalStyle;\n};\n","export * from './use-honey-style';\n","import { useContext } from 'react';\nimport { assert } from '@react-hive/honey-utils';\n\nimport { HoneyStyleContext } from '../contexts';\n\nexport const useHoneyStyle = () => {\n const context = useContext(HoneyStyleContext);\n assert(\n context,\n 'The `useHoneyStyle()` hook must be used inside <HoneyStyleProvider/> component!',\n );\n\n return context;\n};\n","import { HONEY_STYLE_ATTR } from './constants';\n\ntype StyleCleanupFn = () => void;\n\n/**\n * Represents an entry in the style registry with the raw CSS string,\n * its usage count, and optional priority for ordering.\n */\ninterface StyleRegistryEntry {\n css: string;\n usages: number;\n priority: number;\n}\n\n/**\n * Global style registry, shared across reloads and modules.\n */\nconst getStyleRegistry = (): Map<string, StyleRegistryEntry> => {\n if (!window.__honeyStyleRegistry) {\n window.__honeyStyleRegistry = new Map<string, StyleRegistryEntry>();\n }\n\n return window.__honeyStyleRegistry;\n};\n\nconst styleRegistry = getStyleRegistry();\n\nlet globalStyleTag: HTMLStyleElement | null = null;\n\n/**\n * Ensures a single <style> tag exists and is attached to <head>.\n *\n * @returns The <style> element.\n */\nconst ensureGlobalStyleTag = (): HTMLStyleElement => {\n if (!globalStyleTag) {\n globalStyleTag = document.querySelector(`style[${HONEY_STYLE_ATTR}=\"true\"]`);\n\n if (!globalStyleTag) {\n globalStyleTag = document.createElement('style');\n globalStyleTag.setAttribute(HONEY_STYLE_ATTR, 'true');\n\n document.head.appendChild(globalStyleTag);\n }\n }\n\n return globalStyleTag;\n};\n\n/**\n * Updates the global <style> tag with all currently active styles, sorted by priority.\n */\nconst updateGlobalStyleContent = () => {\n const styleTag = ensureGlobalStyleTag();\n\n const allCss = Array.from(styleRegistry.entries())\n .sort(([, a], [, b]) => a.priority - b.priority)\n .map(([, entry]) => entry.css)\n .join('\\n');\n\n styleTag.textContent = allCss;\n};\n\n/**\n * Creates a cleanup function for a style, which decrements usage count and removes it if unused.\n *\n * @param className - The key of the style.\n */\nconst createCleanupFunction =\n (className: string): StyleCleanupFn =>\n () => {\n const entry = styleRegistry.get(className);\n if (!entry) {\n return;\n }\n\n entry.usages--;\n\n if (entry.usages <= 0) {\n styleRegistry.delete(className);\n\n updateGlobalStyleContent();\n }\n };\n\n/**\n * Mounts a CSS string under a given class name. Injects into a global <style> tag and manages its lifecycle.\n *\n * @param className - Unique identifier for the style block.\n * @param css - Full CSS rule string (can include multiple rules, media queries, etc.)\n * @param priority - Optional number to determine style ordering (lower = earlier = lower specificity)\n *\n * @returns A cleanup function to unmount the style when it's no longer needed.\n */\nexport const mountStyle = (\n className: string,\n css: string,\n priority: number = 0,\n): StyleCleanupFn => {\n const existing = styleRegistry.get(className);\n\n if (existing) {\n existing.usages++;\n\n return createCleanupFunction(className);\n }\n\n styleRegistry.set(className, {\n css,\n priority,\n usages: 1,\n });\n\n updateGlobalStyleContent();\n\n return createCleanupFunction(className);\n};\n","import React, { useMemo } from 'react';\nimport type { PropsWithChildren } from 'react';\n\nimport { HoneyStyleContext } from '../contexts';\nimport { resolveColor, resolveDimension, resolveFont, resolveSpacing } from '../utils';\nimport type { HoneyTheme } from '../types';\nimport type { HoneyStyleContextValue } from '../contexts';\n\nexport interface HoneyStyleProviderProps {\n theme: HoneyTheme;\n}\n\nexport const HoneyStyleProvider = ({\n children,\n theme,\n}: PropsWithChildren<HoneyStyleProviderProps>) => {\n const contextValue = useMemo<HoneyStyleContextValue>(\n () => ({\n theme,\n resolveSpacing: (...args) => resolveSpacing(...args)({ theme }),\n resolveColor: (...args) => resolveColor(...args)({ theme }),\n resolveFont: (...args) => resolveFont(...args)({ theme }),\n resolveDimension: (...args) => resolveDimension(...args)({ theme }),\n }),\n [theme],\n );\n\n return <HoneyStyleContext value={contextValue}>{children}</HoneyStyleContext>;\n};\n","export * from './HoneyStyleProvider';\n","import type { ElementType, ComponentProps, ComponentPropsWithRef } from 'react';\nimport { createElement, useInsertionEffect } from 'react';\nimport { isString, invokeIfFunction, definedProps } from '@react-hive/honey-utils';\n\nimport type {\n FastOmit,\n Override,\n HoneyHTMLDataAttributes,\n HoneyStyledInterpolation,\n HoneyStyledPropsWithAs,\n HoneyStyledContext,\n} from './types';\nimport type { HoneyCSSClassName } from './css';\nimport { __DEV__, HONEY_STYLED_COMPONENT_ID_PROP } from './constants';\nimport {\n generateId,\n combineClassNames,\n resolveClassName,\n filterNonHtmlAttrs,\n isStyledComponent,\n} from './utils';\nimport { css, processCss } from './css';\nimport { mountStyle } from './mount-style';\nimport { useHoneyStyle } from './hooks';\n\nconst evaluateDynamicCss = (\n interpolation: HoneyStyledInterpolation<any> | undefined,\n context: HoneyStyledContext<any>,\n): string => {\n if (!interpolation) {\n return '';\n }\n\n if (isString(interpolation)) {\n return interpolation;\n }\n\n // @ts-expect-error\n return css([''], [interpolation])(context);\n};\n\nexport type HoneyStyledProps<\n Element extends ElementType,\n Props extends object,\n> = HoneyStyledPropsWithAs<\n Element,\n HoneyHTMLDataAttributes & ComponentPropsWithRef<Element> & Props\n>;\n\ntype DefaultPropsResolver<\n Target extends ElementType,\n DefaultProps extends object,\n Props extends object,\n CombinedProps extends object = Override<DefaultProps, Props>,\n> =\n | HoneyStyledPropsWithAs<Target, FastOmit<Partial<CombinedProps>, 'as'>>\n | ((\n props: HoneyStyledContext<HoneyStyledPropsWithAs<Target, CombinedProps>>,\n ) => HoneyStyledPropsWithAs<Target, FastOmit<Partial<CombinedProps>, 'as'>>);\n\ninterface StyledOptions {\n omitProps?: (name: string) => boolean;\n}\n\nexport const styled = <\n TargetProps extends object,\n Target extends ElementType = ElementType,\n OverrideTarget extends ElementType = Target,\n>(\n target: Target,\n defaultProps?: DefaultPropsResolver<OverrideTarget, ComponentProps<OverrideTarget>, TargetProps>,\n { omitProps }: StyledOptions = {},\n) => {\n return <Props extends object = TargetProps>(\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<Override<ComponentProps<OverrideTarget>, Props>>[]\n ) => {\n const componentId = generateId('hsc');\n const computeCss = css(strings, ...interpolations);\n\n const StyledComponent = <AsElement extends ElementType = OverrideTarget>({\n as,\n className,\n __compositionDepth = 0,\n css: cssProp,\n ...props\n }: HoneyStyledPropsWithAs<\n AsElement,\n Override<ComponentProps<AsElement>, FastOmit<Props, 'as'>>\n > & {\n /**\n * @deprecated Please use inheritance instead.\n */\n css?: HoneyStyledInterpolation<Props>;\n className?: HoneyCSSClassName;\n __compositionDepth?: number;\n }) => {\n if (__DEV__ && cssProp) {\n console.warn(\n `[@react-hive/honey-style]: The \"css\" prop is deprecated. Please use inheritance or composition instead.`,\n );\n }\n\n const { theme } = useHoneyStyle();\n\n const cleanedProps = definedProps(props);\n const resolvedDefaultProps = {\n ...(invokeIfFunction(defaultProps, {\n theme,\n as,\n className,\n ...cleanedProps,\n } as never) ?? ({} as never)),\n // Allow overriding the default \"className\" prop\n ...(className && { className }),\n };\n\n const context: HoneyStyledContext<any> = {\n ...resolvedDefaultProps,\n ...cleanedProps,\n theme,\n };\n\n const rawCss = computeCss(context);\n const baseClassName = resolveClassName(rawCss);\n\n useInsertionEffect(() => {\n const baseCss = processCss(rawCss, `.${baseClassName}`, {\n theme,\n });\n\n return mountStyle(baseClassName, baseCss, __compositionDepth);\n }, [baseClassName]);\n\n const cssPropRaw = invokeIfFunction(cssProp, context);\n const cssPropString = evaluateDynamicCss(cssPropRaw, context);\n\n const cssPropClassName = cssPropString ? resolveClassName(cssPropString) : '';\n\n useInsertionEffect(() => {\n if (cssPropClassName) {\n const overrideCss = processCss(cssPropString, `.${cssPropClassName}`, {\n theme,\n });\n\n return mountStyle(cssPropClassName, overrideCss, 1);\n }\n }, [cssPropClassName]);\n\n const finalClassName = combineClassNames([\n componentId,\n baseClassName,\n resolvedDefaultProps.className,\n cssPropClassName,\n ]);\n\n const mergedProps = {\n ...resolvedDefaultProps,\n ...cleanedProps,\n className: finalClassName,\n };\n\n const finalProps = omitProps\n ? Object.entries(mergedProps).reduce(\n (result, [propName, propValue]) =>\n omitProps(propName)\n ? result\n : {\n ...result,\n [propName]: propValue,\n },\n {},\n )\n : mergedProps;\n\n const finalComponent = as || target;\n\n if (isString(target)) {\n const filteredProps = isString(finalComponent)\n ? filterNonHtmlAttrs(finalProps)\n : finalProps;\n\n return createElement(finalComponent, filteredProps);\n }\n\n return createElement(target, {\n ...finalProps,\n ...(as && { as }),\n ...(isStyledComponent(target) && {\n __compositionDepth: __compositionDepth - 1,\n }),\n });\n };\n\n StyledComponent[HONEY_STYLED_COMPONENT_ID_PROP] = componentId;\n\n if (__DEV__) {\n const componentName = isString(target)\n ? target\n : target.displayName || target.name || 'Component';\n\n StyledComponent.displayName = `HoneyStyledComponent(${componentName})`;\n }\n\n return StyledComponent;\n };\n};\n","export * from './theme';\nexport * from './utility';\n","import * as CSS from 'csstype';\nimport type { ElementType } from 'react';\n\nimport { HONEY_STYLED_COMPONENT_ID_PROP } from '../constants';\nimport type { HoneyCSSColor, HoneyCSSDimensionUnit } from '../css';\n\n/**\n * Creates a new type by omitting the specified keys `U` from the object type `T`.\n *\n * This is a faster and simpler alternative to TypeScript's built-in `Omit<T, U>`\n * when you don't need support for more complex scenarios like union distributions.\n *\n * @example\n * ```ts\n * type User = {\n * id: number;\n * name: string;\n * password: string;\n * };\n *\n * type PublicUser = FastOmit<User, 'password'>;\n * // Result: { id: number; name: string }\n * ```\n *\n * @template T - The original object type.\n * @template U - The keys to remove from `T`.\n */\nexport type FastOmit<T extends object, U extends string | number | symbol> = {\n [K in keyof T as K extends U ? never : K]: T[K];\n};\n\n/**\n * Creates a new object type by replacing properties in `A` with properties from `B`\n * where the keys overlap.\n *\n * This is useful for modifying existing types—for example, changing the type of a specific field\n * without redefining the entire structure.\n *\n * Internally, it removes keys from `A` that exist in `B`, then merges in `B`.\n *\n * @example\n * ```ts\n * type Original = {\n * id: number;\n * name: string;\n * };\n *\n * type Replacements = {\n * name: boolean;\n * };\n *\n * type Modified = Override<Original, Replacements>;\n * // Result: { id: number; name: boolean }\n * ```\n *\n * @template A - The base object type.\n * @template B - The object type with properties to override in `A`.\n */\nexport type Override<A extends object, B extends object> = FastOmit<A, keyof B> & B;\n\nexport type HoneyHTMLDataAttributes = {\n [key: `data-${string}`]: string | number;\n};\n\n/**\n * Defines different spacing sizes available in the theme.\n */\nexport interface HoneySpacings {\n /**\n * The base spacing value in pixels.\n */\n base: number;\n // Additional spacing sizes\n small?: number;\n medium?: number;\n large?: number;\n}\n\n/**\n * Represents the breakpoints configuration in pixes for a responsive layout.\n *\n * Notes:\n * - `xs`: Extra small devices\n * - `sm`: Small devices\n * - `md`: Medium devices\n * - `lg`: Large devices\n * - `xl`: Extra large devices\n */\nexport interface HoneyBreakpoints {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n xl: number;\n}\n\nexport type HoneyBreakpointName = keyof HoneyBreakpoints;\n\nexport interface HoneyFont {\n size: number;\n family?: string;\n weight?: number;\n lineHeight?: number;\n letterSpacing?: number;\n}\n\n/**\n * Example of augmenting the fonts interface.\n *\n * @example\n * ```ts\n * declare module '@react-hive/honey-style' {\n * export interface HoneyFonts {\n * body: HoneyFont;\n * caption: HoneyFont;\n * }\n * }\n * ```\n */\nexport interface HoneyFonts {\n [key: string]: HoneyFont;\n}\n\nexport type HoneyFontName = keyof HoneyFonts;\n\n/**\n * Defines the color palette used in the theme.\n */\ninterface BaseHoneyColors {\n /**\n * Used for elements that require high visibility and emphasis, such as primary buttons, call-to-action elements,\n * and important elements like headers or titles.\n */\n primary: Record<string, HoneyCSSColor>;\n /**\n * Used to complement the primary color and add visual interest.\n * Often used for secondary buttons, borders, and decorative elements to provide contrast and balance within the design.\n * Helps create a cohesive visual hierarchy by providing variation in color tones.\n */\n secondary: Record<string, HoneyCSSColor>;\n /**\n * Used to draw attention to specific elements or interactions.\n * Often applied to interactive elements like links, icons, or tooltips to indicate their interactive nature.\n * Can be used sparingly to highlight important information or to create visual focal points.\n */\n accent: Record<string, HoneyCSSColor>;\n /**\n * Used for backgrounds, text, and other elements where a subtle, non-distracting color is desired.\n * Provides a versatile palette for elements like backgrounds, borders, text, and icons, allowing other colors to stand\n * out more prominently. Helps maintain balance and readability without overwhelming the user with too much color.\n */\n neutral: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate successful or positive actions or states.\n * Often applied to elements like success messages, notifications, or icons to convey successful completion of tasks or operations.\n * Provides visual feedback to users to indicate that their actions were successful.\n */\n success: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate cautionary or potentially risky situations.\n * Applied to elements like warning messages, alerts, or icons to notify users about potential issues or actions that require attention.\n * Helps users recognize and address potential problems or risks before they escalate.\n */\n warning: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate errors, critical issues, or potentially destructive actions.\n * Applied to elements like error messages, validation indicators, form fields, or delete buttons to alert users about incorrect input,\n * system errors, or actions that may have irreversible consequences. Provides visual feedback to prompt users to\n * take corrective actions or seek assistance when encountering errors or potentially risky actions.\n */\n error: Record<string, HoneyCSSColor>;\n}\n\n/**\n * Example of augmenting the colors interface.\n *\n * @example\n * ```ts\n * declare module '@react-hive/honey-style' {\n * export interface HoneyColors {\n * neutral: Record<'charcoalDark' | 'charcoalGray' | 'crimsonRed', HoneyCSSColor>;\n * }\n * }\n * ```\n */\nexport interface HoneyColors extends BaseHoneyColors {}\n\n/**\n * Generates a union of all possible color keys by combining each property of `HoneyColors` with its corresponding keys.\n *\n * This type iterates over each key in the `HoneyColors` interface and creates a string template,\n * which combines the color type with each of its keys. The result is a union of all possible color keys.\n *\n * @example\n *\n * Given the `HoneyColors` interface:\n * ```ts\n * interface HoneyColors {\n * primary: Record<'blue' | 'green', HoneyCSSColor>;\n * neutral: Record<'charcoalDark' | 'charcoalGray' | 'crimsonRed', HoneyCSSColor>;\n * }\n * ```\n *\n * The resulting `HoneyColorKey` type will be:\n * ```ts\n * type HoneyColorKey = 'neutral.charcoalDark' | 'neutral.charcoalGray' | 'neutral.crimsonRed' | 'primary.blue' | 'primary.green';\n * ```\n */\nexport type HoneyColorKey = {\n [ColorType in keyof HoneyColors]: `${ColorType}.${keyof HoneyColors[ColorType] & string}`;\n}[keyof HoneyColors];\n\nexport type HoneyColor = HoneyCSSColor | HoneyColorKey;\n\nexport interface HoneyContainer {\n /**\n * Max container width in any CSS distance value.\n */\n maxWidth: `${number}${HoneyCSSDimensionUnit}`;\n}\n\nexport type HoneyDimensionValue = `${number}${HoneyCSSDimensionUnit}`;\n\n/**\n * Represents a map of dimension names to CSS distance values.\n */\nexport interface HoneyDimensions {\n [key: string]: HoneyDimensionValue;\n}\n\nexport type HoneyDimensionName = keyof HoneyDimensions;\n\n/**\n * Represents the theme configuration.\n */\nexport interface BaseHoneyTheme {\n /**\n * Breakpoints for responsive design, where keys are breakpoint names and values are breakpoint values.\n */\n breakpoints: Partial<HoneyBreakpoints>;\n /**\n * Configuration for the container.\n */\n container: Partial<HoneyContainer>;\n /**\n * Spacing values used throughout the theme.\n */\n spacings: HoneySpacings;\n /**\n * Font settings used throughout the theme.\n */\n fonts: HoneyFonts;\n /**\n * Color palette used throughout the theme.\n */\n colors: HoneyColors;\n /**\n * Dimension values used throughout the theme.\n */\n dimensions: HoneyDimensions;\n}\n\nexport interface HoneyTheme extends BaseHoneyTheme {}\n\nexport type HoneyStyledPropsWithAs<Element extends ElementType, Props extends object> = {\n as?: Element;\n} & Props;\n\ntype HoneyInternalStyledComponent = {\n [HONEY_STYLED_COMPONENT_ID_PROP]: string;\n};\n\nexport interface HoneyStyledComponent extends HoneyInternalStyledComponent {\n displayName?: string;\n}\n\nexport type HoneyStyledContext<Props extends object> = {\n theme: HoneyTheme;\n} & Props;\n\ntype HoneyStyledInterpolationCSSProps = {\n [K in keyof CSS.Properties]?: CSS.Properties[K] | null | false | undefined;\n};\n\nexport type HoneyStyledFunction<Props extends object> = (\n context: HoneyStyledContext<Props>,\n) => HoneyStyledInterpolation<Props>;\n\nexport type HoneyStyledInterpolation<Props extends object> =\n | string\n | number\n | boolean\n | null\n | undefined\n | HoneyStyledComponent\n | HoneyStyledInterpolationCSSProps\n | HoneyStyledFunction<Props>\n | HoneyStyledInterpolation<Props>[];\n","export type Nullable<T> = T | null;\n","import { hashString } from '@react-hive/honey-utils';\n\nimport { HONEY_STYLED_COMPONENT_ID_PROP, VALID_DOM_ELEMENT_ATTRS } from './constants';\nimport { css } from './css';\nimport type {\n HoneyHEXColor,\n HoneyCSSColor,\n HoneyCSSClassName,\n HoneyCSSShorthandDimensionOutput,\n HoneyCSSShorthandTuple,\n HoneyCSSSpacingValue,\n HoneyCSSDimensionUnit,\n HoneyCSSDimensionValue,\n} from './css';\nimport type {\n Nullable,\n HoneyColor,\n HoneyColorKey,\n HoneyColors,\n HoneyDimensionName,\n HoneyFontName,\n HoneySpacings,\n HoneyStyledComponent,\n HoneyStyledContext,\n} from './types';\n\nexport const generateId = (prefix: string) => `${prefix}-${Math.random().toString(36).slice(2, 8)}`;\n\n/**\n * Combines multiple class names into a single space-separated string\n *\n * @param classNames - Array of class names to combine\n */\nexport const combineClassNames = (classNames: HoneyCSSClassName[]) =>\n classNames.filter(Boolean).join(' ').trim();\n\nexport const resolveClassName = (css: string) => `hscn-${hashString(css)}`;\n\nexport const isStyledComponent = (component: any): component is HoneyStyledComponent =>\n HONEY_STYLED_COMPONENT_ID_PROP in component;\n\n/**\n * Filters out non-standard HTML attributes from a props object intended for a native HTML element.\n *\n * Retains only valid DOM attributes, including standard HTML attributes and\n * custom `data-*` or `aria-*` attributes. This helps avoid React warnings due to\n * invalid props and ensures clean, valid HTML output.\n *\n * This function is typically used when rendering polymorphic or styled components\n * that may receive non-standard props, but only valid attributes should be passed\n * to underlying DOM elements.\n *\n * @template Attrs - The type of the attributes object.\n *\n * @param attrs - An object representing all props passed to a component.\n *\n * @returns A new object containing only props that are safe and valid for use on native DOM elements.\n */\nexport const filterNonHtmlAttrs = <Attrs extends object>(attrs: Attrs): Attrs =>\n Object.entries(attrs).reduce((allowedAttrs, [name, value]) => {\n if (VALID_DOM_ELEMENT_ATTRS.has(name) || name.startsWith('data-') || name.startsWith('aria-')) {\n allowedAttrs[name as keyof Attrs] = value;\n }\n return allowedAttrs;\n }, {} as Attrs);\n\n/**\n * Converts a pixel value to rem.\n *\n * @param px - The pixel value to be converted to rem.\n * @param base - The base value for conversion. Default is 16, which is the typical root font size.\n *\n * @returns The value in rem as a string.\n */\nexport const pxToRem = (px: number, base: number = 16): string => `${px / base}rem`;\n\n/**\n * Type guard function to check if a string value follows the pattern of a theme color value.\n *\n * A theme color value is assumed to be a string containing exactly one dot (e.g., 'primary.main').\n *\n * @param propertyValue - The string value to check.\n *\n * @returns True if the string value is a theme color value, false otherwise.\n */\nexport const checkIsThemeColorValue = (propertyValue: string): propertyValue is HoneyColorKey =>\n propertyValue.split('.').length === 2;\n\n/**\n * Determines the resolved type for spacing values when processed by `resolveSpacing`.\n *\n * The return type adapts based on the shape of the `Value` and presence of a CSS `Unit`:\n *\n * - If `Value` is a `string` (e.g., raw `'10px'` or `'auto'`), it is returned as-is.\n * - If `Unit` is `null`, the original value is returned (either number or shorthand array).\n * - If `Unit` is provided and `Value` is a shorthand array (e.g., `[1, 2, 3, 4]`),\n * it is resolved to a space-separated dimension string (e.g., `'8px 16px 24px 32px'`).\n * - If `Unit` is provided and `Value` is a number, it is resolved to a single dimension string (e.g., `'16px'`).\n *\n * This type helps enforce correct resolution behavior depending on user input and configuration.\n *\n * @template Value - The input spacing value (number, shorthand array, or raw string).\n * @template Unit - A CSS length unit (e.g., 'px', 'em'), or `null` to skip unit formatting.\n */\nexport type HoneyResolveSpacingResult<\n Value extends HoneyCSSSpacingValue,\n Unit extends Nullable<HoneyCSSDimensionUnit>,\n> = Value extends HoneyCSSDimensionValue\n ? Value\n : Unit extends null\n ? Value\n : Value extends HoneyCSSShorthandTuple<number | HoneyCSSDimensionValue>\n ? HoneyCSSShorthandDimensionOutput<Value, NonNullable<Unit>>\n : HoneyCSSDimensionValue<NonNullable<Unit>>;\n\n/**\n * Resolves a spacing value or shorthand spacing array using the theme and optional unit.\n *\n * This function takes spacing multipliers and converts them into pixel or unit-based values\n * using a theme spacing scale (e.g., `theme.spacings.base`). Useful for applying consistent\n * layout spacing with theming and token support.\n *\n * @template Value - The spacing value(s) to resolve. Can be:\n * - A number (e.g., `1`) representing a multiplier.\n * - An array of numbers (e.g., `[1, 2, 3, 4]`) for shorthand spacing.\n * - A dimension string (e.g., `'10px'`) will be returned as `never`.\n * @template Unit - Optional CSS unit (`'px'`, `'em'`, etc.), or `null` to skip units.\n *\n * @param value - Spacing multiplier(s) to apply.\n * @param [unit='px'] - The CSS unit to append. If `null`, values remain numeric.\n * @param [type='base'] - The spacing type to use from the theme (e.g., `'base'`, `'small'`).\n *\n * @returns A function that takes a theme context and returns:\n * - A single resolved value (e.g., `'16px'`) if `value` is a number.\n * - A space-separated string (e.g., `'8px 12px'`) if `value` is an array.\n * - `never` if the input is a raw string (unsupported).\n */\nexport const resolveSpacing =\n <Value extends HoneyCSSSpacingValue, Unit extends Nullable<HoneyCSSDimensionUnit> = 'px'>(\n value: Value,\n unit: Unit = 'px' as Unit,\n type: keyof HoneySpacings = 'base',\n ): ((context: HoneyStyledContext<object>) => HoneyResolveSpacingResult<Value, Unit>) =>\n ({ theme }) => {\n if (typeof value === 'string') {\n return value as never;\n }\n\n const selectedSpacing = theme.spacings[type] ?? 0;\n\n if (typeof value === 'number') {\n const normalizedValue = value * selectedSpacing;\n\n return (unit ? `${normalizedValue}${unit}` : normalizedValue) as HoneyResolveSpacingResult<\n Value,\n Unit\n >;\n }\n\n const calculatedValues = value.map(shorthandValue => {\n if (typeof shorthandValue === 'string') {\n return shorthandValue;\n }\n\n const calculatedValue = shorthandValue * selectedSpacing;\n\n return unit ? `${calculatedValue}${unit}` : calculatedValue;\n });\n\n return calculatedValues.join(' ') as HoneyResolveSpacingResult<Value, Unit>;\n };\n\n/**\n * Resolves the font styles based on the provided font name from the theme.\n *\n * @param fontName - The name of the font to be resolved from the theme.\n *\n * @returns A style function that takes a theme object and returns the CSS styles for the specified font.\n */\nexport const resolveFont =\n (fontName: HoneyFontName) =>\n ({ theme }: HoneyStyledContext<object>) => {\n const font = theme.fonts[fontName];\n\n return css`\n font-family: ${font.family};\n font-size: ${pxToRem(font.size)};\n font-weight: ${font.weight};\n line-height: ${font.lineHeight !== undefined && pxToRem(font.lineHeight)};\n letter-spacing: ${font.letterSpacing !== undefined && pxToRem(font.letterSpacing)};\n `;\n };\n\n/**\n * Converts a 3-character or 6-character HEX color code to an 8-character HEX with alpha (RRGGBBAA) format.\n *\n * @param hex - The 3-character or 6-character HEX color code (e.g., \"#RGB\" or \"#RRGGBB\" or \"RGB\" or \"RRGGBB\").\n * @param alpha - The alpha transparency value between 0 (fully transparent) and 1 (fully opaque).\n *\n * @throws {Error} If alpha value is not between 0 and 1, or if the hex code is invalid.\n *\n * @returns The 8-character HEX with alpha (RRGGBBAA) format color code, or null if input is invalid.\n */\nexport const convertHexToHexWithAlpha = (hex: string, alpha: number): HoneyHEXColor => {\n if (alpha < 0 || alpha > 1) {\n throw new Error(`[honey-layout]: Alpha \"${alpha}\" is not a valid hex format.`);\n }\n\n const hexRegex = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;\n\n const match = hex.match(hexRegex);\n if (!match) {\n throw new Error(`[honey-layout]: Invalid hex format.`);\n }\n\n const cleanHex = match[1];\n\n // Expand 3-character hex to 6-character hex if necessary\n const fullHex =\n cleanHex.length === 3\n ? cleanHex[0] + cleanHex[0] + cleanHex[1] + cleanHex[1] + cleanHex[2] + cleanHex[2]\n : cleanHex;\n\n // Convert to 8-character hex with alpha\n const alphaHex = Math.round(alpha * 255)\n .toString(16)\n .toUpperCase()\n .padStart(2, '0');\n\n return `#${fullHex + alphaHex}`;\n};\n\n/**\n * Resolves a color value from the theme or returns the input color directly if it's a standalone color name or HEX value.\n *\n * @param colorInput - A string representing the color to resolve.\n * This can be:\n * - A theme key in the format 'colorType.colorName'.\n * - A standalone color name (e.g., \"red\", \"blue\").\n * - A HEX color value (e.g., \"#RRGGBB\").\n * @param [alpha] - The alpha transparency value between 0 (fully transparent) and 1 (fully opaque).\n * Default to `undefined`.\n *\n * @returns A function that takes an `ExecutionContext` with a `theme` and resolves the color value:\n * - A HEX color string from the theme (e.g., \"#RRGGBB\").\n * - A HEX color string with alpha (e.g., \"#RRGGBBAA\") if `alpha` is provided.\n * - The input `colorKey` value directly if it's a standalone color name or HEX value.\n *\n * @throws Will throw an error if the provided alpha value is not within the valid range (0 to 1).\n * @throws Will throw an error if the color format is invalid.\n */\nexport const resolveColor =\n (colorInput: HoneyColor, alpha?: number) =>\n ({ theme }: HoneyStyledContext<object>): HoneyCSSColor => {\n const [colorType, colorName] = colorInput.split('.');\n\n const color = colorName\n ? theme.colors[colorType as keyof HoneyColors][colorName]\n : (colorType as HoneyCSSColor);\n\n return alpha === undefined ? color : convertHexToHexWithAlpha(color, alpha);\n };\n\n/**\n * Resolves a specific dimension value from the theme configuration.\n *\n * @param dimensionName - The name of the dimension to resolve.\n *\n * @returns A style function that takes the theme and returns the resolved dimension value from the theme.\n */\nexport const resolveDimension =\n (dimensionName: HoneyDimensionName) =>\n ({ theme }: HoneyStyledContext<object>): HoneyCSSDimensionValue =>\n theme.dimensions[dimensionName];\n","module.exports = require(\"react\");","const e=e=>new Blob([e],{type:e.type}),t=e=>new DOMRect(e.offsetLeft,e.offsetTop,e.clientWidth,e.clientHeight),n=e=>\"A\"===e.tagName,r=e=>\"true\"===e.getAttribute(\"contenteditable\"),l=[\"INPUT\",\"SELECT\",\"TEXTAREA\",\"BUTTON\",\"A\"],a=e=>{if(!e)return!1;const t=window.getComputedStyle(e);if(\"hidden\"===t.visibility||\"none\"===t.display)return!1;if(\"disabled\"in e&&e.disabled)return!1;const a=e.getAttribute(\"tabindex\");return\"-1\"!==a&&(l.includes(e.tagName)?!n(e)||\"\"!==e.href:!!r(e)||null!==a)},i=e=>Array.from(e.querySelectorAll(\"*\")).filter(a),o=(e,t=null,{wrap:n=!0,getNextIndex:r}={})=>{const l=document.activeElement,a=t??l?.parentElement;if(!l||!a)return;const o=i(a);if(0===o.length)return;const s=o.indexOf(l);if(-1===s)return;let c;r?c=r(s,e,o):\"next\"===e?(c=s+1,c>=o.length&&(c=n?0:null)):(c=s-1,c<0&&(c=n?o.length-1:null)),null!==c&&o[c]?.focus()};function s(e,t){if(!e)throw new Error(t)}const c=e=>null===e,u=e=>null==e,f=e=>null!=e,h=e=>void 0===e,d=e=>\"number\"==typeof e,m=e=>\"boolean\"==typeof e,g=e=>\"object\"==typeof e,w=e=>g(e)&&!c(e)&&0===Object.keys(e).length,y=e=>e instanceof Date,p=e=>e instanceof Blob,b=e=>e instanceof Error,x=e=>y(e)&&!isNaN(e.getTime()),M=e=>e instanceof RegExp,S=e=>e instanceof Map,A=e=>e instanceof Set,v=e=>\"symbol\"==typeof e,k=e=>d(e)&&isFinite(e),C=e=>d(e)&&Number.isInteger(e),E=e=>k(e)&&!Number.isInteger(e),O=e=>Array.isArray(e),P=e=>O(e)&&0===e.length,T=e=>e.filter(Boolean),X=e=>[...new Set(e)],_=(e,t)=>(s(t>0,\"Chunk size must be greater than 0\"),Array.from({length:Math.ceil(e.length/t)},(n,r)=>e.slice(r*t,(r+1)*t))),z=(...e)=>{if(0===e.length)return[];if(1===e.length)return[...e[0]];const[t,...n]=e;return X(t).filter(e=>n.every(t=>t.includes(e)))},L=(e,t)=>e.filter(e=>!t.includes(e)),Y=(...e)=>t=>e.reduce((e,t)=>t(e),t),R=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),N=()=>{},$=e=>\"function\"==typeof e,F=e=>(...t)=>!e(...t),I=e=>{let t,n=!1;return function(...r){return n||(n=!0,t=e.apply(this,r)),t}},j=e=>$(e?.then),U=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++)n.push(await t(e[r],r,e));return n},H=async(e,t)=>Promise.all(e.map(t)),W=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++){const l=e[r];await t(l,r,e)&&n.push(l)}return n},B=async(e,t)=>{const n=await H(e,async(e,n,r)=>!!await t(e,n,r)&&e);return T(n)},D=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return!0;return!1},V=async(e,t)=>{for(let n=0;n<e.length;n++)if(!await t(e[n],n,e))return!1;return!0},Z=async(e,t,n)=>{let r=n;for(let n=0;n<e.length;n++)r=await t(r,e[n],n,e);return r},G=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return e[n];return null},q=e=>new Promise(t=>setTimeout(t,e)),J=async(e,t,n=\"Operation timed out\")=>{try{return await Promise.race([e,q(t).then(()=>Promise.reject(new Error(n)))])}finally{}},K=(e,{maxAttempts:t=3,delayMs:n=300,backoff:r=!0,onRetry:l}={})=>async(...a)=>{let i;for(let o=1;o<=t;o++)try{return await e(...a)}catch(e){if(i=e,o<t){l?.(o,e);const t=r?n*2**(o-1):n;await q(t)}}throw i},Q=e=>\"string\"==typeof e,ee=(e,{fileName:t,target:n}={})=>{if(h(document))return;const r=document.createElement(\"a\");let l=null;try{const a=Q(e)?e:l=URL.createObjectURL(e);r.href=a,t&&(r.download=t),n&&(r.target=n),document.body.appendChild(r),r.click()}finally{r.remove(),l&&setTimeout(()=>{s(l,\"Object URL should not be null\"),URL.revokeObjectURL(l)},0)}},te=e=>e.scrollWidth>e.clientWidth,ne=e=>Math.max(0,e.scrollWidth-e.clientWidth),re=e=>e.scrollHeight>e.clientHeight,le=e=>Math.max(0,e.scrollHeight-e.clientHeight),ae=({overflowSize:e,containerSize:t,elementOffset:n,elementSize:r})=>{if(e<=0)return 0;const l=n+r/2-t/2;return-Math.max(0,Math.min(l,e))},ie=(e,t,{axis:n=\"both\"}={})=>{let r=0,l=0;\"x\"!==n&&\"both\"!==n||(r=ae({overflowSize:ne(e),containerSize:e.clientWidth,elementOffset:t.offsetLeft,elementSize:t.clientWidth})),\"y\"!==n&&\"both\"!==n||(l=ae({overflowSize:le(e),containerSize:e.clientHeight,elementOffset:t.offsetTop,elementSize:t.clientHeight})),e.style.transform=`translate(${r}px, ${l}px)`},oe=e=>{const t=window.getComputedStyle(e).getPropertyValue(\"transform\").match(/^matrix\\((.+)\\)$/);if(!t)return{translateX:0,translateY:0,scaleX:1,scaleY:1,skewX:0,skewY:0};const[n,r,l,a,i,o]=t[1].split(\", \").map(parseFloat);return{translateX:i,translateY:o,scaleX:n,scaleY:a,skewX:l,skewY:r}},se=()=>{if(\"undefined\"==typeof window||!window.localStorage)return!1;try{return window.localStorage.getItem(\"__non_existing_key__\"),!0}catch{return!1}},ce=()=>{if(!se())return{readable:!1,writable:!1};try{const e=\"__test_write__\";return window.localStorage.setItem(e,\"1\"),window.localStorage.removeItem(e),{readable:!0,writable:!0}}catch{}return{readable:!0,writable:!1}},ue=e=>e instanceof File,fe=e=>{if(!e)return[];const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t},he=(e,t)=>new File([e],t,{type:e.type}),de=async(e,{skipFiles:t=[\".DS_Store\",\"Thumbs.db\",\"desktop.ini\",\"ehthumbs.db\",\".Spotlight-V100\",\".Trashes\",\".fseventsd\",\"__MACOSX\"]}={})=>{const n=new Set(t),r=await(async e=>{const t=e.createReader(),n=async()=>new Promise((e,r)=>{t.readEntries(async t=>{if(t.length)try{const r=await n();e([...t,...r])}catch(e){r(e)}else e([])},r)});return n()})(e);return(await H(r,async e=>e.isDirectory?de(e,{skipFiles:t}):n.has(e.name)?[]:[await new Promise((t,n)=>{e.file(t,n)})])).flat()},me=async(e,t={})=>{const n=e?.items;if(!n)return[];const r=[];for(let e=0;e<n.length;e++){const l=n[e];if(\"webkitGetAsEntry\"in l){const e=l.webkitGetAsEntry?.();if(e?.isDirectory){r.push(de(e,t));continue}if(e?.isFile){r.push(new Promise((t,n)=>e.file(e=>t([e]),n)));continue}}const a=l.getAsFile();a&&r.push(Promise.resolve([a]))}return(await Promise.all(r)).flat()},ge=(e,...t)=>\"function\"==typeof e?e(...t):e,we=({delta:e,value:t,min:n,max:r})=>{if(0===e)return null;const l=t+e;return e<0?t<=n?null:Math.max(l,n):e>0?t>=r?null:Math.min(l,r):null},ye=({value:e,min:t,max:n,velocityPxMs:r,deltaTimeMs:l,friction:a=.002,minVelocityPxMs:i=.01,emaAlpha:o=.2})=>{if(Math.abs(r)<i)return null;const s=we({delta:r*l,value:e,min:t,max:n});if(null===s)return null;const c=r*Math.exp(-a*l),u=o>0?r*(1-o)+c*o:c;return Math.abs(u)<i?null:{value:s,velocityPxMs:u}},pe=()=>`${Math.floor(1e3*performance.now()).toString(36)}${Math.random().toString(36).slice(2,10)}`,be=(e,t)=>Math.max(0,Math.min(e.right,t.right)-Math.max(e.left,t.left))*Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top))/(t.width*t.height),xe=(e,t,{allowFallback:n=!0,invert:r=!0}={})=>{const l=r?-1:1;switch(t){case\"x\":return{deltaX:l*(0!==e.deltaX?e.deltaX:n?e.deltaY:0),deltaY:0};case\"y\":return{deltaX:0,deltaY:l*e.deltaY};default:return{deltaX:l*e.deltaX,deltaY:l*e.deltaY}}},Me=(e,t,n,r)=>{const l=n-e,a=r-t;return Math.hypot(l,a)},Se=(e,t)=>Math.abs(e/t),Ae=(e,t)=>e*t/100,ve=e=>{let t=5381;for(let n=0;n<e.length;n++)t=33*t^e.charCodeAt(n);return(t>>>0).toString(36)},ke=e=>Object.entries(e).reduce((e,[t,n])=>(void 0!==n&&(e[t]=n),e),{}),Ce=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1-$2\").toLowerCase(),Ee=e=>{const t=e.charAt(0),n=e.slice(1);return t.toLowerCase()+n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)},Oe=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1 $2\"),Pe=e=>0===e.length?[]:e.split(\" \").filter(Boolean),Te=e=>\"\"===e||u(e),Xe=e=>{const t=e.lastIndexOf(\".\");return t<=0||t===e.length-1?[e,\"\"]:[e.slice(0,t),e.slice(t+1).toLowerCase()]},_e=(e,t)=>{if(0===e.length)return[];const n=t.charCodeAt(0),r=[];for(let t=0;t<e.length;t++)e.charCodeAt(t)===n&&r.push(t);return r},ze=(e,t,n)=>{if(0===e.length)return;const r=e.length;for(let l=0;l<r;l++){const a=e[l],i={charIndex:l,prevChar:l>0?e[l-1]:null,nextChar:l<r-1?e[l+1]:null};n?.(a,i)||t(a,i)}},Le=(e,t=1/0)=>0===e.length?\"\":Pe(e).slice(0,t).map(e=>e[0]).join(\"\").toUpperCase();export{l as FOCUSABLE_HTML_TAGS,ye as applyInertiaStep,s as assert,he as blobToFile,ae as calculateCenterOffset,Me as calculateEuclideanDistance,Se as calculateMovingSpeed,Ae as calculatePercentage,Ee as camelToDashCase,Oe as camelToWords,ie as centerElementInContainer,_ as chunk,e as cloneBlob,T as compact,R as compose,ke as definedProps,q as delay,L as difference,ee as downloadFile,V as everyAsync,fe as fileListToFiles,B as filterParallel,W as filterSequential,G as findAsync,_e as findCharIndices,ze as forEachChar,pe as generateEphemeralId,be as getDOMRectIntersectionRatio,t as getElementOffsetRect,i as getFocusableHtmlElements,ce as getLocalStorageCapabilities,Le as getWordsInitials,ne as getXOverflowWidth,le as getYOverflowHeight,te as hasXOverflow,re as hasYOverflow,ve as hashString,z as intersection,ge as invokeIfFunction,n as isAnchorHtmlElement,O as isArray,p as isBlob,m as isBool,r as isContentEditableHtmlElement,y as isDate,E as isDecimal,f as isDefined,P as isEmptyArray,w as isEmptyObject,b as isError,ue as isFile,k as isFiniteNumber,$ as isFunction,a as isHtmlElementFocusable,C as isInteger,se as isLocalStorageReadable,S as isMap,u as isNil,Te as isNilOrEmptyString,c as isNull,d as isNumber,g as isObject,j as isPromise,M as isRegExp,A as isSet,Q as isString,v as isSymbol,h as isUndefined,x as isValidDate,o as moveFocusWithinContainer,N as noop,F as not,I as once,oe as parse2DMatrix,Xe as parseFileName,Y as pipe,me as readFilesFromDataTransfer,Z as reduceAsync,xe as resolveAxisDelta,we as resolveBoundedDelta,K as retry,H as runParallel,U as runSequential,D as someAsync,Pe as splitStringIntoWords,J as timeout,Ce as toKebabCase,de as traverseFileSystemDirectory,X as unique};\n//# sourceMappingURL=index.mjs.map","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, token, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tif ((token(previous || 1) == 5 || token(peek() || 1) == 5) && strlen(characters) && substr(characters, -1, void 0) !== ' ') characters += ' '\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length || (variable === 0 && previous === 47)))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tswitch (atrule) {\n\t\t\t\t\t\t\t\t\t// c(ontainer)\n\t\t\t\t\t\t\t\t\tcase 99:\n\t\t\t\t\t\t\t\t\t\tif (charat(characters, 3) === 110) break\n\t\t\t\t\t\t\t\t\t// l(ayer)\n\t\t\t\t\t\t\t\t\tcase 108:\n\t\t\t\t\t\t\t\t\t\tif (charat(characters, 2) === 97) break\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\toffset = 0\n\t\t\t\t\t\t\t\t\t// d(ocument) m(edia) s(upports)\n\t\t\t\t\t\t\t\t\tcase 100: case 109: case 115:\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (offset) parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\telse parse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599:\n\t\t\treturn WEBKIT + value + value\n\t\t// mask-composite\n\t\tcase 4855:\n\t\t\treturn WEBKIT + value.replace('add', 'source-over').replace('substract', 'source-out').replace('intersect', 'source-in').replace('exclude', 'xor') + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /space-between/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES, NAMESPACE} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Check if module exists (development only)\n\tif (__webpack_modules__[moduleId] === undefined) {\n\t\tvar e = new Error(\"Cannot find module '\" + moduleId + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from './constants';\nexport * from './contexts';\nexport * from './providers';\nexport * from './hooks';\nexport * from './types';\nexport * from './css';\nexport * from './global-style';\nexport * from './styled';\nexport * from './utils';\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"index.dev.cjs","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;AACb,KAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,+CAA+C,6BAA6B;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,gDAAgD;AAChE,gBAAgB,aAAa;AAC7B;AACA;AACA,gCAAgC,kCAAkC,OAAO;AACzE;AACA,gGAAgG,SAAS,UAAU,sFAAsF,aAAa,UAAU,UAAU;AAC1O;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,KAAK;AAChB,WAAW,OAAO;AAClB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,wCAAwC,+BAA+B;AACvE;;;;;;;UC5HA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WC5BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN4B;AACD;AACC;AACJ;AACA;AACF;AACS;AACN;AACD","sources":["webpack://@react-hive/honey-style/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@react-hive/honey-style/./node_modules/react/jsx-runtime.js","webpack://@react-hive/honey-style/./src/constants.ts","webpack://@react-hive/honey-style/./src/contexts/HoneyStyleContext.ts","webpack://@react-hive/honey-style/./src/contexts/index.ts","webpack://@react-hive/honey-style/./src/css/at-rules/index.ts","webpack://@react-hive/honey-style/./src/css/at-rules/media-query.ts","webpack://@react-hive/honey-style/./src/css/constants.ts","webpack://@react-hive/honey-style/./src/css/css.ts","webpack://@react-hive/honey-style/./src/css/index.ts","webpack://@react-hive/honey-style/./src/css/middlewares/absolute-fill-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/center-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/ellipsis-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/factory.ts","webpack://@react-hive/honey-style/./src/css/middlewares/index.ts","webpack://@react-hive/honey-style/./src/css/middlewares/inline-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/media-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/spacing.ts","webpack://@react-hive/honey-style/./src/css/middlewares/stack-at-rule.ts","webpack://@react-hive/honey-style/./src/css/middlewares/suggest.ts","webpack://@react-hive/honey-style/./src/css/processor.ts","webpack://@react-hive/honey-style/./src/css/types.ts","webpack://@react-hive/honey-style/./src/global-style.ts","webpack://@react-hive/honey-style/./src/hooks/index.ts","webpack://@react-hive/honey-style/./src/hooks/use-honey-style.ts","webpack://@react-hive/honey-style/./src/mount-style.ts","webpack://@react-hive/honey-style/./src/providers/HoneyStyleProvider.tsx","webpack://@react-hive/honey-style/./src/providers/index.ts","webpack://@react-hive/honey-style/./src/styled.ts","webpack://@react-hive/honey-style/./src/types/index.ts","webpack://@react-hive/honey-style/./src/types/theme.ts","webpack://@react-hive/honey-style/./src/types/utility.ts","webpack://@react-hive/honey-style/./src/utils.ts","webpack://@react-hive/honey-style/external commonjs2 \"react\"","webpack://@react-hive/honey-style/./node_modules/@react-hive/honey-utils/dist/index.mjs","webpack://@react-hive/honey-style/./node_modules/stylis/src/Enum.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Middleware.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Parser.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Prefixer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Serializer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Tokenizer.js","webpack://@react-hive/honey-style/./node_modules/stylis/src/Utility.js","webpack://@react-hive/honey-style/webpack/bootstrap","webpack://@react-hive/honey-style/webpack/runtime/compat get default export","webpack://@react-hive/honey-style/webpack/runtime/define property getters","webpack://@react-hive/honey-style/webpack/runtime/hasOwnProperty shorthand","webpack://@react-hive/honey-style/webpack/runtime/make namespace object","webpack://@react-hive/honey-style/./src/index.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import type { SVGAttributes, TdHTMLAttributes } from 'react';\n\nimport type { HoneyBreakpointName } from './types';\n\nconst ENV = process.env.NODE_ENV || 'development';\n\nexport const __DEV__ =\n ENV !== 'production' && typeof window !== 'undefined' && !process.env.JEST_WORKER_ID;\n\nif (__DEV__) {\n console.info(\n '[@react-hive/honey-style]: You are running in development mode. ' +\n 'This build is not optimized for production and may include extra checks or logs.',\n );\n}\n\nexport const HONEY_STYLED_COMPONENT_ID_PROP = '$$ComponentId';\n\nexport const HONEY_GLOBAL_STYLE_ATTR = 'data-honey-global-style';\nexport const HONEY_STYLE_ATTR = 'data-honey-style';\n\nexport const HONEY_BREAKPOINTS: HoneyBreakpointName[] = ['xs', 'sm', 'md', 'lg', 'xl'];\n\nconst VALID_HTML_ATTRS = new Set([\n // Standard Attributes\n 'accept',\n 'accessKey',\n 'autoCapitalize',\n 'autoComplete',\n 'autoFocus',\n 'capture',\n 'class',\n 'className',\n 'contentEditable',\n 'contextMenu',\n 'dir',\n 'draggable',\n 'hidden',\n 'id',\n 'inert',\n 'inputMode',\n 'is',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellCheck',\n 'style',\n 'tabIndex',\n 'title',\n 'translate',\n 'unselectable',\n\n // Form Attributes\n 'checked',\n 'disabled',\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'list',\n 'max',\n 'maxLength',\n 'min',\n 'minLength',\n 'multiple',\n 'name',\n 'pattern',\n 'placeholder',\n 'readOnly',\n 'required',\n 'size',\n 'step',\n 'type',\n 'value',\n\n // Media Attributes\n 'alt',\n 'controls',\n 'crossOrigin',\n 'height',\n 'isMap',\n 'loop',\n 'media',\n 'muted',\n 'poster',\n 'preload',\n 'role',\n 'src',\n 'srcSet',\n 'useMap',\n 'width',\n\n // Anchor & Link Attributes\n 'download',\n 'href',\n 'hrefLang',\n 'referrerPolicy',\n 'rel',\n 'target',\n\n // React Specific\n 'dangerouslySetInnerHTML',\n 'key',\n 'ref',\n 'children',\n\n // Deprecated/Obscure Attributes (still valid in some contexts)\n 'char',\n 'charOff',\n\n // Web Components / Shadow DOM\n 'exportparts',\n 'popover',\n 'popoverTarget',\n 'popoverTargetAction',\n 'virtualkeyboardpolicy',\n 'writingsuggestions',\n]);\n\nconst VALID_TABLE_ATTRS = new Set<keyof TdHTMLAttributes<any>>([\n 'colSpan',\n 'rowSpan',\n 'headers',\n 'abbr',\n 'scope',\n /**\n * @deprecated https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align\n */\n 'align',\n /**\n * @deprecated https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign\n */\n 'valign',\n]);\n\nconst VALID_SVG_ATTRS = new Set<keyof SVGAttributes<any>>([\n 'viewBox',\n 'fill',\n 'stroke',\n 'strokeWidth',\n 'strokeLinecap',\n 'strokeLinejoin',\n 'strokeDasharray',\n 'strokeDashoffset',\n 'strokeOpacity',\n 'fillOpacity',\n 'opacity',\n 'pointerEvents',\n 'focusable',\n 'x',\n 'y',\n 'x1',\n 'x2',\n 'y1',\n 'y2',\n 'cx',\n 'cy',\n 'r',\n 'rx',\n 'ry',\n 'd',\n 'points',\n 'height',\n 'transform',\n 'xmlns',\n 'preserveAspectRatio',\n 'mask',\n 'clipPath',\n 'pathLength',\n 'markerStart',\n 'markerMid',\n 'markerEnd',\n 'refX',\n 'refY',\n 'dominantBaseline',\n 'textAnchor',\n]);\n\nconst VALID_EVENT_ATTRS = new Set([\n // Clipboard\n 'onCopy',\n 'onCut',\n 'onPaste',\n\n // Composition\n 'onCompositionEnd',\n 'onCompositionStart',\n 'onCompositionUpdate',\n\n // Focus\n 'onFocus',\n 'onBlur',\n\n // Form\n 'onChange',\n 'onInput',\n 'onInvalid',\n 'onReset',\n 'onSubmit',\n\n // Keyboard\n 'onKeyDown',\n 'onKeyPress',\n 'onKeyUp',\n\n // Mouse\n 'onClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n\n // Drag & Drop\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n\n // Pointer\n 'onPointerDown',\n 'onPointerMove',\n 'onPointerUp',\n 'onPointerCancel',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerOver',\n 'onPointerOut',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n\n // Selection\n 'onSelect',\n\n // Touch\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n\n // UI\n 'onScroll',\n\n // Wheel\n 'onWheel',\n\n // Media\n 'onAbort',\n 'onCanPlay',\n 'onCanPlayThrough',\n 'onDurationChange',\n 'onEmptied',\n 'onEncrypted',\n 'onEnded',\n 'onLoadedData',\n 'onLoadedMetadata',\n 'onLoadStart',\n 'onPause',\n 'onPlay',\n 'onPlaying',\n 'onProgress',\n 'onRateChange',\n 'onSeeked',\n 'onSeeking',\n 'onStalled',\n 'onSuspend',\n 'onTimeUpdate',\n 'onVolumeChange',\n 'onWaiting',\n\n // Image\n 'onLoad',\n 'onError',\n\n // Transition\n 'onTransitionEnd',\n 'onTransitionStart',\n 'onTransitionRun',\n 'onTransitionCancel',\n\n // Animation\n 'onAnimationStart',\n 'onAnimationEnd',\n 'onAnimationIteration',\n 'onAnimationCancel',\n]);\n\nexport const VALID_DOM_ELEMENT_ATTRS = new Set([\n ...VALID_HTML_ATTRS,\n ...VALID_TABLE_ATTRS,\n ...VALID_SVG_ATTRS,\n ...VALID_EVENT_ATTRS,\n]);\n","import { createContext } from 'react';\n\nimport type {\n HoneyCSSColor,\n HoneyCSSDimensionUnit,\n HoneyCSSDimensionValue,\n HoneyCSSSpacingValue,\n} from '../css';\nimport type {\n Nullable,\n HoneyTheme,\n HoneyColorKey,\n HoneyDimensionName,\n HoneyFontName,\n HoneySpacings,\n HoneyStyledInterpolation,\n} from '../types';\nimport type { HoneyResolveSpacingResult } from '../utils';\n\nexport interface HoneyStyleContextValue {\n /**\n * Represents the theme object.\n */\n theme: HoneyTheme;\n /**\n * Function to resolve spacing values based on a given theme.\n *\n * @template Value - A type representing the spacing value(s), which could be a single value or an array of values.\n * @template Unit - The CSS unit used for the resolved spacing value, e.g., 'px', 'em'.\n *\n * @param value - The spacing value(s) to be applied, which could be a single number or an array of numbers.\n * @param [unit] - The CSS unit to use for the calculated value. Defaults to 'px'.\n * @param [type] - The type of spacing to use from the theme (e.g., 'base', 'small', 'large').\n *\n * @returns The resolved spacing value, formatted as a string with the appropriate unit.\n */\n resolveSpacing: <\n Value extends HoneyCSSSpacingValue,\n Unit extends Nullable<HoneyCSSDimensionUnit> = 'px',\n >(\n value: Value,\n unit?: Unit,\n type?: keyof HoneySpacings,\n ) => HoneyResolveSpacingResult<Value, Unit>;\n /**\n * Function to resolve color values based on the theme.\n *\n * @param colorKey - The key representing the color in the theme.\n * @param [alpha] - Optional alpha value to apply to the color for transparency.\n *\n * @returns The resolved CSS color, optionally with alpha transparency.\n */\n resolveColor: (colorKey: HoneyColorKey, alpha?: number) => HoneyCSSColor;\n /**\n * Function to resolve font styles based on the theme.\n *\n * @param fontName - The name of the font to resolve from the theme.\n *\n * @returns The CSS style rules for the specified font.\n */\n resolveFont: (fontName: HoneyFontName) => HoneyStyledInterpolation<object>;\n /**\n * Function to resolve dimension values based on the theme.\n *\n * @param dimensionName - The name of the dimension to resolve from the theme.\n *\n * @returns The resolved CSS dimension value (e.g., width, height).\n */\n resolveDimension: (dimensionName: HoneyDimensionName) => HoneyCSSDimensionValue;\n}\n\nexport const HoneyStyleContext = createContext<HoneyStyleContextValue | undefined>(undefined);\n","export * from './HoneyStyleContext';\n","export * from './media-query';\n","import { compact } from '@react-hive/honey-utils';\n\nimport type { HoneyCSSDimensionValue } from '../types';\n\n/**\n * Represents CSS resolution units typically used in media queries.\n *\n * - `dpi` — dots per inch\n * - `dpcm` — dots per centimeter\n * - `dppx` — dots per pixel (e.g., 2dppx for Retina displays)\n * - `x` — alias for `dppx`\n */\ntype MediaQueryRuleResolutionUnit = 'dpi' | 'dpcm' | 'dppx' | 'x';\n\n/**\n * Represents a CSS resolution value, such as `'300dpi'`, `'2x'`, or `'1.5dppx'`.\n */\ntype MediaQueryRuleResolutionValue = `${number}${MediaQueryRuleResolutionUnit}`;\n\n/**\n * Properties for dimension-based media queries\n */\ninterface MediaQueryRuleDimensionProperties {\n width?: HoneyCSSDimensionValue;\n minWidth?: HoneyCSSDimensionValue;\n maxWidth?: HoneyCSSDimensionValue;\n height?: HoneyCSSDimensionValue;\n minHeight?: HoneyCSSDimensionValue;\n maxHeight?: HoneyCSSDimensionValue;\n}\n\n/**\n * Properties for resolution-based media queries\n */\ninterface MediaQueryRuleResolutionProperties {\n resolution?: MediaQueryRuleResolutionValue;\n minResolution?: MediaQueryRuleResolutionValue;\n maxResolution?: MediaQueryRuleResolutionValue;\n}\n\ntype MediaQueryRuleOperator = 'not' | 'only';\n\nexport type MediaQueryRuleType = 'all' | 'print' | 'screen' | 'speech';\n\n/**\n * Represents the possible values for media query orientation.\n *\n * Used in responsive styles to target specific device orientations.\n *\n * - `'landscape'` – Width is greater than height.\n * - `'portrait'` – Height is greater than width.\n */\nexport type MediaQueryRuleOrientation = 'landscape' | 'portrait';\n\ntype MediaQueryRuleUpdate = 'none' | 'slow' | 'fast';\n\n/**\n * Options for CSS @media at-rule.\n */\nexport interface HoneyMediaQueryRule\n extends MediaQueryRuleDimensionProperties, MediaQueryRuleResolutionProperties {\n operator?: MediaQueryRuleOperator;\n /**\n * @default screen\n */\n mediaType?: MediaQueryRuleType;\n orientation?: MediaQueryRuleOrientation;\n update?: MediaQueryRuleUpdate;\n}\n\ntype HoneyMediaQueryRuleConfig = [string, string | number];\n\n/**\n * Constructs a complete `@media` query string from an array of media rule objects.\n * Each rule defines conditions such as screen size, orientation, or resolution,\n * which are converted into standard CSS media query syntax.\n *\n * @param rules - An array of media rule objects used to generate individual media queries.\n *\n * @returns A string containing a full `@media` query that can be used in CSS or injected into a stylesheet.\n *\n * @example\n * ```ts\n * mediaQuery([\n * { minWidth: '768px', orientation: 'landscape' },\n * { mediaType: 'print' }\n * ]);\n * // Returns: \"@media screen and (min-width: 768px) and (orientation: landscape), print\"\n * ```\n */\nexport const mediaQuery = (rules: HoneyMediaQueryRule[]): string => {\n const mediaRules = rules.map(rule => {\n const rulesConfig: (HoneyMediaQueryRuleConfig | undefined)[] = [\n rule.width && ['width', rule.width],\n rule.minWidth && ['min-width', rule.minWidth],\n rule.maxWidth && ['max-width', rule.maxWidth],\n rule.height && ['height', rule.height],\n rule.minHeight && ['min-height', rule.minHeight],\n rule.maxHeight && ['max-height', rule.maxHeight],\n rule.orientation && ['orientation', rule.orientation],\n rule.minResolution && ['min-resolution', rule.minResolution],\n rule.maxResolution && ['max-resolution', rule.maxResolution],\n rule.resolution && ['resolution', rule.resolution],\n rule.update && ['update', rule.update],\n ];\n\n const conditions = compact(rulesConfig)\n .map(([prop, value]) => `(${prop}: ${value})`)\n .join(' and ');\n\n const operatorPart = rule.operator ? `${rule.operator} ` : '';\n const conditionsPart = conditions ? ` and ${conditions}` : '';\n\n return `${operatorPart}${rule.mediaType ?? 'screen'}${conditionsPart}`;\n });\n\n return `@media ${mediaRules.join(', ')}`;\n};\n","import type { HoneyCSSColorProperty, HoneyCSSSpacingProperty } from './types';\n\nexport const CSS_SPACING_PROPERTIES: readonly HoneyCSSSpacingProperty[] = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'padding',\n 'paddingTop',\n 'paddingRight',\n 'paddingBottom',\n 'paddingLeft',\n 'paddingBlock',\n 'paddingBlockStart',\n 'paddingBlockEnd',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'inset',\n 'gap',\n 'rowGap',\n 'columnGap',\n];\n\nexport const CSS_COLOR_PROPERTIES: readonly HoneyCSSColorProperty[] = [\n 'color',\n 'backgroundColor',\n 'borderColor',\n 'borderTopColor',\n 'borderRightColor',\n 'borderBottomColor',\n 'borderLeftColor',\n 'outlineColor',\n 'textDecorationColor',\n 'fill',\n 'stroke',\n];\n","import type { Middleware, Element } from 'stylis';\nimport {\n isArray,\n isFunction,\n isNilOrEmptyString,\n isObject,\n toKebabCase,\n} from '@react-hive/honey-utils';\nimport { serialize } from 'stylis';\n\nimport type { HoneyStyledInterpolation, HoneyStyledContext } from '../types';\nimport { HONEY_STYLED_COMPONENT_ID_PROP } from '../constants';\nimport { isStyledComponent } from '../utils';\n\nconst resolveCssInterpolation = <Props extends object>(\n value: HoneyStyledInterpolation<Props>,\n context: HoneyStyledContext<Props>,\n): string => {\n if (value === false || isNilOrEmptyString(value)) {\n return '';\n }\n\n if (isFunction(value)) {\n if (isStyledComponent(value)) {\n return `.${value[HONEY_STYLED_COMPONENT_ID_PROP]}`;\n }\n\n return resolveCssInterpolation(value(context), context);\n }\n\n if (isArray(value)) {\n return value.map(v => resolveCssInterpolation(v, context)).join('\\n');\n }\n\n if (isObject(value)) {\n return Object.entries(value)\n .filter(([, v]) => v !== undefined && v !== false)\n .map(([k, v]) => `${toKebabCase(k)}: ${v};`)\n .join('\\n');\n }\n\n return value.toString?.() ?? '';\n};\n\nexport const css = <Props extends object>(\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<Props>[]\n) => {\n return (context: HoneyStyledContext<Props>) =>\n strings.reduce(\n (cssResult, str, index) =>\n cssResult + str + resolveCssInterpolation(interpolations[index], context),\n '',\n );\n};\n\nexport const createCssRule = (selector: string, css: string) => `${selector}{${css}}`;\n\nexport const getChildrenCss = (element: Element, callback: Middleware): string =>\n isArray(element.children) ? serialize(element.children, callback) : element.children;\n\ninterface StylisChildrenGroups {\n pseudoRules: Element[];\n otherRules: Element[];\n}\n\n/**\n * Splits Stylis children into:\n *\n * - pseudoRules: rules that start with a pseudo selector (e.g. \":hover\", \":not(...)\")\n * - otherRules: everything else\n */\nexport const splitStylisChildren = (children: string | Element[]): StylisChildrenGroups => {\n if (!isArray(children) || children.length === 0) {\n return {\n pseudoRules: [],\n otherRules: [],\n };\n }\n\n return children.reduce<StylisChildrenGroups>(\n (groups, child) => {\n const isPseudoRule = child.value.startsWith('&');\n\n if (isPseudoRule) {\n groups.pseudoRules.push(child);\n } else {\n groups.otherRules.push(child);\n }\n\n return groups;\n },\n {\n pseudoRules: [],\n otherRules: [],\n },\n );\n};\n","export * from './types';\nexport * from './constants';\nexport * from './middlewares';\nexport * from './processor';\nexport * from './css';\nexport * from './at-rules';\n","import { createAtRuleMiddleware } from './factory';\nimport type { CSSDeclaration } from './types';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createAbsoluteFillAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'absolute-fill',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['position:absolute;', 'inset:0;'];\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createCenterAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'center',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = [];\n\n switch (args[0]) {\n case 'horizontal':\n case 'x':\n declarations.push('display:flex;', 'justify-content:center;');\n break;\n case 'vertical':\n case 'y':\n declarations.push('display:flex;', 'align-items:center;');\n break;\n case 'block':\n declarations.push('display:block;', 'text-align:center;');\n break;\n case 'inline':\n declarations.push(\n 'display:inline-flex;',\n 'align-items:center;',\n 'justify-content:center;',\n );\n break;\n default:\n declarations.push('display:flex;', 'align-items:center;', 'justify-content:center;');\n break;\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\nexport const createEllipsisAtRuleMiddleware = () =>\n createAtRuleMiddleware({\n name: 'ellipsis',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = [\n 'white-space:nowrap;',\n 'overflow:hidden;',\n 'text-overflow:ellipsis;',\n ];\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import { compile, serialize } from 'stylis';\nimport type { Element, Middleware } from 'stylis';\n\nimport type { Nullable } from '../../types';\nimport { createCssRule } from '../css';\n\ninterface AtRuleMiddlewareOptions {\n /**\n * The suffix name of the custom at-rule without the `@honey-` prefix.\n *\n * For example, if you want to handle `@honey-stack`, set this to `\"stack\"`.\n *\n * This name is used to match the rule in the Stylis AST.\n */\n name: string;\n /**\n * A transformation function that returns CSS declarations to be injected\n * in place of the custom at-rule.\n *\n * @param args - An array of parsed arguments inside the at-rule parentheses.\n * Arguments are split by spaces.\n *\n * For example:\n * - `@honey-stack(2)` → `args = ['2']`\n * - `@honey-inline(2 center)` → `args = ['2', 'center']`\n *\n * @param element - The Stylis AST element representing the current at-rule node.\n * Can be useful for accessing raw content or children.\n *\n * @returns A string of one or more CSS declarations (e.g., `display:flex;gap:8px;`).\n * This string will be injected into the compiled output in place of the at-rule.\n */\n transform: (args: string[], element: Element, callback: Middleware) => Nullable<string>;\n}\n\n/**\n * Creates a Stylis middleware for transforming custom `@honey-*` at-rules into\n * regular CSS declarations.\n *\n * This utility enables the definition of expressive, domain-specific at-rules\n * such as `@honey-stack`, `@honey-inline`, or `@honey-center`, which can then be\n * expanded into valid CSS at build time.\n *\n * Supports optional arguments passed via parentheses (e.g., `@honey-stack(2)`),\n * as well as nested rule bodies (e.g., `@honey-stack { .child { ... } }`).\n *\n * ---\n *\n * ### Example\n * ```ts\n * createAtRuleMiddleware({\n * name: 'stack',\n * transform: args => {\n * const gap = parseFloat(args[0] ?? '0') * 8;\n *\n * return `display:flex;flex-direction:column;gap:${gap}px;`;\n * }\n * });\n * ```\n *\n * ---\n *\n * ### Behavior\n * - Matches only rules of the form `@honey-${name}` inside standard CSS rules.\n * - Parses arguments from parentheses (e.g. `@honey-name (arg1 arg2)`).\n * - Serializes nested content (children) and appends it to the output.\n *\n * @param options - Options for configuring the middleware:\n * - `name`: the custom at-rule suffix, without the `@honey-` prefix.\n * - `transform`: a function to convert parsed args and the AST node into CSS declarations.\n *\n * @returns A Stylis `Middleware` function that replaces the matched at-rule with the generated CSS.\n */\nexport const createAtRuleMiddleware =\n ({ name, transform }: AtRuleMiddlewareOptions): Middleware =>\n (element, _i, _children, callback) => {\n const { parent } = element;\n\n if (!parent || !parent.value || parent.type !== 'rule') {\n return;\n }\n\n if (element.type !== `@honey-${name}`) {\n return;\n }\n\n const argsMatch = element.value\n .trim()\n .match(new RegExp(`^${element.type}\\\\s*\\\\(\\\\s*([^)]+?)\\\\s*\\\\)\\\\s*;?$`, 'i'));\n\n element.type = 'decl';\n\n const args = argsMatch ? argsMatch[1].split(' ').filter(Boolean) : [];\n\n const css = transform(args, element, callback);\n if (css) {\n element.return = serialize(compile(css), callback);\n } else {\n element.value = '';\n }\n };\n","export * from './spacing';\nexport * from './stack-at-rule';\nexport * from './inline-at-rule';\nexport * from './center-at-rule';\nexport * from './absolute-fill-at-rule';\nexport * from './ellipsis-at-rule';\nexport * from './media-at-rule';\nexport * from './suggest';\n","import type { HoneyTheme } from '../../types';\nimport type { CSSDeclaration } from './types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\ninterface CreateInlineAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createInlineAtRuleMiddleware = ({ theme }: CreateInlineAtRuleMiddlewareOptions = {}) =>\n createAtRuleMiddleware({\n name: 'inline',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['display:flex;', 'align-items:center;'];\n\n if (args.length) {\n const spacing = theme?.spacings.base ?? 0;\n\n const isNumber = /^-?\\d*\\.?\\d+$/.test(args[0]);\n const gap = isNumber ? `${parseFloat(args[0]) * spacing}px` : args;\n\n declarations.push(`gap:${gap};`);\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import { serialize } from 'stylis';\n\nimport type { HoneyBreakpoints, HoneyTheme } from '../../types';\nimport type {\n HoneyMediaQueryRule,\n MediaQueryRuleType,\n MediaQueryRuleOrientation,\n} from '../at-rules';\nimport { __DEV__ } from '../../constants';\nimport { createAtRuleMiddleware } from './factory';\nimport { mediaQuery } from '../at-rules';\nimport { createCssRule, splitStylisChildren } from '../css';\n\ntype BreakpointDirection = 'up' | 'down';\n\n/**\n * Determines whether token is breakpoint syntax:\n * sm:up\n * md:only\n * lg\n */\nconst isBreakpointToken = (token: string): token is BreakpointDirection =>\n /^[a-z]+\\b(:up|:down)?$/i.test(token);\n\n/**\n * Orientation tokens:\n * portrait\n * landscape\n */\nconst isOrientationToken = (token: string): token is MediaQueryRuleOrientation =>\n token === 'portrait' || token === 'landscape';\n\n/**\n * Media type tokens:\n * screen\n * print\n * speech\n */\nconst isMediaTypeToken = (token: string): token is MediaQueryRuleType =>\n token === 'all' || token === 'print' || token === 'screen' || token === 'speech';\n\n/**\n * Parses:\n * sm:up\n * md:down\n */\nconst parseBreakpointRule = (raw: string) => {\n const [key, direction] = raw.split(':');\n\n return {\n key,\n direction: (direction ?? 'up') as BreakpointDirection,\n };\n};\n\ninterface CreateMediaAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createMediaAtRuleMiddleware = ({ theme }: CreateMediaAtRuleMiddlewareOptions) =>\n createAtRuleMiddleware({\n name: 'media',\n transform: (args, element, callback) => {\n const { parent } = element;\n\n if (!parent || !args.length || !theme?.breakpoints) {\n return null;\n }\n\n const childrenGroups = splitStylisChildren(element.children);\n\n if (!childrenGroups.pseudoRules.length && !childrenGroups.otherRules.length) {\n return null;\n }\n\n const mediaQueryRules: HoneyMediaQueryRule[] = [];\n\n let orientation: MediaQueryRuleOrientation;\n let mediaType: MediaQueryRuleType;\n\n for (const token of args) {\n if (isOrientationToken(token)) {\n orientation = token;\n continue;\n }\n\n if (isMediaTypeToken(token)) {\n mediaType = token;\n continue;\n }\n\n if (!isBreakpointToken(token)) {\n if (__DEV__) {\n console.warn(`[@react-hive/honey-style]: Unknown @honey-media token: \"${token}\".`);\n }\n continue;\n }\n\n const breakpointRule = parseBreakpointRule(token);\n\n const breakpointPx =\n breakpointRule.key in theme.breakpoints\n ? theme.breakpoints[breakpointRule.key as keyof HoneyBreakpoints]\n : null;\n\n if (!breakpointPx) {\n if (__DEV__) {\n console.warn(\n `[@react-hive/honey-style]: Unknown breakpoint \"${breakpointRule.key}\" in @honey-media.`,\n );\n }\n continue;\n }\n\n let mediaQueryRule: HoneyMediaQueryRule | undefined;\n\n if (breakpointRule.direction === 'up') {\n mediaQueryRule = {\n minWidth: `${breakpointPx}px`,\n };\n } else if (breakpointRule.direction === 'down') {\n mediaQueryRule = {\n maxWidth: `${breakpointPx}px`,\n };\n }\n\n if (mediaQueryRule) {\n mediaQueryRules.push(mediaQueryRule);\n }\n }\n\n if (!mediaQueryRules.length) {\n return null;\n }\n\n const finalMediaQueryRules = mediaQueryRules.map<HoneyMediaQueryRule>(rule => ({\n ...rule,\n orientation,\n mediaType,\n }));\n\n const pseudoSelectorCss =\n childrenGroups.pseudoRules.length > 0\n ? `${parent.value}${serialize(childrenGroups.pseudoRules, callback)}`\n : '';\n\n const nestedSelectorCss =\n childrenGroups.otherRules.length > 0\n ? createCssRule(parent.value, serialize(childrenGroups.otherRules, callback))\n : '';\n\n return createCssRule(\n mediaQuery(finalMediaQueryRules),\n `${pseudoSelectorCss}${nestedSelectorCss}`,\n );\n },\n });\n","import type { Middleware } from 'stylis';\nimport { isString } from '@react-hive/honey-utils';\n\nimport { CSS_SPACING_PROPERTIES } from '../constants';\nimport type { HoneyTheme } from '../../types';\n\nconst toKebabCase = (str: string): string =>\n str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\nconst KEBAB_CASE_SPACING_PROPERTIES: string[] = CSS_SPACING_PROPERTIES.map(toKebabCase);\n\ninterface SpacingMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createSpacingMiddleware =\n ({ theme }: SpacingMiddlewareOptions): Middleware =>\n element => {\n if (element.type !== 'decl') {\n return;\n }\n\n if (\n isString(element.props) &&\n KEBAB_CASE_SPACING_PROPERTIES.includes(element.props) &&\n isString(element.children)\n ) {\n // If the whole value contains parentheses, skip entirely (likely calc or var)\n if (/[()]/.test(element.children)) {\n return;\n }\n\n const transformedParts: string[] = [];\n\n const spacing = theme?.spacings.base ?? 0;\n const parts = element.children.trim().split(/\\s+/);\n\n for (const value of parts) {\n transformedParts.push(\n // Accept only numeric strings (integers or floats), no units or symbols\n /^-?\\d*\\.?\\d+$/.test(value) ? `${parseFloat(value) * spacing}px` : value,\n );\n }\n\n const transformed = transformedParts.join(' ');\n\n element.return = `${element.props}:${transformed};`;\n }\n };\n","import type { CSSDeclaration } from './types';\nimport type { HoneyTheme } from '../../types';\nimport { createAtRuleMiddleware } from './factory';\nimport { createCssRule, getChildrenCss } from '../css';\n\ninterface CreateStackAtRuleMiddlewareOptions {\n theme?: HoneyTheme;\n}\n\nexport const createStackAtRuleMiddleware = ({ theme }: CreateStackAtRuleMiddlewareOptions) =>\n createAtRuleMiddleware({\n name: 'stack',\n transform: (args, element, callback) => {\n const { parent } = element;\n if (!parent) {\n return null;\n }\n\n const declarations: CSSDeclaration[] = ['display:flex;', 'flex-direction:column;'];\n\n if (args.length) {\n const spacing = theme?.spacings.base ?? 0;\n\n const isNumber = /^-?\\d*\\.?\\d+$/.test(args[0]);\n const gap = isNumber ? `${parseFloat(args[0]) * spacing}px` : args;\n\n declarations.push(`gap:${gap};`);\n }\n\n const childrenCss = getChildrenCss(element, callback);\n\n return createCssRule(parent.value, `${declarations.join('')}${childrenCss}`);\n },\n });\n","import type { Middleware, Element } from 'stylis';\nimport { isArray, isString } from '@react-hive/honey-utils';\n\ninterface Declaration {\n prop: string;\n value: string;\n}\n\nconst collectDeclarations = (rule: Element): Declaration[] => {\n if (!isArray(rule.children)) {\n return [];\n }\n\n return rule.children\n .filter(child => child.type === 'decl' && isString(child.props) && isString(child.children))\n .map(child => ({\n prop: child.props,\n value: child.children,\n })) as Declaration[];\n};\n\ninterface KnownPattern {\n name: string;\n match: (declarations: Declaration[]) => boolean;\n}\n\nconst knownPatterns: KnownPattern[] = [\n {\n name: '@honey-center',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'align-items' && d.value === 'center') &&\n declarations.some(d => d.prop === 'justify-content' && d.value === 'center'),\n },\n {\n name: '@honey-stack',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'flex-direction' && d.value === 'column'),\n },\n {\n name: '@honey-inline',\n match: (declarations: Declaration[]) =>\n declarations.some(d => d.prop === 'display' && d.value === 'flex') &&\n declarations.some(d => d.prop === 'align-items' && d.value === 'center'),\n },\n];\n\nexport const suggestAtRuleMiddleware: Middleware = element => {\n if (element.type !== 'rule' || !element.children) {\n return;\n }\n\n const declarations = collectDeclarations(element);\n\n for (const pattern of knownPatterns) {\n if (pattern.match(declarations)) {\n console.info(\n `[@react-hive/honey-style]: The CSS rule \"${element.value}\" can be simplified using the shorthand at-rule \"${pattern.name}\".`,\n );\n\n break;\n }\n }\n};\n","import type { Middleware } from 'stylis';\nimport { compile, middleware, serialize, stringify } from 'stylis';\n\nimport type { HoneyTheme } from '../types';\nimport { __DEV__ } from '../constants';\nimport { createCssRule } from './css';\nimport {\n createAbsoluteFillAtRuleMiddleware,\n createCenterAtRuleMiddleware,\n createInlineAtRuleMiddleware,\n createSpacingMiddleware,\n createStackAtRuleMiddleware,\n createEllipsisAtRuleMiddleware,\n createMediaAtRuleMiddleware,\n} from './middlewares';\n\ninterface ProcessCssOptions {\n theme?: HoneyTheme;\n}\n\nexport const processCss = (\n rawCss: string,\n selector?: string,\n { theme }: ProcessCssOptions = {},\n): string => {\n const scopedCss = selector ? createCssRule(selector, rawCss) : rawCss;\n\n const middlewares: Middleware[] = [];\n\n if (__DEV__) {\n // middlewares.push(suggestAtRuleMiddleware);\n }\n\n middlewares.push(\n createMediaAtRuleMiddleware({ theme }),\n createSpacingMiddleware({ theme }),\n createStackAtRuleMiddleware({ theme }),\n createInlineAtRuleMiddleware({ theme }),\n createCenterAtRuleMiddleware(),\n createEllipsisAtRuleMiddleware(),\n createAbsoluteFillAtRuleMiddleware(),\n stringify,\n );\n\n return serialize(compile(scopedCss), middleware(middlewares));\n};\n","import * as CSS from 'csstype';\n\nexport type HoneyCSSClassName = string | undefined;\n\n/**\n * Represents a hexadecimal color value.\n *\n * Examples:\n * - `'#ffffff'`\n * - `'#123abc'`\n * - `'#000'`\n */\nexport type HoneyHEXColor = `#${string}`;\n\n/**\n * Represents any valid CSS color, either a named color (like `'red'`, `'blue'`)\n * or a hexadecimal color code (like `'#ff0000'`).\n */\nexport type HoneyCSSColor = HoneyHEXColor | CSS.DataType.ColorBase | CSS.Globals;\n\n/**\n * Represents absolute CSS dimension units.\n *\n * These units are fixed in physical measurements.\n *\n * - `'px'` — pixels\n * - `'cm'` — centimeters\n * - `'mm'` — millimeters\n * - `'in'` — inches\n * - `'pt'` — points\n * - `'pc'` — picas\n */\ntype HoneyCSSAbsoluteDimensionUnit = 'px' | 'cm' | 'mm' | 'in' | 'pt' | 'pc';\n\n/**\n * Represents relative CSS dimension units.\n *\n * These units scale depending on the context.\n *\n * - `'em'` — relative to the font-size of the element\n * - `'rem'` — relative to the font-size of the root element\n * - `'%'` — percentage of the parent element\n * - `'vh'` — 1% of the viewport height\n * - `'vw'` — 1% of the viewport width\n * - `'vmin'` — 1% of the smaller dimension of the viewport\n * - `'vmax'` — 1% of the larger dimension of the viewport\n */\ntype HoneyCSSRelativeDimensionUnit = 'em' | 'rem' | '%' | 'vh' | 'vw' | 'vmin' | 'vmax';\n\n/**\n * Represents any valid CSS dimension unit, including both absolute and relative types.\n */\nexport type HoneyCSSDimensionUnit = HoneyCSSAbsoluteDimensionUnit | HoneyCSSRelativeDimensionUnit;\n\n/**\n * Represents a numeric CSS dimension value with an optional specific unit.\n *\n * This type can represent:\n * - A value with a specific CSS unit, such as `'8px'`, `'1.5rem'`, or `'100%'`.\n * - The special value `'auto'` commonly used for flexible layout values.\n *\n * @template Unit - The CSS unit to use (e.g., `'px'`, `'em'`, `'rem'`).\n */\nexport type HoneyCSSDimensionValue<Unit extends HoneyCSSDimensionUnit = HoneyCSSDimensionUnit> =\n | `${number}${Unit}`\n | 'auto';\n\n/**\n * Represents a tuple of 2 to 4 values using standard CSS shorthand conventions.\n *\n * This type models how properties like `margin`, `padding`, `gap`, and `borderRadius`\n * can accept multiple values to control different sides or axes.\n *\n * Value interpretation follows CSS shorthand behavior:\n * - `[T, T]` → [top & bottom, left & right]\n * - `[T, T, T]` → [top, left & right, bottom]\n * - `[T, T, T, T]` → [top, right, bottom, left]\n *\n * @template T - The type of each spacing value (e.g., number, string, or token).\n */\nexport type HoneyCSSShorthandTuple<T> = [T, T] | [T, T, T] | [T, T, T, T];\n\n/**\n * Converts a tuple of spacing values into a valid CSS shorthand string using a consistent unit.\n *\n * Acts as a type-level converter that transforms 2–4 spacing values (e.g., `[8, 12]`) into a space-separated\n * CSS string (e.g., `'8px 12px'`), suitable for shorthand-compatible properties like `margin`, `padding`, or `gap`.\n *\n * This type enforces unit consistency across all values and is useful for generating precise, typed spacing strings.\n *\n * Example outputs:\n * - `'8px 12px'` for `[8, 12]`\n * - `'1rem 2rem 1.5rem'` for `[1, 2, 1.5]`\n * - `'4px 8px 12px 16px'` for `[4, 8, 12, 16]`\n *\n * @template Tuple - A tuple of 2 to 4 values to be converted into a CSS shorthand string.\n * @template Unit - The CSS unit to apply to each value (e.g., `'px'`, `'rem'`, `'%'`).\n */\nexport type HoneyCSSShorthandDimensionOutput<\n Tuple extends HoneyCSSShorthandTuple<unknown>,\n Unit extends HoneyCSSDimensionUnit,\n> = Tuple extends [unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : Tuple extends [unknown, unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : Tuple extends [unknown, unknown, unknown, unknown]\n ? `${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>} ${HoneyCSSDimensionValue<Unit>}`\n : never;\n\n/**\n * Represents a CSS layout value that can be a single value or a shorthand array of values.\n *\n * Useful for properties like `margin`, `padding`, or `borderRadius`, which allow:\n * - A single value (applied to all sides)\n * - A tuple of 2–4 values using standard CSS shorthand behavior\n *\n * Examples:\n * - `'8px'`\n * - `['8px', '12px']`\n * - `['8px', '12px', '16px', '20px']`\n *\n * @template T - The type of each individual value.\n */\nexport type HoneyCSSMultiValue<T> = T | HoneyCSSShorthandTuple<T>;\n\n/**\n * Represents a spacing value used in layout-related CSS properties.\n *\n * Can be:\n * - A single numeric value (e.g., `8`)\n * - A single dimension string (e.g., `'1rem'`)\n * - A shorthand array of 2–4 values (e.g., `[8, 12]` or `['1rem', '2rem', '1.5rem']`)\n *\n * Commonly used for properties like `margin`, `padding`, `gap`, etc.\n */\nexport type HoneyCSSSpacingValue = HoneyCSSMultiValue<number | HoneyCSSDimensionValue>;\n\nexport type HoneyRawCSSSpacingValue = number | HoneyCSSDimensionValue | CSS.Globals;\n\n/**\n * Represents CSS properties related to spacing and positioning.\n */\nexport type HoneyCSSSpacingProperty = keyof Pick<\n CSS.Properties,\n | 'margin'\n | 'marginTop'\n | 'marginRight'\n | 'marginBottom'\n | 'marginLeft'\n | 'padding'\n | 'paddingTop'\n | 'paddingRight'\n | 'paddingBottom'\n | 'paddingLeft'\n | 'paddingBlock'\n | 'paddingBlockStart'\n | 'paddingBlockEnd'\n | 'top'\n | 'right'\n | 'bottom'\n | 'left'\n | 'inset'\n | 'gap'\n | 'rowGap'\n | 'columnGap'\n>;\n\n/**\n * Represents shorthand spacing properties that support multi-value arrays.\n *\n * These properties accept 2–4 space-separated values\n * to control spacing on multiple sides (e.g., top, right, bottom, left).\n */\nexport type HoneyCSSShorthandSpacingProperty = keyof Pick<\n CSS.Properties,\n 'margin' | 'padding' | 'gap'\n>;\n\n/**\n * Represents a subset of CSS properties that define color-related styles.\n */\nexport type HoneyCSSColorProperty = keyof Pick<\n CSS.Properties,\n | 'color'\n | 'backgroundColor'\n | 'borderColor'\n | 'borderTopColor'\n | 'borderRightColor'\n | 'borderBottomColor'\n | 'borderLeftColor'\n | 'outlineColor'\n | 'textDecorationColor'\n | 'fill'\n | 'stroke'\n>;\n","import { useInsertionEffect } from 'react';\n\nimport type { HoneyStyledInterpolation, HoneyStyledContext } from './types';\nimport { HONEY_GLOBAL_STYLE_ATTR } from './constants';\nimport { css, processCss } from './css';\nimport { generateId } from './utils';\nimport { useHoneyStyle } from './hooks';\n\nexport const createGlobalStyle = (\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<HoneyStyledContext<object>>[]\n) => {\n const styleId = generateId('hsg');\n\n const computeCss = css(strings, ...interpolations);\n\n const GlobalStyle = () => {\n const { theme } = useHoneyStyle();\n\n useInsertionEffect(() => {\n const rawCss = computeCss({ theme });\n const processedCss = processCss(rawCss);\n\n const styleElement = document.createElement('style');\n styleElement.id = styleId;\n styleElement.innerHTML = processedCss;\n styleElement.setAttribute(HONEY_GLOBAL_STYLE_ATTR, 'true');\n\n document.head.insertBefore(styleElement, document.head.firstChild);\n\n return () => {\n styleElement.remove();\n };\n }, [theme]);\n\n return null;\n };\n\n return GlobalStyle;\n};\n","export * from './use-honey-style';\n","import { useContext } from 'react';\nimport { assert } from '@react-hive/honey-utils';\n\nimport { HoneyStyleContext } from '../contexts';\n\nexport const useHoneyStyle = () => {\n const context = useContext(HoneyStyleContext);\n assert(\n context,\n 'The `useHoneyStyle()` hook must be used inside <HoneyStyleProvider/> component!',\n );\n\n return context;\n};\n","import { HONEY_STYLE_ATTR } from './constants';\n\ntype StyleCleanupFn = () => void;\n\n/**\n * Represents an entry in the style registry with the raw CSS string,\n * its usage count, and optional priority for ordering.\n */\ninterface StyleRegistryEntry {\n css: string;\n usages: number;\n priority: number;\n}\n\n/**\n * Global style registry, shared across reloads and modules.\n */\nconst getStyleRegistry = (): Map<string, StyleRegistryEntry> => {\n if (!window.__honeyStyleRegistry) {\n window.__honeyStyleRegistry = new Map<string, StyleRegistryEntry>();\n }\n\n return window.__honeyStyleRegistry;\n};\n\nconst styleRegistry = getStyleRegistry();\n\nlet globalStyleTag: HTMLStyleElement | null = null;\n\n/**\n * Ensures a single <style> tag exists and is attached to <head>.\n *\n * @returns The <style> element.\n */\nconst ensureGlobalStyleTag = (): HTMLStyleElement => {\n if (!globalStyleTag) {\n globalStyleTag = document.querySelector(`style[${HONEY_STYLE_ATTR}=\"true\"]`);\n\n if (!globalStyleTag) {\n globalStyleTag = document.createElement('style');\n globalStyleTag.setAttribute(HONEY_STYLE_ATTR, 'true');\n\n document.head.appendChild(globalStyleTag);\n }\n }\n\n return globalStyleTag;\n};\n\n/**\n * Updates the global <style> tag with all currently active styles, sorted by priority.\n */\nconst updateGlobalStyleContent = () => {\n const styleTag = ensureGlobalStyleTag();\n\n const allCss = Array.from(styleRegistry.entries())\n .sort(([, a], [, b]) => a.priority - b.priority)\n .map(([, entry]) => entry.css)\n .join('\\n');\n\n styleTag.textContent = allCss;\n};\n\n/**\n * Creates a cleanup function for a style, which decrements usage count and removes it if unused.\n *\n * @param className - The key of the style.\n */\nconst createCleanupFunction =\n (className: string): StyleCleanupFn =>\n () => {\n const entry = styleRegistry.get(className);\n if (!entry) {\n return;\n }\n\n entry.usages--;\n\n if (entry.usages <= 0) {\n styleRegistry.delete(className);\n\n updateGlobalStyleContent();\n }\n };\n\n/**\n * Mounts a CSS string under a given class name. Injects into a global <style> tag and manages its lifecycle.\n *\n * @param className - Unique identifier for the style block.\n * @param css - Full CSS rule string (can include multiple rules, media queries, etc.)\n * @param priority - Optional number to determine style ordering (lower = earlier = lower specificity)\n *\n * @returns A cleanup function to unmount the style when it's no longer needed.\n */\nexport const mountStyle = (\n className: string,\n css: string,\n priority: number = 0,\n): StyleCleanupFn => {\n const existing = styleRegistry.get(className);\n\n if (existing) {\n existing.usages++;\n\n return createCleanupFunction(className);\n }\n\n styleRegistry.set(className, {\n css,\n priority,\n usages: 1,\n });\n\n updateGlobalStyleContent();\n\n return createCleanupFunction(className);\n};\n","import React, { useMemo } from 'react';\nimport type { PropsWithChildren } from 'react';\n\nimport { HoneyStyleContext } from '../contexts';\nimport { resolveColor, resolveDimension, resolveFont, resolveSpacing } from '../utils';\nimport type { HoneyTheme } from '../types';\nimport type { HoneyStyleContextValue } from '../contexts';\n\nexport interface HoneyStyleProviderProps {\n theme: HoneyTheme;\n}\n\nexport const HoneyStyleProvider = ({\n children,\n theme,\n}: PropsWithChildren<HoneyStyleProviderProps>) => {\n const contextValue = useMemo<HoneyStyleContextValue>(\n () => ({\n theme,\n resolveSpacing: (...args) => resolveSpacing(...args)({ theme }),\n resolveColor: (...args) => resolveColor(...args)({ theme }),\n resolveFont: (...args) => resolveFont(...args)({ theme }),\n resolveDimension: (...args) => resolveDimension(...args)({ theme }),\n }),\n [theme],\n );\n\n return <HoneyStyleContext value={contextValue}>{children}</HoneyStyleContext>;\n};\n","export * from './HoneyStyleProvider';\n","import type { ElementType, ComponentProps, ComponentPropsWithRef } from 'react';\nimport { createElement, useInsertionEffect } from 'react';\nimport { isString, invokeIfFunction, definedProps } from '@react-hive/honey-utils';\n\nimport type {\n FastOmit,\n Override,\n HoneyHTMLDataAttributes,\n HoneyStyledInterpolation,\n HoneyStyledPropsWithAs,\n HoneyStyledContext,\n} from './types';\nimport type { HoneyCSSClassName } from './css';\nimport { __DEV__, HONEY_STYLED_COMPONENT_ID_PROP } from './constants';\nimport {\n generateId,\n combineClassNames,\n resolveClassName,\n filterNonHtmlAttrs,\n isStyledComponent,\n} from './utils';\nimport { css, processCss } from './css';\nimport { mountStyle } from './mount-style';\nimport { useHoneyStyle } from './hooks';\n\nconst evaluateDynamicCss = (\n interpolation: HoneyStyledInterpolation<any> | undefined,\n context: HoneyStyledContext<any>,\n): string => {\n if (!interpolation) {\n return '';\n }\n\n if (isString(interpolation)) {\n return interpolation;\n }\n\n // @ts-expect-error\n return css([''], [interpolation])(context);\n};\n\nexport type HoneyStyledProps<\n Element extends ElementType,\n Props extends object,\n> = HoneyStyledPropsWithAs<\n Element,\n HoneyHTMLDataAttributes & ComponentPropsWithRef<Element> & Props\n>;\n\ntype DefaultPropsResolver<\n Target extends ElementType,\n DefaultProps extends object,\n Props extends object,\n CombinedProps extends object = Override<DefaultProps, Props>,\n> =\n | HoneyStyledPropsWithAs<Target, FastOmit<Partial<CombinedProps>, 'as'>>\n | ((\n props: HoneyStyledContext<HoneyStyledPropsWithAs<Target, CombinedProps>>,\n ) => HoneyStyledPropsWithAs<Target, FastOmit<Partial<CombinedProps>, 'as'>>);\n\ninterface StyledOptions {\n omitProps?: (name: string) => boolean;\n}\n\nexport const styled = <\n TargetProps extends object,\n Target extends ElementType = ElementType,\n OverrideTarget extends ElementType = Target,\n>(\n target: Target,\n defaultProps?: DefaultPropsResolver<OverrideTarget, ComponentProps<OverrideTarget>, TargetProps>,\n { omitProps }: StyledOptions = {},\n) => {\n return <Props extends object = TargetProps>(\n strings: TemplateStringsArray,\n ...interpolations: HoneyStyledInterpolation<Override<ComponentProps<OverrideTarget>, Props>>[]\n ) => {\n const componentId = generateId('hsc');\n const computeCss = css(strings, ...interpolations);\n\n const StyledComponent = <AsElement extends ElementType = OverrideTarget>({\n as,\n className,\n __compositionDepth = 0,\n css: cssProp,\n ...props\n }: HoneyStyledPropsWithAs<\n AsElement,\n Override<ComponentProps<AsElement>, FastOmit<Props, 'as'>>\n > & {\n /**\n * @deprecated Please use inheritance instead.\n */\n css?: HoneyStyledInterpolation<Props>;\n className?: HoneyCSSClassName;\n __compositionDepth?: number;\n }) => {\n if (__DEV__ && cssProp) {\n console.warn(\n `[@react-hive/honey-style]: The \"css\" prop is deprecated. Please use inheritance or composition instead.`,\n );\n }\n\n const { theme } = useHoneyStyle();\n\n const cleanedProps = definedProps(props);\n const resolvedDefaultProps = {\n ...(invokeIfFunction(defaultProps, {\n theme,\n as,\n className,\n ...cleanedProps,\n } as never) ?? ({} as never)),\n // Allow overriding the default \"className\" prop\n ...(className && { className }),\n };\n\n const context: HoneyStyledContext<any> = {\n ...resolvedDefaultProps,\n ...cleanedProps,\n theme,\n };\n\n const rawCss = computeCss(context);\n const baseClassName = resolveClassName(rawCss);\n\n useInsertionEffect(() => {\n const baseCss = processCss(rawCss, `.${baseClassName}`, {\n theme,\n });\n\n return mountStyle(baseClassName, baseCss, __compositionDepth);\n }, [baseClassName]);\n\n const cssPropRaw = invokeIfFunction(cssProp, context);\n const cssPropString = evaluateDynamicCss(cssPropRaw, context);\n\n const cssPropClassName = cssPropString ? resolveClassName(cssPropString) : '';\n\n useInsertionEffect(() => {\n if (cssPropClassName) {\n const overrideCss = processCss(cssPropString, `.${cssPropClassName}`, {\n theme,\n });\n\n return mountStyle(cssPropClassName, overrideCss, 1);\n }\n }, [cssPropClassName]);\n\n const finalClassName = combineClassNames([\n componentId,\n baseClassName,\n resolvedDefaultProps.className,\n cssPropClassName,\n ]);\n\n const mergedProps = {\n ...resolvedDefaultProps,\n ...cleanedProps,\n className: finalClassName,\n };\n\n const finalProps = omitProps\n ? Object.entries(mergedProps).reduce(\n (result, [propName, propValue]) =>\n omitProps(propName)\n ? result\n : {\n ...result,\n [propName]: propValue,\n },\n {},\n )\n : mergedProps;\n\n const finalComponent = as || target;\n\n if (isString(target)) {\n const filteredProps = isString(finalComponent)\n ? filterNonHtmlAttrs(finalProps)\n : finalProps;\n\n return createElement(finalComponent, filteredProps);\n }\n\n return createElement(target, {\n ...finalProps,\n ...(as && { as }),\n ...(isStyledComponent(target) && {\n __compositionDepth: __compositionDepth - 1,\n }),\n });\n };\n\n StyledComponent[HONEY_STYLED_COMPONENT_ID_PROP] = componentId;\n\n if (__DEV__) {\n const componentName = isString(target)\n ? target\n : target.displayName || target.name || 'Component';\n\n StyledComponent.displayName = `HoneyStyledComponent(${componentName})`;\n }\n\n return StyledComponent;\n };\n};\n","export * from './theme';\nexport * from './utility';\n","import * as CSS from 'csstype';\nimport type { ElementType } from 'react';\n\nimport { HONEY_STYLED_COMPONENT_ID_PROP } from '../constants';\nimport type { HoneyCSSColor, HoneyCSSDimensionUnit } from '../css';\n\n/**\n * Creates a new type by omitting the specified keys `U` from the object type `T`.\n *\n * This is a faster and simpler alternative to TypeScript's built-in `Omit<T, U>`\n * when you don't need support for more complex scenarios like union distributions.\n *\n * @example\n * ```ts\n * type User = {\n * id: number;\n * name: string;\n * password: string;\n * };\n *\n * type PublicUser = FastOmit<User, 'password'>;\n * // Result: { id: number; name: string }\n * ```\n *\n * @template T - The original object type.\n * @template U - The keys to remove from `T`.\n */\nexport type FastOmit<T extends object, U extends string | number | symbol> = {\n [K in keyof T as K extends U ? never : K]: T[K];\n};\n\n/**\n * Creates a new object type by replacing properties in `A` with properties from `B`\n * where the keys overlap.\n *\n * This is useful for modifying existing types—for example, changing the type of a specific field\n * without redefining the entire structure.\n *\n * Internally, it removes keys from `A` that exist in `B`, then merges in `B`.\n *\n * @example\n * ```ts\n * type Original = {\n * id: number;\n * name: string;\n * };\n *\n * type Replacements = {\n * name: boolean;\n * };\n *\n * type Modified = Override<Original, Replacements>;\n * // Result: { id: number; name: boolean }\n * ```\n *\n * @template A - The base object type.\n * @template B - The object type with properties to override in `A`.\n */\nexport type Override<A extends object, B extends object> = FastOmit<A, keyof B> & B;\n\nexport type HoneyHTMLDataAttributes = {\n [key: `data-${string}`]: string | number;\n};\n\n/**\n * Defines different spacing sizes available in the theme.\n */\nexport interface HoneySpacings {\n /**\n * The base spacing value in pixels.\n */\n base: number;\n // Additional spacing sizes\n small?: number;\n medium?: number;\n large?: number;\n}\n\n/**\n * Represents the breakpoints configuration in pixes for a responsive layout.\n *\n * Notes:\n * - `xs`: Extra small devices\n * - `sm`: Small devices\n * - `md`: Medium devices\n * - `lg`: Large devices\n * - `xl`: Extra large devices\n */\nexport interface HoneyBreakpoints {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n xl: number;\n}\n\nexport type HoneyBreakpointName = keyof HoneyBreakpoints;\n\nexport interface HoneyFont {\n size: number;\n family?: string;\n weight?: number;\n lineHeight?: number;\n letterSpacing?: number;\n}\n\n/**\n * Example of augmenting the fonts interface.\n *\n * @example\n * ```ts\n * declare module '@react-hive/honey-style' {\n * export interface HoneyFonts {\n * body: HoneyFont;\n * caption: HoneyFont;\n * }\n * }\n * ```\n */\nexport interface HoneyFonts {\n [key: string]: HoneyFont;\n}\n\nexport type HoneyFontName = keyof HoneyFonts;\n\n/**\n * Defines the color palette used in the theme.\n */\ninterface BaseHoneyColors {\n /**\n * Used for elements that require high visibility and emphasis, such as primary buttons, call-to-action elements,\n * and important elements like headers or titles.\n */\n primary: Record<string, HoneyCSSColor>;\n /**\n * Used to complement the primary color and add visual interest.\n * Often used for secondary buttons, borders, and decorative elements to provide contrast and balance within the design.\n * Helps create a cohesive visual hierarchy by providing variation in color tones.\n */\n secondary: Record<string, HoneyCSSColor>;\n /**\n * Used to draw attention to specific elements or interactions.\n * Often applied to interactive elements like links, icons, or tooltips to indicate their interactive nature.\n * Can be used sparingly to highlight important information or to create visual focal points.\n */\n accent: Record<string, HoneyCSSColor>;\n /**\n * Used for backgrounds, text, and other elements where a subtle, non-distracting color is desired.\n * Provides a versatile palette for elements like backgrounds, borders, text, and icons, allowing other colors to stand\n * out more prominently. Helps maintain balance and readability without overwhelming the user with too much color.\n */\n neutral: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate successful or positive actions or states.\n * Often applied to elements like success messages, notifications, or icons to convey successful completion of tasks or operations.\n * Provides visual feedback to users to indicate that their actions were successful.\n */\n success: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate cautionary or potentially risky situations.\n * Applied to elements like warning messages, alerts, or icons to notify users about potential issues or actions that require attention.\n * Helps users recognize and address potential problems or risks before they escalate.\n */\n warning: Record<string, HoneyCSSColor>;\n /**\n * Used to indicate errors, critical issues, or potentially destructive actions.\n * Applied to elements like error messages, validation indicators, form fields, or delete buttons to alert users about incorrect input,\n * system errors, or actions that may have irreversible consequences. Provides visual feedback to prompt users to\n * take corrective actions or seek assistance when encountering errors or potentially risky actions.\n */\n error: Record<string, HoneyCSSColor>;\n}\n\n/**\n * Example of augmenting the colors interface.\n *\n * @example\n * ```ts\n * declare module '@react-hive/honey-style' {\n * export interface HoneyColors {\n * neutral: Record<'charcoalDark' | 'charcoalGray' | 'crimsonRed', HoneyCSSColor>;\n * }\n * }\n * ```\n */\nexport interface HoneyColors extends BaseHoneyColors {}\n\n/**\n * Generates a union of all possible color keys by combining each property of `HoneyColors` with its corresponding keys.\n *\n * This type iterates over each key in the `HoneyColors` interface and creates a string template,\n * which combines the color type with each of its keys. The result is a union of all possible color keys.\n *\n * @example\n *\n * Given the `HoneyColors` interface:\n * ```ts\n * interface HoneyColors {\n * primary: Record<'blue' | 'green', HoneyCSSColor>;\n * neutral: Record<'charcoalDark' | 'charcoalGray' | 'crimsonRed', HoneyCSSColor>;\n * }\n * ```\n *\n * The resulting `HoneyColorKey` type will be:\n * ```ts\n * type HoneyColorKey = 'neutral.charcoalDark' | 'neutral.charcoalGray' | 'neutral.crimsonRed' | 'primary.blue' | 'primary.green';\n * ```\n */\nexport type HoneyColorKey = {\n [ColorType in keyof HoneyColors]: `${ColorType}.${keyof HoneyColors[ColorType] & string}`;\n}[keyof HoneyColors];\n\nexport type HoneyColor = HoneyCSSColor | HoneyColorKey;\n\nexport interface HoneyContainer {\n /**\n * Max container width in any CSS distance value.\n */\n maxWidth: `${number}${HoneyCSSDimensionUnit}`;\n}\n\nexport type HoneyDimensionValue = `${number}${HoneyCSSDimensionUnit}`;\n\n/**\n * Represents a map of dimension names to CSS distance values.\n */\nexport interface HoneyDimensions {\n [key: string]: HoneyDimensionValue;\n}\n\nexport type HoneyDimensionName = keyof HoneyDimensions;\n\n/**\n * Represents the theme configuration.\n */\nexport interface BaseHoneyTheme {\n /**\n * Breakpoints for responsive design, where keys are breakpoint names and values are breakpoint values.\n */\n breakpoints: Partial<HoneyBreakpoints>;\n /**\n * Configuration for the container.\n */\n container: Partial<HoneyContainer>;\n /**\n * Spacing values used throughout the theme.\n */\n spacings: HoneySpacings;\n /**\n * Font settings used throughout the theme.\n */\n fonts: HoneyFonts;\n /**\n * Color palette used throughout the theme.\n */\n colors: HoneyColors;\n /**\n * Dimension values used throughout the theme.\n */\n dimensions: HoneyDimensions;\n}\n\nexport interface HoneyTheme extends BaseHoneyTheme {}\n\nexport type HoneyStyledPropsWithAs<Element extends ElementType, Props extends object> = {\n as?: Element;\n} & Props;\n\ntype HoneyInternalStyledComponent = {\n [HONEY_STYLED_COMPONENT_ID_PROP]: string;\n};\n\nexport interface HoneyStyledComponent extends HoneyInternalStyledComponent {\n displayName?: string;\n}\n\nexport type HoneyStyledContext<Props extends object> = {\n theme: HoneyTheme;\n} & Props;\n\ntype HoneyStyledInterpolationCSSProps = {\n [K in keyof CSS.Properties]?: CSS.Properties[K] | null | false | undefined;\n};\n\nexport type HoneyStyledFunction<Props extends object> = (\n context: HoneyStyledContext<Props>,\n) => HoneyStyledInterpolation<Props>;\n\nexport type HoneyStyledInterpolation<Props extends object> =\n | string\n | number\n | boolean\n | null\n | undefined\n | HoneyStyledComponent\n | HoneyStyledInterpolationCSSProps\n | HoneyStyledFunction<Props>\n | HoneyStyledInterpolation<Props>[];\n","export type Nullable<T> = T | null;\n","import { hashString } from '@react-hive/honey-utils';\n\nimport { HONEY_STYLED_COMPONENT_ID_PROP, VALID_DOM_ELEMENT_ATTRS } from './constants';\nimport { css } from './css';\nimport type {\n HoneyHEXColor,\n HoneyCSSColor,\n HoneyCSSClassName,\n HoneyCSSShorthandDimensionOutput,\n HoneyCSSShorthandTuple,\n HoneyCSSSpacingValue,\n HoneyCSSDimensionUnit,\n HoneyCSSDimensionValue,\n} from './css';\nimport type {\n Nullable,\n HoneyColor,\n HoneyColorKey,\n HoneyColors,\n HoneyDimensionName,\n HoneyFontName,\n HoneySpacings,\n HoneyStyledComponent,\n HoneyStyledContext,\n} from './types';\n\nexport const generateId = (prefix: string) => `${prefix}-${Math.random().toString(36).slice(2, 8)}`;\n\n/**\n * Combines multiple class names into a single space-separated string\n *\n * @param classNames - Array of class names to combine\n */\nexport const combineClassNames = (classNames: HoneyCSSClassName[]) =>\n classNames.filter(Boolean).join(' ').trim();\n\nexport const resolveClassName = (css: string) => `hscn-${hashString(css)}`;\n\nexport const isStyledComponent = (component: any): component is HoneyStyledComponent =>\n HONEY_STYLED_COMPONENT_ID_PROP in component;\n\n/**\n * Filters out non-standard HTML attributes from a props object intended for a native HTML element.\n *\n * Retains only valid DOM attributes, including standard HTML attributes and\n * custom `data-*` or `aria-*` attributes. This helps avoid React warnings due to\n * invalid props and ensures clean, valid HTML output.\n *\n * This function is typically used when rendering polymorphic or styled components\n * that may receive non-standard props, but only valid attributes should be passed\n * to underlying DOM elements.\n *\n * @template Attrs - The type of the attributes object.\n *\n * @param attrs - An object representing all props passed to a component.\n *\n * @returns A new object containing only props that are safe and valid for use on native DOM elements.\n */\nexport const filterNonHtmlAttrs = <Attrs extends object>(attrs: Attrs): Attrs =>\n Object.entries(attrs).reduce((allowedAttrs, [name, value]) => {\n if (VALID_DOM_ELEMENT_ATTRS.has(name) || name.startsWith('data-') || name.startsWith('aria-')) {\n allowedAttrs[name as keyof Attrs] = value;\n }\n return allowedAttrs;\n }, {} as Attrs);\n\n/**\n * Converts a pixel value to rem.\n *\n * @param px - The pixel value to be converted to rem.\n * @param base - The base value for conversion. Default is 16, which is the typical root font size.\n *\n * @returns The value in rem as a string.\n */\nexport const pxToRem = (px: number, base: number = 16): string => `${px / base}rem`;\n\n/**\n * Type guard function to check if a string value follows the pattern of a theme color value.\n *\n * A theme color value is assumed to be a string containing exactly one dot (e.g., 'primary.main').\n *\n * @param propertyValue - The string value to check.\n *\n * @returns True if the string value is a theme color value, false otherwise.\n */\nexport const checkIsThemeColorValue = (propertyValue: string): propertyValue is HoneyColorKey =>\n propertyValue.split('.').length === 2;\n\n/**\n * Determines the resolved type for spacing values when processed by `resolveSpacing`.\n *\n * The return type adapts based on the shape of the `Value` and presence of a CSS `Unit`:\n *\n * - If `Value` is a `string` (e.g., raw `'10px'` or `'auto'`), it is returned as-is.\n * - If `Unit` is `null`, the original value is returned (either number or shorthand array).\n * - If `Unit` is provided and `Value` is a shorthand array (e.g., `[1, 2, 3, 4]`),\n * it is resolved to a space-separated dimension string (e.g., `'8px 16px 24px 32px'`).\n * - If `Unit` is provided and `Value` is a number, it is resolved to a single dimension string (e.g., `'16px'`).\n *\n * This type helps enforce correct resolution behavior depending on user input and configuration.\n *\n * @template Value - The input spacing value (number, shorthand array, or raw string).\n * @template Unit - A CSS length unit (e.g., 'px', 'em'), or `null` to skip unit formatting.\n */\nexport type HoneyResolveSpacingResult<\n Value extends HoneyCSSSpacingValue,\n Unit extends Nullable<HoneyCSSDimensionUnit>,\n> = Value extends HoneyCSSDimensionValue\n ? Value\n : Unit extends null\n ? Value\n : Value extends HoneyCSSShorthandTuple<number | HoneyCSSDimensionValue>\n ? HoneyCSSShorthandDimensionOutput<Value, NonNullable<Unit>>\n : HoneyCSSDimensionValue<NonNullable<Unit>>;\n\n/**\n * Resolves a spacing value or shorthand spacing array using the theme and optional unit.\n *\n * This function takes spacing multipliers and converts them into pixel or unit-based values\n * using a theme spacing scale (e.g., `theme.spacings.base`). Useful for applying consistent\n * layout spacing with theming and token support.\n *\n * @template Value - The spacing value(s) to resolve. Can be:\n * - A number (e.g., `1`) representing a multiplier.\n * - An array of numbers (e.g., `[1, 2, 3, 4]`) for shorthand spacing.\n * - A dimension string (e.g., `'10px'`) will be returned as `never`.\n * @template Unit - Optional CSS unit (`'px'`, `'em'`, etc.), or `null` to skip units.\n *\n * @param value - Spacing multiplier(s) to apply.\n * @param [unit='px'] - The CSS unit to append. If `null`, values remain numeric.\n * @param [type='base'] - The spacing type to use from the theme (e.g., `'base'`, `'small'`).\n *\n * @returns A function that takes a theme context and returns:\n * - A single resolved value (e.g., `'16px'`) if `value` is a number.\n * - A space-separated string (e.g., `'8px 12px'`) if `value` is an array.\n * - `never` if the input is a raw string (unsupported).\n */\nexport const resolveSpacing =\n <Value extends HoneyCSSSpacingValue, Unit extends Nullable<HoneyCSSDimensionUnit> = 'px'>(\n value: Value,\n unit: Unit = 'px' as Unit,\n type: keyof HoneySpacings = 'base',\n ): ((context: HoneyStyledContext<object>) => HoneyResolveSpacingResult<Value, Unit>) =>\n ({ theme }) => {\n if (typeof value === 'string') {\n return value as never;\n }\n\n const selectedSpacing = theme.spacings[type] ?? 0;\n\n if (typeof value === 'number') {\n const normalizedValue = value * selectedSpacing;\n\n return (unit ? `${normalizedValue}${unit}` : normalizedValue) as HoneyResolveSpacingResult<\n Value,\n Unit\n >;\n }\n\n const calculatedValues = value.map(shorthandValue => {\n if (typeof shorthandValue === 'string') {\n return shorthandValue;\n }\n\n const calculatedValue = shorthandValue * selectedSpacing;\n\n return unit ? `${calculatedValue}${unit}` : calculatedValue;\n });\n\n return calculatedValues.join(' ') as HoneyResolveSpacingResult<Value, Unit>;\n };\n\n/**\n * Resolves the font styles based on the provided font name from the theme.\n *\n * @param fontName - The name of the font to be resolved from the theme.\n *\n * @returns A style function that takes a theme object and returns the CSS styles for the specified font.\n */\nexport const resolveFont =\n (fontName: HoneyFontName) =>\n ({ theme }: HoneyStyledContext<object>) => {\n const font = theme.fonts[fontName];\n\n return css`\n font-family: ${font.family};\n font-size: ${pxToRem(font.size)};\n font-weight: ${font.weight};\n line-height: ${font.lineHeight !== undefined && pxToRem(font.lineHeight)};\n letter-spacing: ${font.letterSpacing !== undefined && pxToRem(font.letterSpacing)};\n `;\n };\n\n/**\n * Converts a 3-character or 6-character HEX color code to an 8-character HEX with alpha (RRGGBBAA) format.\n *\n * @param hex - The 3-character or 6-character HEX color code (e.g., \"#RGB\" or \"#RRGGBB\" or \"RGB\" or \"RRGGBB\").\n * @param alpha - The alpha transparency value between 0 (fully transparent) and 1 (fully opaque).\n *\n * @throws {Error} If alpha value is not between 0 and 1, or if the hex code is invalid.\n *\n * @returns The 8-character HEX with alpha (RRGGBBAA) format color code, or null if input is invalid.\n */\nexport const convertHexToHexWithAlpha = (hex: string, alpha: number): HoneyHEXColor => {\n if (alpha < 0 || alpha > 1) {\n throw new Error(`[honey-layout]: Alpha \"${alpha}\" is not a valid hex format.`);\n }\n\n const hexRegex = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;\n\n const match = hex.match(hexRegex);\n if (!match) {\n throw new Error(`[honey-layout]: Invalid hex format.`);\n }\n\n const cleanHex = match[1];\n\n // Expand 3-character hex to 6-character hex if necessary\n const fullHex =\n cleanHex.length === 3\n ? cleanHex[0] + cleanHex[0] + cleanHex[1] + cleanHex[1] + cleanHex[2] + cleanHex[2]\n : cleanHex;\n\n // Convert to 8-character hex with alpha\n const alphaHex = Math.round(alpha * 255)\n .toString(16)\n .toUpperCase()\n .padStart(2, '0');\n\n return `#${fullHex + alphaHex}`;\n};\n\n/**\n * Resolves a color value from the theme or returns the input color directly if it's a standalone color name or HEX value.\n *\n * @param colorInput - A string representing the color to resolve.\n * This can be:\n * - A theme key in the format 'colorType.colorName'.\n * - A standalone color name (e.g., \"red\", \"blue\").\n * - A HEX color value (e.g., \"#RRGGBB\").\n * @param [alpha] - The alpha transparency value between 0 (fully transparent) and 1 (fully opaque).\n * Default to `undefined`.\n *\n * @returns A function that takes an `ExecutionContext` with a `theme` and resolves the color value:\n * - A HEX color string from the theme (e.g., \"#RRGGBB\").\n * - A HEX color string with alpha (e.g., \"#RRGGBBAA\") if `alpha` is provided.\n * - The input `colorKey` value directly if it's a standalone color name or HEX value.\n *\n * @throws Will throw an error if the provided alpha value is not within the valid range (0 to 1).\n * @throws Will throw an error if the color format is invalid.\n */\nexport const resolveColor =\n (colorInput: HoneyColor, alpha?: number) =>\n ({ theme }: HoneyStyledContext<object>): HoneyCSSColor => {\n const [colorType, colorName] = colorInput.split('.');\n\n const color = colorName\n ? theme.colors[colorType as keyof HoneyColors][colorName]\n : (colorType as HoneyCSSColor);\n\n return alpha === undefined ? color : convertHexToHexWithAlpha(color, alpha);\n };\n\n/**\n * Resolves a specific dimension value from the theme configuration.\n *\n * @param dimensionName - The name of the dimension to resolve.\n *\n * @returns A style function that takes the theme and returns the resolved dimension value from the theme.\n */\nexport const resolveDimension =\n (dimensionName: HoneyDimensionName) =>\n ({ theme }: HoneyStyledContext<object>): HoneyCSSDimensionValue =>\n theme.dimensions[dimensionName];\n","module.exports = require(\"react\");","const e=e=>new Blob([e],{type:e.type}),t=e=>new DOMRect(e.offsetLeft,e.offsetTop,e.clientWidth,e.clientHeight),n=e=>\"A\"===e.tagName,r=e=>\"true\"===e.getAttribute(\"contenteditable\"),l=[\"INPUT\",\"SELECT\",\"TEXTAREA\",\"BUTTON\",\"A\"],a=e=>{if(!e)return!1;const t=window.getComputedStyle(e);if(\"hidden\"===t.visibility||\"none\"===t.display)return!1;if(\"disabled\"in e&&e.disabled)return!1;const a=e.getAttribute(\"tabindex\");return\"-1\"!==a&&(l.includes(e.tagName)?!n(e)||\"\"!==e.href:!!r(e)||null!==a)},i=e=>Array.from(e.querySelectorAll(\"*\")).filter(a),o=(e,t=null,{wrap:n=!0,getNextIndex:r}={})=>{const l=document.activeElement,a=t??l?.parentElement;if(!l||!a)return;const o=i(a);if(0===o.length)return;const s=o.indexOf(l);if(-1===s)return;let c;r?c=r(s,e,o):\"next\"===e?(c=s+1,c>=o.length&&(c=n?0:null)):(c=s-1,c<0&&(c=n?o.length-1:null)),null!==c&&o[c]?.focus()};function s(e,t){if(!e)throw new Error(t)}const c=e=>null===e,u=e=>null==e,f=e=>null!=e,h=e=>void 0===e,d=e=>\"number\"==typeof e,m=e=>\"boolean\"==typeof e,g=e=>\"object\"==typeof e,w=e=>g(e)&&!c(e)&&0===Object.keys(e).length,y=e=>e instanceof Date,p=e=>e instanceof Blob,b=e=>e instanceof Error,x=e=>y(e)&&!isNaN(e.getTime()),M=e=>e instanceof RegExp,S=e=>e instanceof Map,A=e=>e instanceof Set,v=e=>\"symbol\"==typeof e,k=e=>d(e)&&isFinite(e),C=e=>d(e)&&Number.isInteger(e),E=e=>k(e)&&!Number.isInteger(e),O=e=>Array.isArray(e),P=e=>O(e)&&0===e.length,T=e=>e.filter(Boolean),X=e=>[...new Set(e)],_=(e,t)=>(s(t>0,\"Chunk size must be greater than 0\"),Array.from({length:Math.ceil(e.length/t)},(n,r)=>e.slice(r*t,(r+1)*t))),z=(...e)=>{if(0===e.length)return[];if(1===e.length)return[...e[0]];const[t,...n]=e;return X(t).filter(e=>n.every(t=>t.includes(e)))},L=(e,t)=>e.filter(e=>!t.includes(e)),Y=(...e)=>t=>e.reduce((e,t)=>t(e),t),R=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),N=()=>{},$=e=>\"function\"==typeof e,F=e=>(...t)=>!e(...t),I=e=>{let t,n=!1;return function(...r){return n||(n=!0,t=e.apply(this,r)),t}},j=e=>$(e?.then),U=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++)n.push(await t(e[r],r,e));return n},H=async(e,t)=>Promise.all(e.map(t)),W=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++){const l=e[r];await t(l,r,e)&&n.push(l)}return n},B=async(e,t)=>{const n=await H(e,async(e,n,r)=>!!await t(e,n,r)&&e);return T(n)},D=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return!0;return!1},V=async(e,t)=>{for(let n=0;n<e.length;n++)if(!await t(e[n],n,e))return!1;return!0},Z=async(e,t,n)=>{let r=n;for(let n=0;n<e.length;n++)r=await t(r,e[n],n,e);return r},G=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return e[n];return null},q=e=>new Promise(t=>setTimeout(t,e)),J=async(e,t,n=\"Operation timed out\")=>{try{return await Promise.race([e,q(t).then(()=>Promise.reject(new Error(n)))])}finally{}},K=(e,{maxAttempts:t=3,delayMs:n=300,backoff:r=!0,onRetry:l}={})=>async(...a)=>{let i;for(let o=1;o<=t;o++)try{return await e(...a)}catch(e){if(i=e,o<t){l?.(o,e);const t=r?n*2**(o-1):n;await q(t)}}throw i},Q=e=>\"string\"==typeof e,ee=(e,{fileName:t,target:n}={})=>{if(h(document))return;const r=document.createElement(\"a\");let l=null;try{const a=Q(e)?e:l=URL.createObjectURL(e);r.href=a,t&&(r.download=t),n&&(r.target=n),document.body.appendChild(r),r.click()}finally{r.remove(),l&&setTimeout(()=>{s(l,\"Object URL should not be null\"),URL.revokeObjectURL(l)},0)}},te=e=>e.scrollWidth>e.clientWidth,ne=e=>Math.max(0,e.scrollWidth-e.clientWidth),re=e=>e.scrollHeight>e.clientHeight,le=e=>Math.max(0,e.scrollHeight-e.clientHeight),ae=({overflowSize:e,containerSize:t,elementOffset:n,elementSize:r})=>{if(e<=0)return 0;const l=n+r/2-t/2;return-Math.max(0,Math.min(l,e))},ie=(e,t,{axis:n=\"both\"}={})=>{let r=0,l=0;\"x\"!==n&&\"both\"!==n||(r=ae({overflowSize:ne(e),containerSize:e.clientWidth,elementOffset:t.offsetLeft,elementSize:t.clientWidth})),\"y\"!==n&&\"both\"!==n||(l=ae({overflowSize:le(e),containerSize:e.clientHeight,elementOffset:t.offsetTop,elementSize:t.clientHeight})),e.style.transform=`translate(${r}px, ${l}px)`},oe=e=>{const t=window.getComputedStyle(e).getPropertyValue(\"transform\").match(/^matrix\\((.+)\\)$/);if(!t)return{translateX:0,translateY:0,scaleX:1,scaleY:1,skewX:0,skewY:0};const[n,r,l,a,i,o]=t[1].split(\", \").map(parseFloat);return{translateX:i,translateY:o,scaleX:n,scaleY:a,skewX:l,skewY:r}},se=()=>{if(\"undefined\"==typeof window||!window.localStorage)return!1;try{return window.localStorage.getItem(\"__non_existing_key__\"),!0}catch{return!1}},ce=()=>{if(!se())return{readable:!1,writable:!1};try{const e=\"__test_write__\";return window.localStorage.setItem(e,\"1\"),window.localStorage.removeItem(e),{readable:!0,writable:!0}}catch{}return{readable:!0,writable:!1}},ue=e=>e instanceof File,fe=e=>{if(!e)return[];const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t},he=(e,t)=>new File([e],t,{type:e.type}),de=async(e,{skipFiles:t=[\".DS_Store\",\"Thumbs.db\",\"desktop.ini\",\"ehthumbs.db\",\".Spotlight-V100\",\".Trashes\",\".fseventsd\",\"__MACOSX\"]}={})=>{const n=new Set(t),r=await(async e=>{const t=e.createReader(),n=async()=>new Promise((e,r)=>{t.readEntries(async t=>{if(t.length)try{const r=await n();e([...t,...r])}catch(e){r(e)}else e([])},r)});return n()})(e);return(await H(r,async e=>e.isDirectory?de(e,{skipFiles:t}):n.has(e.name)?[]:[await new Promise((t,n)=>{e.file(t,n)})])).flat()},me=async(e,t={})=>{const n=e?.items;if(!n)return[];const r=[];for(let e=0;e<n.length;e++){const l=n[e];if(\"webkitGetAsEntry\"in l){const e=l.webkitGetAsEntry?.();if(e?.isDirectory){r.push(de(e,t));continue}if(e?.isFile){r.push(new Promise((t,n)=>e.file(e=>t([e]),n)));continue}}const a=l.getAsFile();a&&r.push(Promise.resolve([a]))}return(await Promise.all(r)).flat()},ge=(e,...t)=>\"function\"==typeof e?e(...t):e,we=({delta:e,value:t,min:n,max:r})=>{if(0===e)return null;const l=t+e;return e<0?t<=n?null:Math.max(l,n):e>0?t>=r?null:Math.min(l,r):null},ye=({value:e,min:t,max:n,velocityPxMs:r,deltaTimeMs:l,friction:a=.002,minVelocityPxMs:i=.01,emaAlpha:o=.2})=>{if(Math.abs(r)<i)return null;const s=we({delta:r*l,value:e,min:t,max:n});if(null===s)return null;const c=r*Math.exp(-a*l),u=o>0?r*(1-o)+c*o:c;return Math.abs(u)<i?null:{value:s,velocityPxMs:u}},pe=()=>`${Math.floor(1e3*performance.now()).toString(36)}${Math.random().toString(36).slice(2,10)}`,be=(e,t)=>Math.max(0,Math.min(e.right,t.right)-Math.max(e.left,t.left))*Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top))/(t.width*t.height),xe=(e,t,{allowFallback:n=!0,invert:r=!0}={})=>{const l=r?-1:1;switch(t){case\"x\":return{deltaX:l*(0!==e.deltaX?e.deltaX:n?e.deltaY:0),deltaY:0};case\"y\":return{deltaX:0,deltaY:l*e.deltaY};default:return{deltaX:l*e.deltaX,deltaY:l*e.deltaY}}},Me=(e,t,n,r)=>{const l=n-e,a=r-t;return Math.hypot(l,a)},Se=(e,t)=>Math.abs(e/t),Ae=(e,t)=>e*t/100,ve=e=>{let t=5381;for(let n=0;n<e.length;n++)t=33*t^e.charCodeAt(n);return(t>>>0).toString(36)},ke=e=>Object.entries(e).reduce((e,[t,n])=>(void 0!==n&&(e[t]=n),e),{}),Ce=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1-$2\").toLowerCase(),Ee=e=>{const t=e.charAt(0),n=e.slice(1);return t.toLowerCase()+n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)},Oe=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1 $2\"),Pe=e=>0===e.length?[]:e.split(\" \").filter(Boolean),Te=e=>\"\"===e||u(e),Xe=e=>{const t=e.lastIndexOf(\".\");return t<=0||t===e.length-1?[e,\"\"]:[e.slice(0,t),e.slice(t+1).toLowerCase()]},_e=(e,t)=>{if(0===e.length)return[];const n=t.charCodeAt(0),r=[];for(let t=0;t<e.length;t++)e.charCodeAt(t)===n&&r.push(t);return r},ze=(e,t,n)=>{if(0===e.length)return;const r=e.length;for(let l=0;l<r;l++){const a=e[l],i={charIndex:l,prevChar:l>0?e[l-1]:null,nextChar:l<r-1?e[l+1]:null};n?.(a,i)||t(a,i)}},Le=(e,t=1/0)=>0===e.length?\"\":Pe(e).slice(0,t).map(e=>e[0]).join(\"\").toUpperCase();export{l as FOCUSABLE_HTML_TAGS,ye as applyInertiaStep,s as assert,he as blobToFile,ae as calculateCenterOffset,Me as calculateEuclideanDistance,Se as calculateMovingSpeed,Ae as calculatePercentage,Ee as camelToDashCase,Oe as camelToWords,ie as centerElementInContainer,_ as chunk,e as cloneBlob,T as compact,R as compose,ke as definedProps,q as delay,L as difference,ee as downloadFile,V as everyAsync,fe as fileListToFiles,B as filterParallel,W as filterSequential,G as findAsync,_e as findCharIndices,ze as forEachChar,pe as generateEphemeralId,be as getDOMRectIntersectionRatio,t as getElementOffsetRect,i as getFocusableHtmlElements,ce as getLocalStorageCapabilities,Le as getWordsInitials,ne as getXOverflowWidth,le as getYOverflowHeight,te as hasXOverflow,re as hasYOverflow,ve as hashString,z as intersection,ge as invokeIfFunction,n as isAnchorHtmlElement,O as isArray,p as isBlob,m as isBool,r as isContentEditableHtmlElement,y as isDate,E as isDecimal,f as isDefined,P as isEmptyArray,w as isEmptyObject,b as isError,ue as isFile,k as isFiniteNumber,$ as isFunction,a as isHtmlElementFocusable,C as isInteger,se as isLocalStorageReadable,S as isMap,u as isNil,Te as isNilOrEmptyString,c as isNull,d as isNumber,g as isObject,j as isPromise,M as isRegExp,A as isSet,Q as isString,v as isSymbol,h as isUndefined,x as isValidDate,o as moveFocusWithinContainer,N as noop,F as not,I as once,oe as parse2DMatrix,Xe as parseFileName,Y as pipe,me as readFilesFromDataTransfer,Z as reduceAsync,xe as resolveAxisDelta,we as resolveBoundedDelta,K as retry,H as runParallel,U as runSequential,D as someAsync,Pe as splitStringIntoWords,J as timeout,Ce as toKebabCase,de as traverseFileSystemDirectory,X as unique};\n//# sourceMappingURL=index.mjs.map","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, token, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tif ((token(previous || 1) == 5 || token(peek() || 1) == 5) && strlen(characters) && substr(characters, -1, void 0) !== ' ') characters += ' '\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length || (variable === 0 && previous === 47)))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tswitch (atrule) {\n\t\t\t\t\t\t\t\t\t// c(ontainer)\n\t\t\t\t\t\t\t\t\tcase 99:\n\t\t\t\t\t\t\t\t\t\tif (charat(characters, 3) === 110) break\n\t\t\t\t\t\t\t\t\t// l(ayer)\n\t\t\t\t\t\t\t\t\tcase 108:\n\t\t\t\t\t\t\t\t\t\tif (charat(characters, 2) === 97) break\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\toffset = 0\n\t\t\t\t\t\t\t\t\t// d(ocument) m(edia) s(upports)\n\t\t\t\t\t\t\t\t\tcase 100: case 109: case 115:\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (offset) parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\telse parse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599:\n\t\t\treturn WEBKIT + value + value\n\t\t// mask-composite\n\t\tcase 4855:\n\t\t\treturn WEBKIT + value.replace('add', 'source-over').replace('substract', 'source-out').replace('intersect', 'source-in').replace('exclude', 'xor') + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /space-between/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES, NAMESPACE} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Check if module exists (development only)\n\tif (__webpack_modules__[moduleId] === undefined) {\n\t\tvar e = new Error(\"Cannot find module '\" + moduleId + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from './constants';\nexport * from './contexts';\nexport * from './providers';\nexport * from './hooks';\nexport * from './types';\nexport * from './css';\nexport * from './global-style';\nexport * from './styled';\nexport * from './utils';\n"],"names":[],"sourceRoot":""}
|