frosty 0.0.111 → 0.0.113
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/_native.d.mts +19 -0
- package/dist/_native.d.mts.map +1 -0
- package/dist/_native.js +3 -3
- package/dist/_native.mjs +4 -4
- package/dist/dom.d.mts +15 -0
- package/dist/dom.d.mts.map +1 -0
- package/dist/dom.js +4 -4
- package/dist/dom.mjs +4 -4
- package/dist/index.d.mts +551 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +4 -4
- package/dist/internals/common-CpEB3ieX.d.mts +3451 -0
- package/dist/internals/common-CpEB3ieX.d.mts.map +1 -0
- package/dist/internals/fragment-BlS4iF_x.d.mts +9 -0
- package/dist/internals/fragment-BlS4iF_x.d.mts.map +1 -0
- package/dist/internals/{fragment-CaAgTjMI.d.ts → fragment-Dch7YNeZ.d.ts} +4 -1
- package/dist/internals/{fragment-CaAgTjMI.d.ts.map → fragment-Dch7YNeZ.d.ts.map} +1 -1
- package/dist/internals/renderer-BQawOCgo.d.mts +38 -0
- package/dist/internals/renderer-BQawOCgo.d.mts.map +1 -0
- package/dist/internals/renderer-BelBgEvy.d.mts +47 -0
- package/dist/internals/renderer-BelBgEvy.d.mts.map +1 -0
- package/dist/internals/{renderer-D042jXUg.mjs → renderer-CA9aKFMW.mjs} +3 -3
- package/dist/internals/{renderer-D042jXUg.mjs.map → renderer-CA9aKFMW.mjs.map} +1 -1
- package/dist/internals/{renderer-mim3fEAf.js → renderer-CNz1Y3a_.js} +3 -3
- package/dist/internals/{renderer-mim3fEAf.js.map → renderer-CNz1Y3a_.js.map} +1 -1
- package/dist/internals/{renderer-DUavelz2.mjs → renderer-DowEJaeR.mjs} +4 -4
- package/dist/internals/{renderer-DUavelz2.mjs.map → renderer-DowEJaeR.mjs.map} +1 -1
- package/dist/internals/{renderer-B04DCuHt.js → renderer-I-1wuWMB.js} +4 -4
- package/dist/internals/{renderer-B04DCuHt.js.map → renderer-I-1wuWMB.js.map} +1 -1
- package/dist/internals/{runtime-BFi9M0jE.js → runtime-57ivQprw.js} +4 -1
- package/dist/internals/runtime-57ivQprw.js.map +1 -0
- package/dist/internals/{runtime-BB51vIJ7.mjs → runtime-Dp4_akLf.mjs} +4 -1
- package/dist/internals/runtime-Dp4_akLf.mjs.map +1 -0
- package/dist/internals/{state-DFlnc6I0.js → state-C9_fGuhZ.js} +9 -2
- package/dist/internals/state-C9_fGuhZ.js.map +1 -0
- package/dist/internals/{state-YzaxTA1n.mjs → state-DgSrjGGU.mjs} +9 -2
- package/dist/internals/state-DgSrjGGU.mjs.map +1 -0
- package/dist/internals/{sync-OyR_m41B.js → sync-B7gLfyQK.js} +2 -2
- package/dist/internals/{sync-OyR_m41B.js.map → sync-B7gLfyQK.js.map} +1 -1
- package/dist/internals/{sync-CxgNMmpR.mjs → sync-CeJllG9M.mjs} +2 -2
- package/dist/internals/{sync-CxgNMmpR.mjs.map → sync-CeJllG9M.mjs.map} +1 -1
- package/dist/internals/utils-CWsh4Zpu.d.mts +7 -0
- package/dist/internals/utils-CWsh4Zpu.d.mts.map +1 -0
- package/dist/jsx-dev-runtime.d.mts +11 -0
- package/dist/jsx-dev-runtime.d.mts.map +1 -0
- package/dist/jsx-dev-runtime.d.ts +1 -1
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/jsx-dev-runtime.mjs +1 -1
- package/dist/jsx-runtime.d.mts +23 -0
- package/dist/jsx-runtime.d.mts.map +1 -0
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/jsx-runtime.mjs +2 -2
- package/dist/server-dom.d.mts +15 -0
- package/dist/server-dom.d.mts.map +1 -0
- package/dist/server-dom.js +4 -4
- package/dist/server-dom.mjs +4 -4
- package/dist/web.d.mts +211 -0
- package/dist/web.d.mts.map +1 -0
- package/dist/web.d.ts +99 -0
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +104 -5
- package/dist/web.js.map +1 -1
- package/dist/web.mjs +105 -6
- package/dist/web.mjs.map +1 -1
- package/package.json +5 -17
- package/dist/internals/runtime-BB51vIJ7.mjs.map +0 -1
- package/dist/internals/runtime-BFi9M0jE.js.map +0 -1
- package/dist/internals/state-DFlnc6I0.js.map +0 -1
- package/dist/internals/state-YzaxTA1n.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-CpEB3ieX.d.mts","sources":["../../src/core/types/style.ts","../../src/core/web/styles/css.ts","../../src/core/web/event.ts","../../generated/elements.ts","../../src/core/web/props.ts","../../src/core/types/runtime.ts","../../src/core/types/component.ts","../../src/core/types/common.ts"],"sourcesContent":["//\n// style.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\n\ntype Many<T> = T | _.RecursiveArray<T>;\n\nexport type ClassName = Many<string | _.Falsey>;\n\nexport type StyleProp<T> = Many<T | _.Falsey>;\n","//\n// css.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport * as CSS from 'csstype';\n\ntype AtRules = '@container' | '@media';\n\ntype PropsWithExtends<Props> = Props & {\n [rule in `${AtRules} ${string}`]?: Omit<PropsWithExtends<Props>, `${AtRules} ${string}`>;\n} & {\n '@keyframes'?: Record<string, Props>;\n [selector: `$${string}`]: PropsWithExtends<Props>;\n [variable: `--${string}`]: string | 0;\n};\n\nexport type CSSProperties = CSS.StandardProperties<string | number> & CSS.SvgProperties<string | number>;\nexport type ExtendedCSSProperties = PropsWithExtends<CSSProperties>;\n","//\n// event.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\n\nexport const globalEvents = [\n\n // Clipboard Events\n \"onCopy\",\n \"onCut\",\n \"onPaste\",\n\n // Composition Events\n \"onCompositionEnd\",\n \"onCompositionStart\",\n \"onCompositionUpdate\",\n\n // Focus Events\n \"onFocus\",\n \"onBlur\",\n\n // Form Events\n \"onFormData\",\n \"onChange\",\n \"onBeforeInput\",\n \"onInput\",\n \"onReset\",\n \"onSubmit\",\n \"onInvalid\",\n\n // Image Events\n \"onLoad\",\n \"onError\",\n\n // Keyboard Events\n \"onKeyDown\",\n /** @deprecated */\n \"onKeyPress\",\n /** @deprecated */\n \"onKeyUp\",\n\n // Media Events\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 \"onResize\",\n \"onSeeked\",\n \"onSeeking\",\n \"onStalled\",\n \"onSuspend\",\n \"onTimeUpdate\",\n \"onVolumeChange\",\n \"onWaiting\",\n\n // MouseEvents\n \"onAuxClick\",\n \"onClick\",\n \"onContextMenu\",\n \"onDoubleClick\",\n \"onDrag\",\n \"onDragEnd\",\n \"onDragEnter\",\n \"onDragExit\",\n \"onDragLeave\",\n \"onDragOver\",\n \"onDragStart\",\n \"onDrop\",\n \"onMouseDown\",\n \"onMouseEnter\",\n \"onMouseLeave\",\n \"onMouseMove\",\n \"onMouseOut\",\n \"onMouseOver\",\n \"onMouseUp\",\n\n // Selection Events\n \"onSelect\",\n\n // Touch Events\n \"onTouchCancel\",\n \"onTouchEnd\",\n \"onTouchMove\",\n \"onTouchStart\",\n\n // Pointer Events\n \"onPointerDown\",\n \"onPointerMove\",\n \"onPointerUp\",\n \"onPointerCancel\",\n \"onPointerEnter\",\n \"onPointerLeave\",\n \"onPointerOver\",\n \"onPointerOut\",\n\n // UI Events\n \"onScroll\",\n\n // Wheel Events\n \"onWheel\",\n\n // Animation Events\n \"onAnimationStart\",\n \"onAnimationEnd\",\n \"onAnimationIteration\",\n\n // Transition Events\n \"onTransitionEnd\",\n\n] as const;","\n\nexport const svgProps = {\n \"*\": {\n \"id\": {\n \"type\": \"DOMString\",\n \"attr\": \"id\"\n },\n \"style\": {\n \"type\": \"CSSStyleDeclaration\",\n \"attr\": \"style\"\n },\n \"tabIndex\": {\n \"type\": \"long\",\n \"attr\": \"tabindex\"\n }\n },\n \"svg\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"viewBox\": {\n \"type\": \"SVGAnimatedRect\",\n \"attr\": \"viewBox\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"g\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"defs\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"desc\": {},\n \"title\": {},\n \"symbol\": {\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"viewBox\": {\n \"type\": \"SVGAnimatedRect\",\n \"attr\": \"viewBox\"\n }\n },\n \"use\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"image\": {\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"switch\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"style\": {\n \"media\": {\n \"type\": \"DOMString\",\n \"attr\": \"media\"\n },\n \"title\": {\n \"type\": \"DOMString\",\n \"attr\": \"title\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"path\": {\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"rect\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"rx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"rx\"\n },\n \"ry\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"ry\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"circle\": {\n \"cx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cx\"\n },\n \"cy\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cy\"\n },\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"r\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"r\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"ellipse\": {\n \"cx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cx\"\n },\n \"cy\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cy\"\n },\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"rx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"rx\"\n },\n \"ry\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"ry\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"line\": {\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"x1\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x1\"\n },\n \"x2\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x2\"\n },\n \"y1\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y1\"\n },\n \"y2\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y2\"\n }\n },\n \"polyline\": {\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"points\": {\n \"type\": \"SVGPointList\",\n \"attr\": \"points\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"polygon\": {\n \"pathLength\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pathLength\"\n },\n \"points\": {\n \"type\": \"SVGPointList\",\n \"attr\": \"points\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"text\": {\n \"dx\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"dx\"\n },\n \"dy\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"dy\"\n },\n \"lengthAdjust\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"lengthAdjust\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"rotate\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"rotate\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"textLength\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"textLength\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"y\"\n }\n },\n \"tspan\": {\n \"dx\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"dx\"\n },\n \"dy\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"dy\"\n },\n \"lengthAdjust\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"lengthAdjust\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"rotate\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"rotate\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"textLength\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"textLength\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLengthList\",\n \"attr\": \"y\"\n }\n },\n \"textPath\": {\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"lengthAdjust\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"lengthAdjust\"\n },\n \"method\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"method\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"spacing\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"spacing\"\n },\n \"startOffset\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"startOffset\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"textLength\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"textLength\"\n }\n },\n \"marker\": {\n \"markerHeight\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"markerHeight\"\n },\n \"markerUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"markerUnits\"\n },\n \"markerWidth\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"markerWidth\"\n },\n \"orient\": {\n \"type\": \"DOMString\",\n \"attr\": \"orient\"\n },\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"refX\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"refX\"\n },\n \"refY\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"refY\"\n },\n \"viewBox\": {\n \"type\": \"SVGAnimatedRect\",\n \"attr\": \"viewBox\"\n }\n },\n \"linearGradient\": {\n \"gradientTransform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"gradientTransform\"\n },\n \"gradientUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"gradientUnits\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"spreadMethod\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"spreadMethod\"\n },\n \"x1\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x1\"\n },\n \"x2\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x2\"\n },\n \"y1\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y1\"\n },\n \"y2\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y2\"\n }\n },\n \"radialGradient\": {\n \"cx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cx\"\n },\n \"cy\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"cy\"\n },\n \"fr\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"fr\"\n },\n \"fx\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"fx\"\n },\n \"fy\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"fy\"\n },\n \"gradientTransform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"gradientTransform\"\n },\n \"gradientUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"gradientUnits\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"r\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"r\"\n },\n \"spreadMethod\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"spreadMethod\"\n }\n },\n \"stop\": {\n \"offset\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"offset\"\n }\n },\n \"pattern\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"patternContentUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"patternContentUnits\"\n },\n \"patternTransform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"patternTransform\"\n },\n \"patternUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"patternUnits\"\n },\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"viewBox\": {\n \"type\": \"SVGAnimatedRect\",\n \"attr\": \"viewBox\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"clipPath\": {\n \"clipPathUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"clipPathUnits\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n }\n },\n \"mask\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"maskContentUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"maskContentUnits\"\n },\n \"maskUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"maskUnits\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"filter\": {\n \"filterUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"filterUnits\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"primitiveUnits\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"primitiveUnits\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feDistantLight\": {\n \"azimuth\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"azimuth\"\n },\n \"elevation\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"elevation\"\n }\n },\n \"fePointLight\": {\n \"x\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"y\"\n },\n \"z\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"z\"\n }\n },\n \"feSpotLight\": {\n \"limitingConeAngle\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"limitingConeAngle\"\n },\n \"pointsAtX\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pointsAtX\"\n },\n \"pointsAtY\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pointsAtY\"\n },\n \"pointsAtZ\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"pointsAtZ\"\n },\n \"specularExponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"specularExponent\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"y\"\n },\n \"z\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"z\"\n }\n },\n \"feBlend\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"in2\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"in2\"\n },\n \"mode\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"mode\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feColorMatrix\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n },\n \"values\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"values\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feComponentTransfer\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feFuncR\": {\n \"amplitude\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"amplitude\"\n },\n \"exponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"exponent\"\n },\n \"intercept\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"intercept\"\n },\n \"offset\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"offset\"\n },\n \"slope\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"slope\"\n },\n \"tableValues\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"tableValues\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n }\n },\n \"feFuncG\": {\n \"amplitude\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"amplitude\"\n },\n \"exponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"exponent\"\n },\n \"intercept\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"intercept\"\n },\n \"offset\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"offset\"\n },\n \"slope\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"slope\"\n },\n \"tableValues\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"tableValues\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n }\n },\n \"feFuncB\": {\n \"amplitude\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"amplitude\"\n },\n \"exponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"exponent\"\n },\n \"intercept\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"intercept\"\n },\n \"offset\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"offset\"\n },\n \"slope\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"slope\"\n },\n \"tableValues\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"tableValues\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n }\n },\n \"feFuncA\": {\n \"amplitude\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"amplitude\"\n },\n \"exponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"exponent\"\n },\n \"intercept\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"intercept\"\n },\n \"offset\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"offset\"\n },\n \"slope\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"slope\"\n },\n \"tableValues\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"tableValues\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n }\n },\n \"feComposite\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"in2\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"in2\"\n },\n \"k1\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"k1\"\n },\n \"k2\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"k2\"\n },\n \"k3\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"k3\"\n },\n \"k4\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"k4\"\n },\n \"operator\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"operator\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feConvolveMatrix\": {\n \"bias\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"bias\"\n },\n \"divisor\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"divisor\"\n },\n \"edgeMode\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"edgeMode\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"kernelMatrix\": {\n \"type\": \"SVGAnimatedNumberList\",\n \"attr\": \"kernelMatrix\"\n },\n \"preserveAlpha\": {\n \"type\": \"SVGAnimatedBoolean\",\n \"attr\": \"preserveAlpha\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"targetX\": {\n \"type\": \"SVGAnimatedInteger\",\n \"attr\": \"targetX\"\n },\n \"targetY\": {\n \"type\": \"SVGAnimatedInteger\",\n \"attr\": \"targetY\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feDiffuseLighting\": {\n \"diffuseConstant\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"diffuseConstant\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"surfaceScale\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"surfaceScale\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feDisplacementMap\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"in2\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"in2\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"scale\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"scale\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"xChannelSelector\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"xChannelSelector\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n },\n \"yChannelSelector\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"yChannelSelector\"\n }\n },\n \"feFlood\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feGaussianBlur\": {\n \"edgeMode\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"edgeMode\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feImage\": {\n \"crossOrigin\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"crossorigin\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feMerge\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feMergeNode\": {},\n \"feMorphology\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"operator\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"operator\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feOffset\": {\n \"dx\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"dx\"\n },\n \"dy\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"dy\"\n },\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feSpecularLighting\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"specularConstant\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"specularConstant\"\n },\n \"specularExponent\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"specularExponent\"\n },\n \"surfaceScale\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"surfaceScale\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feTile\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"feTurbulence\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"numOctaves\": {\n \"type\": \"SVGAnimatedInteger\",\n \"attr\": \"numOctaves\"\n },\n \"result\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"result\"\n },\n \"seed\": {\n \"type\": \"SVGAnimatedNumber\",\n \"attr\": \"seed\"\n },\n \"stitchTiles\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"stitchTiles\"\n },\n \"type\": {\n \"type\": \"SVGAnimatedEnumeration\",\n \"attr\": \"type\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n },\n \"a\": {\n \"download\": {\n \"type\": \"DOMString\",\n \"attr\": \"download\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"hreflang\": {\n \"type\": \"DOMString\",\n \"attr\": \"hreflang\"\n },\n \"ping\": {\n \"type\": \"USVString\",\n \"attr\": \"ping\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"target\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"target\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"view\": {\n \"preserveAspectRatio\": {\n \"type\": \"SVGAnimatedPreserveAspectRatio\",\n \"attr\": \"preserveAspectRatio\"\n },\n \"viewBox\": {\n \"type\": \"SVGAnimatedRect\",\n \"attr\": \"viewBox\"\n }\n },\n \"script\": {\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"animate\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n }\n },\n \"set\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n }\n },\n \"animateMotion\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n }\n },\n \"mpath\": {\n \"href\": {\n \"type\": \"SVGAnimatedString\",\n \"attr\": \"href\"\n }\n },\n \"animateTransform\": {\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n }\n },\n \"metadata\": {},\n \"foreignObject\": {\n \"height\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"height\"\n },\n \"requiredExtensions\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"requiredExtensions\"\n },\n \"systemLanguage\": {\n \"type\": \"SVGStringList\",\n \"attr\": \"systemLanguage\"\n },\n \"transform\": {\n \"type\": \"SVGAnimatedTransformList\",\n \"attr\": \"transform\"\n },\n \"width\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"width\"\n },\n \"x\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"x\"\n },\n \"y\": {\n \"type\": \"SVGAnimatedLength\",\n \"attr\": \"y\"\n }\n }\n} as const;\n\nexport const htmlProps = {\n \"*\": {\n \"accessKey\": {\n \"type\": \"DOMString\",\n \"attr\": \"accesskey\"\n },\n \"autocapitalize\": {\n \"type\": \"DOMString\",\n \"attr\": \"autocapitalize\"\n },\n \"autofocus\": {\n \"type\": \"boolean\",\n \"attr\": \"autofocus\"\n },\n \"contentEditable\": {\n \"type\": \"DOMString\",\n \"attr\": \"contenteditable\"\n },\n \"dir\": {\n \"type\": \"DOMString\",\n \"attr\": \"dir\"\n },\n \"draggable\": {\n \"type\": \"boolean\",\n \"attr\": \"draggable\"\n },\n \"enterKeyHint\": {\n \"type\": \"DOMString\",\n \"attr\": \"enterkeyhint\"\n },\n \"hidden\": {\n \"type\": [\n \"boolean\",\n \"unrestricted double\",\n \"DOMString\"\n ],\n \"attr\": \"hidden\"\n },\n \"id\": {\n \"type\": \"DOMString\",\n \"attr\": \"id\"\n },\n \"inert\": {\n \"type\": \"boolean\",\n \"attr\": \"inert\"\n },\n \"inputMode\": {\n \"type\": \"DOMString\",\n \"attr\": \"inputmode\"\n },\n \"lang\": {\n \"type\": \"DOMString\",\n \"attr\": \"lang\"\n },\n \"nonce\": {\n \"type\": \"DOMString\",\n \"attr\": \"nonce\"\n },\n \"popover\": {\n \"type\": \"DOMString\",\n \"attr\": \"popover\"\n },\n \"slot\": {\n \"type\": \"DOMString\",\n \"attr\": \"slot\"\n },\n \"spellcheck\": {\n \"type\": \"boolean\",\n \"attr\": \"spellcheck\"\n },\n \"style\": {\n \"type\": \"CSSStyleDeclaration\",\n \"attr\": \"style\"\n },\n \"tabIndex\": {\n \"type\": \"long\",\n \"attr\": \"tabindex\"\n },\n \"title\": {\n \"type\": \"DOMString\",\n \"attr\": \"title\"\n },\n \"translate\": {\n \"type\": \"boolean\",\n \"attr\": \"translate\"\n },\n \"writingSuggestions\": {\n \"type\": \"DOMString\",\n \"attr\": \"writingsuggestions\"\n }\n },\n \"html\": {\n \"version\": {\n \"type\": \"DOMString\",\n \"attr\": \"version\"\n }\n },\n \"head\": {},\n \"title\": {},\n \"base\": {\n \"href\": {\n \"type\": \"USVString\",\n \"attr\": \"href\"\n },\n \"target\": {\n \"type\": \"DOMString\",\n \"attr\": \"target\"\n }\n },\n \"link\": {\n \"as\": {\n \"type\": \"DOMString\",\n \"attr\": \"as\"\n },\n \"blocking\": {\n \"type\": \"DOMTokenList\",\n \"attr\": \"blocking\"\n },\n \"charset\": {\n \"type\": \"DOMString\",\n \"attr\": \"charset\"\n },\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"fetchPriority\": {\n \"type\": \"DOMString\",\n \"attr\": \"fetchpriority\"\n },\n \"href\": {\n \"type\": \"USVString\",\n \"attr\": \"href\"\n },\n \"hreflang\": {\n \"type\": \"DOMString\",\n \"attr\": \"hreflang\"\n },\n \"imageSizes\": {\n \"type\": \"DOMString\",\n \"attr\": \"imagesizes\"\n },\n \"imageSrcset\": {\n \"type\": \"USVString\",\n \"attr\": \"imagesrcset\"\n },\n \"integrity\": {\n \"type\": \"DOMString\",\n \"attr\": \"integrity\"\n },\n \"media\": {\n \"type\": \"DOMString\",\n \"attr\": \"media\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"rel\": {\n \"type\": \"DOMString\",\n \"attr\": \"rel\"\n },\n \"rev\": {\n \"type\": \"DOMString\",\n \"attr\": \"rev\"\n },\n \"sizes\": {\n \"type\": \"DOMTokenList\",\n \"attr\": \"sizes\"\n },\n \"target\": {\n \"type\": \"DOMString\",\n \"attr\": \"target\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"meta\": {\n \"content\": {\n \"type\": \"DOMString\",\n \"attr\": \"content\"\n },\n \"httpEquiv\": {\n \"type\": \"DOMString\",\n \"attr\": \"http-equiv\"\n },\n \"media\": {\n \"type\": \"DOMString\",\n \"attr\": \"media\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"scheme\": {\n \"type\": \"DOMString\",\n \"attr\": \"scheme\"\n }\n },\n \"style\": {\n \"blocking\": {\n \"type\": \"DOMTokenList\",\n \"attr\": \"blocking\"\n },\n \"media\": {\n \"type\": \"DOMString\",\n \"attr\": \"media\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"body\": {\n \"aLink\": {\n \"type\": \"DOMString\",\n \"attr\": \"alink\"\n },\n \"background\": {\n \"type\": \"DOMString\",\n \"attr\": \"background\"\n },\n \"bgColor\": {\n \"type\": \"DOMString\",\n \"attr\": \"bgcolor\"\n },\n \"link\": {\n \"type\": \"DOMString\",\n \"attr\": \"link\"\n },\n \"text\": {\n \"type\": \"DOMString\",\n \"attr\": \"text\"\n },\n \"vLink\": {\n \"type\": \"DOMString\",\n \"attr\": \"vlink\"\n }\n },\n \"article\": {},\n \"section\": {},\n \"nav\": {},\n \"aside\": {},\n \"h1\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"h2\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"h3\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"h4\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"h5\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"h6\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"hgroup\": {},\n \"header\": {},\n \"footer\": {},\n \"address\": {},\n \"p\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"hr\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"noShade\": {\n \"type\": \"boolean\",\n \"attr\": \"noshade\"\n },\n \"size\": {\n \"type\": \"DOMString\",\n \"attr\": \"size\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"pre\": {\n \"width\": {\n \"type\": \"long\",\n \"attr\": \"width\"\n }\n },\n \"blockquote\": {\n \"cite\": {\n \"type\": \"USVString\",\n \"attr\": \"cite\"\n }\n },\n \"ol\": {\n \"compact\": {\n \"type\": \"boolean\",\n \"attr\": \"compact\"\n },\n \"reversed\": {\n \"type\": \"boolean\",\n \"attr\": \"reversed\"\n },\n \"start\": {\n \"type\": \"long\",\n \"attr\": \"start\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"ul\": {\n \"compact\": {\n \"type\": \"boolean\",\n \"attr\": \"compact\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"menu\": {\n \"compact\": {\n \"type\": \"boolean\",\n \"attr\": \"compact\"\n }\n },\n \"li\": {\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"value\": {\n \"type\": \"long\",\n \"attr\": \"value\"\n }\n },\n \"dl\": {\n \"compact\": {\n \"type\": \"boolean\",\n \"attr\": \"compact\"\n }\n },\n \"dt\": {},\n \"dd\": {},\n \"figure\": {},\n \"figcaption\": {},\n \"main\": {},\n \"search\": {},\n \"div\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"a\": {\n \"charset\": {\n \"type\": \"DOMString\",\n \"attr\": \"charset\"\n },\n \"coords\": {\n \"type\": \"DOMString\",\n \"attr\": \"coords\"\n },\n \"download\": {\n \"type\": \"DOMString\",\n \"attr\": \"download\"\n },\n \"href\": {\n \"type\": \"USVString\",\n \"attr\": \"href\"\n },\n \"hreflang\": {\n \"type\": \"DOMString\",\n \"attr\": \"hreflang\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"ping\": {\n \"type\": \"USVString\",\n \"attr\": \"ping\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"rel\": {\n \"type\": \"DOMString\",\n \"attr\": \"rel\"\n },\n \"rev\": {\n \"type\": \"DOMString\",\n \"attr\": \"rev\"\n },\n \"shape\": {\n \"type\": \"DOMString\",\n \"attr\": \"shape\"\n },\n \"target\": {\n \"type\": \"DOMString\",\n \"attr\": \"target\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"em\": {},\n \"strong\": {},\n \"small\": {},\n \"s\": {},\n \"cite\": {},\n \"q\": {\n \"cite\": {\n \"type\": \"USVString\",\n \"attr\": \"cite\"\n }\n },\n \"dfn\": {},\n \"abbr\": {},\n \"ruby\": {},\n \"rt\": {},\n \"rp\": {},\n \"data\": {\n \"value\": {\n \"type\": \"DOMString\",\n \"attr\": \"value\"\n }\n },\n \"time\": {\n \"dateTime\": {\n \"type\": \"DOMString\",\n \"attr\": \"datetime\"\n }\n },\n \"code\": {},\n \"var\": {},\n \"samp\": {},\n \"kbd\": {},\n \"sub\": {},\n \"sup\": {},\n \"i\": {},\n \"b\": {},\n \"u\": {},\n \"mark\": {},\n \"bdi\": {},\n \"bdo\": {},\n \"span\": {},\n \"br\": {\n \"clear\": {\n \"type\": \"DOMString\",\n \"attr\": \"clear\"\n }\n },\n \"wbr\": {},\n \"ins\": {\n \"cite\": {\n \"type\": \"USVString\",\n \"attr\": \"cite\"\n },\n \"dateTime\": {\n \"type\": \"DOMString\",\n \"attr\": \"datetime\"\n }\n },\n \"del\": {\n \"cite\": {\n \"type\": \"USVString\",\n \"attr\": \"cite\"\n },\n \"dateTime\": {\n \"type\": \"DOMString\",\n \"attr\": \"datetime\"\n }\n },\n \"picture\": {},\n \"source\": {\n \"height\": {\n \"type\": \"unsigned long\",\n \"attr\": \"height\"\n },\n \"media\": {\n \"type\": \"DOMString\",\n \"attr\": \"media\"\n },\n \"sizes\": {\n \"type\": \"DOMString\",\n \"attr\": \"sizes\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"srcset\": {\n \"type\": \"USVString\",\n \"attr\": \"srcset\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"width\": {\n \"type\": \"unsigned long\",\n \"attr\": \"width\"\n }\n },\n \"img\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"alt\": {\n \"type\": \"DOMString\",\n \"attr\": \"alt\"\n },\n \"border\": {\n \"type\": \"DOMString\",\n \"attr\": \"border\"\n },\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"decoding\": {\n \"type\": \"DOMString\",\n \"attr\": \"decoding\"\n },\n \"fetchPriority\": {\n \"type\": \"DOMString\",\n \"attr\": \"fetchpriority\"\n },\n \"height\": {\n \"type\": \"unsigned long\",\n \"attr\": \"height\"\n },\n \"hspace\": {\n \"type\": \"unsigned long\",\n \"attr\": \"hspace\"\n },\n \"isMap\": {\n \"type\": \"boolean\",\n \"attr\": \"ismap\"\n },\n \"loading\": {\n \"type\": \"DOMString\",\n \"attr\": \"loading\"\n },\n \"longDesc\": {\n \"type\": \"USVString\",\n \"attr\": \"longdesc\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"sizes\": {\n \"type\": \"DOMString\",\n \"attr\": \"sizes\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"srcset\": {\n \"type\": \"USVString\",\n \"attr\": \"srcset\"\n },\n \"useMap\": {\n \"type\": \"DOMString\",\n \"attr\": \"usemap\"\n },\n \"vspace\": {\n \"type\": \"unsigned long\",\n \"attr\": \"vspace\"\n },\n \"width\": {\n \"type\": \"unsigned long\",\n \"attr\": \"width\"\n }\n },\n \"iframe\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"allow\": {\n \"type\": \"DOMString\",\n \"attr\": \"allow\"\n },\n \"allowFullscreen\": {\n \"type\": \"boolean\",\n \"attr\": \"allowfullscreen\"\n },\n \"frameBorder\": {\n \"type\": \"DOMString\",\n \"attr\": \"frameborder\"\n },\n \"height\": {\n \"type\": \"DOMString\",\n \"attr\": \"height\"\n },\n \"loading\": {\n \"type\": \"DOMString\",\n \"attr\": \"loading\"\n },\n \"longDesc\": {\n \"type\": \"USVString\",\n \"attr\": \"longdesc\"\n },\n \"marginHeight\": {\n \"type\": \"DOMString\",\n \"attr\": \"marginheight\"\n },\n \"marginWidth\": {\n \"type\": \"DOMString\",\n \"attr\": \"marginwidth\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"sandbox\": {\n \"type\": \"DOMTokenList\",\n \"attr\": \"sandbox\"\n },\n \"scrolling\": {\n \"type\": \"DOMString\",\n \"attr\": \"scrolling\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"srcdoc\": {\n \"type\": [\n \"TrustedHTML\",\n \"DOMString\"\n ],\n \"attr\": \"srcdoc\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"embed\": {\n \"height\": {\n \"type\": \"DOMString\",\n \"attr\": \"height\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"object\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"archive\": {\n \"type\": \"DOMString\",\n \"attr\": \"archive\"\n },\n \"border\": {\n \"type\": \"DOMString\",\n \"attr\": \"border\"\n },\n \"codeBase\": {\n \"type\": \"DOMString\",\n \"attr\": \"codebase\"\n },\n \"codeType\": {\n \"type\": \"DOMString\",\n \"attr\": \"codetype\"\n },\n \"data\": {\n \"type\": \"USVString\",\n \"attr\": \"data\"\n },\n \"declare\": {\n \"type\": \"boolean\",\n \"attr\": \"declare\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"height\": {\n \"type\": \"DOMString\",\n \"attr\": \"height\"\n },\n \"hspace\": {\n \"type\": \"unsigned long\",\n \"attr\": \"hspace\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"standby\": {\n \"type\": \"DOMString\",\n \"attr\": \"standby\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"useMap\": {\n \"type\": \"DOMString\",\n \"attr\": \"usemap\"\n },\n \"vspace\": {\n \"type\": \"unsigned long\",\n \"attr\": \"vspace\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"video\": {\n \"autoplay\": {\n \"type\": \"boolean\",\n \"attr\": \"autoplay\"\n },\n \"controls\": {\n \"type\": \"boolean\",\n \"attr\": \"controls\"\n },\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"height\": {\n \"type\": \"unsigned long\",\n \"attr\": \"height\"\n },\n \"loop\": {\n \"type\": \"boolean\",\n \"attr\": \"loop\"\n },\n \"muted\": {\n \"type\": \"boolean\",\n \"attr\": \"muted\"\n },\n \"playsInline\": {\n \"type\": \"boolean\",\n \"attr\": \"playsinline\"\n },\n \"poster\": {\n \"type\": \"USVString\",\n \"attr\": \"poster\"\n },\n \"preload\": {\n \"type\": \"DOMString\",\n \"attr\": \"preload\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"width\": {\n \"type\": \"unsigned long\",\n \"attr\": \"width\"\n }\n },\n \"audio\": {\n \"autoplay\": {\n \"type\": \"boolean\",\n \"attr\": \"autoplay\"\n },\n \"controls\": {\n \"type\": \"boolean\",\n \"attr\": \"controls\"\n },\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"loop\": {\n \"type\": \"boolean\",\n \"attr\": \"loop\"\n },\n \"muted\": {\n \"type\": \"boolean\",\n \"attr\": \"muted\"\n },\n \"preload\": {\n \"type\": \"DOMString\",\n \"attr\": \"preload\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n }\n },\n \"track\": {\n \"default\": {\n \"type\": \"boolean\",\n \"attr\": \"default\"\n },\n \"kind\": {\n \"type\": \"DOMString\",\n \"attr\": \"kind\"\n },\n \"label\": {\n \"type\": \"DOMString\",\n \"attr\": \"label\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"srclang\": {\n \"type\": \"DOMString\",\n \"attr\": \"srclang\"\n }\n },\n \"map\": {\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n }\n },\n \"area\": {\n \"alt\": {\n \"type\": \"DOMString\",\n \"attr\": \"alt\"\n },\n \"coords\": {\n \"type\": \"DOMString\",\n \"attr\": \"coords\"\n },\n \"download\": {\n \"type\": \"DOMString\",\n \"attr\": \"download\"\n },\n \"href\": {\n \"type\": \"USVString\",\n \"attr\": \"href\"\n },\n \"noHref\": {\n \"type\": \"boolean\",\n \"attr\": \"nohref\"\n },\n \"ping\": {\n \"type\": \"USVString\",\n \"attr\": \"ping\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"rel\": {\n \"type\": \"DOMString\",\n \"attr\": \"rel\"\n },\n \"shape\": {\n \"type\": \"DOMString\",\n \"attr\": \"shape\"\n },\n \"target\": {\n \"type\": \"DOMString\",\n \"attr\": \"target\"\n }\n },\n \"table\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"bgColor\": {\n \"type\": \"DOMString\",\n \"attr\": \"bgcolor\"\n },\n \"border\": {\n \"type\": \"DOMString\",\n \"attr\": \"border\"\n },\n \"cellPadding\": {\n \"type\": \"DOMString\",\n \"attr\": \"cellpadding\"\n },\n \"cellSpacing\": {\n \"type\": \"DOMString\",\n \"attr\": \"cellspacing\"\n },\n \"frame\": {\n \"type\": \"DOMString\",\n \"attr\": \"frame\"\n },\n \"rules\": {\n \"type\": \"DOMString\",\n \"attr\": \"rules\"\n },\n \"summary\": {\n \"type\": \"DOMString\",\n \"attr\": \"summary\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"caption\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"colgroup\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"span\": {\n \"type\": \"unsigned long\",\n \"attr\": \"span\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"col\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"span\": {\n \"type\": \"unsigned long\",\n \"attr\": \"span\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"tbody\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n }\n },\n \"thead\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n }\n },\n \"tfoot\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n }\n },\n \"tr\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"bgColor\": {\n \"type\": \"DOMString\",\n \"attr\": \"bgcolor\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n }\n },\n \"td\": {\n \"abbr\": {\n \"type\": \"DOMString\",\n \"attr\": \"abbr\"\n },\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"axis\": {\n \"type\": \"DOMString\",\n \"attr\": \"axis\"\n },\n \"bgColor\": {\n \"type\": \"DOMString\",\n \"attr\": \"bgcolor\"\n },\n \"colSpan\": {\n \"type\": \"unsigned long\",\n \"attr\": \"colspan\"\n },\n \"headers\": {\n \"type\": \"DOMString\",\n \"attr\": \"headers\"\n },\n \"height\": {\n \"type\": \"DOMString\",\n \"attr\": \"height\"\n },\n \"noWrap\": {\n \"type\": \"boolean\",\n \"attr\": \"nowrap\"\n },\n \"rowSpan\": {\n \"type\": \"unsigned long\",\n \"attr\": \"rowspan\"\n },\n \"scope\": {\n \"type\": \"DOMString\",\n \"attr\": \"scope\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"th\": {\n \"abbr\": {\n \"type\": \"DOMString\",\n \"attr\": \"abbr\"\n },\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"axis\": {\n \"type\": \"DOMString\",\n \"attr\": \"axis\"\n },\n \"bgColor\": {\n \"type\": \"DOMString\",\n \"attr\": \"bgcolor\"\n },\n \"colSpan\": {\n \"type\": \"unsigned long\",\n \"attr\": \"colspan\"\n },\n \"headers\": {\n \"type\": \"DOMString\",\n \"attr\": \"headers\"\n },\n \"height\": {\n \"type\": \"DOMString\",\n \"attr\": \"height\"\n },\n \"noWrap\": {\n \"type\": \"boolean\",\n \"attr\": \"nowrap\"\n },\n \"rowSpan\": {\n \"type\": \"unsigned long\",\n \"attr\": \"rowspan\"\n },\n \"scope\": {\n \"type\": \"DOMString\",\n \"attr\": \"scope\"\n },\n \"vAlign\": {\n \"type\": \"DOMString\",\n \"attr\": \"valign\"\n },\n \"width\": {\n \"type\": \"DOMString\",\n \"attr\": \"width\"\n }\n },\n \"form\": {\n \"acceptCharset\": {\n \"type\": \"DOMString\",\n \"attr\": \"accept-charset\"\n },\n \"action\": {\n \"type\": \"USVString\",\n \"attr\": \"action\"\n },\n \"autocomplete\": {\n \"type\": \"DOMString\",\n \"attr\": \"autocomplete\"\n },\n \"enctype\": {\n \"type\": \"DOMString\",\n \"attr\": \"enctype\"\n },\n \"method\": {\n \"type\": \"DOMString\",\n \"attr\": \"method\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"noValidate\": {\n \"type\": \"boolean\",\n \"attr\": \"novalidate\"\n },\n \"target\": {\n \"type\": \"DOMString\",\n \"attr\": \"target\"\n }\n },\n \"label\": {\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n }\n },\n \"input\": {\n \"accept\": {\n \"type\": \"DOMString\",\n \"attr\": \"accept\"\n },\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n },\n \"alt\": {\n \"type\": \"DOMString\",\n \"attr\": \"alt\"\n },\n \"autocomplete\": {\n \"type\": \"DOMString\",\n \"attr\": \"autocomplete\"\n },\n \"checked\": {\n \"type\": \"boolean\",\n \"attr\": \"checked\"\n },\n \"dirName\": {\n \"type\": \"DOMString\",\n \"attr\": \"dirname\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"formAction\": {\n \"type\": \"USVString\",\n \"attr\": \"formaction\"\n },\n \"formEnctype\": {\n \"type\": \"DOMString\",\n \"attr\": \"formenctype\"\n },\n \"formMethod\": {\n \"type\": \"DOMString\",\n \"attr\": \"formmethod\"\n },\n \"formNoValidate\": {\n \"type\": \"boolean\",\n \"attr\": \"formnovalidate\"\n },\n \"formTarget\": {\n \"type\": \"DOMString\",\n \"attr\": \"formtarget\"\n },\n \"height\": {\n \"type\": \"unsigned long\",\n \"attr\": \"height\"\n },\n \"list\": {\n \"type\": \"HTMLDataListElement\",\n \"attr\": \"list\"\n },\n \"max\": {\n \"type\": \"DOMString\",\n \"attr\": \"max\"\n },\n \"maxLength\": {\n \"type\": \"long\",\n \"attr\": \"maxlength\"\n },\n \"min\": {\n \"type\": \"DOMString\",\n \"attr\": \"min\"\n },\n \"minLength\": {\n \"type\": \"long\",\n \"attr\": \"minlength\"\n },\n \"multiple\": {\n \"type\": \"boolean\",\n \"attr\": \"multiple\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"pattern\": {\n \"type\": \"DOMString\",\n \"attr\": \"pattern\"\n },\n \"placeholder\": {\n \"type\": \"DOMString\",\n \"attr\": \"placeholder\"\n },\n \"popoverTargetAction\": {\n \"type\": \"DOMString\",\n \"attr\": \"popovertargetaction\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"attr\": \"readonly\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"attr\": \"required\"\n },\n \"size\": {\n \"type\": \"unsigned long\",\n \"attr\": \"size\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"step\": {\n \"type\": \"DOMString\",\n \"attr\": \"step\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"useMap\": {\n \"type\": \"DOMString\",\n \"attr\": \"usemap\"\n },\n \"value\": {\n \"type\": \"DOMString\",\n \"attr\": \"value\"\n },\n \"width\": {\n \"type\": \"unsigned long\",\n \"attr\": \"width\"\n }\n },\n \"button\": {\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"formAction\": {\n \"type\": \"USVString\",\n \"attr\": \"formaction\"\n },\n \"formEnctype\": {\n \"type\": \"DOMString\",\n \"attr\": \"formenctype\"\n },\n \"formMethod\": {\n \"type\": \"DOMString\",\n \"attr\": \"formmethod\"\n },\n \"formNoValidate\": {\n \"type\": \"boolean\",\n \"attr\": \"formnovalidate\"\n },\n \"formTarget\": {\n \"type\": \"DOMString\",\n \"attr\": \"formtarget\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"popoverTargetAction\": {\n \"type\": \"DOMString\",\n \"attr\": \"popovertargetaction\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"value\": {\n \"type\": \"DOMString\",\n \"attr\": \"value\"\n }\n },\n \"select\": {\n \"autocomplete\": {\n \"type\": \"DOMString\",\n \"attr\": \"autocomplete\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"multiple\": {\n \"type\": \"boolean\",\n \"attr\": \"multiple\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"attr\": \"required\"\n },\n \"size\": {\n \"type\": \"unsigned long\",\n \"attr\": \"size\"\n }\n },\n \"datalist\": {},\n \"optgroup\": {\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"label\": {\n \"type\": \"DOMString\",\n \"attr\": \"label\"\n }\n },\n \"option\": {\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"label\": {\n \"type\": \"DOMString\",\n \"attr\": \"label\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"attr\": \"selected\"\n },\n \"value\": {\n \"type\": \"DOMString\",\n \"attr\": \"value\"\n }\n },\n \"textarea\": {\n \"autocomplete\": {\n \"type\": \"DOMString\",\n \"attr\": \"autocomplete\"\n },\n \"cols\": {\n \"type\": \"unsigned long\",\n \"attr\": \"cols\"\n },\n \"dirName\": {\n \"type\": \"DOMString\",\n \"attr\": \"dirname\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"maxLength\": {\n \"type\": \"long\",\n \"attr\": \"maxlength\"\n },\n \"minLength\": {\n \"type\": \"long\",\n \"attr\": \"minlength\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"placeholder\": {\n \"type\": \"DOMString\",\n \"attr\": \"placeholder\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"attr\": \"readonly\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"attr\": \"required\"\n },\n \"rows\": {\n \"type\": \"unsigned long\",\n \"attr\": \"rows\"\n },\n \"wrap\": {\n \"type\": \"DOMString\",\n \"attr\": \"wrap\"\n }\n },\n \"output\": {\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n }\n },\n \"progress\": {\n \"max\": {\n \"type\": \"double\",\n \"attr\": \"max\"\n },\n \"value\": {\n \"type\": \"double\",\n \"attr\": \"value\"\n }\n },\n \"meter\": {\n \"high\": {\n \"type\": \"double\",\n \"attr\": \"high\"\n },\n \"low\": {\n \"type\": \"double\",\n \"attr\": \"low\"\n },\n \"max\": {\n \"type\": \"double\",\n \"attr\": \"max\"\n },\n \"min\": {\n \"type\": \"double\",\n \"attr\": \"min\"\n },\n \"optimum\": {\n \"type\": \"double\",\n \"attr\": \"optimum\"\n },\n \"value\": {\n \"type\": \"double\",\n \"attr\": \"value\"\n }\n },\n \"fieldset\": {\n \"disabled\": {\n \"type\": \"boolean\",\n \"attr\": \"disabled\"\n },\n \"form\": {\n \"type\": \"HTMLFormElement\",\n \"attr\": \"form\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n }\n },\n \"legend\": {\n \"align\": {\n \"type\": \"DOMString\",\n \"attr\": \"align\"\n }\n },\n \"details\": {\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"attr\": \"open\"\n }\n },\n \"summary\": {},\n \"dialog\": {\n \"open\": {\n \"type\": \"boolean\",\n \"attr\": \"open\"\n }\n },\n \"script\": {\n \"async\": {\n \"type\": \"boolean\",\n \"attr\": \"async\"\n },\n \"blocking\": {\n \"type\": \"DOMTokenList\",\n \"attr\": \"blocking\"\n },\n \"charset\": {\n \"type\": \"DOMString\",\n \"attr\": \"charset\"\n },\n \"crossOrigin\": {\n \"type\": \"DOMString\",\n \"attr\": \"crossorigin\"\n },\n \"defer\": {\n \"type\": \"boolean\",\n \"attr\": \"defer\"\n },\n \"fetchPriority\": {\n \"type\": \"DOMString\",\n \"attr\": \"fetchpriority\"\n },\n \"integrity\": {\n \"type\": \"DOMString\",\n \"attr\": \"integrity\"\n },\n \"noModule\": {\n \"type\": \"boolean\",\n \"attr\": \"nomodule\"\n },\n \"referrerPolicy\": {\n \"type\": \"DOMString\",\n \"attr\": \"referrerpolicy\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n }\n },\n \"noscript\": {},\n \"template\": {\n \"shadowRootClonable\": {\n \"type\": \"boolean\",\n \"attr\": \"shadowrootclonable\"\n },\n \"shadowRootDelegatesFocus\": {\n \"type\": \"boolean\",\n \"attr\": \"shadowrootdelegatesfocus\"\n },\n \"shadowRootMode\": {\n \"type\": \"DOMString\",\n \"attr\": \"shadowrootmode\"\n }\n },\n \"slot\": {\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n }\n },\n \"canvas\": {\n \"height\": {\n \"type\": \"unsigned long\",\n \"attr\": \"height\"\n },\n \"width\": {\n \"type\": \"unsigned long\",\n \"attr\": \"width\"\n }\n },\n \"applet\": {},\n \"acronym\": {},\n \"bgsound\": {},\n \"dir\": {\n \"compact\": {\n \"type\": \"boolean\",\n \"attr\": \"compact\"\n }\n },\n \"frame\": {\n \"frameBorder\": {\n \"type\": \"DOMString\",\n \"attr\": \"frameborder\"\n },\n \"longDesc\": {\n \"type\": \"USVString\",\n \"attr\": \"longdesc\"\n },\n \"marginHeight\": {\n \"type\": \"DOMString\",\n \"attr\": \"marginheight\"\n },\n \"marginWidth\": {\n \"type\": \"DOMString\",\n \"attr\": \"marginwidth\"\n },\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"noResize\": {\n \"type\": \"boolean\",\n \"attr\": \"noresize\"\n },\n \"scrolling\": {\n \"type\": \"DOMString\",\n \"attr\": \"scrolling\"\n },\n \"src\": {\n \"type\": \"USVString\",\n \"attr\": \"src\"\n }\n },\n \"frameset\": {\n \"cols\": {\n \"type\": \"DOMString\",\n \"attr\": \"cols\"\n },\n \"rows\": {\n \"type\": \"DOMString\",\n \"attr\": \"rows\"\n }\n },\n \"noframes\": {},\n \"isindex\": {},\n \"keygen\": {},\n \"listing\": {},\n \"menuitem\": {},\n \"nextid\": {},\n \"noembed\": {},\n \"param\": {\n \"name\": {\n \"type\": \"DOMString\",\n \"attr\": \"name\"\n },\n \"type\": {\n \"type\": \"DOMString\",\n \"attr\": \"type\"\n },\n \"value\": {\n \"type\": \"DOMString\",\n \"attr\": \"value\"\n },\n \"valueType\": {\n \"type\": \"DOMString\",\n \"attr\": \"valuetype\"\n }\n },\n \"plaintext\": {},\n \"rb\": {},\n \"rtc\": {},\n \"strike\": {},\n \"xmp\": {},\n \"basefont\": {},\n \"big\": {},\n \"blink\": {},\n \"center\": {},\n \"font\": {\n \"color\": {\n \"type\": \"DOMString\",\n \"attr\": \"color\"\n },\n \"face\": {\n \"type\": \"DOMString\",\n \"attr\": \"face\"\n },\n \"size\": {\n \"type\": \"DOMString\",\n \"attr\": \"size\"\n }\n },\n \"marquee\": {},\n \"multicol\": {},\n \"nobr\": {},\n \"spacer\": {},\n \"tt\": {}\n} as const;\n\nexport const tags = {\n \"svg\": [\n \"a\",\n \"animate\",\n \"animateMotion\",\n \"animateTransform\",\n \"circle\",\n \"clipPath\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"feBlend\",\n \"feColorMatrix\",\n \"feComponentTransfer\",\n \"feComposite\",\n \"feConvolveMatrix\",\n \"feDiffuseLighting\",\n \"feDisplacementMap\",\n \"feDistantLight\",\n \"feFlood\",\n \"feFuncA\",\n \"feFuncB\",\n \"feFuncG\",\n \"feFuncR\",\n \"feGaussianBlur\",\n \"feImage\",\n \"feMerge\",\n \"feMergeNode\",\n \"feMorphology\",\n \"feOffset\",\n \"fePointLight\",\n \"feSpecularLighting\",\n \"feSpotLight\",\n \"feTile\",\n \"feTurbulence\",\n \"filter\",\n \"foreignObject\",\n \"g\",\n \"image\",\n \"line\",\n \"linearGradient\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"mpath\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"radialGradient\",\n \"rect\",\n \"script\",\n \"set\",\n \"stop\",\n \"style\",\n \"svg\",\n \"switch\",\n \"symbol\",\n \"text\",\n \"textPath\",\n \"title\",\n \"tspan\",\n \"use\",\n \"view\"\n ],\n \"html\": [\n \"a\",\n \"abbr\",\n \"acronym\",\n \"address\",\n \"applet\",\n \"area\",\n \"article\",\n \"aside\",\n \"audio\",\n \"b\",\n \"base\",\n \"basefont\",\n \"bdi\",\n \"bdo\",\n \"bgsound\",\n \"big\",\n \"blink\",\n \"blockquote\",\n \"body\",\n \"br\",\n \"button\",\n \"canvas\",\n \"caption\",\n \"center\",\n \"cite\",\n \"code\",\n \"col\",\n \"colgroup\",\n \"data\",\n \"datalist\",\n \"dd\",\n \"del\",\n \"details\",\n \"dfn\",\n \"dialog\",\n \"dir\",\n \"div\",\n \"dl\",\n \"dt\",\n \"em\",\n \"embed\",\n \"fieldset\",\n \"figcaption\",\n \"figure\",\n \"font\",\n \"footer\",\n \"form\",\n \"frame\",\n \"frameset\",\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\",\n \"head\",\n \"header\",\n \"hgroup\",\n \"hr\",\n \"html\",\n \"i\",\n \"iframe\",\n \"img\",\n \"input\",\n \"ins\",\n \"isindex\",\n \"kbd\",\n \"keygen\",\n \"label\",\n \"legend\",\n \"li\",\n \"link\",\n \"listing\",\n \"main\",\n \"map\",\n \"mark\",\n \"marquee\",\n \"menu\",\n \"menuitem\",\n \"meta\",\n \"meter\",\n \"multicol\",\n \"nav\",\n \"nextid\",\n \"nobr\",\n \"noembed\",\n \"noframes\",\n \"noscript\",\n \"object\",\n \"ol\",\n \"optgroup\",\n \"option\",\n \"output\",\n \"p\",\n \"param\",\n \"picture\",\n \"plaintext\",\n \"pre\",\n \"progress\",\n \"q\",\n \"rb\",\n \"rp\",\n \"rt\",\n \"rtc\",\n \"ruby\",\n \"s\",\n \"samp\",\n \"script\",\n \"search\",\n \"section\",\n \"select\",\n \"slot\",\n \"small\",\n \"source\",\n \"spacer\",\n \"span\",\n \"strike\",\n \"strong\",\n \"style\",\n \"sub\",\n \"summary\",\n \"sup\",\n \"table\",\n \"tbody\",\n \"td\",\n \"template\",\n \"textarea\",\n \"tfoot\",\n \"th\",\n \"thead\",\n \"time\",\n \"title\",\n \"tr\",\n \"track\",\n \"tt\",\n \"u\",\n \"ul\",\n \"var\",\n \"video\",\n \"wbr\",\n \"xmp\"\n ],\n \"mathml\": [\n \"annotation\",\n \"annotation-xml\",\n \"maction\",\n \"math\",\n \"merror\",\n \"mfrac\",\n \"mi\",\n \"mmultiscripts\",\n \"mn\",\n \"mo\",\n \"mover\",\n \"mpadded\",\n \"mphantom\",\n \"mprescripts\",\n \"mroot\",\n \"mrow\",\n \"ms\",\n \"mspace\",\n \"msqrt\",\n \"mstyle\",\n \"msub\",\n \"msubsup\",\n \"msup\",\n \"mtable\",\n \"mtd\",\n \"mtext\",\n \"mtr\",\n \"munder\",\n \"munderover\",\n \"semantics\"\n ]\n} as const;\n","//\n// props.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport { svgProps, htmlProps } from '../../../generated/elements';\nimport { OmitType } from '@o2ter/utils-js';\n\nexport const _propValue = {\n\n 'DOMString': 'string',\n 'SVGAnimatedTransformList': 'string',\n 'SVGStringList': 'string',\n 'SVGAnimatedRect': 'string',\n 'SVGAnimatedPreserveAspectRatio': 'string',\n 'SVGAnimatedString': 'string',\n 'SVGPointList': 'string',\n 'SVGAnimatedLengthList': 'string',\n 'SVGAnimatedNumberList': 'string',\n 'SVGAnimatedEnumeration': 'string',\n 'USVString': 'string',\n 'DOMTokenList': 'string',\n 'TrustedHTML': 'string',\n 'HTMLFormElement': 'string',\n 'HTMLDataListElement': 'string',\n\n 'SVGAnimatedLength': 'length',\n\n 'SVGAnimatedNumber': 'number',\n 'SVGAnimatedInteger': 'number',\n 'unrestricted double': 'number',\n 'double': 'number',\n 'unsigned long': 'number',\n 'long': 'number',\n\n 'SVGAnimatedBoolean': 'boolean',\n 'boolean': 'boolean',\n\n} as const;\n\ntype _PropValue = {\n 'string': string,\n 'number': number,\n 'length': number | string,\n 'boolean': boolean,\n};\n\ntype MapPropValue<T> = T extends keyof typeof _propValue\n ? _PropValue[typeof _propValue[T]]\n : T extends readonly [infer S]\n ? MapPropValue<S>\n : T extends readonly [infer S, ...infer R]\n ? MapPropValue<S> | MapPropValue<R>\n : never;\n\ntype AllHTMLElementTagNameMap = HTMLElementTagNameMap & HTMLElementDeprecatedTagNameMap;\n\nexport type _HTMLElementTagNameMap = {\n [x in keyof AllHTMLElementTagNameMap]: {\n type: AllHTMLElementTagNameMap[x];\n props: OmitType<{\n -readonly [p in keyof typeof htmlProps['*']]: MapPropValue<typeof htmlProps['*'][p]['type']>;\n } & {\n -readonly [p in keyof typeof htmlProps[x]]: typeof htmlProps[x][p] extends { type: infer T } ? MapPropValue<T> : never;\n }, never>;\n };\n};\n\nexport type _SVGElementTagNameMap = {\n [x in keyof SVGElementTagNameMap]: {\n type: SVGElementTagNameMap[x];\n props: OmitType<{\n -readonly [p in keyof typeof svgProps['*']]: MapPropValue<typeof svgProps['*'][p]['type']>;\n } & (x extends keyof typeof htmlProps ? {\n -readonly [p in keyof typeof htmlProps[x]]: typeof htmlProps[x][p] extends { type: infer T } ? MapPropValue<T> : never;\n } : {}) & (x extends keyof typeof svgProps ? {\n -readonly [p in keyof typeof svgProps[x]]: typeof svgProps[x][p] extends { type: infer T } ? MapPropValue<T> : never;\n } : {}), never>;\n };\n};\n\nexport type _MathMLElementTagNameMap = {\n [x in keyof MathMLElementTagNameMap]: {\n type: MathMLElementTagNameMap[x];\n };\n}\n","//\n// basic.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport { MergeObject, PickType, WritableKeys } from '@o2ter/utils-js';\nimport { ComponentType, ElementNode, PropsWithChildren, RefAttribute } from './common';\nimport { ClassName, StyleProp } from './style';\nimport { CSSProperties, ExtendedCSSProperties } from '../web/styles/css';\nimport { globalEvents } from '../web/event';\nimport { ComponentNode, NativeElementType } from './component';\nimport { _HTMLElementTagNameMap, _MathMLElementTagNameMap, _SVGElementTagNameMap } from '../web/props';\n\nexport type _ElementType = string | ComponentType<any>;\n\nexport type _IntrinsicAttributes = {\n key?: string | number;\n};\n\nexport type PropsType = Record<string, any>;\n\ntype EventHandler<E extends Event, C, T = EventTarget> = (this: C, event: E & {\n currentTarget: C;\n target: T;\n }) => void;\ntype EventMap = {\n [ev in typeof globalEvents[number]]: ev extends `on${infer x}`\n ? Lowercase<x> extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[Lowercase<x>] : Event\n : never;\n};\n\ntype _PropsOfInstance<Instance> = Omit<\n PickType<{\n [k in WritableKeys<Instance>]: Instance[k];\n }, boolean | number | string | null | undefined>,\n 'className' | 'style' | 'innerText' | 'outerText' | 'outerHTML' | 'nodeValue'\n> & {\n [x in keyof EventMap]?: EventHandler<EventMap[x], Instance>;\n} & {\n [x in keyof EventMap as `${x}Capture`]?: EventHandler<EventMap[x], Instance>;\n};\n\ntype Combine<T, R> = Omit<T, keyof R> & R;\n\ntype _ElementProps<ElementMap extends { [x: string]: { type: any; props?: any; } }> = {\n [x in keyof ElementMap]: PropsWithChildren<\n Partial<\n RefAttribute<ElementMap[x]['type'] | null | undefined>\n & {\n className?: ClassName;\n style?: StyleProp<ExtendedCSSProperties>;\n inlineStyle?: CSSProperties;\n }\n & Combine<ElementMap[x]['props'], _PropsOfInstance<ElementMap[x]['type']>>\n >\n >\n};\n\nexport type _IntrinsicElements = MergeObject<\n | _ElementProps<_HTMLElementTagNameMap>\n | _ElementProps<_SVGElementTagNameMap>\n | _ElementProps<_MathMLElementTagNameMap>\n> & { [x: string]: any; };\n\nexport const _createElement = (\n type: _ElementType | typeof NativeElementType,\n props: PropsType\n) => {\n const { key, ..._props } = props;\n return new ComponentNode(type, _props, key);\n}\n\nexport const createElement = (\n type: _ElementType,\n props?: PropsType | null,\n ...children: ElementNode[]\n) => _createElement(type, { ...props ?? {}, children });\n","//\n// index.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport { _ElementType, PropsType } from './runtime';\n\nexport abstract class NativeElementType {\n constructor(...args: any[]) { };\n}\n\nexport class ComponentNode {\n\n /** @internal */\n private _type: _ElementType | typeof NativeElementType;\n\n /** @internal */\n private _props: PropsType;\n\n /** @internal */\n private _key?: string | number;\n\n /** @internal */\n constructor(\n type: _ElementType | typeof NativeElementType,\n props: PropsType,\n key?: string | number\n ) {\n this._type = type;\n this._props = props;\n this._key = key;\n }\n\n get type() {\n return this._type;\n }\n\n get props() {\n return this._props;\n }\n\n get key() {\n return this._key;\n }\n\n /** @internal */\n _equal(other: ComponentNode) {\n return this.type === other.type && this.key === other.key;\n }\n}\n","//\n// common.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport { ComponentNode } from './component';\nimport { _IntrinsicElements } from './runtime';\n\nexport type SetStateAction<S, P = S> = S | ((prevState: P) => S);\n\nexport type PropsWithChildren<\n P extends Record<string, unknown> = {},\n C extends unknown = ElementNode\n> = P & {\n children?: C;\n};\n\nexport type ElementNode =\n | ComponentNode\n | string\n | number\n | boolean\n | null\n | undefined\n | Iterable<ElementNode>;\n\nexport type ComponentType<\n P extends Record<string, unknown> = {},\n N extends ElementNode = ElementNode\n > = (props: P) => N;\n\nexport type RefAttribute<T> = {\n ref?: Ref<T>;\n};\n\ntype _ComponentProps<T> = T extends ComponentType<infer P, any> ? P : never;\n\nexport type ComponentProps<T> = T extends string ? _IntrinsicElements[T] : _ComponentProps<T>;\nexport type ComponentPropsWithoutRef<T> = Omit<ComponentProps<T>, 'ref'>;\n\nexport type RefObject<T> = {\n /**\n * The current value of the ref.\n */\n current: T;\n}\nexport type RefCallback<T> = (ref: T) => void;\nexport type Ref<T> = RefCallback<T> | RefObject<T> | null;\n\nexport type ComponentRef<T> = ComponentProps<T> extends RefAttribute<infer R> ? R : never;\n"],"names":[],"mappings":";;;;AACA;AACO;AACA;;ACFP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACA;;ACVA;;ACAA;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;AACO;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;AACA;AACA;AACA;;ACvtGO;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;;AC7DO;AACA;AACP;AACA;AACO;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;AACA;AACA;AACO;AACP;AACA;AAEO;;AC1CA;AACP;AACA;AACO;AACP;AACA;AACA;AACA;;ACNO;AACA;AACP;AACA;AACO;AACA;AACA;AACP;AACA;AACA;AACO;AACA;AACA;AACP;AACA;AACA;AACA;AACA;AACO;AACA;AACA;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { a as ComponentType, P as PropsWithChildren } from './common-CpEB3ieX.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A component that renders its children without adding extra nodes to the DOM.
|
|
5
|
+
*/
|
|
6
|
+
declare const Fragment: ComponentType<PropsWithChildren<{}>>;
|
|
7
|
+
|
|
8
|
+
export { Fragment as F };
|
|
9
|
+
//# sourceMappingURL=fragment-BlS4iF_x.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-BlS4iF_x.d.mts","sources":["../../src/core/components/fragment.ts"],"sourcesContent":["//\n// fragment.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport { ComponentType, PropsWithChildren } from '../types/common';\n\n/**\n * A component that renders its children without adding extra nodes to the DOM.\n */\nexport const Fragment: ComponentType<PropsWithChildren<{}>> = ({ children }) => {\n return children;\n}\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACO,cAAA,QAAA,EAAA,aAAA,CAAA,iBAAA;;;;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { a as ComponentType, P as PropsWithChildren } from './common-CpEB3ieX.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* A component that renders its children without adding extra nodes to the DOM.
|
|
5
|
+
*/
|
|
3
6
|
declare const Fragment: ComponentType<PropsWithChildren<{}>>;
|
|
4
7
|
|
|
5
8
|
export { Fragment as F };
|
|
6
|
-
//# sourceMappingURL=fragment-
|
|
9
|
+
//# sourceMappingURL=fragment-Dch7YNeZ.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-
|
|
1
|
+
{"version":3,"file":"fragment-Dch7YNeZ.d.ts","sources":["../../src/core/components/fragment.ts"],"sourcesContent":["//\n// fragment.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport { ComponentType, PropsWithChildren } from '../types/common';\n\n/**\n * A component that renders its children without adding extra nodes to the DOM.\n */\nexport const Fragment: ComponentType<PropsWithChildren<{}>> = ({ children }) => {\n return children;\n}\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACO,cAAA,QAAA,EAAA,aAAA,CAAA,iBAAA;;;;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { N as NativeElementType, C as ComponentNode } from './common-CpEB3ieX.mjs';
|
|
2
|
+
import { _ as _Renderer } from './renderer-BelBgEvy.mjs';
|
|
3
|
+
import { DOMWindow } from 'jsdom';
|
|
4
|
+
|
|
5
|
+
declare abstract class DOMNativeNode extends NativeElementType {
|
|
6
|
+
static get Utils(): {
|
|
7
|
+
update(element: Element, { className, style, ...props }: Record<string, any> & {
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: string;
|
|
10
|
+
}): void;
|
|
11
|
+
replaceChildren(element: Element, children: (string | Element | DOMNativeNode)[], shouldRemove?: (child: ChildNode) => boolean): void;
|
|
12
|
+
destroy(element: Element): void;
|
|
13
|
+
};
|
|
14
|
+
static createElement: (doc: Document, renderer: _DOMRenderer) => DOMNativeNode;
|
|
15
|
+
abstract get target(): Element | Element[];
|
|
16
|
+
abstract update(props: Record<string, any> & {
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: string;
|
|
19
|
+
}): void;
|
|
20
|
+
abstract replaceChildren(children: (string | Element | DOMNativeNode)[]): void;
|
|
21
|
+
abstract destroy(): void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare abstract class _DOMRenderer extends _Renderer<Element | DOMNativeNode> {
|
|
25
|
+
private _window;
|
|
26
|
+
private _namespace_map;
|
|
27
|
+
private _tracked_head_children;
|
|
28
|
+
private _tracked_style;
|
|
29
|
+
private _tracked_elements;
|
|
30
|
+
constructor(window: Window | DOMWindow);
|
|
31
|
+
get document(): Document;
|
|
32
|
+
get window(): Window | DOMWindow;
|
|
33
|
+
private __createBuiltClassName;
|
|
34
|
+
renderToString(component: ComponentNode): Promise<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { DOMNativeNode as D, _DOMRenderer as _ };
|
|
38
|
+
//# sourceMappingURL=renderer-BQawOCgo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderer-BQawOCgo.d.mts","sources":["../../src/renderer/common/node.ts","../../src/renderer/common/renderer.ts"],"sourcesContent":["//\n// common.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport type { _DOMRenderer } from './renderer';\nimport { myersSync } from 'myers.js';\nimport { globalEvents } from '../../core/web/event';\nimport { NativeElementType } from '../../core/types/component';\nimport { svgProps, htmlProps } from '../../../generated/elements';\nimport { _propValue } from '../../core/web/props';\nimport { _Renderer } from '../../core/renderer';\n\nconst findPrototypeProperty = (object: any, propertyName: string) => {\n while (object && object.constructor && object.constructor.name !== 'Object') {\n let desc = Object.getOwnPropertyDescriptor(object, propertyName);\n if (desc) return desc;\n object = Object.getPrototypeOf(object);\n }\n return null;\n};\n\nconst isWriteable = (object: any, propertyName: string) => {\n let desc = findPrototypeProperty(object, propertyName);\n if (!desc) {\n return false;\n }\n if (desc.writable && typeof desc.value !== 'function') {\n return true;\n }\n return !!desc.set;\n};\n\nconst tracked_props = new WeakMap<Element, string[]>();\nconst tracked_listeners = new WeakMap<Element, Record<string, EventListener | undefined>>();\nconst _updateEventListener = (\n element: Element,\n key: string,\n listener: EventListener | undefined,\n) => {\n const event = key.endsWith('Capture') ? key.slice(2, -7).toLowerCase() : key.slice(2).toLowerCase();\n const listeners = tracked_listeners.get(element) ?? {};\n if (!tracked_listeners.has(element)) tracked_listeners.set(element, listeners);\n if (listeners[key] !== listener) {\n const options = { capture: key.endsWith('Capture') };\n if (_.isFunction(listeners[key])) element.removeEventListener(event, listeners[key], options);\n if (_.isFunction(listener)) element.addEventListener(event, listener, options);\n }\n listeners[key] = listener;\n}\n\nconst DOMUtils = new class {\n\n update(\n element: Element,\n { className, style, ...props }: Record<string, any> & {\n className?: string;\n style?: string;\n },\n ) {\n if (className) {\n if (element.className !== className)\n element.className = className;\n } else if (!_.isNil(element.getAttribute('class'))) {\n element.removeAttribute('class');\n }\n if (style) {\n const oldValue = element.getAttribute('style');\n if (oldValue !== style)\n element.setAttribute('style', style);\n } else if (!_.isNil(element.getAttribute('style'))) {\n element.removeAttribute('style');\n }\n for (const [key, value] of _.entries(props)) {\n if (_.includes(globalEvents, key)) {\n _updateEventListener(element, key, value);\n } else if (key.endsWith('Capture') && _.includes(globalEvents, key.slice(0, -7))) {\n _updateEventListener(element, key, value);\n } else if (key.startsWith('data-')) {\n const oldValue = element.getAttribute(key);\n if (value === false || _.isNil(value)) {\n if (!_.isNil(oldValue))\n element.removeAttribute(key);\n } else {\n const newValue = value === true ? '' : `${value}`;\n if (oldValue !== newValue)\n element.setAttribute(key, newValue);\n }\n } else {\n const tagName = _.toLower(element.tagName);\n const { type: _type, attr } = (htmlProps as any)['*'][key]\n ?? (htmlProps as any)[tagName]?.[key]\n ?? (svgProps as any)['*'][key]\n ?? (svgProps as any)[tagName]?.[key]\n ?? {};\n const tracked = tracked_props.get(element) ?? [];\n const writeable = isWriteable(element, key);\n if (!tracked_props.has(element)) tracked_props.set(element, tracked);\n const assigned = _.includes(tracked, key);\n if (writeable && !_.isNil(value)) {\n if (!assigned || (element as any)[key] !== value) (element as any)[key] = value;\n if (!assigned) tracked.push(key);\n } else if (_type && attr && (_propValue as any)[_type]) {\n const oldValue = element.getAttribute(attr);\n if (value === false || _.isNil(value)) {\n if (!_.isNil(oldValue))\n element.removeAttribute(attr);\n } else {\n const newValue = value === true ? '' : `${value}`;\n if (oldValue !== newValue)\n element.setAttribute(attr, newValue);\n }\n } else if (writeable) {\n if (!assigned || (element as any)[key] !== value) (element as any)[key] = value;\n if (!assigned) tracked.push(key);\n }\n }\n }\n }\n\n replaceChildren(\n element: Element,\n children: (string | Element | DOMNativeNode)[],\n shouldRemove: (child: ChildNode) => boolean = () => true,\n ) {\n const document = element.ownerDocument;\n const diff = myersSync(\n _.map(element.childNodes, x => x.nodeType === document.TEXT_NODE ? x.textContent ?? '' : x),\n _.flatMap(children, x => x instanceof DOMNativeNode ? x.target : x),\n { compare: (a, b) => a === b },\n );\n let i = 0;\n for (const { remove, insert, equivalent } of diff) {\n if (equivalent) {\n i += equivalent.length;\n } else if (remove) {\n for (const child of remove) {\n if (_.isString(child) || shouldRemove(child)) {\n element.removeChild(element.childNodes[i]);\n } else {\n i++;\n }\n }\n }\n if (insert) {\n for (const child of insert) {\n const node = _.isString(child) ? document.createTextNode(child) : child;\n element.insertBefore(node, element.childNodes[i++]);\n }\n }\n }\n }\n\n destroy(element: Element) {\n const listeners = tracked_listeners.get(element);\n for (const [key, listener] of _.entries(listeners)) {\n const event = key.endsWith('Capture') ? key.slice(2, -7).toLowerCase() : key.slice(2).toLowerCase();\n if (_.isFunction(listener)) {\n element.removeEventListener(event, listener, { capture: key.endsWith('Capture') });\n }\n }\n tracked_listeners.delete(element);\n }\n}\n\nexport abstract class DOMNativeNode extends NativeElementType {\n\n static get Utils() { return DOMUtils; }\n\n static createElement: (doc: Document, renderer: _DOMRenderer) => DOMNativeNode;\n\n abstract get target(): Element | Element[];\n\n abstract update(props: Record<string, any> & {\n className?: string;\n style?: string;\n }): void;\n\n abstract replaceChildren(children: (string | Element | DOMNativeNode)[]): void;\n\n abstract destroy(): void;\n}\n","//\n// renderer.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport { VNode } from '../../core/reconciler/vnode';\nimport { ComponentNode } from '../../core/types/component';\nimport { tags } from '../../../generated/elements';\nimport { _propValue } from '../../core/web/props';\nimport { ClassName, StyleProp } from '../../core/types/style';\nimport { ExtendedCSSProperties } from '../../core/web/styles/css';\nimport { _Renderer } from '../../core/renderer';\nimport { processCss } from '../../core/web/styles/process';\nimport { StyleBuilder } from '../style';\nimport { mergeRefs } from '../../core/utils';\nimport type { DOMWindow } from 'jsdom';\nimport { compress } from '../minify/compress';\nimport { DOMNativeNode } from './node';\n\nconst SVG_NS = 'http://www.w3.org/2000/svg';\nconst HTML_NS = 'http://www.w3.org/1999/xhtml';\nconst MATHML_NS = 'http://www.w3.org/1998/Math/MathML';\n\nexport abstract class _DOMRenderer extends _Renderer<Element | DOMNativeNode> {\n\n private _window: Window | DOMWindow;\n private _namespace_map = new WeakMap<VNode, string | undefined>();\n\n private _tracked_head_children: (string | Element | DOMNativeNode)[] = [];\n private _tracked_style = new StyleBuilder();\n /** @internal */\n _tracked_server_resource = new Map<string, string>();\n private _tracked_elements = new Map<Element | DOMNativeNode, { props: string[]; className: string[]; }>();\n\n constructor(window: Window | DOMWindow) {\n super();\n this._window = window;\n }\n\n get document() {\n return this.window.document;\n }\n\n get window() {\n return this._window;\n }\n\n /** @internal */\n _beforeUpdate() {\n if (this._server) {\n this._tracked_head_children = [];\n this._tracked_server_resource = new Map<string, string>();\n }\n }\n\n /** @internal */\n _afterUpdate() {\n this._tracked_style.select([...this._tracked_elements.values().flatMap(({ className }) => className)]);\n const head = this.document.head ?? this.document.createElementNS(HTML_NS, 'head');\n const styleElem = this.document.querySelector('style[data-frosty-style]') ?? this.document.createElementNS(HTML_NS, 'style');\n styleElem.setAttribute('data-frosty-style', '');\n if (styleElem.textContent !== this._tracked_style.css)\n styleElem.textContent = this._tracked_style.css;\n if (this._server) {\n const ssrData = this._tracked_server_resource.size ? this.document.createElementNS(HTML_NS, 'script') : undefined;\n if (ssrData) {\n ssrData.setAttribute('data-frosty-ssr-data', '');\n ssrData.setAttribute('type', 'text/plain');\n ssrData.innerHTML = compress(JSON.stringify(Object.fromEntries(this._tracked_server_resource)));\n }\n DOMNativeNode.Utils.replaceChildren(head, _.compact([\n ...this._tracked_head_children,\n styleElem.textContent && styleElem,\n ssrData,\n ]), (x) => this._tracked_elements.has(x as any));\n } else if (styleElem.parentNode !== head && styleElem.textContent) {\n head.appendChild(styleElem);\n }\n if (!this.document.head) {\n this.document.documentElement.insertBefore(head, this.document.body);\n }\n }\n\n /** @internal */\n _createElement(node: VNode, stack: VNode[]) {\n const { type } = node;\n if (!_.isString(type) && type.prototype instanceof DOMNativeNode) {\n const ElementType = type as typeof DOMNativeNode;\n const elem = ElementType.createElement(this.document, this);\n this._tracked_elements.set(elem, {\n props: [],\n className: [],\n });\n this._updateElement(node, elem, stack);\n return elem;\n }\n if (!_.isString(type)) throw Error('Invalid type');\n switch (type) {\n case 'html': return this.document.documentElement;\n case 'head': return this.document.head ?? this.document.createElementNS(HTML_NS, 'head');\n case 'body': return this.document.body ?? this.document.createElementNS(HTML_NS, 'body');\n default: break;\n }\n const _ns_list = _.compact([\n _.includes(tags.svg, type) && SVG_NS,\n _.includes(tags.html, type) && HTML_NS,\n _.includes(tags.mathml, type) && MATHML_NS,\n ]);\n const parent = _.last(stack);\n const ns = _ns_list.length > 1 ? parent && _.first(_.intersection([this._namespace_map.get(parent)], _ns_list)) : _.first(_ns_list);\n const elem = ns ? this.document.createElementNS(ns, type) : this.document.createElement(type);\n this._namespace_map.set(node, ns);\n this._tracked_elements.set(elem, {\n props: [],\n className: [],\n });\n this._updateElement(node, elem, stack);\n return elem;\n }\n\n private __createBuiltClassName(\n element: Element | DOMNativeNode,\n className: ClassName,\n style: StyleProp<ExtendedCSSProperties>,\n ) {\n const _className = _.compact(_.flattenDeep([className]));\n const built = this._tracked_style.buildStyle(_.compact(_.flattenDeep([style])));\n const tracked = this._tracked_elements.get(element);\n if (tracked) tracked.className = built;\n return [..._className, ...built].join(' ');\n }\n\n /** @internal */\n _updateElement(node: VNode, element: Element | DOMNativeNode, stack: VNode[]) {\n\n if (element instanceof DOMNativeNode) {\n const {\n props: { ref, className, style, inlineStyle, ..._props }\n } = node;\n if (ref) mergeRefs(ref)(element.target);\n const builtClassName = this.__createBuiltClassName(element, className, style);\n const { css } = processCss(inlineStyle);\n element.update({\n className: builtClassName ? builtClassName : undefined,\n style: css ? css : undefined,\n ..._props\n });\n return;\n }\n\n const {\n type,\n props: { ref, className, style, inlineStyle, innerHTML, ..._props }\n } = node;\n\n if (!_.isString(type)) throw Error('Invalid type');\n switch (type) {\n case 'html': return;\n case 'head': return;\n case 'body': return;\n default: break;\n }\n\n if (ref) mergeRefs(ref)(element);\n\n const tracked = this._tracked_elements.get(element);\n if (!tracked) return;\n const removed = _.difference(tracked.props, _.keys(_props));\n tracked.props = _.keys(_props);\n\n const builtClassName = this.__createBuiltClassName(element, className, style);\n if (!_.isEmpty(innerHTML) && element.innerHTML !== innerHTML) element.innerHTML = innerHTML;\n\n DOMNativeNode.Utils.update(element, {\n className: builtClassName,\n style: inlineStyle ? processCss(inlineStyle).css : undefined,\n ..._props,\n ..._.fromPairs(_.map(removed, x => [x, undefined])),\n });\n }\n\n /** @internal */\n _replaceChildren(node: VNode, element: Element | DOMNativeNode, children: (string | Element | DOMNativeNode)[], stack: VNode[], force?: boolean) {\n if (element instanceof DOMNativeNode) {\n element.replaceChildren(children);\n } else {\n const {\n type,\n props: { innerHTML }\n } = node;\n if (type === 'head') {\n this._tracked_head_children.push(...children);\n } else if (_.isEmpty(innerHTML)) {\n DOMNativeNode.Utils.replaceChildren(element, children, (x) => !!force || this._tracked_elements.has(x as any));\n }\n }\n }\n\n /** @internal */\n _destroyElement(node: VNode, element: Element | DOMNativeNode) {\n if (element instanceof DOMNativeNode) {\n element.destroy();\n } else {\n DOMNativeNode.Utils.destroy(element);\n }\n }\n\n async renderToString(component: ComponentNode) {\n const root = this.createRoot();\n try {\n await root.mount(component, { skipMount: true });\n const elements = _.flatMap(_.castArray(root.root ?? []), x => x instanceof DOMNativeNode ? x.target : x);\n const str = _.map(elements, x => x.outerHTML).join('');\n return str.startsWith('<html>') ? `<!DOCTYPE html>${str}` : str;\n } finally {\n root.unmount();\n }\n }\n}\n"],"names":[],"mappings":";;;;AAEO,uBAAA,aAAA,SAAA,iBAAA;AACP;AACA,wBAAA,OAAA,kCAAA,MAAA;AACA;AACA;AACA;AACA,iCAAA,OAAA,sBAAA,OAAA,GAAA,aAAA,4BAAA,SAAA;AACA,yBAAA,OAAA;AACA;AACA,gCAAA,QAAA,YAAA,YAAA,KAAA,aAAA;AACA,2BAAA,OAAA,GAAA,OAAA;AACA,2BAAA,MAAA;AACA;AACA;AACA;AACA,iDAAA,OAAA,GAAA,aAAA;AACA;AACA;;ACfO,uBAAA,YAAA,SAAA,SAAA,CAAA,OAAA,GAAA,aAAA;AACP;AACA;AACA;AACA;AACA;AACA,wBAAA,MAAA,GAAA,SAAA;AACA,oBAAA,QAAA;AACA,kBAAA,MAAA,GAAA,SAAA;AACA;AACA,8BAAA,aAAA,GAAA,OAAA;AACA;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { N as NativeElementType, _ as _ElementType, c as PropsType, C as ComponentNode } from './common-CpEB3ieX.mjs';
|
|
2
|
+
|
|
3
|
+
type VNodeState = {
|
|
4
|
+
hook: string;
|
|
5
|
+
deps: any;
|
|
6
|
+
data?: any;
|
|
7
|
+
mount?: () => () => void;
|
|
8
|
+
};
|
|
9
|
+
declare class VNode {
|
|
10
|
+
private _id;
|
|
11
|
+
private _event;
|
|
12
|
+
private _props;
|
|
13
|
+
private _error?;
|
|
14
|
+
private _children;
|
|
15
|
+
private _state?;
|
|
16
|
+
private _dirty;
|
|
17
|
+
private _listens;
|
|
18
|
+
private _content_value?;
|
|
19
|
+
get id(): string;
|
|
20
|
+
get type(): typeof NativeElementType | _ElementType;
|
|
21
|
+
get props(): PropsType;
|
|
22
|
+
get key(): string | number | undefined;
|
|
23
|
+
get state(): VNodeState[];
|
|
24
|
+
get children(): (string | VNode)[];
|
|
25
|
+
get error(): any;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare abstract class _Renderer<T> {
|
|
29
|
+
protected abstract _beforeUpdate(): void;
|
|
30
|
+
protected abstract _afterUpdate(): void;
|
|
31
|
+
protected abstract _createElement(node: VNode, stack: VNode[]): T;
|
|
32
|
+
protected abstract _updateElement(node: VNode, element: T, stack: VNode[]): void;
|
|
33
|
+
protected abstract _destroyElement(node: VNode, element: T): void;
|
|
34
|
+
protected abstract _replaceChildren(node: VNode, element: T, children: (T | string)[], stack: VNode[], force?: boolean): void;
|
|
35
|
+
abstract get _server(): boolean;
|
|
36
|
+
private _createRoot;
|
|
37
|
+
createRoot(root?: T): {
|
|
38
|
+
readonly root: T | T[] | undefined;
|
|
39
|
+
mount: (component: ComponentNode, options?: {
|
|
40
|
+
skipMount?: boolean;
|
|
41
|
+
}) => Promise<void>;
|
|
42
|
+
unmount: () => void;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { VNode as V, _Renderer as _ };
|
|
47
|
+
//# sourceMappingURL=renderer-BelBgEvy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderer-BelBgEvy.d.mts","sources":["../../src/core/reconciler/vnode.ts","../../src/core/renderer.ts"],"sourcesContent":["//\n// vnode.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport { ComponentNode, NativeElementType } from '../types/component';\nimport { Context, isContext } from '../hooks/context';\nimport { reconciler } from './state';\nimport { myersSync } from 'myers.js';\nimport { EventEmitter } from './events';\nimport { equalDeps, equalProps } from './utils';\nimport { _Renderer } from '../renderer';\nimport { PropsType } from '../types/runtime';\nimport { uniqueId } from '../utils';\n\nexport type VNodeState = {\n hook: string;\n deps: any;\n data?: any;\n mount?: () => () => void;\n};\n\nexport type _ContextState = {\n value: any;\n state: string;\n node: VNode;\n};\n\nexport class VNode {\n\n /** @internal */\n _component: ComponentNode;\n\n private _id = uniqueId();\n\n private _event: EventEmitter;\n private _props: PropsType = {};\n private _error?: any;\n private _children: (VNode | string)[] = [];\n private _state?: VNodeState[];\n private _dirty = true;\n private _listens = new Map<Context<any>, Omit<_ContextState, 'value'>>();\n\n /** @internal */\n _content_state = uniqueId();\n private _content_value?: any;\n\n /** @internal */\n constructor(component: ComponentNode, event: EventEmitter) {\n this._component = component;\n this._event = event;\n }\n\n /** @internal */\n _resolve_children(child: any): (VNode | string)[] {\n if (_.isBoolean(child) || _.isNil(child)) return [];\n if (_.isString(child)) return [child];\n if (_.isNumber(child)) return [`${child}`];\n if (child instanceof ComponentNode) return [new VNode(child, this._event)];\n if (_.isArrayLikeObject(child)) return _.flatMap(child, x => this._resolve_children(x));\n if (typeof child[Symbol.iterator] === 'function') return _.flatMap([...child], x => this._resolve_children(x));\n throw Error(`${child} are not valid as a child.`);\n }\n\n get id() {\n return this._id;\n }\n\n get type() {\n return this._component.type;\n }\n\n get props() {\n return this._props;\n }\n\n get key() {\n return this._component.key;\n }\n\n get state() {\n return this._state ?? [];\n }\n\n get children() {\n return this._children;\n }\n\n get error() {\n return this._error;\n }\n\n /** @internal */\n _setDirty() {\n this._dirty = true;\n this._event.emit('onchange');\n }\n\n /** @internal */\n private _check_context(values: Map<Context<any>, Omit<_ContextState, 'value'>>) {\n return this._listens.entries().every(([k, v]) => {\n const { state, node } = values.get(k) ?? {};\n return state === v.state && node === v.node;\n });\n }\n\n /** @internal */\n async _updateIfNeed(options: {\n renderer: _Renderer<any>;\n stack: VNode[];\n propsProvider: VNode[];\n errorBoundary?: VNode;\n contextValue: Map<Context<any>, _ContextState>;\n }) {\n if (!this._dirty && this._check_context(options.contextValue)) return false;\n try {\n const self = this;\n const { type, props: _props } = this._component;\n const props = _.mapValues(\n options.propsProvider.reduceRight((p, node) => node.props.callback({ type, props: p }), _props),\n (v, k) => _.isFunction(v) ? function (this: any, ...args: any[]) {\n const current = self._component.props[k];\n return _.isFunction(current) ? current.call(this, ...args) : v.call(this, ...args);\n } : v,\n );\n let children: (VNode | string)[];\n if (_.isString(type) || type?.prototype instanceof NativeElementType) {\n children = this._resolve_children(props.children);\n } else if (isContext(type)) {\n const { value } = props;\n if (!equalDeps(this._content_value, value)) this._content_state = uniqueId();\n this._content_value = value;\n children = this._resolve_children(type(props as any));\n } else if (_.isFunction(type)) {\n let resolved;\n while (true) {\n const {\n resolved: rendered,\n error,\n state,\n } = reconciler.withHookState({\n renderer: options.renderer,\n node: this,\n state: this._state,\n stack: options.stack,\n contextValue: options.contextValue,\n }, () => type(props));\n this._state = state.state;\n if (_.isEmpty(state.tasks)) {\n if (error) throw error;\n resolved = { rendered, state };\n break;\n }\n await Promise.all(state.tasks);\n }\n this._listens = new Map(options.contextValue.entries().filter(([k]) => resolved.state.listens.has(k)));\n children = this._resolve_children(resolved.rendered);\n } else {\n throw Error(`Invalid node type ${type}`);\n }\n const diff = myersSync(this._children, children, {\n compare: (lhs, rhs) => {\n if (_.isString(lhs) && _.isString(rhs)) return lhs === rhs;\n if (lhs instanceof VNode && rhs instanceof VNode) return lhs._component._equal(rhs._component);\n return false;\n },\n });\n this._props = _.omit(props, 'children');\n this._children = _.flatMap(diff, x => x.equivalent ?? x.insert ?? []);\n this._error = undefined;\n for (const [i, item] of this._children.entries()) {\n if (!(item instanceof VNode)) continue;\n if (!(children[i] instanceof VNode)) continue;\n if (!equalProps(item._component.props, children[i]._component.props)) item._dirty = true;\n item._component = children[i]._component;\n }\n } catch (error) {\n this._props = {};\n this._children = [];\n this._error = error;\n (async () => {\n try {\n const { onError, silent } = options.errorBoundary?.props ?? {};\n if (!silent) console.error(error);\n if (_.isFunction(onError)) await onError(error, this._component, _.map(options.stack, x => x._component));\n } catch (e) {\n console.error(e);\n }\n })();\n } finally {\n this._dirty = false;\n }\n return true;\n }\n}\n","//\n// renderer.ts\n//\n// The MIT License\n// Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\nimport _ from 'lodash';\nimport { VNode } from './reconciler/vnode';\nimport { ComponentNode, NativeElementType } from './types/component';\nimport { reconciler } from './reconciler/state';\nimport nextick from 'nextick';\nimport { equalDeps } from './reconciler/utils';\nimport { _ParentComponent } from './components/pairs';\n\nexport abstract class _Renderer<T> {\n\n protected abstract _beforeUpdate(): void;\n\n protected abstract _afterUpdate(): void;\n\n protected abstract _createElement(node: VNode, stack: VNode[]): T;\n\n protected abstract _updateElement(node: VNode, element: T, stack: VNode[]): void;\n\n protected abstract _destroyElement(node: VNode, element: T): void;\n\n protected abstract _replaceChildren(node: VNode, element: T, children: (T | string)[], stack: VNode[], force?: boolean): void;\n\n abstract get _server(): boolean;\n\n private async _createRoot(\n root: T | null,\n component: ComponentNode,\n options?: {\n skipMount?: boolean;\n },\n ) {\n\n const runtime = reconciler.buildVNodes(component, this);\n\n type _State = {\n hook: string;\n deps: any;\n unmount?: () => void;\n };\n\n const mountState = new Map<VNode, _State[]>();\n\n const resolveChildren = (node: VNode, elements: Map<VNode, { native?: T }>) => {\n const childrenOfParent = (node: VNode, allowedChild: (node: string | VNode) => boolean): (string | T)[] => _.flatMap(node.children, x => {\n if (_.isString(x)) return allowedChild(x) ? x : [];\n const _node = elements.get(x)?.native;\n if (allowedChild(x)) return _node ?? children(x);\n return _node ? [] : childrenOfParent(x, allowedChild);\n });\n const children = (node: VNode): (string | T)[] => _.flatMap(node.children, x => {\n if (_.isString(x)) return x;\n const _node = elements.get(x)?.native;\n if (_node instanceof _ParentComponent) return childrenOfParent(x, c => _node.isChildNode(c));\n return _node ?? children(x);\n });\n return children(node);\n };\n\n const commit = (elements: Map<VNode, { native?: T }>, force?: boolean) => {\n\n const _mount = (node: VNode, stack: VNode[]) => {\n for (const item of node.children) {\n if (item instanceof VNode) _mount(item, [...stack, node]);\n }\n const element = elements.get(node)?.native;\n if (element instanceof _ParentComponent) return;\n if (element) {\n try {\n this._replaceChildren(node, element, resolveChildren(node, elements), stack, force);\n } catch (e) {\n console.error(e);\n }\n }\n const state: _State[] = [];\n const prevState = mountState.get(node) ?? [];\n const curState = node.state;\n for (const i of _.range(Math.max(prevState.length, curState.length))) {\n const unmount = prevState[i]?.unmount;\n const changed = prevState[i]?.hook !== curState[i]?.hook || !equalDeps(prevState[i].deps, curState[i]?.deps);\n if (unmount && changed) {\n try {\n unmount();\n } catch (e) {\n console.error(e);\n }\n }\n state.push({\n hook: curState[i].hook,\n deps: curState[i].deps,\n unmount: options?.skipMount || !changed ? prevState[i]?.unmount : (() => {\n try {\n return curState[i].mount?.();\n } catch (e) {\n console.error(e);\n }\n })(),\n });\n }\n mountState.set(node, state);\n };\n\n for (const [node, state] of mountState) {\n if (elements.has(node)) continue;\n for (const { unmount } of state) {\n try {\n unmount?.();\n } catch (e) {\n console.error(e);\n }\n }\n mountState.delete(node);\n }\n if (root) this._replaceChildren(\n runtime.node, root,\n _.castArray(elements.get(runtime.node)?.native ?? resolveChildren(runtime.node, elements)),\n [],\n force,\n );\n _mount(runtime.node, []);\n };\n\n const update = async (elements?: Map<VNode, { native?: T }>, force?: boolean) => {\n try {\n this._beforeUpdate();\n } catch (e) {\n console.error(e);\n }\n const map = new Map<VNode, { native?: T }>();\n for await (const { node, stack, updated } of runtime.excute()) {\n if (node.error) continue;\n if (_.isFunction(node.type) && !(node.type.prototype instanceof NativeElementType)) {\n map.set(node, {});\n } else if (_.isFunction(node.type) && node.type.prototype instanceof _ParentComponent) {\n let elem = elements?.get(node)?.native;\n if (!elem) {\n const Component = node.type as any;\n elem = new Component();\n }\n map.set(node, { native: elem });\n } else {\n try {\n if (updated) {\n let elem = elements?.get(node)?.native;\n if (elem) {\n this._updateElement(node, elem, stack);\n } else {\n elem = this._createElement(node, stack);\n }\n map.set(node, { native: elem });\n } else {\n map.set(node, { native: elements?.get(node)?.native ?? this._createElement(node, stack) });\n }\n } catch (e) {\n console.error(e);\n }\n }\n }\n commit(map, force);\n if (elements) {\n for (const [node, element] of elements) {\n if (map.has(node) || !element.native) continue;\n try {\n this._destroyElement(node, element.native);\n } catch (e) {\n console.error(e);\n }\n }\n }\n try {\n this._afterUpdate();\n } catch (e) {\n console.error(e);\n }\n return map;\n };\n\n let update_count = 0;\n let render_count = 0;\n let destroyed = false;\n let elements = await update(undefined, true);\n\n const listener = runtime.event.register('onchange', () => {\n if (render_count !== update_count++) return;\n nextick(async () => {\n while (render_count !== update_count) {\n if (destroyed) return;\n const current = update_count;\n elements = await update(elements, false);\n render_count = current;\n }\n });\n });\n\n return {\n get root() {\n if (root) return root;\n const elems = _.castArray(elements.get(runtime.node)?.native ?? resolveChildren(runtime.node, elements));\n const nodes = _.filter(elems, x => !_.isString(x)) as T[];\n return nodes.length === 1 ? nodes[0] : nodes;\n },\n destroy: () => {\n if (root) this._replaceChildren(runtime.node, root, [], [], true);\n destroyed = true;\n listener.remove();\n for (const state of mountState.values()) {\n for (const { unmount } of state) unmount?.();\n }\n },\n };\n }\n\n createRoot(root?: T) {\n let state: Awaited<ReturnType<typeof this._createRoot>> | undefined;\n return {\n get root() {\n return state?.root;\n },\n mount: async (\n component: ComponentNode,\n options?: {\n skipMount?: boolean;\n },\n ) => {\n state = await this._createRoot(root ?? null, component, options);\n },\n unmount: () => {\n state?.destroy();\n state = undefined;\n },\n };\n }\n}"],"names":[],"mappings":";;AAEO;AACP;AACA;AACA;AACA;AACA;AAMO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
|
-
import { r as reconciler, _ as _ParentComponent, V as VNode, e as equalDeps } from './state-
|
|
3
|
-
import { N as NativeElementType } from './runtime-
|
|
2
|
+
import { r as reconciler, _ as _ParentComponent, V as VNode, e as equalDeps } from './state-DgSrjGGU.mjs';
|
|
3
|
+
import { N as NativeElementType } from './runtime-Dp4_akLf.mjs';
|
|
4
4
|
import nextick from 'nextick';
|
|
5
5
|
|
|
6
6
|
//
|
|
@@ -232,4 +232,4 @@ class _Renderer {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
export { _Renderer as _ };
|
|
235
|
-
//# sourceMappingURL=renderer-
|
|
235
|
+
//# sourceMappingURL=renderer-CA9aKFMW.mjs.map
|