nuclo 0.1.57 → 0.1.58

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/nuclo.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function a(e){return i(e)&&0===e.length}function s(e,t){"undefined"!=typeof console&&console.error(`nuclo: ${e}`,t)}function c(e,t){try{return e()}catch(e){return s("Operation failed",e),t}}const l="undefined"!=typeof window&&"undefined"!=typeof document;function d(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return s("Failed to remove child node",e),!1}}function u(e){if(!l)return null;try{return document.createComment(e)}catch(e){return s("Failed to create comment node",e),null}}function m(e){return u(e)}function p(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return s("Failed to create conditional comment",e),null}}function f(e){if(!l)throw new Error("Cannot create comment in non-browser environment");const t=u(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw new Error("Failed to create comment");return t}function y(e){const t=u(`${e}-end`);if(!t)throw new Error("Failed to create end comment");return{start:f(`${e}-start`),end:t}}function g(e,t){const r=t.parentNode;r&&e.forEach(e=>function(e,t,r){if(!e||!t)return!1;try{return e.insertBefore(t,r),!0}catch(e){return s("Failed to insert node before reference",e),!1}}(r,e,t))}function h(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!l||"undefined"==typeof document)&&document.contains(e))}function b(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return s("Error replacing conditional node",e),!1}}const S=new Map;const P=new Map;function w(e,t){t.attributeResolvers.forEach(({resolver:e,applyValue:t},r)=>{try{t(c(e))}catch(e){s(`Failed to update reactive attribute: ${r}`,e)}})}function x(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return void s("Invalid parameters for registerAttributeResolver");const o=function(e){let t=P.get(e);return t||(t={attributeResolvers:new Map},P.set(e,t)),t}(e);o.attributeResolvers.set(t,{resolver:r,applyValue:n});try{n(c(r))}catch(e){s("Failed to apply initial attribute value",e)}if(!o.updateListener){const t=()=>w(0,o);e.addEventListener("update",t),o.updateListener=t}}function C(e,t,r){try{if(null==r||""===r)return e.style[t]="",!0;const n=String(r);return e.style[t]=n,!0}catch{return!1}}function R(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t)){C(e,r,n)||s(`Failed to set style property '${r}'`)}}const v="__nuclo_reactive_className__",k="__nuclo_static_className__";function T(e,t){const r=function(e){return e[k]}(e);if(r&&r.size>0&&t){const n=new Set(r);t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else t?e.className=t:r&&r.size>0?e.className=Array.from(r).join(" "):e.className=""}function B(e,t,r,n=!1){if(null==r)return;if("style"===t)return a=r,void((o=e)&&(i(a)?x(o,"style",()=>{try{return a()}catch(e){return s("Error in style resolver function",e),null}},e=>{R(o,e)}):R(o,a)));var o,a;const c=(r,n=!1)=>{if(null==r)return;if("className"===t&&e instanceof HTMLElement&&n)return void function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const n=new Set(r.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else e.className=t}(e,String(r));if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(String(t),String(r));else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(String(t),String(r))}else e instanceof Element&&e.setAttribute(String(t),String(r))};if(i(r)&&0===r.length){const n=r;"className"===t&&e instanceof HTMLElement?(!function(e){e[k]||(e[k]=new Set(e.className.split(" ").filter(e=>e))),e[v]=!0}(e),x(e,String(t),n,t=>{T(e,String(t||""))})):x(e,String(t),n,e=>{c(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[v]}(e)){const t=String(r||"");if(t){!function(e,t){t&&(e[k]||(e[k]=new Set),t.split(" ").filter(e=>e).forEach(t=>{e[k].add(t)}))}(e,t);const r=new Set(e.className.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>r.add(e)),e.className=Array.from(r).join(" ")}return}c(r,n)}}function E(e,t,r=!0){if(t)for(const n of Object.keys(t)){B(e,n,t[n],r&&"className"===n)}}const A=new WeakMap;function L(e){const{value:t,error:r}=function(e){const t=A.get(e);if(t)return t;try{const t={value:e(),error:!1};return A.set(e,t),t}catch{const t={value:void 0,error:!0};return A.set(e,t),t}}(e);return!r&&"boolean"==typeof t}function N(e,t,o){if(!i(e)||0!==e.length)return!1;if(!L(e))return!1;const a=t.filter((e,t)=>t!==o);if(0===a.length)return!1;return a.some(e=>!(!n(e)&&!r(e))||!!(i(e)&&e.length>0))}function W(e,o,c){if(null==o)return null;if(i(o)){if(a(o))try{let i=A.get(o);if(!i){i={value:o(),error:!1},A.set(o,i)}if(i.error)return I(c,()=>"");const a=i.value;if(n(a)&&!r(a)&&"className"in a&&"string"==typeof a.className&&1===Object.keys(a).length){const t=o;return E(e,{className:()=>t().className}),null}return t(a)&&null!=a?I(c,o,a):null}catch(e){return A.set(o,{value:void 0,error:!0}),s("Error evaluating reactive text function:",e),I(c,()=>"")}const i=o(e,c);return null==i?null:t(i)?F(c,i):r(i)?i:(n(i)&&E(e,i),null)}const l=o;return null==l?null:t(l)?F(c,l):r(l)?l:(n(l)&&E(e,l),null)}function I(e,t,r){const n=document.createDocumentFragment(),o=m(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e)return s("Invalid resolver provided to createReactiveTextNode"),document.createTextNode("");const r=arguments.length>1?t:c(e,""),n=void 0===r?"":String(r),o=document.createTextNode(n);return S.set(o,{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function F(e,t){const r=document.createDocumentFragment(),n=m(` text-${e} `);n&&r.appendChild(n);const o=document.createTextNode(String(t));return r.appendChild(o),r}const j=new Set;function D(e,t){e._conditionalInfo=t,j.add(e)}function M(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let n=r,o=0;const i=e;for(let r=0;r<t.length;r+=1){const a=t[r];if(null==a)continue;const s=W(e,a,n);s&&(s.parentNode!==i&&i.appendChild(s),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function O(e,t){const r=document.createElement(e);return M(r,t,0),r}function $(e){const t=function(e){for(let t=0;t<e.length;t+=1)if(N(e[t],e,t))return t;return-1}(e);return-1===t?{condition:null,otherModifiers:e}:{condition:e[t],otherModifiers:e.filter((e,r)=>r!==t)}}function z(e){return function(e){return H.includes(e)}(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function _(e,...t){return(r,n)=>{const{condition:o,otherModifiers:i}=$(t);if(o)return function(e,t,r){const n=t();if(!l)return n?O(e,r):p(e,"ssr");const o={condition:t,tagName:e,modifiers:r};if(n){const t=O(e,r);return D(t,o),t}const i=p(e);if(!i)throw new Error(`Failed to create conditional comment for ${e}`);return D(i,o),i}(e,o,i);const a=z(e);return M(a,i,n),a}}function G(e){return(...t)=>_(e,...t)}const V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],H=["a","animate","animateMotion","animateTransform","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tspan","use","view"];function q(e=globalThis){const t="__nuclo_tags_registered";e[t]||(H.forEach(t=>function(e,t){let r=t;["a","script","style","title","text"].includes(t)?r=`${t}_svg`:["stop"].includes(t)&&(r=`${t}_`),r in e||(e[r]=G(t))}(e,t)),V.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=G(t))}(e,t)),e[t]=!0)}const U=new Set;function J(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function X(e){d(e.element)}function Y(e){const{host:t,startMarker:r,endMarker:n}=e,o=r.parentNode??t,i=e.itemsProvider();if(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if((r in e?e[r]:void 0)!==(r in t?t[r]:void 0))return!1;return!0}(e.lastSyncedItems,i))return;const a=new Map,s=new Map;e.records.forEach(e=>{const t=s.get(e.item);t?t.push(e):s.set(e.item,[e])}),i.forEach((t,r)=>{if(r<e.lastSyncedItems.length&&e.lastSyncedItems[r]===t){const n=e.records[r];if(n&&n.item===t){a.set(r,n);const e=s.get(t);if(e){const r=e.indexOf(n);r>=0&&(e.splice(r,1),0===e.length&&s.delete(t))}}}});const c=[],l=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=a.get(t);if(!n){const e=s.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&s.delete(r))}if(n)l.delete(n);else{const o=J(e,r,t);if(!o)continue;n={item:r,element:o}}c.unshift(n);const u=n.element;u.nextSibling!==d&&o.insertBefore(u,d),d=u}l.forEach(X),e.records=c,e.lastSyncedItems=[...i]}function Q(e,t){return(r,n)=>{const o=function(e,t,r){const{start:n,end:o}=y("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},a=r;return a.appendChild(n),a.appendChild(o),U.add(i),Y(i),i}(e,t,r);return o.startMarker}}function Z(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function K(e,t){return"function"==typeof e?Z(e,t):Boolean(e)}function ee(e,t,r,n){return i(e)?a(e)?(A.delete(e),W(t,e,r)):function(e,t,r){const n=e,o=n.appendChild.bind(n),i=n.insertBefore.bind(n);n.appendChild=function(e){return i(e,t)};try{return r()}finally{n.appendChild=o}}(t,n,()=>{const n=W(t,e,r);return n&&!n.parentNode?n:null}):W(t,e,r)}const te=new Set;function re(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,a=function(e,t){for(let t=0;t<e.length;t++)if(K(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(a===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;d(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=a,null===a)return;const s=function(e,t,r,n){const o=[];for(const i of e){const e=ee(i,t,r,n);e&&o.push(e)}return o}(a>=0?t[a].content:r,n,o,i);g(s,i)}class ne{groups=[];elseContent=[];constructor(e,...t){this.groups.push({condition:e,content:t})}when(e,...t){return this.groups.push({condition:e,content:t}),this}else(...e){return this.elseContent=e,this}render(e,t){if(!l){return m("when-ssr")||null}const{start:r,end:n}=y("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:()=>re(o)};!function(e){te.add(e)}(o);const i=e;return i.appendChild(r),i.appendChild(n),re(o),r}}function oe(e){return Object.assign((t,r)=>e.render(t,r),{when:(t,...r)=>(e.when(t,...r),oe(e)),else:(...t)=>(e.else(...t),oe(e))})}function ie(e,...t){return oe(new ne(e,...t))}function ae(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=Z(t.condition,e=>{s("Error evaluating conditional condition",e)}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return O(e.tagName,e.modifiers)}catch(t){return s(`Error applying modifiers in conditional element "${e.tagName}"`,t),document.createElement(e.tagName)}}(t);D(r,t),b(e,r)}else if(!r&&n){const r=p(t.tagName);r&&(D(r,t),b(e,r))}}const se=[function(){U.forEach(e=>{e.startMarker.isConnected&&e.endMarker.isConnected?Y(e):U.delete(e)})},function(){te.forEach(e=>{try{e.update()}catch(t){te.delete(e)}})},function(){if(l)try{j.forEach(e=>{e.isConnected?ae(e):function(e){j.delete(e)}(e)})}catch(e){s("Error during conditional elements update",e)}},function(){P.forEach((e,t)=>{if(!h(t))return e.updateListener&&t.removeEventListener("update",e.updateListener),void P.delete(t);w(0,e)})},function(){S.forEach((e,t)=>{if(h(t))try{const r=c(e.resolver),n=void 0===r?"":String(r);n!==e.lastValue&&(t.textContent=n,e.lastValue=n)}catch(e){s("Failed to update reactive text node",e)}else S.delete(t)})},function(){if("undefined"==typeof document)return;const e=document.body?[document.body,document]:[document];for(const t of e)try{t.dispatchEvent(new Event("update",{bubbles:!0}))}catch(e){s("Error dispatching global update event",e)}}];function ce(){for(const e of se)e()}function le(e,t,r){return n=>{if(!n||"function"!=typeof n.addEventListener)return;const o=n;o.addEventListener(e,r=>{try{t.call(o,r)}catch(t){s(`Error in '${e}' listener`,t)}},r)}}function de(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const ue=[{name:"display",cssProperty:"display"},{name:"grid",cssProperty:"display",defaultValue:"grid",isShorthand:!0},{name:"bg",cssProperty:"background-color"},{name:"color",cssProperty:"color"},{name:"accentColor",cssProperty:"accent-color"},{name:"fontSize",cssProperty:"font-size"},{name:"fontWeight",cssProperty:"font-weight"},{name:"fontFamily",cssProperty:"font-family"},{name:"lineHeight",cssProperty:"line-height"},{name:"letterSpacing",cssProperty:"letter-spacing"},{name:"textAlign",cssProperty:"text-align"},{name:"textDecoration",cssProperty:"text-decoration"},{name:"fontStyle",cssProperty:"font-style"},{name:"fontVariant",cssProperty:"font-variant"},{name:"fontStretch",cssProperty:"font-stretch"},{name:"textTransform",cssProperty:"text-transform"},{name:"textIndent",cssProperty:"text-indent"},{name:"textOverflow",cssProperty:"text-overflow"},{name:"textShadow",cssProperty:"text-shadow"},{name:"whiteSpace",cssProperty:"white-space"},{name:"wordSpacing",cssProperty:"word-spacing"},{name:"wordWrap",cssProperty:"word-wrap"},{name:"overflowWrap",cssProperty:"overflow-wrap"},{name:"textAlignLast",cssProperty:"text-align-last"},{name:"textJustify",cssProperty:"text-justify"},{name:"textDecorationLine",cssProperty:"text-decoration-line"},{name:"textDecorationColor",cssProperty:"text-decoration-color"},{name:"textDecorationStyle",cssProperty:"text-decoration-style"},{name:"textDecorationThickness",cssProperty:"text-decoration-thickness"},{name:"textUnderlineOffset",cssProperty:"text-underline-offset"},{name:"verticalAlign",cssProperty:"vertical-align"},{name:"position",cssProperty:"position"},{name:"padding",cssProperty:"padding"},{name:"paddingTop",cssProperty:"padding-top"},{name:"paddingRight",cssProperty:"padding-right"},{name:"paddingBottom",cssProperty:"padding-bottom"},{name:"paddingLeft",cssProperty:"padding-left"},{name:"margin",cssProperty:"margin"},{name:"marginTop",cssProperty:"margin-top"},{name:"marginRight",cssProperty:"margin-right"},{name:"marginBottom",cssProperty:"margin-bottom"},{name:"marginLeft",cssProperty:"margin-left"},{name:"width",cssProperty:"width"},{name:"height",cssProperty:"height"},{name:"minWidth",cssProperty:"min-width"},{name:"maxWidth",cssProperty:"max-width"},{name:"minHeight",cssProperty:"min-height"},{name:"maxHeight",cssProperty:"max-height"},{name:"boxSizing",cssProperty:"box-sizing"},{name:"top",cssProperty:"top"},{name:"right",cssProperty:"right"},{name:"bottom",cssProperty:"bottom"},{name:"left",cssProperty:"left"},{name:"zIndex",cssProperty:"z-index"},{name:"flexDirection",cssProperty:"flex-direction"},{name:"alignItems",cssProperty:"align-items"},{name:"justifyContent",cssProperty:"justify-content"},{name:"gap",cssProperty:"gap"},{name:"flexWrap",cssProperty:"flex-wrap"},{name:"flexGrow",cssProperty:"flex-grow"},{name:"flexShrink",cssProperty:"flex-shrink"},{name:"flexBasis",cssProperty:"flex-basis"},{name:"alignSelf",cssProperty:"align-self"},{name:"alignContent",cssProperty:"align-content"},{name:"justifySelf",cssProperty:"justify-self"},{name:"justifyItems",cssProperty:"justify-items"},{name:"gridTemplateColumns",cssProperty:"grid-template-columns"},{name:"gridTemplateRows",cssProperty:"grid-template-rows"},{name:"gridTemplateAreas",cssProperty:"grid-template-areas"},{name:"gridColumn",cssProperty:"grid-column"},{name:"gridRow",cssProperty:"grid-row"},{name:"gridColumnStart",cssProperty:"grid-column-start"},{name:"gridColumnEnd",cssProperty:"grid-column-end"},{name:"gridRowStart",cssProperty:"grid-row-start"},{name:"gridRowEnd",cssProperty:"grid-row-end"},{name:"gridArea",cssProperty:"grid-area"},{name:"gridAutoColumns",cssProperty:"grid-auto-columns"},{name:"gridAutoRows",cssProperty:"grid-auto-rows"},{name:"gridAutoFlow",cssProperty:"grid-auto-flow"},{name:"border",cssProperty:"border"},{name:"borderTop",cssProperty:"border-top"},{name:"borderRight",cssProperty:"border-right"},{name:"borderBottom",cssProperty:"border-bottom"},{name:"borderLeft",cssProperty:"border-left"},{name:"borderWidth",cssProperty:"border-width"},{name:"borderStyle",cssProperty:"border-style"},{name:"borderColor",cssProperty:"border-color"},{name:"borderTopWidth",cssProperty:"border-top-width"},{name:"borderRightWidth",cssProperty:"border-right-width"},{name:"borderBottomWidth",cssProperty:"border-bottom-width"},{name:"borderLeftWidth",cssProperty:"border-left-width"},{name:"borderTopStyle",cssProperty:"border-top-style"},{name:"borderRightStyle",cssProperty:"border-right-style"},{name:"borderBottomStyle",cssProperty:"border-bottom-style"},{name:"borderLeftStyle",cssProperty:"border-left-style"},{name:"borderTopColor",cssProperty:"border-top-color"},{name:"borderRightColor",cssProperty:"border-right-color"},{name:"borderBottomColor",cssProperty:"border-bottom-color"},{name:"borderLeftColor",cssProperty:"border-left-color"},{name:"borderRadius",cssProperty:"border-radius"},{name:"borderTopLeftRadius",cssProperty:"border-top-left-radius"},{name:"borderTopRightRadius",cssProperty:"border-top-right-radius"},{name:"borderBottomLeftRadius",cssProperty:"border-bottom-left-radius"},{name:"borderBottomRightRadius",cssProperty:"border-bottom-right-radius"},{name:"outline",cssProperty:"outline"},{name:"outlineWidth",cssProperty:"outline-width"},{name:"outlineStyle",cssProperty:"outline-style"},{name:"outlineColor",cssProperty:"outline-color"},{name:"outlineOffset",cssProperty:"outline-offset"},{name:"backgroundColor",cssProperty:"background-color"},{name:"backgroundImage",cssProperty:"background-image"},{name:"backgroundRepeat",cssProperty:"background-repeat"},{name:"backgroundPosition",cssProperty:"background-position"},{name:"backgroundSize",cssProperty:"background-size"},{name:"backgroundAttachment",cssProperty:"background-attachment"},{name:"backgroundClip",cssProperty:"background-clip"},{name:"backgroundOrigin",cssProperty:"background-origin"},{name:"boxShadow",cssProperty:"box-shadow"},{name:"opacity",cssProperty:"opacity"},{name:"transition",cssProperty:"transition"},{name:"transitionProperty",cssProperty:"transition-property"},{name:"transitionDuration",cssProperty:"transition-duration"},{name:"transitionTimingFunction",cssProperty:"transition-timing-function"},{name:"transitionDelay",cssProperty:"transition-delay"},{name:"transform",cssProperty:"transform"},{name:"transformOrigin",cssProperty:"transform-origin"},{name:"transformStyle",cssProperty:"transform-style"},{name:"perspective",cssProperty:"perspective"},{name:"perspectiveOrigin",cssProperty:"perspective-origin"},{name:"backfaceVisibility",cssProperty:"backface-visibility"},{name:"animation",cssProperty:"animation"},{name:"animationName",cssProperty:"animation-name"},{name:"animationDuration",cssProperty:"animation-duration"},{name:"animationTimingFunction",cssProperty:"animation-timing-function"},{name:"animationDelay",cssProperty:"animation-delay"},{name:"animationIterationCount",cssProperty:"animation-iteration-count"},{name:"animationDirection",cssProperty:"animation-direction"},{name:"animationFillMode",cssProperty:"animation-fill-mode"},{name:"animationPlayState",cssProperty:"animation-play-state"},{name:"filter",cssProperty:"filter"},{name:"backdropFilter",cssProperty:"backdrop-filter"},{name:"overflow",cssProperty:"overflow"},{name:"overflowX",cssProperty:"overflow-x"},{name:"overflowY",cssProperty:"overflow-y"},{name:"visibility",cssProperty:"visibility"},{name:"objectFit",cssProperty:"object-fit"},{name:"objectPosition",cssProperty:"object-position"},{name:"listStyle",cssProperty:"list-style"},{name:"listStyleType",cssProperty:"list-style-type"},{name:"listStylePosition",cssProperty:"list-style-position"},{name:"listStyleImage",cssProperty:"list-style-image"},{name:"borderCollapse",cssProperty:"border-collapse"},{name:"borderSpacing",cssProperty:"border-spacing"},{name:"captionSide",cssProperty:"caption-side"},{name:"emptyCells",cssProperty:"empty-cells"},{name:"tableLayout",cssProperty:"table-layout"},{name:"content",cssProperty:"content"},{name:"quotes",cssProperty:"quotes"},{name:"counterReset",cssProperty:"counter-reset"},{name:"counterIncrement",cssProperty:"counter-increment"},{name:"appearance",cssProperty:"appearance"},{name:"userSelect",cssProperty:"user-select"},{name:"pointerEvents",cssProperty:"pointer-events"},{name:"resize",cssProperty:"resize"},{name:"scrollBehavior",cssProperty:"scroll-behavior"},{name:"clip",cssProperty:"clip"},{name:"clipPath",cssProperty:"clip-path"},{name:"isolation",cssProperty:"isolation"},{name:"mixBlendMode",cssProperty:"mix-blend-mode"},{name:"willChange",cssProperty:"will-change"},{name:"contain",cssProperty:"contain"},{name:"pageBreakBefore",cssProperty:"page-break-before"},{name:"pageBreakAfter",cssProperty:"page-break-after"},{name:"pageBreakInside",cssProperty:"page-break-inside"},{name:"breakBefore",cssProperty:"break-before"},{name:"breakAfter",cssProperty:"break-after"},{name:"breakInside",cssProperty:"break-inside"},{name:"orphans",cssProperty:"orphans"},{name:"widows",cssProperty:"widows"},{name:"columnCount",cssProperty:"column-count"},{name:"columnFill",cssProperty:"column-fill"},{name:"columnGap",cssProperty:"column-gap"},{name:"columnRule",cssProperty:"column-rule"},{name:"columnRuleColor",cssProperty:"column-rule-color"},{name:"columnRuleStyle",cssProperty:"column-rule-style"},{name:"columnRuleWidth",cssProperty:"column-rule-width"},{name:"columnSpan",cssProperty:"column-span"},{name:"columnWidth",cssProperty:"column-width"},{name:"columns",cssProperty:"columns"},{name:"cursor",cssProperty:"cursor"}],me=["bold","center","flex"],pe=new Map;function fe(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t&=t}return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function ye(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function ge(e,t,r,n="media"){let o=document.querySelector("#nuclo-styles");o||(o=document.createElement("style"),o.id="nuclo-styles",document.head.appendChild(o));const i=Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ");if(r){const a=Array.from(o.sheet?.cssRules||[]);let s=null;const c=e=>"media"===n&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===n&&e instanceof CSSContainerRule||"supports"===n&&e instanceof CSSSupportsRule)&&e.conditionText===r,l=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(const e of a)if(c(e)){s=e;break}if(!s){let e=a.length;for(let t=a.length-1;t>=0;t--){if(l(a[t])){e=t+1;break}if(a[t]instanceof CSSStyleRule){e=t+1;break}}const t="media"===n?"@media":"container"===n?"@container":"supports"===n?"@supports":"@media";o.sheet?.insertRule(`${t} ${r} {}`,e),s=o.sheet?.cssRules[e]}let d=null;for(const t of Array.from(s.cssRules))if(t instanceof CSSStyleRule&&t.selectorText===`.${e}`){d=t;break}if(d){for(;d.style.length>0;)d.style.removeProperty(d.style[0]);Object.entries(t).forEach(([e,t])=>{d.style.setProperty(e,t)})}else s.insertRule(`.${e} { ${i} }`,s.cssRules.length)}else{let r=null,n=0;const a=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,s=Array.from(o.sheet?.cssRules||[]);for(let t=0;t<s.length;t++){const o=s[t];if(o instanceof CSSStyleRule&&o.selectorText===`.${e}`){r=o,n=t;break}a(o)||(n=t+1)}if(r){for(;r.style.length>0;)r.style.removeProperty(r.style[0]);Object.entries(t).forEach(([e,t])=>{r.style.setProperty(e,t)})}else o.sheet?.insertRule(`.${e} { ${i} }`,n)}}function he(e,t){ge(e,t)}function be(e,t="",r){const n=ye(e),o=t?`${t}:${n}`:n,i=function(e){return pe.get(e)}(o);if(i){const t=i;return function(e,t,r="media"){const n=document.querySelector("#nuclo-styles");if(!n||!n.sheet)return!1;if(t){const o=Array.from(n.sheet.cssRules||[]).find(e=>"media"===r&&e instanceof CSSMediaRule?e.media.mediaText===t:("container"===r&&e instanceof CSSContainerRule||"supports"===r&&e instanceof CSSSupportsRule)&&e.conditionText===t);return!!o&&Array.from(o.cssRules).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}return Array.from(n.sheet.cssRules||[]).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}(t,r)||ge(t,e,r),t}const a=fe(n),s=t?`n${t}-${a}`:`n${a}`;return function(e,t){pe.set(e,t)}(o,s),ge(s,e,r),s}class Se{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return be(this.styles,e,t)}getClassNames(){return[this.getClassName()]}getClassDefinitions(){return Object.entries(this.styles).map(([e,t])=>({className:this.getClassName(),property:e,value:t}))}toString(){return this.getClassName()}add(e,t){return this.styles[e]=t,this}bold(){return this.styles["font-weight"]="bold",this}center(){return this.styles["justify-content"]="center",this.styles["align-items"]="center",this}flex(e){return void 0!==e?this.styles.flex=e:this.styles.display="flex",this}}function Pe(e){return e.isShorthand?()=>(new Se).add(e.cssProperty,e.defaultValue||""):t=>(new Se).add(e.cssProperty,t||"")}!function(){const e=Se.prototype;for(const t of ue)t.name in e||(t.isShorthand?e[t.name]=function(){return this.add(t.cssProperty,t.defaultValue||""),this}:e[t.name]=function(e){return this.add(t.cssProperty,e),this})}();const we={};for(const e of ue)we[e.name]=Pe(e);for(const e of me)"bold"===e||"center"===e?we[e]=()=>(new Se)[e]():"flex"===e&&(we[e]=e=>(new Se).flex(e));const{display:xe,flex:Ce,grid:Re,bg:ve,color:ke,accentColor:Te,fontSize:Be,fontWeight:Ee,fontFamily:Ae,lineHeight:Le,letterSpacing:Ne,textAlign:We,textDecoration:Ie,bold:Fe,fontStyle:je,fontVariant:De,fontStretch:Me,textTransform:Oe,textIndent:$e,textOverflow:ze,textShadow:_e,whiteSpace:Ge,wordSpacing:Ve,wordWrap:He,overflowWrap:qe,textAlignLast:Ue,textJustify:Je,textDecorationLine:Xe,textDecorationColor:Ye,textDecorationStyle:Qe,textDecorationThickness:Ze,textUnderlineOffset:Ke,verticalAlign:et,position:tt,padding:rt,paddingTop:nt,paddingRight:ot,paddingBottom:it,paddingLeft:at,margin:st,marginTop:ct,marginRight:lt,marginBottom:dt,marginLeft:ut,width:mt,height:pt,minWidth:ft,maxWidth:yt,minHeight:gt,maxHeight:ht,boxSizing:bt,top:St,right:Pt,bottom:wt,left:xt,zIndex:Ct,flexDirection:Rt,alignItems:vt,justifyContent:kt,center:Tt,gap:Bt,flexWrap:Et,flexGrow:At,flexShrink:Lt,flexBasis:Nt,alignSelf:Wt,alignContent:It,justifySelf:Ft,justifyItems:jt,gridTemplateColumns:Dt,gridTemplateRows:Mt,gridTemplateAreas:Ot,gridColumn:$t,gridRow:zt,gridColumnStart:_t,gridColumnEnd:Gt,gridRowStart:Vt,gridRowEnd:Ht,gridArea:qt,gridAutoColumns:Ut,gridAutoRows:Jt,gridAutoFlow:Xt,border:Yt,borderTop:Qt,borderRight:Zt,borderBottom:Kt,borderLeft:er,borderWidth:tr,borderStyle:rr,borderColor:nr,borderTopWidth:or,borderRightWidth:ir,borderBottomWidth:ar,borderLeftWidth:sr,borderTopStyle:cr,borderRightStyle:lr,borderBottomStyle:dr,borderLeftStyle:ur,borderTopColor:mr,borderRightColor:pr,borderBottomColor:fr,borderLeftColor:yr,borderRadius:gr,borderTopLeftRadius:hr,borderTopRightRadius:br,borderBottomLeftRadius:Sr,borderBottomRightRadius:Pr,outline:wr,outlineWidth:xr,outlineStyle:Cr,outlineColor:Rr,outlineOffset:vr,backgroundColor:kr,backgroundImage:Tr,backgroundRepeat:Br,backgroundPosition:Er,backgroundSize:Ar,backgroundAttachment:Lr,backgroundClip:Nr,backgroundOrigin:Wr,boxShadow:Ir,opacity:Fr,transition:jr,transitionProperty:Dr,transitionDuration:Mr,transitionTimingFunction:Or,transitionDelay:$r,transform:zr,transformOrigin:_r,transformStyle:Gr,perspective:Vr,perspectiveOrigin:Hr,backfaceVisibility:qr,animation:Ur,animationName:Jr,animationDuration:Xr,animationTimingFunction:Yr,animationDelay:Qr,animationIterationCount:Zr,animationDirection:Kr,animationFillMode:en,animationPlayState:tn,filter:rn,backdropFilter:nn,overflow:on,overflowX:an,overflowY:sn,visibility:cn,objectFit:ln,objectPosition:dn,listStyle:un,listStyleType:mn,listStylePosition:pn,listStyleImage:fn,borderCollapse:yn,borderSpacing:gn,captionSide:hn,emptyCells:bn,tableLayout:Sn,content:Pn,quotes:wn,counterReset:xn,counterIncrement:Cn,appearance:Rn,userSelect:vn,pointerEvents:kn,resize:Tn,scrollBehavior:Bn,clip:En,clipPath:An,isolation:Ln,mixBlendMode:Nn,willChange:Wn,contain:In,pageBreakBefore:Fn,pageBreakAfter:jn,pageBreakInside:Dn,breakBefore:Mn,breakAfter:On,breakInside:$n,orphans:zn,widows:_n,columnCount:Gn,columnFill:Vn,columnGap:Hn,columnRule:qn,columnRuleColor:Un,columnRuleStyle:Jn,columnRuleWidth:Xn,columnSpan:Yn,columnWidth:Qn,columns:Zn,cursor:Kn}=we;function eo(e){const t=e.trim();return t.startsWith("@media ")?{type:"media",condition:t.slice(7).trim()}:t.startsWith("@container ")?{type:"container",condition:t.slice(11).trim()}:t.startsWith("@supports ")?{type:"supports",condition:t.slice(10).trim()}:t.startsWith("@style ")?{type:"style",condition:t.slice(7).trim()}:{type:"media",condition:t}}function to(e){const t=Array.isArray(e)?e:Object.entries(e);return function(e,r){let n,o;if(void 0!==r?(n=e,o=r):e instanceof Se?(n=e,o=void 0):(n=void 0,o=e),!(n||o&&0!==Object.keys(o).length))return"";if(o&&Object.keys(o).length>0){const e=[];for(const[r,n]of t){const t=o[r];t&&e.push({queryName:r,atRule:eo(n),styles:t.getStyles()})}const r=[];if(n){const e=n.getStyles();r.push(`default:${ye(e)}`)}r.push(...e.map(({queryName:e,styles:t})=>`${e}:${ye(t)}`));const i=`n${fe(r.sort().join("||"))}`;let a={};n&&(a={...n.getStyles()},ge(i,a));for(const{atRule:t,styles:r}of e)a={...a,...r},ge(i,a,t.condition,t.type);return{className:i}}if(n){return{className:n.getClassName()}}return""}}const ro=to;var no=Object.freeze({__proto__:null,StyleBuilder:Se,accentColor:Te,alignContent:It,alignItems:vt,alignSelf:Wt,animation:Ur,animationDelay:Qr,animationDirection:Kr,animationDuration:Xr,animationFillMode:en,animationIterationCount:Zr,animationName:Jr,animationPlayState:tn,animationTimingFunction:Yr,appearance:Rn,backdropFilter:nn,backfaceVisibility:qr,backgroundAttachment:Lr,backgroundClip:Nr,backgroundColor:kr,backgroundImage:Tr,backgroundOrigin:Wr,backgroundPosition:Er,backgroundRepeat:Br,backgroundSize:Ar,bg:ve,bold:Fe,border:Yt,borderBottom:Kt,borderBottomColor:fr,borderBottomLeftRadius:Sr,borderBottomRightRadius:Pr,borderBottomStyle:dr,borderBottomWidth:ar,borderCollapse:yn,borderColor:nr,borderLeft:er,borderLeftColor:yr,borderLeftStyle:ur,borderLeftWidth:sr,borderRadius:gr,borderRight:Zt,borderRightColor:pr,borderRightStyle:lr,borderRightWidth:ir,borderSpacing:gn,borderStyle:rr,borderTop:Qt,borderTopColor:mr,borderTopLeftRadius:hr,borderTopRightRadius:br,borderTopStyle:cr,borderTopWidth:or,borderWidth:tr,bottom:wt,boxShadow:Ir,boxSizing:bt,breakAfter:On,breakBefore:Mn,breakInside:$n,captionSide:hn,center:Tt,clip:En,clipPath:An,color:ke,columnCount:Gn,columnFill:Vn,columnGap:Hn,columnRule:qn,columnRuleColor:Un,columnRuleStyle:Jn,columnRuleWidth:Xn,columnSpan:Yn,columnWidth:Qn,columns:Zn,contain:In,content:Pn,counterIncrement:Cn,counterReset:xn,createBreakpoints:ro,createCSSClass:he,createStyleQueries:to,cursor:Kn,display:xe,emptyCells:bn,filter:rn,flex:Ce,flexBasis:Nt,flexDirection:Rt,flexGrow:At,flexShrink:Lt,flexWrap:Et,fontFamily:Ae,fontSize:Be,fontStretch:Me,fontStyle:je,fontVariant:De,fontWeight:Ee,gap:Bt,grid:Re,gridArea:qt,gridAutoColumns:Ut,gridAutoFlow:Xt,gridAutoRows:Jt,gridColumn:$t,gridColumnEnd:Gt,gridColumnStart:_t,gridRow:zt,gridRowEnd:Ht,gridRowStart:Vt,gridTemplateAreas:Ot,gridTemplateColumns:Dt,gridTemplateRows:Mt,height:pt,isolation:Ln,justifyContent:kt,justifyItems:jt,justifySelf:Ft,left:xt,letterSpacing:Ne,lineHeight:Le,listStyle:un,listStyleImage:fn,listStylePosition:pn,listStyleType:mn,margin:st,marginBottom:dt,marginLeft:ut,marginRight:lt,marginTop:ct,maxHeight:ht,maxWidth:yt,minHeight:gt,minWidth:ft,mixBlendMode:Nn,objectFit:ln,objectPosition:dn,opacity:Fr,orphans:zn,outline:wr,outlineColor:Rr,outlineOffset:vr,outlineStyle:Cr,outlineWidth:xr,overflow:on,overflowWrap:qe,overflowX:an,overflowY:sn,padding:rt,paddingBottom:it,paddingLeft:at,paddingRight:ot,paddingTop:nt,pageBreakAfter:jn,pageBreakBefore:Fn,pageBreakInside:Dn,perspective:Vr,perspectiveOrigin:Hr,pointerEvents:kn,position:tt,quotes:wn,resize:Tn,right:Pt,scrollBehavior:Bn,tableLayout:Sn,textAlign:We,textAlignLast:Ue,textDecoration:Ie,textDecorationColor:Ye,textDecorationLine:Xe,textDecorationStyle:Qe,textDecorationThickness:Ze,textIndent:$e,textJustify:Je,textOverflow:ze,textShadow:_e,textTransform:Oe,textUnderlineOffset:Ke,top:St,transform:zr,transformOrigin:_r,transformStyle:Gr,transition:jr,transitionDelay:$r,transitionDuration:Mr,transitionProperty:Dr,transitionTimingFunction:Or,userSelect:vn,verticalAlign:et,visibility:cn,whiteSpace:Ge,widows:_n,width:mt,willChange:Wn,wordSpacing:Ve,wordWrap:He,zIndex:Ct});function oo(){if(q(),"undefined"!=typeof globalThis){const e=globalThis;e.list=Q,e.update=ce,e.when=ie,e.on=le,e.render=de;for(const[t,r]of Object.entries(no))try{e[t]=r}catch(e){}}}"undefined"!=typeof globalThis&&oo(),e.HTML_TAGS=V,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=H,e.StyleBuilder=Se,e.accentColor=Te,e.alignContent=It,e.alignItems=vt,e.alignSelf=Wt,e.animation=Ur,e.animationDelay=Qr,e.animationDirection=Kr,e.animationDuration=Xr,e.animationFillMode=en,e.animationIterationCount=Zr,e.animationName=Jr,e.animationPlayState=tn,e.animationTimingFunction=Yr,e.appearance=Rn,e.appendChildren=function(e,...t){return e?(t.forEach(t=>{if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!l)return null;try{return document.createTextNode(String(e))}catch(e){return s("Failed to create text node",e),null}}(t);if(!e)return;r=e}else r=t;!function(e,t){if(!e||!t)return!1;try{return e.appendChild(t),!0}catch(e){return s("Failed to append child node",e),!1}}(e,r)}}),e):e},e.applyAttributes=E,e.applyNodeModifier=W,e.backdropFilter=nn,e.backfaceVisibility=qr,e.backgroundAttachment=Lr,e.backgroundClip=Nr,e.backgroundColor=kr,e.backgroundImage=Tr,e.backgroundOrigin=Wr,e.backgroundPosition=Er,e.backgroundRepeat=Br,e.backgroundSize=Ar,e.bg=ve,e.bold=Fe,e.border=Yt,e.borderBottom=Kt,e.borderBottomColor=fr,e.borderBottomLeftRadius=Sr,e.borderBottomRightRadius=Pr,e.borderBottomStyle=dr,e.borderBottomWidth=ar,e.borderCollapse=yn,e.borderColor=nr,e.borderLeft=er,e.borderLeftColor=yr,e.borderLeftStyle=ur,e.borderLeftWidth=sr,e.borderRadius=gr,e.borderRight=Zt,e.borderRightColor=pr,e.borderRightStyle=lr,e.borderRightWidth=ir,e.borderSpacing=gn,e.borderStyle=rr,e.borderTop=Qt,e.borderTopColor=mr,e.borderTopLeftRadius=hr,e.borderTopRightRadius=br,e.borderTopStyle=cr,e.borderTopWidth=or,e.borderWidth=tr,e.bottom=wt,e.boxShadow=Ir,e.boxSizing=bt,e.breakAfter=On,e.breakBefore=Mn,e.breakInside=$n,e.captionSide=hn,e.center=Tt,e.clip=En,e.clipPath=An,e.color=ke,e.columnCount=Gn,e.columnFill=Vn,e.columnGap=Hn,e.columnRule=qn,e.columnRuleColor=Un,e.columnRuleStyle=Jn,e.columnRuleWidth=Xn,e.columnSpan=Yn,e.columnWidth=Qn,e.columns=Zn,e.contain=In,e.content=Pn,e.counterIncrement=Cn,e.counterReset=xn,e.createBreakpoints=ro,e.createCSSClass=he,e.createComment=m,e.createConditionalComment=p,e.createElementFactory=_,e.createElementWithModifiers=O,e.createStyleQueries=to,e.createTagBuilder=G,e.cursor=Kn,e.display=xe,e.emptyCells=bn,e.filter=rn,e.flex=Ce,e.flexBasis=Nt,e.flexDirection=Rt,e.flexGrow=At,e.flexShrink=Lt,e.flexWrap=Et,e.fontFamily=Ae,e.fontSize=Be,e.fontStretch=Me,e.fontStyle=je,e.fontVariant=De,e.fontWeight=Ee,e.gap=Bt,e.grid=Re,e.gridArea=qt,e.gridAutoColumns=Ut,e.gridAutoFlow=Xt,e.gridAutoRows=Jt,e.gridColumn=$t,e.gridColumnEnd=Gt,e.gridColumnStart=_t,e.gridRow=zt,e.gridRowEnd=Ht,e.gridRowStart=Vt,e.gridTemplateAreas=Ot,e.gridTemplateColumns=Dt,e.gridTemplateRows=Mt,e.height=pt,e.initializeRuntime=oo,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=l,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=a,e.isolation=Ln,e.justifyContent=kt,e.justifyItems=jt,e.justifySelf=Ft,e.left=xt,e.letterSpacing=Ne,e.lineHeight=Le,e.list=Q,e.listStyle=un,e.listStyleImage=fn,e.listStylePosition=pn,e.listStyleType=mn,e.margin=st,e.marginBottom=dt,e.marginLeft=ut,e.marginRight=lt,e.marginTop=ct,e.maxHeight=ht,e.maxWidth=yt,e.minHeight=gt,e.minWidth=ft,e.mixBlendMode=Nn,e.objectFit=ln,e.objectPosition=dn,e.on=le,e.opacity=Fr,e.orphans=zn,e.outline=wr,e.outlineColor=Rr,e.outlineOffset=vr,e.outlineStyle=Cr,e.outlineWidth=xr,e.overflow=on,e.overflowWrap=qe,e.overflowX=an,e.overflowY=sn,e.padding=rt,e.paddingBottom=it,e.paddingLeft=at,e.paddingRight=ot,e.paddingTop=nt,e.pageBreakAfter=jn,e.pageBreakBefore=Fn,e.pageBreakInside=Dn,e.perspective=Vr,e.perspectiveOrigin=Hr,e.pointerEvents=kn,e.position=tt,e.quotes=wn,e.registerGlobalTagBuilders=q,e.render=de,e.replaceNodeSafely=b,e.resize=Tn,e.right=Pt,e.scrollBehavior=Bn,e.tableLayout=Sn,e.textAlign=We,e.textAlignLast=Ue,e.textDecoration=Ie,e.textDecorationColor=Ye,e.textDecorationLine=Xe,e.textDecorationStyle=Qe,e.textDecorationThickness=Ze,e.textIndent=$e,e.textJustify=Je,e.textOverflow=ze,e.textShadow=_e,e.textTransform=Oe,e.textUnderlineOffset=Ke,e.top=St,e.transform=zr,e.transformOrigin=_r,e.transformStyle=Gr,e.transition=jr,e.transitionDelay=$r,e.transitionDuration=Mr,e.transitionProperty=Dr,e.transitionTimingFunction=Or,e.update=ce,e.userSelect=vn,e.verticalAlign=et,e.visibility=cn,e.when=ie,e.whiteSpace=Ge,e.widows=_n,e.width=mt,e.willChange=Wn,e.wordSpacing=Ve,e.wordWrap=He,e.zIndex=Ct});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function s(e){return i(e)&&0===e.length}function a(e,t){}function c(e,t){try{return e()}catch(e){return t}}const l="undefined"!=typeof window&&"undefined"!=typeof document;function d(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return!1}}function m(e){if(!l)return null;try{return document.createComment(e)}catch(e){return null}}function p(e){return m(e)}function u(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return null}}function f(e){if(!l)throw Error("Cannot create comment in non-browser environment");const t=m(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error("Failed to create comment");return t}function y(e){const t=m(e+"-end");if(!t)throw Error("Failed to create end comment");return{start:f(e+"-start"),end:t}}function g(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!l||"undefined"==typeof document)&&document.contains(e))}function b(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return!1}}const h=new Map,P=new Map;function S(e,t){t.attributeResolvers.forEach(({resolver:e,applyValue:t},r)=>{try{t(c(e))}catch(e){}})}function k(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return;const o=function(e){let t=P.get(e);return t||(t={attributeResolvers:new Map},P.set(e,t)),t}(e);o.attributeResolvers.set(t,{resolver:r,applyValue:n});try{n(c(r))}catch(e){}if(!o.updateListener){const t=()=>S(0,o);e.addEventListener("update",t),o.updateListener=t}}function w(e,t,r){try{return null==r||""===r?(e.style[t]="",!0):(e.style[t]=r+"",!0)}catch{return!1}}function x(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t))w(e,r,n)||a()}const C="__nuclo_reactive_className__",R="__nuclo_static_className__";function v(e,t,r,n=!1){if(null==r)return;if("style"===t)return s=r,void((o=e)&&(i(s)?k(o,"style",()=>{try{return s()}catch(e){return null}},e=>{x(o,e)}):x(o,s)));var o,s;const a=(r,n=!1)=>{if(null!=r)if("className"===t&&e instanceof HTMLElement&&n)!function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const n=new Set(r.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else e.className=t}(e,r+"");else if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(t+"",r+"");else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(t+"",r+"")}else e instanceof Element&&e.setAttribute(t+"",r+"")};if(i(r)&&0===r.length){const n=r;"className"===t&&e instanceof HTMLElement?(function(e){e[R]||(e[R]=new Set(e.className.split(" ").filter(e=>e))),e[C]=!0}(e),k(e,t+"",n,t=>{!function(e,t){const r=function(e){return e[R]}(e);if(r&&r.size>0&&t){const n=new Set(r);t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else e.className=t||(r&&r.size>0?Array.from(r).join(" "):"")}(e,(t||"")+"")})):k(e,t+"",n,e=>{a(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[C]}(e)){const t=(r||"")+"";if(t){!function(e,t){t&&(e[R]||(e[R]=new Set),t.split(" ").filter(e=>e).forEach(t=>{e[R].add(t)}))}(e,t);const r=new Set(e.className.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>r.add(e)),e.className=Array.from(r).join(" ")}return}a(r,n)}}function B(e,t,r=!0){if(t)for(const n of Object.keys(t))v(e,n,t[n],r&&"className"===n)}const T=new WeakMap;function I(e,t,o){if(!i(e)||0!==e.length)return!1;if(!function(e){const{value:t,error:r}=function(e){const t=T.get(e);if(t)return t;try{const t={value:e(),error:!1};return T.set(e,t),t}catch{const t={value:void 0,error:!0};return T.set(e,t),t}}(e);return!r&&"boolean"==typeof t}(e))return!1;const s=t.filter((e,t)=>t!==o);return 0!==s.length&&s.some(e=>!!(n(e)||r(e)||i(e)&&e.length>0))}function E(e,o,a){if(null==o)return null;if(i(o)){if(s(o))try{let i=T.get(o);if(i||(i={value:o(),error:!1},T.set(o,i)),i.error)return A(a,()=>"");const s=i.value;if(n(s)&&!r(s)&&"className"in s&&"string"==typeof s.className&&1===Object.keys(s).length){const t=o;return B(e,{className:()=>t().className}),null}return t(s)&&null!=s?A(a,o,s):null}catch(e){return T.set(o,{value:void 0,error:!0}),A(a,()=>"")}const i=o(e,a);return null==i?null:t(i)?W(a,i):r(i)?i:(n(i)&&B(e,i),null)}const c=o;return null==c?null:t(c)?W(a,c):r(c)?c:(n(c)&&B(e,c),null)}function A(e,t,r){const n=document.createDocumentFragment(),o=p(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e)return document.createTextNode("");const r=arguments.length>1?t:c(e,""),n=void 0===r?"":r+"",o=document.createTextNode(n);return h.set(o,{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function W(e,t){const r=document.createDocumentFragment(),n=p(` text-${e} `);n&&r.appendChild(n);const o=document.createTextNode(t+"");return r.appendChild(o),r}const L=new Set;function N(e,t){e._conditionalInfo=t,L.add(e)}function M(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let n=r,o=0;const i=e;for(let r=0;t.length>r;r+=1){const s=t[r];if(null==s)continue;const a=E(e,s,n);a&&(a.parentNode!==i&&i.appendChild(a),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function j(e,t){const r=document.createElement(e);return M(r,t,0),r}const D=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],O=["a","animate","animateMotion","animateTransform","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tspan","use","view"],z=new Set(O);function F(e,...t){return(r,n)=>{const{condition:o,otherModifiers:i}=function(e){const t=function(e){for(let t=0;e.length>t;t+=1)if(I(e[t],e,t))return t;return-1}(e);return-1===t?{condition:null,otherModifiers:e}:{condition:e[t],otherModifiers:e.filter((e,r)=>r!==t)}}(t);if(o)return function(e,t,r){const n=t();if(!l)return n?j(e,r):u(e,"ssr");const o={condition:t,tagName:e,modifiers:r};if(n){const t=j(e,r);return N(t,o),t}const i=u(e);if(!i)throw Error("Failed to create conditional comment for "+e);return N(i,o),i}(e,o,i);const s=function(e){return function(e){return z.has(e)}(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e);return M(s,i,n),s}}function _(e){return(...t)=>F(e,...t)}function V(e=globalThis){const t="__nuclo_tags_registered";e[t]||(O.forEach(t=>function(e,t){let r=t;["a","script","style","title","text"].includes(t)?r=t+"_svg":["stop"].includes(t)&&(r=t+"_"),r in e||(e[r]=_(t))}(e,t)),D.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=_(t))}(e,t)),e[t]=!0)}const $=new Set;function G(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function H(e){d(e.element)}function q(e){const{host:t,startMarker:r,endMarker:n}=e,o=r.parentNode??t,i=e.itemsProvider();if(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;e.length>r;r++)if((r in e?e[r]:void 0)!==(r in t?t[r]:void 0))return!1;return!0}(e.lastSyncedItems,i))return;const s=new Map,a=new Map;e.records.forEach(e=>{const t=a.get(e.item);t?t.push(e):a.set(e.item,[e])}),i.forEach((t,r)=>{if(e.lastSyncedItems.length>r&&e.lastSyncedItems[r]===t){const n=e.records[r];if(n&&n.item===t){s.set(r,n);const e=a.get(t);if(e){const r=e.indexOf(n);0>r||(e.splice(r,1),0===e.length&&a.delete(t))}}}});const c=[],l=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=s.get(t);if(!n){const e=a.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&a.delete(r))}if(n)l.delete(n);else{const o=G(e,r,t);if(!o)continue;n={item:r,element:o}}c.unshift(n);const m=n.element;m.nextSibling!==d&&o.insertBefore(m,d),d=m}l.forEach(H),e.records=c,e.lastSyncedItems=[...i]}function U(e,t){return(r,n)=>{const o=function(e,t,r){const{start:n,end:o}=y("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},s=r;return s.appendChild(n),s.appendChild(o),$.add(i),q(i),i}(e,t,r);return o.startMarker}}function X(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function Y(e,t){return"function"==typeof e?X(e,t):!!e}function J(e,t,r,n){return i(e)?s(e)?(T.delete(e),E(t,e,r)):function(e,t,r){const n=e,o=n.appendChild.bind(n),i=n.insertBefore.bind(n);n.appendChild=function(e){return i(e,t)};try{return r()}finally{n.appendChild=o}}(t,n,()=>{const n=E(t,e,r);return n&&!n.parentNode?n:null}):E(t,e,r)}const Q=new Set;function K(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,s=function(e,t){for(let t=0;e.length>t;t++)if(Y(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(s===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;d(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=s,null===s)return;const a=function(e,t,r,n){const o=[];for(const i of e){const e=J(i,t,r,n);e&&o.push(e)}return o}(0>s?r:t[s].content,n,o,i);!function(e,t){const r=t.parentNode;r&&e.forEach(e=>function(e,t,r){if(!e||!t)return!1;try{return e.insertBefore(t,r),!0}catch(e){return!1}}(r,e,t))}(a,i)}class Z{groups=[];elseContent=[];constructor(e,...t){this.groups.push({condition:e,content:t})}when(e,...t){return this.groups.push({condition:e,content:t}),this}else(...e){return this.elseContent=e,this}render(e,t){if(!l)return p("when-ssr")||null;const{start:r,end:n}=y("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:()=>K(o)};!function(e){Q.add(e)}(o);const i=e;return i.appendChild(r),i.appendChild(n),K(o),r}}function ee(e){return Object.assign((t,r)=>e.render(t,r),{when:(t,...r)=>(e.when(t,...r),ee(e)),else:(...t)=>(e.else(...t),ee(e))})}function te(e,...t){return ee(new Z(e,...t))}const re=[function(){$.forEach(e=>{e.startMarker.isConnected&&e.endMarker.isConnected?q(e):$.delete(e)})},function(){Q.forEach(e=>{try{e.update()}catch(t){Q.delete(e)}})},function(){if(l)try{L.forEach(e=>{e.isConnected?function(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=X(t.condition,e=>{}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return j(e.tagName,e.modifiers)}catch(t){return document.createElement(e.tagName)}}(t);N(r,t),b(e,r)}else if(!r&&n){const r=u(t.tagName);r&&(N(r,t),b(e,r))}}(e):function(e){L.delete(e)}(e)})}catch(e){}},function(){P.forEach((e,t)=>{if(!g(t))return e.updateListener&&t.removeEventListener("update",e.updateListener),void P.delete(t);S(0,e)})},function(){h.forEach((e,t)=>{if(g(t))try{const r=c(e.resolver),n=void 0===r?"":r+"";n!==e.lastValue&&(t.textContent=n,e.lastValue=n)}catch(e){}else h.delete(t)})},function(){if("undefined"==typeof document)return;const e=document.body?[document.body,document]:[document];for(const t of e)try{t.dispatchEvent(new Event("update",{bubbles:!0}))}catch(e){a()}}];function ne(){for(const e of re)e()}function oe(e,t,r){return n=>{if(!n||"function"!=typeof n.addEventListener)return;const o=n;o.addEventListener(e,e=>{try{t.call(o,e)}catch(e){}},r)}}function ie(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const se=[{name:"display",cssProperty:"display"},{name:"grid",cssProperty:"display",defaultValue:"grid",isShorthand:!0},{name:"bg",cssProperty:"background-color"},{name:"color",cssProperty:"color"},{name:"accentColor",cssProperty:"accent-color"},{name:"fontSize",cssProperty:"font-size"},{name:"fontWeight",cssProperty:"font-weight"},{name:"fontFamily",cssProperty:"font-family"},{name:"lineHeight",cssProperty:"line-height"},{name:"letterSpacing",cssProperty:"letter-spacing"},{name:"textAlign",cssProperty:"text-align"},{name:"textDecoration",cssProperty:"text-decoration"},{name:"fontStyle",cssProperty:"font-style"},{name:"fontVariant",cssProperty:"font-variant"},{name:"fontStretch",cssProperty:"font-stretch"},{name:"textTransform",cssProperty:"text-transform"},{name:"textIndent",cssProperty:"text-indent"},{name:"textOverflow",cssProperty:"text-overflow"},{name:"textShadow",cssProperty:"text-shadow"},{name:"whiteSpace",cssProperty:"white-space"},{name:"wordSpacing",cssProperty:"word-spacing"},{name:"wordWrap",cssProperty:"word-wrap"},{name:"overflowWrap",cssProperty:"overflow-wrap"},{name:"textAlignLast",cssProperty:"text-align-last"},{name:"textJustify",cssProperty:"text-justify"},{name:"textDecorationLine",cssProperty:"text-decoration-line"},{name:"textDecorationColor",cssProperty:"text-decoration-color"},{name:"textDecorationStyle",cssProperty:"text-decoration-style"},{name:"textDecorationThickness",cssProperty:"text-decoration-thickness"},{name:"textUnderlineOffset",cssProperty:"text-underline-offset"},{name:"verticalAlign",cssProperty:"vertical-align"},{name:"position",cssProperty:"position"},{name:"padding",cssProperty:"padding"},{name:"paddingTop",cssProperty:"padding-top"},{name:"paddingRight",cssProperty:"padding-right"},{name:"paddingBottom",cssProperty:"padding-bottom"},{name:"paddingLeft",cssProperty:"padding-left"},{name:"margin",cssProperty:"margin"},{name:"marginTop",cssProperty:"margin-top"},{name:"marginRight",cssProperty:"margin-right"},{name:"marginBottom",cssProperty:"margin-bottom"},{name:"marginLeft",cssProperty:"margin-left"},{name:"width",cssProperty:"width"},{name:"height",cssProperty:"height"},{name:"minWidth",cssProperty:"min-width"},{name:"maxWidth",cssProperty:"max-width"},{name:"minHeight",cssProperty:"min-height"},{name:"maxHeight",cssProperty:"max-height"},{name:"boxSizing",cssProperty:"box-sizing"},{name:"top",cssProperty:"top"},{name:"right",cssProperty:"right"},{name:"bottom",cssProperty:"bottom"},{name:"left",cssProperty:"left"},{name:"zIndex",cssProperty:"z-index"},{name:"flexDirection",cssProperty:"flex-direction"},{name:"alignItems",cssProperty:"align-items"},{name:"justifyContent",cssProperty:"justify-content"},{name:"gap",cssProperty:"gap"},{name:"flexWrap",cssProperty:"flex-wrap"},{name:"flexGrow",cssProperty:"flex-grow"},{name:"flexShrink",cssProperty:"flex-shrink"},{name:"flexBasis",cssProperty:"flex-basis"},{name:"alignSelf",cssProperty:"align-self"},{name:"alignContent",cssProperty:"align-content"},{name:"justifySelf",cssProperty:"justify-self"},{name:"justifyItems",cssProperty:"justify-items"},{name:"gridTemplateColumns",cssProperty:"grid-template-columns"},{name:"gridTemplateRows",cssProperty:"grid-template-rows"},{name:"gridTemplateAreas",cssProperty:"grid-template-areas"},{name:"gridColumn",cssProperty:"grid-column"},{name:"gridRow",cssProperty:"grid-row"},{name:"gridColumnStart",cssProperty:"grid-column-start"},{name:"gridColumnEnd",cssProperty:"grid-column-end"},{name:"gridRowStart",cssProperty:"grid-row-start"},{name:"gridRowEnd",cssProperty:"grid-row-end"},{name:"gridArea",cssProperty:"grid-area"},{name:"gridAutoColumns",cssProperty:"grid-auto-columns"},{name:"gridAutoRows",cssProperty:"grid-auto-rows"},{name:"gridAutoFlow",cssProperty:"grid-auto-flow"},{name:"border",cssProperty:"border"},{name:"borderTop",cssProperty:"border-top"},{name:"borderRight",cssProperty:"border-right"},{name:"borderBottom",cssProperty:"border-bottom"},{name:"borderLeft",cssProperty:"border-left"},{name:"borderWidth",cssProperty:"border-width"},{name:"borderStyle",cssProperty:"border-style"},{name:"borderColor",cssProperty:"border-color"},{name:"borderTopWidth",cssProperty:"border-top-width"},{name:"borderRightWidth",cssProperty:"border-right-width"},{name:"borderBottomWidth",cssProperty:"border-bottom-width"},{name:"borderLeftWidth",cssProperty:"border-left-width"},{name:"borderTopStyle",cssProperty:"border-top-style"},{name:"borderRightStyle",cssProperty:"border-right-style"},{name:"borderBottomStyle",cssProperty:"border-bottom-style"},{name:"borderLeftStyle",cssProperty:"border-left-style"},{name:"borderTopColor",cssProperty:"border-top-color"},{name:"borderRightColor",cssProperty:"border-right-color"},{name:"borderBottomColor",cssProperty:"border-bottom-color"},{name:"borderLeftColor",cssProperty:"border-left-color"},{name:"borderRadius",cssProperty:"border-radius"},{name:"borderTopLeftRadius",cssProperty:"border-top-left-radius"},{name:"borderTopRightRadius",cssProperty:"border-top-right-radius"},{name:"borderBottomLeftRadius",cssProperty:"border-bottom-left-radius"},{name:"borderBottomRightRadius",cssProperty:"border-bottom-right-radius"},{name:"outline",cssProperty:"outline"},{name:"outlineWidth",cssProperty:"outline-width"},{name:"outlineStyle",cssProperty:"outline-style"},{name:"outlineColor",cssProperty:"outline-color"},{name:"outlineOffset",cssProperty:"outline-offset"},{name:"backgroundColor",cssProperty:"background-color"},{name:"backgroundImage",cssProperty:"background-image"},{name:"backgroundRepeat",cssProperty:"background-repeat"},{name:"backgroundPosition",cssProperty:"background-position"},{name:"backgroundSize",cssProperty:"background-size"},{name:"backgroundAttachment",cssProperty:"background-attachment"},{name:"backgroundClip",cssProperty:"background-clip"},{name:"backgroundOrigin",cssProperty:"background-origin"},{name:"boxShadow",cssProperty:"box-shadow"},{name:"opacity",cssProperty:"opacity"},{name:"transition",cssProperty:"transition"},{name:"transitionProperty",cssProperty:"transition-property"},{name:"transitionDuration",cssProperty:"transition-duration"},{name:"transitionTimingFunction",cssProperty:"transition-timing-function"},{name:"transitionDelay",cssProperty:"transition-delay"},{name:"transform",cssProperty:"transform"},{name:"transformOrigin",cssProperty:"transform-origin"},{name:"transformStyle",cssProperty:"transform-style"},{name:"perspective",cssProperty:"perspective"},{name:"perspectiveOrigin",cssProperty:"perspective-origin"},{name:"backfaceVisibility",cssProperty:"backface-visibility"},{name:"animation",cssProperty:"animation"},{name:"animationName",cssProperty:"animation-name"},{name:"animationDuration",cssProperty:"animation-duration"},{name:"animationTimingFunction",cssProperty:"animation-timing-function"},{name:"animationDelay",cssProperty:"animation-delay"},{name:"animationIterationCount",cssProperty:"animation-iteration-count"},{name:"animationDirection",cssProperty:"animation-direction"},{name:"animationFillMode",cssProperty:"animation-fill-mode"},{name:"animationPlayState",cssProperty:"animation-play-state"},{name:"filter",cssProperty:"filter"},{name:"backdropFilter",cssProperty:"backdrop-filter"},{name:"overflow",cssProperty:"overflow"},{name:"overflowX",cssProperty:"overflow-x"},{name:"overflowY",cssProperty:"overflow-y"},{name:"visibility",cssProperty:"visibility"},{name:"objectFit",cssProperty:"object-fit"},{name:"objectPosition",cssProperty:"object-position"},{name:"listStyle",cssProperty:"list-style"},{name:"listStyleType",cssProperty:"list-style-type"},{name:"listStylePosition",cssProperty:"list-style-position"},{name:"listStyleImage",cssProperty:"list-style-image"},{name:"borderCollapse",cssProperty:"border-collapse"},{name:"borderSpacing",cssProperty:"border-spacing"},{name:"captionSide",cssProperty:"caption-side"},{name:"emptyCells",cssProperty:"empty-cells"},{name:"tableLayout",cssProperty:"table-layout"},{name:"content",cssProperty:"content"},{name:"quotes",cssProperty:"quotes"},{name:"counterReset",cssProperty:"counter-reset"},{name:"counterIncrement",cssProperty:"counter-increment"},{name:"appearance",cssProperty:"appearance"},{name:"userSelect",cssProperty:"user-select"},{name:"pointerEvents",cssProperty:"pointer-events"},{name:"resize",cssProperty:"resize"},{name:"scrollBehavior",cssProperty:"scroll-behavior"},{name:"clip",cssProperty:"clip"},{name:"clipPath",cssProperty:"clip-path"},{name:"isolation",cssProperty:"isolation"},{name:"mixBlendMode",cssProperty:"mix-blend-mode"},{name:"willChange",cssProperty:"will-change"},{name:"contain",cssProperty:"contain"},{name:"pageBreakBefore",cssProperty:"page-break-before"},{name:"pageBreakAfter",cssProperty:"page-break-after"},{name:"pageBreakInside",cssProperty:"page-break-inside"},{name:"breakBefore",cssProperty:"break-before"},{name:"breakAfter",cssProperty:"break-after"},{name:"breakInside",cssProperty:"break-inside"},{name:"orphans",cssProperty:"orphans"},{name:"widows",cssProperty:"widows"},{name:"columnCount",cssProperty:"column-count"},{name:"columnFill",cssProperty:"column-fill"},{name:"columnGap",cssProperty:"column-gap"},{name:"columnRule",cssProperty:"column-rule"},{name:"columnRuleColor",cssProperty:"column-rule-color"},{name:"columnRuleStyle",cssProperty:"column-rule-style"},{name:"columnRuleWidth",cssProperty:"column-rule-width"},{name:"columnSpan",cssProperty:"column-span"},{name:"columnWidth",cssProperty:"column-width"},{name:"columns",cssProperty:"columns"},{name:"cursor",cssProperty:"cursor"},{name:"aspectRatio",cssProperty:"aspect-ratio"},{name:"clear",cssProperty:"clear"},{name:"float",cssProperty:"float"},{name:"order",cssProperty:"order"},{name:"placeContent",cssProperty:"place-content"},{name:"placeItems",cssProperty:"place-items"},{name:"placeSelf",cssProperty:"place-self"},{name:"hyphens",cssProperty:"hyphens"},{name:"lineBreak",cssProperty:"line-break"},{name:"wordBreak",cssProperty:"word-break"},{name:"textOrientation",cssProperty:"text-orientation"},{name:"writingMode",cssProperty:"writing-mode"},{name:"direction",cssProperty:"direction"},{name:"unicodeBidi",cssProperty:"unicode-bidi"},{name:"backgroundBlendMode",cssProperty:"background-blend-mode"},{name:"backgroundPositionX",cssProperty:"background-position-x"},{name:"backgroundPositionY",cssProperty:"background-position-y"},{name:"borderImage",cssProperty:"border-image"},{name:"borderImageSource",cssProperty:"border-image-source"},{name:"borderImageSlice",cssProperty:"border-image-slice"},{name:"borderImageWidth",cssProperty:"border-image-width"},{name:"borderImageOutset",cssProperty:"border-image-outset"},{name:"borderImageRepeat",cssProperty:"border-image-repeat"},{name:"inset",cssProperty:"inset"},{name:"insetBlock",cssProperty:"inset-block"},{name:"insetBlockStart",cssProperty:"inset-block-start"},{name:"insetBlockEnd",cssProperty:"inset-block-end"},{name:"insetInline",cssProperty:"inset-inline"},{name:"insetInlineStart",cssProperty:"inset-inline-start"},{name:"insetInlineEnd",cssProperty:"inset-inline-end"},{name:"marginBlock",cssProperty:"margin-block"},{name:"marginBlockStart",cssProperty:"margin-block-start"},{name:"marginBlockEnd",cssProperty:"margin-block-end"},{name:"marginInline",cssProperty:"margin-inline"},{name:"marginInlineStart",cssProperty:"margin-inline-start"},{name:"marginInlineEnd",cssProperty:"margin-inline-end"},{name:"paddingBlock",cssProperty:"padding-block"},{name:"paddingBlockStart",cssProperty:"padding-block-start"},{name:"paddingBlockEnd",cssProperty:"padding-block-end"},{name:"paddingInline",cssProperty:"padding-inline"},{name:"paddingInlineStart",cssProperty:"padding-inline-start"},{name:"paddingInlineEnd",cssProperty:"padding-inline-end"},{name:"inlineSize",cssProperty:"inline-size"},{name:"blockSize",cssProperty:"block-size"},{name:"minInlineSize",cssProperty:"min-inline-size"},{name:"minBlockSize",cssProperty:"min-block-size"},{name:"maxInlineSize",cssProperty:"max-inline-size"},{name:"maxBlockSize",cssProperty:"max-block-size"},{name:"borderBlock",cssProperty:"border-block"},{name:"borderBlockStart",cssProperty:"border-block-start"},{name:"borderBlockEnd",cssProperty:"border-block-end"},{name:"borderInline",cssProperty:"border-inline"},{name:"borderInlineStart",cssProperty:"border-inline-start"},{name:"borderInlineEnd",cssProperty:"border-inline-end"},{name:"borderBlockWidth",cssProperty:"border-block-width"},{name:"borderBlockStartWidth",cssProperty:"border-block-start-width"},{name:"borderBlockEndWidth",cssProperty:"border-block-end-width"},{name:"borderInlineWidth",cssProperty:"border-inline-width"},{name:"borderInlineStartWidth",cssProperty:"border-inline-start-width"},{name:"borderInlineEndWidth",cssProperty:"border-inline-end-width"},{name:"borderBlockStyle",cssProperty:"border-block-style"},{name:"borderBlockStartStyle",cssProperty:"border-block-start-style"},{name:"borderBlockEndStyle",cssProperty:"border-block-end-style"},{name:"borderInlineStyle",cssProperty:"border-inline-style"},{name:"borderInlineStartStyle",cssProperty:"border-inline-start-style"},{name:"borderInlineEndStyle",cssProperty:"border-inline-end-style"},{name:"borderBlockColor",cssProperty:"border-block-color"},{name:"borderBlockStartColor",cssProperty:"border-block-start-color"},{name:"borderBlockEndColor",cssProperty:"border-block-end-color"},{name:"borderInlineColor",cssProperty:"border-inline-color"},{name:"borderInlineStartColor",cssProperty:"border-inline-start-color"},{name:"borderInlineEndColor",cssProperty:"border-inline-end-color"},{name:"borderStartStartRadius",cssProperty:"border-start-start-radius"},{name:"borderStartEndRadius",cssProperty:"border-start-end-radius"},{name:"borderEndStartRadius",cssProperty:"border-end-start-radius"},{name:"borderEndEndRadius",cssProperty:"border-end-end-radius"},{name:"scrollMargin",cssProperty:"scroll-margin"},{name:"scrollMarginTop",cssProperty:"scroll-margin-top"},{name:"scrollMarginRight",cssProperty:"scroll-margin-right"},{name:"scrollMarginBottom",cssProperty:"scroll-margin-bottom"},{name:"scrollMarginLeft",cssProperty:"scroll-margin-left"},{name:"scrollPadding",cssProperty:"scroll-padding"},{name:"scrollPaddingTop",cssProperty:"scroll-padding-top"},{name:"scrollPaddingRight",cssProperty:"scroll-padding-right"},{name:"scrollPaddingBottom",cssProperty:"scroll-padding-bottom"},{name:"scrollPaddingLeft",cssProperty:"scroll-padding-left"},{name:"overscrollBehavior",cssProperty:"overscroll-behavior"},{name:"overscrollBehaviorX",cssProperty:"overscroll-behavior-x"},{name:"overscrollBehaviorY",cssProperty:"overscroll-behavior-y"},{name:"caretColor",cssProperty:"caret-color"},{name:"caretShape",cssProperty:"caret-shape"},{name:"caretAnimation",cssProperty:"caret-animation"},{name:"imageRendering",cssProperty:"image-rendering"},{name:"colorScheme",cssProperty:"color-scheme"},{name:"contentVisibility",cssProperty:"content-visibility"},{name:"touchAction",cssProperty:"touch-action"},{name:"containerType",cssProperty:"container-type"},{name:"containerName",cssProperty:"container-name"},{name:"container",cssProperty:"container"},{name:"fontFeatureSettings",cssProperty:"font-feature-settings"},{name:"fontKerning",cssProperty:"font-kerning"},{name:"fontSynthesis",cssProperty:"font-synthesis"},{name:"fontOpticalSizing",cssProperty:"font-optical-sizing"},{name:"fontDisplay",cssProperty:"font-display"},{name:"fontVariantCaps",cssProperty:"font-variant-caps"},{name:"fontVariantNumeric",cssProperty:"font-variant-numeric"},{name:"fontVariantLigatures",cssProperty:"font-variant-ligatures"},{name:"fontVariantEastAsian",cssProperty:"font-variant-east-asian"},{name:"fontVariantAlternates",cssProperty:"font-variant-alternates"},{name:"fontVariantPosition",cssProperty:"font-variant-position"},{name:"textRendering",cssProperty:"text-rendering"},{name:"textCombineUpright",cssProperty:"text-combine-upright"},{name:"textSizeAdjust",cssProperty:"text-size-adjust"},{name:"mask",cssProperty:"mask"},{name:"maskImage",cssProperty:"mask-image"},{name:"maskMode",cssProperty:"mask-mode"},{name:"maskRepeat",cssProperty:"mask-repeat"},{name:"maskPosition",cssProperty:"mask-position"},{name:"maskSize",cssProperty:"mask-size"},{name:"maskOrigin",cssProperty:"mask-origin"},{name:"maskClip",cssProperty:"mask-clip"},{name:"maskComposite",cssProperty:"mask-composite"},{name:"clipRule",cssProperty:"clip-rule"},{name:"gridColumnGap",cssProperty:"grid-column-gap"},{name:"gridRowGap",cssProperty:"grid-row-gap"},{name:"gridGap",cssProperty:"grid-gap"}],ae=["bold","center","flex"],ce=new Map;function le(e){let t=0;for(let r=0;e.length>r;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function de(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function me(e,t,r,n="media"){let o=document.querySelector("#nuclo-styles");o||(o=document.createElement("style"),o.id="nuclo-styles",document.head.appendChild(o));const i=Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ");if(r){const s=Array.from(o.sheet?.cssRules||[]);let a=null;const c=e=>"media"===n&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===n&&e instanceof CSSContainerRule||"supports"===n&&e instanceof CSSSupportsRule)&&e.conditionText===r,l=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(const e of s)if(c(e)){a=e;break}if(!a){let e=s.length;for(let t=s.length-1;t>=0;t--){if(l(s[t])){e=t+1;break}if(s[t]instanceof CSSStyleRule){e=t+1;break}}const t="media"===n?"@media":"container"===n?"@container":"supports"===n?"@supports":"@media";o.sheet?.insertRule(`${t} ${r} {}`,e),a=o.sheet?.cssRules[e]}let d=null;for(const t of Array.from(a.cssRules))if(t instanceof CSSStyleRule&&t.selectorText==="."+e){d=t;break}if(d){for(;d.style.length>0;)d.style.removeProperty(d.style[0]);Object.entries(t).forEach(([e,t])=>{d.style.setProperty(e,t)})}else a.insertRule(`.${e} { ${i} }`,a.cssRules.length)}else{let r=null,n=0;const s=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,a=Array.from(o.sheet?.cssRules||[]);for(let t=0;a.length>t;t++){const o=a[t];if(o instanceof CSSStyleRule&&o.selectorText==="."+e){r=o,n=t;break}s(o)||(n=t+1)}if(r){for(;r.style.length>0;)r.style.removeProperty(r.style[0]);Object.entries(t).forEach(([e,t])=>{r.style.setProperty(e,t)})}else o.sheet?.insertRule(`.${e} { ${i} }`,n)}}function pe(e,t){me(e,t)}class ue{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return function(e,t="",r){const n=de(e),o=t?`${t}:${n}`:n,i=function(e){return ce.get(e)}(o);if(i){const t=i;return function(e,t,r="media"){const n=document.querySelector("#nuclo-styles");if(!n||!n.sheet)return!1;if(t){const o=Array.from(n.sheet.cssRules||[]).find(e=>"media"===r&&e instanceof CSSMediaRule?e.media.mediaText===t:("container"===r&&e instanceof CSSContainerRule||"supports"===r&&e instanceof CSSSupportsRule)&&e.conditionText===t);return!!o&&Array.from(o.cssRules).some(t=>t instanceof CSSStyleRule&&t.selectorText==="."+e)}return Array.from(n.sheet.cssRules||[]).some(t=>t instanceof CSSStyleRule&&t.selectorText==="."+e)}(t,r)||me(t,e,r),t}const s=le(n),a=t?`n${t}-${s}`:"n"+s;return function(e,t){ce.set(e,t)}(o,a),me(a,e,r),a}(this.styles,e,t)}getClassNames(){return[this.getClassName()]}getClassDefinitions(){return Object.entries(this.styles).map(([e,t])=>({className:this.getClassName(),property:e,value:t}))}toString(){return this.getClassName()}add(e,t){return this.styles[e]=t,this}bold(){return this.styles["font-weight"]="bold",this}center(){return this.styles["justify-content"]="center",this.styles["align-items"]="center",this}flex(e){return void 0!==e?this.styles.flex=e:this.styles.display="flex",this}}function fe(e){return e.isShorthand?()=>(new ue).add(e.cssProperty,e.defaultValue||""):t=>(new ue).add(e.cssProperty,t||"")}!function(){const e=ue.prototype;for(const t of se)t.name in e||(e[t.name]=t.isShorthand?function(){return this.add(t.cssProperty,t.defaultValue||""),this}:function(e){return this.add(t.cssProperty,e),this})}();const ye={};for(const e of se)ye[e.name]=fe(e);for(const e of ae)"bold"===e||"center"===e?ye[e]=()=>(new ue)[e]():"flex"===e&&(ye[e]=e=>(new ue).flex(e));const{display:ge,flex:be,grid:he,bg:Pe,color:Se,accentColor:ke,fontSize:we,fontWeight:xe,fontFamily:Ce,lineHeight:Re,letterSpacing:ve,textAlign:Be,textDecoration:Te,bold:Ie,fontStyle:Ee,fontVariant:Ae,fontStretch:We,textTransform:Le,textIndent:Ne,textOverflow:Me,textShadow:je,whiteSpace:De,wordSpacing:Oe,wordWrap:ze,overflowWrap:Fe,textAlignLast:_e,textJustify:Ve,textDecorationLine:$e,textDecorationColor:Ge,textDecorationStyle:He,textDecorationThickness:qe,textUnderlineOffset:Ue,verticalAlign:Xe,position:Ye,padding:Je,paddingTop:Qe,paddingRight:Ke,paddingBottom:Ze,paddingLeft:et,margin:tt,marginTop:rt,marginRight:nt,marginBottom:ot,marginLeft:it,width:st,height:at,minWidth:ct,maxWidth:lt,minHeight:dt,maxHeight:mt,boxSizing:pt,top:ut,right:ft,bottom:yt,left:gt,zIndex:bt,flexDirection:ht,alignItems:Pt,justifyContent:St,center:kt,gap:wt,flexWrap:xt,flexGrow:Ct,flexShrink:Rt,flexBasis:vt,alignSelf:Bt,alignContent:Tt,justifySelf:It,justifyItems:Et,gridTemplateColumns:At,gridTemplateRows:Wt,gridTemplateAreas:Lt,gridColumn:Nt,gridRow:Mt,gridColumnStart:jt,gridColumnEnd:Dt,gridRowStart:Ot,gridRowEnd:zt,gridArea:Ft,gridAutoColumns:_t,gridAutoRows:Vt,gridAutoFlow:$t,border:Gt,borderTop:Ht,borderRight:qt,borderBottom:Ut,borderLeft:Xt,borderWidth:Yt,borderStyle:Jt,borderColor:Qt,borderTopWidth:Kt,borderRightWidth:Zt,borderBottomWidth:er,borderLeftWidth:tr,borderTopStyle:rr,borderRightStyle:nr,borderBottomStyle:or,borderLeftStyle:ir,borderTopColor:sr,borderRightColor:ar,borderBottomColor:cr,borderLeftColor:lr,borderRadius:dr,borderTopLeftRadius:mr,borderTopRightRadius:pr,borderBottomLeftRadius:ur,borderBottomRightRadius:fr,outline:yr,outlineWidth:gr,outlineStyle:br,outlineColor:hr,outlineOffset:Pr,backgroundColor:Sr,backgroundImage:kr,backgroundRepeat:wr,backgroundPosition:xr,backgroundSize:Cr,backgroundAttachment:Rr,backgroundClip:vr,backgroundOrigin:Br,boxShadow:Tr,opacity:Ir,transition:Er,transitionProperty:Ar,transitionDuration:Wr,transitionTimingFunction:Lr,transitionDelay:Nr,transform:Mr,transformOrigin:jr,transformStyle:Dr,perspective:Or,perspectiveOrigin:zr,backfaceVisibility:Fr,animation:_r,animationName:Vr,animationDuration:$r,animationTimingFunction:Gr,animationDelay:Hr,animationIterationCount:qr,animationDirection:Ur,animationFillMode:Xr,animationPlayState:Yr,filter:Jr,backdropFilter:Qr,overflow:Kr,overflowX:Zr,overflowY:en,visibility:tn,objectFit:rn,objectPosition:nn,listStyle:on,listStyleType:sn,listStylePosition:an,listStyleImage:cn,borderCollapse:ln,borderSpacing:dn,captionSide:mn,emptyCells:pn,tableLayout:un,content:fn,quotes:yn,counterReset:gn,counterIncrement:bn,appearance:hn,userSelect:Pn,pointerEvents:Sn,resize:kn,scrollBehavior:wn,clip:xn,clipPath:Cn,isolation:Rn,mixBlendMode:vn,willChange:Bn,contain:Tn,pageBreakBefore:In,pageBreakAfter:En,pageBreakInside:An,breakBefore:Wn,breakAfter:Ln,breakInside:Nn,orphans:Mn,widows:jn,columnCount:Dn,columnFill:On,columnGap:zn,columnRule:Fn,columnRuleColor:_n,columnRuleStyle:Vn,columnRuleWidth:$n,columnSpan:Gn,columnWidth:Hn,columns:qn,cursor:Un}=ye;function Xn(e){const t=e.trim();return t.startsWith("@media ")?{type:"media",condition:t.slice(7).trim()}:t.startsWith("@container ")?{type:"container",condition:t.slice(11).trim()}:t.startsWith("@supports ")?{type:"supports",condition:t.slice(10).trim()}:t.startsWith("@style ")?{type:"style",condition:t.slice(7).trim()}:{type:"media",condition:t}}function Yn(e){const t=Array.isArray(e)?e:Object.entries(e);return function(e,r){let n,o;if(void 0!==r?(n=e,o=r):e instanceof ue?(n=e,o=void 0):(n=void 0,o=e),!(n||o&&0!==Object.keys(o).length))return"";if(o&&Object.keys(o).length>0){const e=[];for(const[r,n]of t){const t=o[r];t&&e.push({queryName:r,atRule:Xn(n),styles:t.getStyles()})}const r=[];if(n){const e=n.getStyles();r.push("default:"+de(e))}r.push(...e.map(({queryName:e,styles:t})=>`${e}:${de(t)}`));const i="n"+le(r.sort().join("||"));let s={};n&&(s={...n.getStyles()},me(i,s));for(const{atRule:t,styles:r}of e)s={...s,...r},me(i,s,t.condition,t.type);return{className:i}}return n?{className:n.getClassName()}:""}}const Jn=Yn;var Qn=Object.freeze({__proto__:null,StyleBuilder:ue,accentColor:ke,alignContent:Tt,alignItems:Pt,alignSelf:Bt,animation:_r,animationDelay:Hr,animationDirection:Ur,animationDuration:$r,animationFillMode:Xr,animationIterationCount:qr,animationName:Vr,animationPlayState:Yr,animationTimingFunction:Gr,appearance:hn,backdropFilter:Qr,backfaceVisibility:Fr,backgroundAttachment:Rr,backgroundClip:vr,backgroundColor:Sr,backgroundImage:kr,backgroundOrigin:Br,backgroundPosition:xr,backgroundRepeat:wr,backgroundSize:Cr,bg:Pe,bold:Ie,border:Gt,borderBottom:Ut,borderBottomColor:cr,borderBottomLeftRadius:ur,borderBottomRightRadius:fr,borderBottomStyle:or,borderBottomWidth:er,borderCollapse:ln,borderColor:Qt,borderLeft:Xt,borderLeftColor:lr,borderLeftStyle:ir,borderLeftWidth:tr,borderRadius:dr,borderRight:qt,borderRightColor:ar,borderRightStyle:nr,borderRightWidth:Zt,borderSpacing:dn,borderStyle:Jt,borderTop:Ht,borderTopColor:sr,borderTopLeftRadius:mr,borderTopRightRadius:pr,borderTopStyle:rr,borderTopWidth:Kt,borderWidth:Yt,bottom:yt,boxShadow:Tr,boxSizing:pt,breakAfter:Ln,breakBefore:Wn,breakInside:Nn,captionSide:mn,center:kt,clip:xn,clipPath:Cn,color:Se,columnCount:Dn,columnFill:On,columnGap:zn,columnRule:Fn,columnRuleColor:_n,columnRuleStyle:Vn,columnRuleWidth:$n,columnSpan:Gn,columnWidth:Hn,columns:qn,contain:Tn,content:fn,counterIncrement:bn,counterReset:gn,createBreakpoints:Jn,createCSSClass:pe,createStyleQueries:Yn,cursor:Un,display:ge,emptyCells:pn,filter:Jr,flex:be,flexBasis:vt,flexDirection:ht,flexGrow:Ct,flexShrink:Rt,flexWrap:xt,fontFamily:Ce,fontSize:we,fontStretch:We,fontStyle:Ee,fontVariant:Ae,fontWeight:xe,gap:wt,grid:he,gridArea:Ft,gridAutoColumns:_t,gridAutoFlow:$t,gridAutoRows:Vt,gridColumn:Nt,gridColumnEnd:Dt,gridColumnStart:jt,gridRow:Mt,gridRowEnd:zt,gridRowStart:Ot,gridTemplateAreas:Lt,gridTemplateColumns:At,gridTemplateRows:Wt,height:at,isolation:Rn,justifyContent:St,justifyItems:Et,justifySelf:It,left:gt,letterSpacing:ve,lineHeight:Re,listStyle:on,listStyleImage:cn,listStylePosition:an,listStyleType:sn,margin:tt,marginBottom:ot,marginLeft:it,marginRight:nt,marginTop:rt,maxHeight:mt,maxWidth:lt,minHeight:dt,minWidth:ct,mixBlendMode:vn,objectFit:rn,objectPosition:nn,opacity:Ir,orphans:Mn,outline:yr,outlineColor:hr,outlineOffset:Pr,outlineStyle:br,outlineWidth:gr,overflow:Kr,overflowWrap:Fe,overflowX:Zr,overflowY:en,padding:Je,paddingBottom:Ze,paddingLeft:et,paddingRight:Ke,paddingTop:Qe,pageBreakAfter:En,pageBreakBefore:In,pageBreakInside:An,perspective:Or,perspectiveOrigin:zr,pointerEvents:Sn,position:Ye,quotes:yn,resize:kn,right:ft,scrollBehavior:wn,tableLayout:un,textAlign:Be,textAlignLast:_e,textDecoration:Te,textDecorationColor:Ge,textDecorationLine:$e,textDecorationStyle:He,textDecorationThickness:qe,textIndent:Ne,textJustify:Ve,textOverflow:Me,textShadow:je,textTransform:Le,textUnderlineOffset:Ue,top:ut,transform:Mr,transformOrigin:jr,transformStyle:Dr,transition:Er,transitionDelay:Nr,transitionDuration:Wr,transitionProperty:Ar,transitionTimingFunction:Lr,userSelect:Pn,verticalAlign:Xe,visibility:tn,whiteSpace:De,widows:jn,width:st,willChange:Bn,wordSpacing:Oe,wordWrap:ze,zIndex:bt});function Kn(){if(V(),"undefined"!=typeof globalThis){const e=globalThis;e.list=U,e.update=ne,e.when=te,e.on=oe,e.render=ie;for(const[t,r]of Object.entries(Qn))try{e[t]=r}catch(e){}}}"undefined"!=typeof globalThis&&Kn(),e.HTML_TAGS=D,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=O,e.StyleBuilder=ue,e.accentColor=ke,e.alignContent=Tt,e.alignItems=Pt,e.alignSelf=Bt,e.animation=_r,e.animationDelay=Hr,e.animationDirection=Ur,e.animationDuration=$r,e.animationFillMode=Xr,e.animationIterationCount=qr,e.animationName=Vr,e.animationPlayState=Yr,e.animationTimingFunction=Gr,e.appearance=hn,e.appendChildren=function(e,...t){return e?(t.forEach(t=>{if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!l)return null;try{return document.createTextNode(e+"")}catch(e){return null}}(t);if(!e)return;r=e}else r=t;!function(e,t){if(!e||!t)return!1;try{return e.appendChild(t),!0}catch(e){return!1}}(e,r)}}),e):e},e.applyAttributes=B,e.applyNodeModifier=E,e.backdropFilter=Qr,e.backfaceVisibility=Fr,e.backgroundAttachment=Rr,e.backgroundClip=vr,e.backgroundColor=Sr,e.backgroundImage=kr,e.backgroundOrigin=Br,e.backgroundPosition=xr,e.backgroundRepeat=wr,e.backgroundSize=Cr,e.bg=Pe,e.bold=Ie,e.border=Gt,e.borderBottom=Ut,e.borderBottomColor=cr,e.borderBottomLeftRadius=ur,e.borderBottomRightRadius=fr,e.borderBottomStyle=or,e.borderBottomWidth=er,e.borderCollapse=ln,e.borderColor=Qt,e.borderLeft=Xt,e.borderLeftColor=lr,e.borderLeftStyle=ir,e.borderLeftWidth=tr,e.borderRadius=dr,e.borderRight=qt,e.borderRightColor=ar,e.borderRightStyle=nr,e.borderRightWidth=Zt,e.borderSpacing=dn,e.borderStyle=Jt,e.borderTop=Ht,e.borderTopColor=sr,e.borderTopLeftRadius=mr,e.borderTopRightRadius=pr,e.borderTopStyle=rr,e.borderTopWidth=Kt,e.borderWidth=Yt,e.bottom=yt,e.boxShadow=Tr,e.boxSizing=pt,e.breakAfter=Ln,e.breakBefore=Wn,e.breakInside=Nn,e.captionSide=mn,e.center=kt,e.clip=xn,e.clipPath=Cn,e.color=Se,e.columnCount=Dn,e.columnFill=On,e.columnGap=zn,e.columnRule=Fn,e.columnRuleColor=_n,e.columnRuleStyle=Vn,e.columnRuleWidth=$n,e.columnSpan=Gn,e.columnWidth=Hn,e.columns=qn,e.contain=Tn,e.content=fn,e.counterIncrement=bn,e.counterReset=gn,e.createBreakpoints=Jn,e.createCSSClass=pe,e.createComment=p,e.createConditionalComment=u,e.createElementFactory=F,e.createElementWithModifiers=j,e.createStyleQueries=Yn,e.createTagBuilder=_,e.cursor=Un,e.display=ge,e.emptyCells=pn,e.filter=Jr,e.flex=be,e.flexBasis=vt,e.flexDirection=ht,e.flexGrow=Ct,e.flexShrink=Rt,e.flexWrap=xt,e.fontFamily=Ce,e.fontSize=we,e.fontStretch=We,e.fontStyle=Ee,e.fontVariant=Ae,e.fontWeight=xe,e.gap=wt,e.grid=he,e.gridArea=Ft,e.gridAutoColumns=_t,e.gridAutoFlow=$t,e.gridAutoRows=Vt,e.gridColumn=Nt,e.gridColumnEnd=Dt,e.gridColumnStart=jt,e.gridRow=Mt,e.gridRowEnd=zt,e.gridRowStart=Ot,e.gridTemplateAreas=Lt,e.gridTemplateColumns=At,e.gridTemplateRows=Wt,e.height=at,e.initializeRuntime=Kn,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=l,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=s,e.isolation=Rn,e.justifyContent=St,e.justifyItems=Et,e.justifySelf=It,e.left=gt,e.letterSpacing=ve,e.lineHeight=Re,e.list=U,e.listStyle=on,e.listStyleImage=cn,e.listStylePosition=an,e.listStyleType=sn,e.margin=tt,e.marginBottom=ot,e.marginLeft=it,e.marginRight=nt,e.marginTop=rt,e.maxHeight=mt,e.maxWidth=lt,e.minHeight=dt,e.minWidth=ct,e.mixBlendMode=vn,e.objectFit=rn,e.objectPosition=nn,e.on=oe,e.opacity=Ir,e.orphans=Mn,e.outline=yr,e.outlineColor=hr,e.outlineOffset=Pr,e.outlineStyle=br,e.outlineWidth=gr,e.overflow=Kr,e.overflowWrap=Fe,e.overflowX=Zr,e.overflowY=en,e.padding=Je,e.paddingBottom=Ze,e.paddingLeft=et,e.paddingRight=Ke,e.paddingTop=Qe,e.pageBreakAfter=En,e.pageBreakBefore=In,e.pageBreakInside=An,e.perspective=Or,e.perspectiveOrigin=zr,e.pointerEvents=Sn,e.position=Ye,e.quotes=yn,e.registerGlobalTagBuilders=V,e.render=ie,e.replaceNodeSafely=b,e.resize=kn,e.right=ft,e.scrollBehavior=wn,e.tableLayout=un,e.textAlign=Be,e.textAlignLast=_e,e.textDecoration=Te,e.textDecorationColor=Ge,e.textDecorationLine=$e,e.textDecorationStyle=He,e.textDecorationThickness=qe,e.textIndent=Ne,e.textJustify=Ve,e.textOverflow=Me,e.textShadow=je,e.textTransform=Le,e.textUnderlineOffset=Ue,e.top=ut,e.transform=Mr,e.transformOrigin=jr,e.transformStyle=Dr,e.transition=Er,e.transitionDelay=Nr,e.transitionDuration=Wr,e.transitionProperty=Ar,e.transitionTimingFunction=Lr,e.update=ne,e.userSelect=Pn,e.verticalAlign=Xe,e.visibility=tn,e.when=te,e.whiteSpace=De,e.widows=jn,e.width=st,e.willChange=Bn,e.wordSpacing=Oe,e.wordWrap=ze,e.zIndex=bt});
2
2
  //# sourceMappingURL=nuclo.umd.js.map