nuclo 0.1.83 → 0.1.86
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/core/conditionalUpdater.d.ts.map +1 -1
- package/dist/core/elementFactory.d.ts.map +1 -1
- package/dist/core/reactiveAttributes.d.ts.map +1 -1
- package/dist/core/reactiveText.d.ts.map +1 -1
- package/dist/core/updateController.d.ts.map +1 -1
- package/dist/internal/applyModifiers.d.ts.map +1 -1
- package/dist/nuclo.cjs +1 -1
- package/dist/nuclo.cjs.map +1 -1
- package/dist/nuclo.js +1 -1
- package/dist/nuclo.js.map +1 -1
- package/dist/nuclo.umd.js +1 -1
- package/dist/nuclo.umd.js.map +1 -1
- package/dist/polyfill/Document.d.ts +2 -2
- package/dist/polyfill/Document.d.ts.map +1 -1
- package/dist/ssr/nuclo.ssr.cjs +1 -1
- package/dist/ssr/nuclo.ssr.cjs.map +1 -1
- package/dist/ssr/nuclo.ssr.js +1 -1
- package/dist/ssr/nuclo.ssr.js.map +1 -1
- package/dist/ssr/renderToString.d.ts.map +1 -1
- package/dist/style/cssGenerator.d.ts.map +1 -1
- package/dist/utility/conditionalInfo.d.ts +3 -2
- package/dist/utility/conditionalInfo.d.ts.map +1 -1
- package/dist/utility/dom.d.ts +21 -0
- package/dist/utility/dom.d.ts.map +1 -1
- package/dist/utility/on.d.ts +11 -0
- package/dist/utility/on.d.ts.map +1 -1
- package/dist/utility/scope.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionalUpdater.d.ts","sourceRoot":"","sources":["../../src/core/conditionalUpdater.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"conditionalUpdater.d.ts","sourceRoot":"","sources":["../../src/core/conditionalUpdater.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAsDjD,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAiBnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementFactory.d.ts","sourceRoot":"","sources":["../../src/core/elementFactory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elementFactory.d.ts","sourceRoot":"","sources":["../../src/core/elementFactory.ts"],"names":[],"mappings":"AAoCA;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,SAAS,cAAc,EAClE,OAAO,EAAE,QAAQ,GAChB,CAAC,GAAG,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,KAAK,SAAS,CAAC,QAAQ,CAAC,CAEvF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,SAAS,MAAM,oBAAoB,EAC7E,OAAO,EAAE,QAAQ,GAChB,CAAC,GAAG,SAAS,EAAE,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,KAAK,oBAAoB,CAAC,QAAQ,CAAC,CAExH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactiveAttributes.d.ts","sourceRoot":"","sources":["../../src/core/reactiveAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,iBAAiB,GAAG,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"reactiveAttributes.d.ts","sourceRoot":"","sources":["../../src/core/reactiveAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,iBAAiB,GAAG,MAAM,OAAO,CAAC;AAsHvC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,SAAS,cAAc,EACvE,OAAO,EAAE,eAAe,CAAC,QAAQ,CAAC,EAClC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,iBAAiB,EAC3B,UAAU,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GACnC,IAAI,CAUN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAwBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactiveText.d.ts","sourceRoot":"","sources":["../../src/core/reactiveText.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,YAAY,GAAG,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"reactiveText.d.ts","sourceRoot":"","sources":["../../src/core/reactiveText.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,YAAY,GAAG,MAAM,SAAS,CAAC;AAapC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,YAAY,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,gBAAgB,CA8B9G;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAqCjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateController.d.ts","sourceRoot":"","sources":["../../src/core/updateController.ts"],"names":[],"mappings":"AAiBA,wBAAgB,MAAM,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"updateController.d.ts","sourceRoot":"","sources":["../../src/core/updateController.ts"],"names":[],"mappings":"AAiBA,wBAAgB,MAAM,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CA2BlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyModifiers.d.ts","sourceRoot":"","sources":["../../src/internal/applyModifiers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applyModifiers.d.ts","sourceRoot":"","sources":["../../src/internal/applyModifiers.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,cAAc,GAAG,cAAc,IACrE,OAAO,CAAC,QAAQ,CAAC,GACjB,SAAS,CAAC,QAAQ,CAAC,CAAC;AAExB,MAAM,WAAW,oBAAoB,CAAC,QAAQ,SAAS,cAAc;IACnE;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,QAAQ,SAAS,cAAc,EAC5D,OAAO,EAAE,eAAe,CAAC,QAAQ,CAAC,EAClC,SAAS,EAAE,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAChD,UAAU,SAAI,GACb,oBAAoB,CAAC,QAAQ,CAAC,CA8BhC;AAID;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,SAAS,cAAc,EAC5E,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,GAC/C,eAAe,CAAC,QAAQ,CAAC,CAI3B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,SAAS,MAAM,oBAAoB,EACvF,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,GAChC,oBAAoB,CAAC,QAAQ,CAAC,CAOhC"}
|
package/dist/nuclo.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function e(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function t(e){return e instanceof Node}function r(e){return"object"==typeof e&&null!==e}function o(e){return r(e)&&"tagName"in e}function n(e){return"function"==typeof e}function s(e){return n(e)&&0===e.length}function i(e,t){}const a="undefined"!=typeof window&&"undefined"!=typeof document;function c(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return!1}}function l(e){if(!a)return null;try{return document.createComment(e)}catch(e){return null}}function p(e){return l(e)}function d(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return null}}function m(e){if(!a)throw Error("Cannot create comment in non-browser environment");const t=l(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error("Failed to create comment");return t}function u(e){const t=l(e+"-end");if(!t)throw Error("Failed to create end comment");return{start:m(e+"-start"),end:t}}function f(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!a||"undefined"==typeof document)&&document.contains(e))}function y(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return!1}}const g=new Map,b=new Map,h={};let x=!1;function P(e){const t=e.target;if(!(t&&"undefined"!=typeof Node&&t instanceof Node))return;let r=t;for(;r;){if(r instanceof Element){const e=b.get(r);e&&(f(r)?k(e):b.delete(r))}r=r.parentNode}}function S(e,t){let r;try{r=t.resolver()}catch(e){return}const o=null===(n=r)||"object"!=typeof n;var n;if(!o||!Object.is(r,t.lastValue))try{t.applyValue(r),t.lastValue=o?r:h}catch(e){}}function k(e){for(const[t,r]of e.attributeResolvers)S(0,r)}function w(e,t,r,o){if(!(e instanceof Element&&t&&"function"==typeof r))return;x||"undefined"!=typeof document&&"function"==typeof document.addEventListener&&(document.addEventListener("update",P,!0),x=!0);const n=function(e){let t=b.get(e);return t||(t={attributeResolvers:new Map},b.set(e,t)),t}(e),s={resolver:r,applyValue:o,lastValue:h};n.attributeResolvers.set(t,s),S(0,s)}function C(e,t,r){try{return null==r||""===r?(e.style[t]="",!0):(e.style[t]=r+"",!0)}catch{return!1}}function v(e,t){if(e?.style&&t)for(const[r,o]of Object.entries(t))C(e,r,o)||i()}const R="__nuclo_reactive_className__",B="__nuclo_static_className__";function T(e,t,r,o=!1){if(null==r)return;if("style"===t)return i=r,void((s=e)&&(n(i)?w(s,"style",i,e=>{v(s,e)}):v(s,i)));var s,i;const a=(r,o=!1)=>{if(null!=r)if("className"===t&&e instanceof HTMLElement&&o)!function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const o=new Set(r.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>o.add(e)),e.className=Array.from(o).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(n(r)&&0===r.length){const o=r;"className"===t&&e instanceof HTMLElement?(function(e){e[B]||(e[B]=new Set(e.className.split(" ").filter(e=>e))),e[R]=!0}(e),w(e,t+"",o,t=>{!function(e,t){const r=function(e){return e[B]}(e);if(r&&r.size>0&&t){const o=new Set(r);t.split(" ").filter(e=>e).forEach(e=>o.add(e)),e.className=Array.from(o).join(" ")}else e.className=t||(r&&r.size>0?Array.from(r).join(" "):"")}(e,(t||"")+"")})):w(e,t+"",o,e=>{a(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[R]}(e)){const t=(r||"")+"";if(t){!function(e,t){t&&(e[B]||(e[B]=new Set),t.split(" ").filter(e=>e).forEach(t=>{e[B].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,o)}}function I(e,t,r=!0){if(t)for(const o of Object.keys(t))T(e,o,t[o],r&&"className"===o)}const E=new WeakMap;function N(o,i,a){if(null==i)return null;if(n(i)){if(s(i))try{let n=E.get(i);if(n||(n={value:i(),error:!1},E.set(i,n)),n.error)return W(a,()=>"");const s=n.value;if(r(s)&&!t(s)&&"className"in s&&"string"==typeof s.className&&1===Object.keys(s).length){const e=i;return I(o,{className:()=>{const t=e();return r(t)&&"className"in t&&"string"==typeof t.className?t.className:""}}),null}return e(s)&&null!=s?W(a,i,s):null}catch(e){return E.set(i,{value:void 0,error:!0}),W(a,()=>"")}const n=i(o,a);return null==n?null:e(n)?A(a,n):t(n)?n:(r(n)&&I(o,n),null)}const c=i;return e(c)?A(a,c):t(c)?c:(I(o,c),null)}function W(e,t,r){const o=document.createDocumentFragment(),n=p(` text-${e} `);n&&o.appendChild(n);const s=function(e,t){if("function"!=typeof e)return document.createTextNode("");let r;if(arguments.length>1)r=t;else try{r=e()}catch(e){r=""}const o=void 0===r?"":r+"",n=document.createTextNode(o);return g.set(n,{resolver:e,lastValue:o}),n}(t,r);return o.appendChild(s),o}function A(e,t){const r=document.createDocumentFragment(),o=p(` text-${e} `);o&&r.appendChild(o);const n=document.createTextNode(t+"");return r.appendChild(n),r}function L(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let o=r,n=0;const s=e;for(let r=0;t.length>r;r+=1){const i=t[r];if(null==i)continue;const a=N(e,i,o);a&&(a.parentNode!==s&&s.appendChild(a),o+=1,n+=1)}return{element:e,nextIndex:o,appended:n}}function M(e,t){const r=document.createElement(e);return L(r,t,0),r}function j(e,t){const r=document.createElementNS("http://www.w3.org/2000/svg",e);return L(r,t,0),r}function D(e){return(...t)=>function(e,...t){return(r,o)=>{const n=document.createElement(e);return L(n,t,o),n}}(e,...t)}function O(e){return(...t)=>function(e,...t){return(r,o)=>{const n=document.createElementNS("http://www.w3.org/2000/svg",e);return L(n,t,o),n}}(e,...t)}const z=["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"],F=["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 V(e=globalThis){const t="__nuclo_tags_registered";e[t]||(F.forEach(t=>function(e,t){const r=t+"Svg";r in e||(e[r]=O(t))}(e,t)),z.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=D(t))}(e,t)),e[t]=!0)}const _=new Set;function $(e,t,r){return function(e,t,r){if(n(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 G(e){c(e.element)}function q(e){const{host:t,startMarker:r,endMarker:o}=e,n=r.parentNode??t,s=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,s))return;const i=new Map,a=new Map;e.records.forEach(e=>{const t=a.get(e.item);t?t.push(e):a.set(e.item,[e])}),s.forEach((t,r)=>{if(e.lastSyncedItems.length>r&&e.lastSyncedItems[r]===t){const o=e.records[r];if(o&&o.item===t){i.set(r,o);const e=a.get(t);e.splice(e.indexOf(o),1),0===e.length&&a.delete(t)}}});const c=[],l=new Set(e.records);let p=o;for(let t=s.length-1;t>=0;t--){const r=s[t];let o=i.get(t);if(!o){const e=a.get(r);e&&e.length>0&&(o=e.shift(),0===e.length&&a.delete(r))}if(o)l.delete(o);else{const n=$(e,r,t);if(!n)continue;o={item:r,element:n}}c.unshift(o);const d=o.element;d.nextSibling!==p&&n.insertBefore(d,p),p=d}l.forEach(G),e.records=c,e.lastSyncedItems=[...s]}function H(e,t){return r=>{const o=function(e,t,r){const{start:o,end:n}=u("list"),s={itemsProvider:e,renderItem:t,startMarker:o,endMarker:n,records:[],host:r,lastSyncedItems:[]},i=r;return i.appendChild(o),i.appendChild(n),_.add(s),q(s),s}(e,t,r);return o.startMarker}}function U(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function X(e,t){return"function"==typeof e?U(e,t):!!e}function Y(e,t,r,o){return n(e)?s(e)?(E.delete(e),N(t,e,r)):function(e,t,r){const o=e,n=o.appendChild.bind(o),s=o.insertBefore.bind(o);o.appendChild=function(e){return s(e,t)};try{return r()}finally{o.appendChild=n}}(t,o,()=>{const o=N(t,e,r);return o&&!o.parentNode?o:null}):N(t,e,r)}const J=new Set;function Q(e){const{groups:t,elseContent:r,host:o,index:n,endMarker:s}=e,i=function(e,t){for(let t=0;e.length>t;t++)if(X(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(i===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;c(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=i,null===i)return;const a=function(e,t,r,o){const n=[];for(const s of e){const e=Y(s,t,r,o);e&&n.push(e)}return n}(0>i?r:t[i].content,o,n,s);!function(e,t){const r=t.parentNode;r&&e.forEach(e=>function(e,t,r){try{return e.insertBefore(t,r),!0}catch(e){return!1}}(r,e,t))}(a,s)}class K{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(!a)return p("when-ssr")||null;const{start:r,end:o}=u("when"),n={startMarker:r,endMarker:o,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:()=>Q(n)};!function(e){J.add(e)}(n);const s=e;return s.appendChild(r),s.appendChild(o),Q(n),r}}function Z(e){return Object.assign((t,r)=>e.render(t,r),{when:(t,...r)=>(e.when(t,...r),Z(e)),else:(...t)=>(e.else(...t),Z(e))})}function ee(e,...t){return Z(new K(e,...t))}const te=new Set;function re(e,t){e._conditionalInfo=t,te.add(e)}const oe=new Map;function ne(e){const t=[],r=new Set;for(const o of e){if("string"!=typeof o)continue;const e=o.trim();e&&(r.has(e)||(r.add(e),t.push(e)))}return t}function se(e,t){let r=oe.get(e);r||(r=new Set,oe.set(e,r)),r.add(t)}function ie(...e){const t=ne(e);return e=>{if(e instanceof Element)for(const r of t)se(r,e)}}const ae=[function(e){_.forEach(t=>{t.startMarker.isConnected&&t.endMarker.isConnected?e&&!e.contains(t.startMarker)||q(t):_.delete(t)})},function(e){J.forEach(t=>{if(!e||e.contains(t.startMarker))try{t.update()}catch(e){J.delete(t)}})},function(e){if(a)try{te.forEach(t=>{t.isConnected?e&&!e.contains(t)||function(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=U(t.condition,e=>{}),o=e.nodeType===Node.ELEMENT_NODE;if(r&&!o){const r=function(e){try{return e.isSvg?j(e.tagName,e.modifiers):M(e.tagName,e.modifiers)}catch(t){return e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",e.tagName):document.createElement(e.tagName)}}(t);re(r,t),y(e,r)}else if(!r&&o){const r=d(t.tagName);r&&(re(r,t),y(e,r))}}(t):function(e){te.delete(e)}(t)})}catch(e){}},function(e){for(const[t,r]of b)f(t)?e&&!e.contains(t)||k(r):b.delete(t)},function(e){for(const[t,r]of g){if(!f(t)){g.delete(t);continue}if(e&&!e.contains(t))continue;let o;try{o=r.resolver()}catch(e){i(),o=void 0}const n=void 0===o?"":o+"";n!==r.lastValue&&(t.textContent=n,r.lastValue=n)}},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){i()}}];function ce(...e){let t;if(e.length>0){const r=function(e){const t=ne(e);if(0===t.length)return[];const r=new Set;for(const e of t){const t=oe.get(e);if(t){for(const e of t)f(e)?r.add(e):t.delete(e);0===t.size&&oe.delete(e)}}return Array.from(r)}(e);if(1===r.length){const e=r[0];t={roots:r,contains:t=>e.contains(t)}}else t={roots:r,contains:e=>{for(const t of r)if(t.contains(e))return!0;return!1}}}for(const e of ae)e(t)}function le(e,t,r){return o=>{if(!o||"function"!=typeof o.addEventListener)return;const n=o;n.addEventListener(e,e=>{try{t.call(n,e)}catch(e){}},r)}}function pe(e,t,r=0){const o=e(t||document.body,r);return(t||document.body).appendChild(o),o}const de=[{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"}],me=["bold","center","flex"],ue=new Map;function fe(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 ye(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function ge(e,t,r,o="media",n){let s=document.querySelector("#nuclo-styles");s||(s=document.createElement("style"),s.id="nuclo-styles",document.head.appendChild(s));const i=Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ");if(n){const r=`.${e}${n}`,o=s.sheet;if(!o)return;const a=o.cssRules,c=a.length;let l=null,p=c;for(let e=0;c>e;e++){const t=a[e];if(t instanceof CSSStyleRule){if(t.selectorText===r){l=t,p=e;break}t.selectorText.includes(":")||(p=e+1)}}if(l){const e=l.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else o.insertRule(`${r} { ${i} }`,p);return}if(r){const n=s.sheet;if(!n)return;const a=n.cssRules,c=a.length;let l=null;const p=e=>"media"===o&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===o&&e instanceof CSSContainerRule||"supports"===o&&e instanceof CSSSupportsRule)&&e.conditionText===r,d=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;c>e;e++){const t=a[e];if(p(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){const r=a[t];if(d(r)){e=t+1;break}if(r instanceof CSSStyleRule){e=t+1;break}}n.insertRule(`${"media"===o?"@media":"container"===o?"@container":"supports"===o?"@supports":"@media"} ${r} {}`,e),l=n.cssRules[e]}let m=null;for(const t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText==="."+e){m=t;break}if(m){const e=m.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else l.insertRule(`.${e} { ${i} }`,l.cssRules.length)}else{const r=s.sheet;if(!r)return;let o=null,n=0;const a=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=r.cssRules,l=c.length;for(let t=0;l>t;t++){const r=c[t];if(r instanceof CSSStyleRule&&r.selectorText==="."+e){o=r,n=t;break}a(r)||(n=t+1)}if(o){const e=o.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else r.insertRule(`.${e} { ${i} }`,n)}}function be(e,t){ge(e,t)}class he{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return function(e,t="",r){const o=ye(e),n=t?`${t}:${o}`:o,s=function(e){return ue.get(e)}(n);if(s){const t=s;return function(e,t,r="media"){const o=document.querySelector("#nuclo-styles");if(!o||!o.sheet)return!1;if(t){const n=Array.from(o.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!!n&&Array.from(n.cssRules).some(t=>t instanceof CSSStyleRule&&t.selectorText==="."+e)}return Array.from(o.sheet.cssRules||[]).some(t=>t instanceof CSSStyleRule&&t.selectorText==="."+e)}(t,r)||ge(t,e,r),t}const i=fe(o),a=t?`n${t}-${i}`:"n"+i;return function(e,t){ue.set(e,t)}(n,a),ge(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 xe(e){return e.isShorthand?()=>(new he).add(e.cssProperty,e.defaultValue||""):t=>(new he).add(e.cssProperty,t||"")}!function(){const e=he.prototype;for(const t of de)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 Pe={};for(const e of de)Pe[e.name]=xe(e);for(const e of me)"bold"===e||"center"===e?Pe[e]=()=>(new he)[e]():"flex"===e&&(Pe[e]=e=>(new he).flex(e));const{display:Se,flex:ke,grid:we,bg:Ce,color:ve,accentColor:Re,fontSize:Be,fontWeight:Te,fontFamily:Ie,lineHeight:Ee,letterSpacing:Ne,textAlign:We,textDecoration:Ae,bold:Le,fontStyle:Me,fontVariant:je,fontStretch:De,textTransform:Oe,textIndent:ze,textOverflow:Fe,textShadow:Ve,whiteSpace:_e,wordSpacing:$e,wordWrap:Ge,overflowWrap:qe,textAlignLast:He,textJustify:Ue,textDecorationLine:Xe,textDecorationColor:Ye,textDecorationStyle:Je,textDecorationThickness:Qe,textUnderlineOffset:Ke,verticalAlign:Ze,position:et,padding:tt,paddingTop:rt,paddingRight:ot,paddingBottom:nt,paddingLeft:st,margin:it,marginTop:at,marginRight:ct,marginBottom:lt,marginLeft:pt,width:dt,height:mt,minWidth:ut,maxWidth:ft,minHeight:yt,maxHeight:gt,boxSizing:bt,top:ht,right:xt,bottom:Pt,left:St,zIndex:kt,flexDirection:wt,alignItems:Ct,justifyContent:vt,center:Rt,gap:Bt,flexWrap:Tt,flexGrow:It,flexShrink:Et,flexBasis:Nt,alignSelf:Wt,alignContent:At,justifySelf:Lt,justifyItems:Mt,gridTemplateColumns:jt,gridTemplateRows:Dt,gridTemplateAreas:Ot,gridColumn:zt,gridRow:Ft,gridColumnStart:Vt,gridColumnEnd:_t,gridRowStart:$t,gridRowEnd:Gt,gridArea:qt,gridAutoColumns:Ht,gridAutoRows:Ut,gridAutoFlow:Xt,border:Yt,borderTop:Jt,borderRight:Qt,borderBottom:Kt,borderLeft:Zt,borderWidth:er,borderStyle:tr,borderColor:rr,borderTopWidth:or,borderRightWidth:nr,borderBottomWidth:sr,borderLeftWidth:ir,borderTopStyle:ar,borderRightStyle:cr,borderBottomStyle:lr,borderLeftStyle:pr,borderTopColor:dr,borderRightColor:mr,borderBottomColor:ur,borderLeftColor:fr,borderRadius:yr,borderTopLeftRadius:gr,borderTopRightRadius:br,borderBottomLeftRadius:hr,borderBottomRightRadius:xr,outline:Pr,outlineWidth:Sr,outlineStyle:kr,outlineColor:wr,outlineOffset:Cr,backgroundColor:vr,backgroundImage:Rr,backgroundRepeat:Br,backgroundPosition:Tr,backgroundSize:Ir,backgroundAttachment:Er,backgroundClip:Nr,backgroundOrigin:Wr,boxShadow:Ar,opacity:Lr,transition:Mr,transitionProperty:jr,transitionDuration:Dr,transitionTimingFunction:Or,transitionDelay:zr,transform:Fr,transformOrigin:Vr,transformStyle:_r,perspective:$r,perspectiveOrigin:Gr,backfaceVisibility:qr,animation:Hr,animationName:Ur,animationDuration:Xr,animationTimingFunction:Yr,animationDelay:Jr,animationIterationCount:Qr,animationDirection:Kr,animationFillMode:Zr,animationPlayState:eo,filter:to,backdropFilter:ro,overflow:oo,overflowX:no,overflowY:so,visibility:io,objectFit:ao,objectPosition:co,listStyle:lo,listStyleType:po,listStylePosition:mo,listStyleImage:uo,borderCollapse:fo,borderSpacing:yo,captionSide:go,emptyCells:bo,tableLayout:ho,content:xo,quotes:Po,counterReset:So,counterIncrement:ko,appearance:wo,userSelect:Co,pointerEvents:vo,resize:Ro,scrollBehavior:Bo,clip:To,clipPath:Io,isolation:Eo,mixBlendMode:No,willChange:Wo,contain:Ao,pageBreakBefore:Lo,pageBreakAfter:Mo,pageBreakInside:jo,breakBefore:Do,breakAfter:Oo,breakInside:zo,orphans:Fo,widows:Vo,columnCount:_o,columnFill:$o,columnGap:Go,columnRule:qo,columnRuleColor:Ho,columnRuleStyle:Uo,columnRuleWidth:Xo,columnSpan:Yo,columnWidth:Jo,columns:Qo,cursor:Ko}=Pe,Zo={hover:":hover",active:":active",focus:":focus","focus-visible":":focus-visible","focus-within":":focus-within",visited:":visited",link:":link",target:":target",root:":root",empty:":empty",enabled:":enabled",disabled:":disabled",checked:":checked",indeterminate:":indeterminate",default:":default",required:":required",optional:":optional",valid:":valid",invalid:":invalid","in-range":":in-range","out-of-range":":out-of-range","placeholder-shown":":placeholder-shown",autofill:":autofill","read-only":":read-only","read-write":":read-write","first-child":":first-child","last-child":":last-child","only-child":":only-child","first-of-type":":first-of-type","last-of-type":":last-of-type","only-of-type":":only-of-type","nth-child":":nth-child","nth-last-child":":nth-last-child","nth-of-type":":nth-of-type","nth-last-of-type":":nth-last-of-type",lang:":lang",dir:":dir",not:":not",is:":is",where:":where",has:":has","any-link":":any-link","local-link":":local-link",scope:":scope",current:":current",past:":past",future:":future",playing:":playing",paused:":paused",seeking:":seeking",muted:":muted","volume-locked":":volume-locked",buffering:":buffering",stalled:":stalled","picture-in-picture":":picture-in-picture",fullscreen:":fullscreen",modal:":modal","popover-open":":popover-open","user-invalid":":user-invalid","user-valid":":user-valid"};function en(e){const t=e.trim();return t.startsWith("&:")||t.startsWith(":")?{type:"pseudo",pseudoClass:(t.startsWith("&:")?t.slice(1):t).trim()}: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 tn(e){return e in Zo}function rn(e){return Zo[e]}const on=new Map;function nn(e){const t=Array.isArray(e)?e:Object.entries(e),r=new Map;for(const[e,o]of t){let t=on.get(o);t||(t=en(o),on.set(o,t)),r.set(e,t)}return function(e,o){let n,s;void 0!==o?(n=e,s=o):e instanceof he?(n=e,s=void 0):(n=void 0,s=e);const i=null!=s&&Object.keys(s).length>0;if(!n&&!i)return{className:""};if(i){const e=[],o=new Set;for(const[n]of t){const t=s?.[n];t&&(o.add(n),e.push({queryName:n,query:r.get(n),styles:t.getStyles()}))}for(const[t,r]of Object.entries(s??{}))!o.has(t)&&tn(t)&&r instanceof he&&e.push({queryName:t,query:{type:"pseudo",pseudoClass:rn(t)},styles:r.getStyles()});if(0===e.length&&!n)return{className:""};const i=[];i.length=e.length+(n?1:0);let a=0;if(n){const e=n.getStyles();i[a++]="default:"+ye(e)}for(const{queryName:t,styles:r}of e){const e=ye(r);i[a++]=`${t}:${e}`}const c="n"+fe(i.sort().join("||"));let l={};n&&(l={...n.getStyles()},ge(c,l));const p=[],d=[];for(const t of e)"pseudo"===t.query.type?d.push(t):p.push(t);for(const{query:e,styles:t}of p)l={...l,...t},ge(c,l,e.condition,e.type);for(const{query:e,styles:t}of d)ge(c,t,void 0,"pseudo",e.pseudoClass);return{className:c}}return{className:n.getClassName()}}}const sn=nn;var an=Object.freeze({__proto__:null,StyleBuilder:he,accentColor:Re,alignContent:At,alignItems:Ct,alignSelf:Wt,animation:Hr,animationDelay:Jr,animationDirection:Kr,animationDuration:Xr,animationFillMode:Zr,animationIterationCount:Qr,animationName:Ur,animationPlayState:eo,animationTimingFunction:Yr,appearance:wo,backdropFilter:ro,backfaceVisibility:qr,backgroundAttachment:Er,backgroundClip:Nr,backgroundColor:vr,backgroundImage:Rr,backgroundOrigin:Wr,backgroundPosition:Tr,backgroundRepeat:Br,backgroundSize:Ir,bg:Ce,bold:Le,border:Yt,borderBottom:Kt,borderBottomColor:ur,borderBottomLeftRadius:hr,borderBottomRightRadius:xr,borderBottomStyle:lr,borderBottomWidth:sr,borderCollapse:fo,borderColor:rr,borderLeft:Zt,borderLeftColor:fr,borderLeftStyle:pr,borderLeftWidth:ir,borderRadius:yr,borderRight:Qt,borderRightColor:mr,borderRightStyle:cr,borderRightWidth:nr,borderSpacing:yo,borderStyle:tr,borderTop:Jt,borderTopColor:dr,borderTopLeftRadius:gr,borderTopRightRadius:br,borderTopStyle:ar,borderTopWidth:or,borderWidth:er,bottom:Pt,boxShadow:Ar,boxSizing:bt,breakAfter:Oo,breakBefore:Do,breakInside:zo,captionSide:go,center:Rt,clip:To,clipPath:Io,color:ve,columnCount:_o,columnFill:$o,columnGap:Go,columnRule:qo,columnRuleColor:Ho,columnRuleStyle:Uo,columnRuleWidth:Xo,columnSpan:Yo,columnWidth:Jo,columns:Qo,contain:Ao,content:xo,counterIncrement:ko,counterReset:So,createBreakpoints:sn,createCSSClass:be,createStyleQueries:nn,cursor:Ko,display:Se,emptyCells:bo,filter:to,flex:ke,flexBasis:Nt,flexDirection:wt,flexGrow:It,flexShrink:Et,flexWrap:Tt,fontFamily:Ie,fontSize:Be,fontStretch:De,fontStyle:Me,fontVariant:je,fontWeight:Te,gap:Bt,grid:we,gridArea:qt,gridAutoColumns:Ht,gridAutoFlow:Xt,gridAutoRows:Ut,gridColumn:zt,gridColumnEnd:_t,gridColumnStart:Vt,gridRow:Ft,gridRowEnd:Gt,gridRowStart:$t,gridTemplateAreas:Ot,gridTemplateColumns:jt,gridTemplateRows:Dt,height:mt,isolation:Eo,justifyContent:vt,justifyItems:Mt,justifySelf:Lt,left:St,letterSpacing:Ne,lineHeight:Ee,listStyle:lo,listStyleImage:uo,listStylePosition:mo,listStyleType:po,margin:it,marginBottom:lt,marginLeft:pt,marginRight:ct,marginTop:at,maxHeight:gt,maxWidth:ft,minHeight:yt,minWidth:ut,mixBlendMode:No,objectFit:ao,objectPosition:co,opacity:Lr,orphans:Fo,outline:Pr,outlineColor:wr,outlineOffset:Cr,outlineStyle:kr,outlineWidth:Sr,overflow:oo,overflowWrap:qe,overflowX:no,overflowY:so,padding:tt,paddingBottom:nt,paddingLeft:st,paddingRight:ot,paddingTop:rt,pageBreakAfter:Mo,pageBreakBefore:Lo,pageBreakInside:jo,perspective:$r,perspectiveOrigin:Gr,pointerEvents:vo,position:et,quotes:Po,resize:Ro,right:xt,scrollBehavior:Bo,tableLayout:ho,textAlign:We,textAlignLast:He,textDecoration:Ae,textDecorationColor:Ye,textDecorationLine:Xe,textDecorationStyle:Je,textDecorationThickness:Qe,textIndent:ze,textJustify:Ue,textOverflow:Fe,textShadow:Ve,textTransform:Oe,textUnderlineOffset:Ke,top:ht,transform:Fr,transformOrigin:Vr,transformStyle:_r,transition:Mr,transitionDelay:zr,transitionDuration:Dr,transitionProperty:jr,transitionTimingFunction:Or,userSelect:Co,verticalAlign:Ze,visibility:io,whiteSpace:_e,widows:Vo,width:dt,willChange:Wo,wordSpacing:$e,wordWrap:Ge,zIndex:kt});function cn(){V();const e=globalThis;e.list=H,e.update=ce,e.when=ee,e.on=le,e.scope=ie,e.render=pe;for(const[t,r]of Object.entries(an))try{e[t]=r}catch{}}cn(),exports.HTML_TAGS=z,exports.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],exports.SVG_TAGS=F,exports.StyleBuilder=he,exports.accentColor=Re,exports.alignContent=At,exports.alignItems=Ct,exports.alignSelf=Wt,exports.animation=Hr,exports.animationDelay=Jr,exports.animationDirection=Kr,exports.animationDuration=Xr,exports.animationFillMode=Zr,exports.animationIterationCount=Qr,exports.animationName=Ur,exports.animationPlayState=eo,exports.animationTimingFunction=Yr,exports.appearance=wo,exports.appendChildren=function(e,...t){return e?(t.forEach(t=>{if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!a)return null;try{return document.createTextNode(e+"")}catch(e){return null}}(t);if(!e)return;r=e}else r=t;!function(e,t){try{return e.appendChild(t),!0}catch(e){return!1}}(e,r)}}),e):e},exports.applyAttributes=I,exports.applyNodeModifier=N,exports.backdropFilter=ro,exports.backfaceVisibility=qr,exports.backgroundAttachment=Er,exports.backgroundClip=Nr,exports.backgroundColor=vr,exports.backgroundImage=Rr,exports.backgroundOrigin=Wr,exports.backgroundPosition=Tr,exports.backgroundRepeat=Br,exports.backgroundSize=Ir,exports.bg=Ce,exports.bold=Le,exports.border=Yt,exports.borderBottom=Kt,exports.borderBottomColor=ur,exports.borderBottomLeftRadius=hr,exports.borderBottomRightRadius=xr,exports.borderBottomStyle=lr,exports.borderBottomWidth=sr,exports.borderCollapse=fo,exports.borderColor=rr,exports.borderLeft=Zt,exports.borderLeftColor=fr,exports.borderLeftStyle=pr,exports.borderLeftWidth=ir,exports.borderRadius=yr,exports.borderRight=Qt,exports.borderRightColor=mr,exports.borderRightStyle=cr,exports.borderRightWidth=nr,exports.borderSpacing=yo,exports.borderStyle=tr,exports.borderTop=Jt,exports.borderTopColor=dr,exports.borderTopLeftRadius=gr,exports.borderTopRightRadius=br,exports.borderTopStyle=ar,exports.borderTopWidth=or,exports.borderWidth=er,exports.bottom=Pt,exports.boxShadow=Ar,exports.boxSizing=bt,exports.breakAfter=Oo,exports.breakBefore=Do,exports.breakInside=zo,exports.captionSide=go,exports.center=Rt,exports.clip=To,exports.clipPath=Io,exports.color=ve,exports.columnCount=_o,exports.columnFill=$o,exports.columnGap=Go,exports.columnRule=qo,exports.columnRuleColor=Ho,exports.columnRuleStyle=Uo,exports.columnRuleWidth=Xo,exports.columnSpan=Yo,exports.columnWidth=Jo,exports.columns=Qo,exports.contain=Ao,exports.content=xo,exports.counterIncrement=ko,exports.counterReset=So,exports.createBreakpoints=sn,exports.createCSSClass=be,exports.createComment=p,exports.createConditionalComment=d,exports.createHtmlElementWithModifiers=M,exports.createHtmlTagBuilder=D,exports.createStyleQueries=nn,exports.createSvgElementWithModifiers=j,exports.createSvgTagBuilder=O,exports.cursor=Ko,exports.display=Se,exports.emptyCells=bo,exports.filter=to,exports.flex=ke,exports.flexBasis=Nt,exports.flexDirection=wt,exports.flexGrow=It,exports.flexShrink=Et,exports.flexWrap=Tt,exports.fontFamily=Ie,exports.fontSize=Be,exports.fontStretch=De,exports.fontStyle=Me,exports.fontVariant=je,exports.fontWeight=Te,exports.gap=Bt,exports.grid=we,exports.gridArea=qt,exports.gridAutoColumns=Ht,exports.gridAutoFlow=Xt,exports.gridAutoRows=Ut,exports.gridColumn=zt,exports.gridColumnEnd=_t,exports.gridColumnStart=Vt,exports.gridRow=Ft,exports.gridRowEnd=Gt,exports.gridRowStart=$t,exports.gridTemplateAreas=Ot,exports.gridTemplateColumns=jt,exports.gridTemplateRows=Dt,exports.height=mt,exports.initializeRuntime=cn,exports.isBoolean=function(e){return"boolean"==typeof e},exports.isBrowser=a,exports.isFunction=n,exports.isNode=t,exports.isObject=r,exports.isPrimitive=e,exports.isTagLike=o,exports.isZeroArityFunction=s,exports.isolation=Eo,exports.justifyContent=vt,exports.justifyItems=Mt,exports.justifySelf=Lt,exports.left=St,exports.letterSpacing=Ne,exports.lineHeight=Ee,exports.list=H,exports.listStyle=lo,exports.listStyleImage=uo,exports.listStylePosition=mo,exports.listStyleType=po,exports.margin=it,exports.marginBottom=lt,exports.marginLeft=pt,exports.marginRight=ct,exports.marginTop=at,exports.maxHeight=gt,exports.maxWidth=ft,exports.minHeight=yt,exports.minWidth=ut,exports.mixBlendMode=No,exports.objectFit=ao,exports.objectPosition=co,exports.on=le,exports.opacity=Lr,exports.orphans=Fo,exports.outline=Pr,exports.outlineColor=wr,exports.outlineOffset=Cr,exports.outlineStyle=kr,exports.outlineWidth=Sr,exports.overflow=oo,exports.overflowWrap=qe,exports.overflowX=no,exports.overflowY=so,exports.padding=tt,exports.paddingBottom=nt,exports.paddingLeft=st,exports.paddingRight=ot,exports.paddingTop=rt,exports.pageBreakAfter=Mo,exports.pageBreakBefore=Lo,exports.pageBreakInside=jo,exports.perspective=$r,exports.perspectiveOrigin=Gr,exports.pointerEvents=vo,exports.position=et,exports.quotes=Po,exports.registerGlobalTagBuilders=V,exports.render=pe,exports.replaceNodeSafely=y,exports.resize=Ro,exports.right=xt,exports.scope=ie,exports.scrollBehavior=Bo,exports.tableLayout=ho,exports.textAlign=We,exports.textAlignLast=He,exports.textDecoration=Ae,exports.textDecorationColor=Ye,exports.textDecorationLine=Xe,exports.textDecorationStyle=Je,exports.textDecorationThickness=Qe,exports.textIndent=ze,exports.textJustify=Ue,exports.textOverflow=Fe,exports.textShadow=Ve,exports.textTransform=Oe,exports.textUnderlineOffset=Ke,exports.top=ht,exports.transform=Fr,exports.transformOrigin=Vr,exports.transformStyle=_r,exports.transition=Mr,exports.transitionDelay=zr,exports.transitionDuration=Dr,exports.transitionProperty=jr,exports.transitionTimingFunction=Or,exports.update=ce,exports.userSelect=Co,exports.verticalAlign=Ze,exports.visibility=io,exports.when=ee,exports.whiteSpace=_e,exports.widows=Vo,exports.width=dt,exports.willChange=Wo,exports.wordSpacing=$e,exports.wordWrap=Ge,exports.zIndex=kt;
|
|
1
|
+
"use strict";function e(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function t(e){return e instanceof Node}function r(e){return"object"==typeof e&&null!==e}function o(e){return r(e)&&"tagName"in e}function n(e){return"function"==typeof e}function s(e){return n(e)&&0===e.length}function i(e,t){void 0!==console&&console.error("nuclo: "+e,t)}const a="undefined"!=typeof window&&"undefined"!=typeof document;function c(e){return globalThis.document?document.createElement(e):null}function l(e,t){return globalThis.document?document.createElementNS(e,t):null}function p(e){return globalThis.document?document.createTextNode(e):null}function d(){return globalThis.document?document.createDocumentFragment():null}function u(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return i("Failed to remove child node",e),!1}}function m(e){if(!a)return null;try{return document.createComment(e)}catch(e){return i("Failed to create comment node",e),null}}function f(e){return m(e)}function y(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return i("Failed to create conditional comment",e),null}}function g(e){if(!a)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 b(e){const t=m(e+"-end");if(!t)throw Error("Failed to create end comment");return{start:g(e+"-start"),end:t}}function h(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!a||"undefined"==typeof document)&&document.contains(e))}function x(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return i("Error replacing conditional node",e),!1}}const P=new Map,S=new Map,k={};let w=!1;function v(e){const t=e.target;if(!(t&&"undefined"!=typeof Node&&t instanceof Node))return;let r=t;for(;r;){if(r instanceof Element){let e=null,t=null;for(const[o,n]of S){const s=o.deref();if(void 0!==s){if(s===r){e=o,t=n;break}}else S.delete(o)}t&&e&&(h(r)?R(t):S.delete(e))}r=r.parentNode}}function C(e,t){let r;try{r=t.resolver()}catch(t){return void i("Failed to resolve reactive attribute: "+e,t)}const o=null===(n=r)||"object"!=typeof n;var n;if(!o||!Object.is(r,t.lastValue))try{t.applyValue(r),t.lastValue=o?r:k}catch(t){i("Failed to apply reactive attribute: "+e,t)}}function R(e){for(const[t,r]of e.attributeResolvers)C(t,r)}function B(e,t,r,o){if(!(e instanceof Element&&t&&"function"==typeof r))return void i("Invalid parameters for registerAttributeResolver");w||"undefined"!=typeof document&&"function"==typeof document.addEventListener&&(document.addEventListener("update",v,!0),w=!0);const n=function(e){for(const[t,r]of S){const o=t.deref();if(void 0!==o){if(o===e)return r}else S.delete(t)}const t={attributeResolvers:new Map};return S.set(new WeakRef(e),t),t}(e),s={resolver:r,applyValue:o,lastValue:k};n.attributeResolvers.set(t,s),C(t,s)}function T(e,t,r){try{return null==r||""===r?(e.style[t]="",!0):(e.style[t]=r+"",!0)}catch{return!1}}function I(e,t){if(e?.style&&t)for(const[r,o]of Object.entries(t))T(e,r,o)||i(`Failed to set style property '${r}'`)}const E="__nuclo_reactive_className__",W="__nuclo_static_className__";function N(e,t,r,o=!1){if(null==r)return;if("style"===t)return i=r,void((s=e)&&(n(i)?B(s,"style",i,function(e){I(s,e)}):I(s,i)));var s,i;const a=(r,o=!1)=>{if(null!=r)if("className"===t&&e instanceof HTMLElement&&o)!function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const o=new Set(r.split(" ").filter(function(e){return e}));t.split(" ").filter(function(e){return e}).forEach(function(e){o.add(e)}),e.className=Array.from(o).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(n(r)&&0===r.length){const o=r;"className"===t&&e instanceof HTMLElement?(function(e){e[W]||(e[W]=new Set(e.className.split(" ").filter(function(e){return e}))),e[E]=!0}(e),B(e,t+"",o,function(t){!function(e,t){const r=function(e){return e[W]}(e);if(r&&r.size>0&&t){const o=new Set(r);t.split(" ").filter(function(e){return e}).forEach(function(e){o.add(e)}),e.className=Array.from(o).join(" ")}else e.className=t||(r&&r.size>0?Array.from(r).join(" "):"")}(e,(t||"")+"")})):B(e,t+"",o,function(e){a(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[E]}(e)){const t=(r||"")+"";if(t){!function(e,t){t&&(e[W]||(e[W]=new Set),t.split(" ").filter(function(e){return e}).forEach(function(t){e[W].add(t)}))}(e,t);const r=new Set(e.className.split(" ").filter(function(e){return e}));t.split(" ").filter(function(e){return e}).forEach(function(e){r.add(e)}),e.className=Array.from(r).join(" ")}return}a(r,o)}}function A(e,t,r=!0){if(t)for(const o of Object.keys(t))N(e,o,t[o],r&&"className"===o)}const L=new WeakMap;function F(o,a,c){if(null==a)return null;if(n(a)){if(s(a))try{let n=L.get(a);if(n||(n={value:a(),error:!1},L.set(a,n)),n.error)return M(c,function(){return""});const s=n.value;if(r(s)&&!t(s)&&"className"in s&&"string"==typeof s.className&&1===Object.keys(s).length){const e=a;return A(o,{className:function(){const t=e();return r(t)&&"className"in t&&"string"==typeof t.className?t.className:""}}),null}return e(s)&&null!=s?M(c,a,s):null}catch(e){return L.set(a,{value:void 0,error:!0}),i("Error evaluating reactive text function:",e),M(c,function(){return""})}const n=a(o,c);return null==n?null:e(n)?j(c,n):t(n)?n:(r(n)&&A(o,n),null)}const l=a;return e(l)?j(c,l):t(l)?l:(A(o,l),null)}function M(e,t,r){const o=d();if(!o)throw Error("Failed to create document fragment: document not available");const n=f(` text-${e} `);n&&o.appendChild(n);const s=function(e,t){if("function"!=typeof e){i("Invalid resolver provided to createReactiveTextNode");const e=p("");if(!e)throw Error("Failed to create text node: document not available");return e}let r;if(arguments.length>1)r=t;else try{r=e()}catch(e){i("Failed to evaluate reactive text resolver",e),r=""}const o=void 0===r?"":r+"",n=p(o);if(!n)throw Error("Failed to create text node: document not available");return P.set(new WeakRef(n),{resolver:e,lastValue:o}),n}(t,r);return o.appendChild(s),o}function j(e,t){const r=d();if(!r)throw Error("Failed to create document fragment: document not available");const o=f(` text-${e} `);o&&r.appendChild(o);const n=p(t+"");return n&&r.appendChild(n),r}function D(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let o=r,n=0;const s=e;for(let r=0;t.length>r;r+=1){const i=t[r];if(null==i)continue;const a=F(e,i,o);a&&(a.parentNode!==s&&s.appendChild(a),o+=1,n+=1)}return{element:e,nextIndex:o,appended:n}}function O(e,t){const r=c(e);return D(r,t,0),r}function z(e,t){const r=l("http://www.w3.org/2000/svg",e);if(!r)throw Error("Failed to create SVG element: "+e);return D(r,t,0),r}function V(e){return(...t)=>function(e,...t){return function(r,o){const n=c(e);return D(n,t,o),n}}(e,...t)}function $(e){return(...t)=>function(e,...t){return function(r,o){const n=l("http://www.w3.org/2000/svg",e);if(!n)throw Error("Failed to create SVG element: "+e);return D(n,t,o),n}}(e,...t)}const _=["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"],G=["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]||(G.forEach(t=>function(e,t){const r=t+"Svg";r in e||(e[r]=$(t))}(e,t)),_.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=V(t))}(e,t)),e[t]=!0)}const H=new Set;function U(e,t,r){return function(e,t,r){if(n(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){u(e.element)}function Y(e){const{host:t,startMarker:r,endMarker:o}=e,n=r.parentNode??t,s=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,s))return;const i=new Map,a=new Map;e.records.forEach(function(e){const t=a.get(e.item);t?t.push(e):a.set(e.item,[e])}),s.forEach(function(t,r){if(e.lastSyncedItems.length>r&&e.lastSyncedItems[r]===t){const o=e.records[r];if(o&&o.item===t){i.set(r,o);const e=a.get(t);e.splice(e.indexOf(o),1),0===e.length&&a.delete(t)}}});const c=[],l=new Set(e.records);let p=o;for(let t=s.length-1;t>=0;t--){const r=s[t];let o=i.get(t);if(!o){const e=a.get(r);e&&e.length>0&&(o=e.shift(),0===e.length&&a.delete(r))}if(o)l.delete(o);else{const n=U(e,r,t);if(!n)continue;o={item:r,element:n}}c.unshift(o);const d=o.element;d.nextSibling!==p&&n.insertBefore(d,p),p=d}l.forEach(X),e.records=c,e.lastSyncedItems=[...s]}function J(e,t){return function(r){const o=function(e,t,r){const{start:o,end:n}=b("list"),s={itemsProvider:e,renderItem:t,startMarker:o,endMarker:n,records:[],host:r,lastSyncedItems:[]},i=r;return i.appendChild(o),i.appendChild(n),H.add(s),Y(s),s}(e,t,r);return o.startMarker}}function Q(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function K(e,t){return"function"==typeof e?Q(e,t):!!e}function Z(e,t,r,o){return n(e)?s(e)?(L.delete(e),F(t,e,r)):function(e,t,r){const o=e,n=o.appendChild.bind(o),s=o.insertBefore.bind(o);o.appendChild=function(e){return s(e,t)};try{return r()}finally{o.appendChild=n}}(t,o,()=>{const o=F(t,e,r);return o&&!o.parentNode?o:null}):F(t,e,r)}const ee=new Set;function te(e){const{groups:t,elseContent:r,host:o,index:n,endMarker:s}=e,a=function(e,t){for(let t=0;e.length>t;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;u(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=a,null===a)return;const c=function(e,t,r,o){const n=[];for(const s of e){const e=Z(s,t,r,o);e&&n.push(e)}return n}(0>a?r:t[a].content,o,n,s);!function(e,t){const r=t.parentNode;r&&e.forEach(function(e){!function(e,t,r){try{return e.insertBefore(t,r),!0}catch(e){return i("Failed to insert node before reference",e),!1}}(r,e,t)})}(c,s)}class re{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(!a)return f("when-ssr")||null;const{start:r,end:o}=b("when"),n={startMarker:r,endMarker:o,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:function(){te(n)}};!function(e){ee.add(e)}(n);const s=e;return s.appendChild(r),s.appendChild(o),te(n),r}}function oe(e){return Object.assign(function(t,r){return e.render(t,r)},{when:function(t,...r){return e.when(t,...r),oe(e)},else:function(...t){return e.else(...t),oe(e)}})}function ne(e,...t){return oe(new re(e,...t))}const se=new Set;function ie(e,t){e._conditionalInfo=t,se.add(new WeakRef(e))}function ae(e){for(const t of se)if(t.deref()===e){se.delete(t);break}}function ce(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=Q(t.condition,e=>{i("Error evaluating conditional condition",e)}),o=e.nodeType===Node.ELEMENT_NODE;if(r&&!o){const r=function(e){try{return e.isSvg?z(e.tagName,e.modifiers):O(e.tagName,e.modifiers)}catch(t){if(i(`Error applying modifiers in conditional element "${e.tagName}"`,t),e.isSvg){const t=l("http://www.w3.org/2000/svg",e.tagName);if(!t)throw Error("Failed to create SVG element: "+e.tagName);return t}const r=c(e.tagName);if(!r)throw Error("Failed to create element: "+e.tagName);return r}}(t);ie(r,t),x(e,r)}else if(!r&&o){const r=y(t.tagName);r&&(ie(r,t),x(e,r))}}const le=new Map;function pe(e){const t=[],r=new Set;for(const o of e){if("string"!=typeof o)continue;const e=o.trim();e&&(r.has(e)||(r.add(e),t.push(e)))}return t}function de(e,t){let r=le.get(e);r||(r=new Set,le.set(e,r)),r.add(new WeakRef(t))}function ue(...e){const t=pe(e);return function(e){if(e instanceof Element)for(const r of t)de(r,e)}}const me=[function(e){H.forEach(function(t){t.startMarker.isConnected&&t.endMarker.isConnected?e&&!e.contains(t.startMarker)||Y(t):H.delete(t)})},function(e){ee.forEach(function(t){if(!e||e.contains(t.startMarker))try{t.update()}catch(e){ee.delete(t)}})},function(e){if(a)try{const t=function(){const e=[],t=[];for(const r of se){const o=r.deref();void 0===o?t.push(r):e.push(o)}for(const e of t)se.delete(e);return e}();for(const r of t)r.isConnected?e&&!e.contains(r)||ce(r):ae(r)}catch(e){i("Error during conditional elements update",e)}},function(e){const t=[];for(const[r,o]of S){const n=r.deref();void 0!==n&&h(n)?e&&!e.contains(n)||R(o):t.push(r)}for(const e of t)S.delete(e)},function(e){const t=[];for(const[r,o]of P){const n=r.deref();if(void 0===n){t.push(r);continue}if(!h(n)){t.push(r);continue}if(e&&!e.contains(n))continue;let s;try{s=o.resolver()}catch(e){i("Failed to update reactive text node",e),s=void 0}const a=void 0===s?"":s+"";a!==o.lastValue&&(n.textContent=a,o.lastValue=a)}for(const e of t)P.delete(e)},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){i("Error dispatching global update event",e)}}];function fe(...e){let t;if(e.length>0){const r=function(e){const t=pe(e);if(0===t.length)return[];const r=new Set;for(const e of t){const t=le.get(e);if(!t)continue;const o=[];for(const e of t){const t=e.deref();void 0!==t&&h(t)?r.add(t):o.push(e)}for(const e of o)t.delete(e);0===t.size&&le.delete(e)}return Array.from(r)}(e);if(1===r.length){const e=r[0];t={roots:r,contains:function(t){return e.contains(t)}}}else t={roots:r,contains:function(e){for(const t of r)if(t.contains(e))return!0;return!1}}}for(const e of me)e(t)}const ye=new WeakMap;function ge(e,t,r){return function(o){if(!o||"function"!=typeof o.addEventListener)return;const n=o,s=function(r){try{t.call(n,r)}catch(t){i(`Error in '${e}' listener`,t)}};n.addEventListener(e,s,r),function(e,t,r,o,n){let s=ye.get(e);s||(s=new Map,ye.set(e,s));let i=s.get(t);i||(i=new Set,s.set(t,i)),i.add({original:r,wrapped:o,options:n})}(n,e,t,s,r)}}function be(e,t,r=0){const o=e(t||document.body,r);return(t||document.body).appendChild(o),o}const he=[{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"}],xe=["bold","center","flex"],Pe=new Map;function Se(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 ke(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function we(e,t,r,o="media",n){let s=document.querySelector("#nuclo-styles");s||(s=c("style"),s.id="nuclo-styles",document.head.appendChild(s));const i=Object.entries(t).map(function([e,t]){return`${e}: ${t}`}).join("; ");if(n){const r=`.${e}${n}`,o=s.sheet;if(!o)return;const a=o.cssRules,c=a.length;let l=null,p=c;for(let e=0;c>e;e++){const t=a[e];if(t instanceof CSSStyleRule){if(t.selectorText===r){l=t,p=e;break}t.selectorText.includes(":")||(p=e+1)}}if(l){const e=l.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else o.insertRule(`${r} { ${i} }`,p);return}if(r){const n=s.sheet;if(!n)return;const a=n.cssRules,c=a.length;let l=null;const p=e=>"media"===o&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===o&&e instanceof CSSContainerRule||"supports"===o&&e instanceof CSSSupportsRule)&&e.conditionText===r,d=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;c>e;e++){const t=a[e];if(p(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){const r=a[t];if(d(r)){e=t+1;break}if(r instanceof CSSStyleRule){e=t+1;break}}n.insertRule(`${"media"===o?"@media":"container"===o?"@container":"supports"===o?"@supports":"@media"} ${r} {}`,e),l=n.cssRules[e]}let u=null;for(const t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText==="."+e){u=t;break}if(u){const e=u.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else l.insertRule(`.${e} { ${i} }`,l.cssRules.length)}else{const r=s.sheet;if(!r)return;let o=null,n=0;const a=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=r.cssRules,l=c.length;for(let t=0;l>t;t++){const r=c[t];if(r instanceof CSSStyleRule&&r.selectorText==="."+e){o=r,n=t;break}a(r)||(n=t+1)}if(o){const e=o.style;e.cssText="";for(const[r,o]of Object.entries(t))e.setProperty(r,o)}else r.insertRule(`.${e} { ${i} }`,n)}}function ve(e,t){we(e,t)}class Ce{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return function(e,t="",r){const o=ke(e),n=t?`${t}:${o}`:o,s=function(e){return Pe.get(e)}(n);if(s){const t=s;return function(e,t,r="media"){const o=document.querySelector("#nuclo-styles");if(!o||!o.sheet)return!1;if(t){const n=Array.from(o.sheet.cssRules||[]).find(function(e){return"media"===r&&e instanceof CSSMediaRule?e.media.mediaText===t:("container"===r&&e instanceof CSSContainerRule||"supports"===r&&e instanceof CSSSupportsRule)&&e.conditionText===t});return!!n&&Array.from(n.cssRules).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}return Array.from(o.sheet.cssRules||[]).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}(t,r)||we(t,e,r),t}const i=Se(o),a=t?`n${t}-${i}`:"n"+i;return function(e,t){Pe.set(e,t)}(n,a),we(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 Re(e){return e.isShorthand?()=>(new Ce).add(e.cssProperty,e.defaultValue||""):t=>(new Ce).add(e.cssProperty,t||"")}!function(){const e=Ce.prototype;for(const t of he)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 Be={};for(const e of he)Be[e.name]=Re(e);for(const e of xe)"bold"===e||"center"===e?Be[e]=()=>(new Ce)[e]():"flex"===e&&(Be[e]=e=>(new Ce).flex(e));const{display:Te,flex:Ie,grid:Ee,bg:We,color:Ne,accentColor:Ae,fontSize:Le,fontWeight:Fe,fontFamily:Me,lineHeight:je,letterSpacing:De,textAlign:Oe,textDecoration:ze,bold:Ve,fontStyle:$e,fontVariant:_e,fontStretch:Ge,textTransform:qe,textIndent:He,textOverflow:Ue,textShadow:Xe,whiteSpace:Ye,wordSpacing:Je,wordWrap:Qe,overflowWrap:Ke,textAlignLast:Ze,textJustify:et,textDecorationLine:tt,textDecorationColor:rt,textDecorationStyle:ot,textDecorationThickness:nt,textUnderlineOffset:st,verticalAlign:it,position:at,padding:ct,paddingTop:lt,paddingRight:pt,paddingBottom:dt,paddingLeft:ut,margin:mt,marginTop:ft,marginRight:yt,marginBottom:gt,marginLeft:bt,width:ht,height:xt,minWidth:Pt,maxWidth:St,minHeight:kt,maxHeight:wt,boxSizing:vt,top:Ct,right:Rt,bottom:Bt,left:Tt,zIndex:It,flexDirection:Et,alignItems:Wt,justifyContent:Nt,center:At,gap:Lt,flexWrap:Ft,flexGrow:Mt,flexShrink:jt,flexBasis:Dt,alignSelf:Ot,alignContent:zt,justifySelf:Vt,justifyItems:$t,gridTemplateColumns:_t,gridTemplateRows:Gt,gridTemplateAreas:qt,gridColumn:Ht,gridRow:Ut,gridColumnStart:Xt,gridColumnEnd:Yt,gridRowStart:Jt,gridRowEnd:Qt,gridArea:Kt,gridAutoColumns:Zt,gridAutoRows:er,gridAutoFlow:tr,border:rr,borderTop:or,borderRight:nr,borderBottom:sr,borderLeft:ir,borderWidth:ar,borderStyle:cr,borderColor:lr,borderTopWidth:pr,borderRightWidth:dr,borderBottomWidth:ur,borderLeftWidth:mr,borderTopStyle:fr,borderRightStyle:yr,borderBottomStyle:gr,borderLeftStyle:br,borderTopColor:hr,borderRightColor:xr,borderBottomColor:Pr,borderLeftColor:Sr,borderRadius:kr,borderTopLeftRadius:wr,borderTopRightRadius:vr,borderBottomLeftRadius:Cr,borderBottomRightRadius:Rr,outline:Br,outlineWidth:Tr,outlineStyle:Ir,outlineColor:Er,outlineOffset:Wr,backgroundColor:Nr,backgroundImage:Ar,backgroundRepeat:Lr,backgroundPosition:Fr,backgroundSize:Mr,backgroundAttachment:jr,backgroundClip:Dr,backgroundOrigin:Or,boxShadow:zr,opacity:Vr,transition:$r,transitionProperty:_r,transitionDuration:Gr,transitionTimingFunction:qr,transitionDelay:Hr,transform:Ur,transformOrigin:Xr,transformStyle:Yr,perspective:Jr,perspectiveOrigin:Qr,backfaceVisibility:Kr,animation:Zr,animationName:eo,animationDuration:to,animationTimingFunction:ro,animationDelay:oo,animationIterationCount:no,animationDirection:so,animationFillMode:io,animationPlayState:ao,filter:co,backdropFilter:lo,overflow:po,overflowX:uo,overflowY:mo,visibility:fo,objectFit:yo,objectPosition:go,listStyle:bo,listStyleType:ho,listStylePosition:xo,listStyleImage:Po,borderCollapse:So,borderSpacing:ko,captionSide:wo,emptyCells:vo,tableLayout:Co,content:Ro,quotes:Bo,counterReset:To,counterIncrement:Io,appearance:Eo,userSelect:Wo,pointerEvents:No,resize:Ao,scrollBehavior:Lo,clip:Fo,clipPath:Mo,isolation:jo,mixBlendMode:Do,willChange:Oo,contain:zo,pageBreakBefore:Vo,pageBreakAfter:$o,pageBreakInside:_o,breakBefore:Go,breakAfter:qo,breakInside:Ho,orphans:Uo,widows:Xo,columnCount:Yo,columnFill:Jo,columnGap:Qo,columnRule:Ko,columnRuleColor:Zo,columnRuleStyle:en,columnRuleWidth:tn,columnSpan:rn,columnWidth:on,columns:nn,cursor:sn}=Be,an={hover:":hover",active:":active",focus:":focus","focus-visible":":focus-visible","focus-within":":focus-within",visited:":visited",link:":link",target:":target",root:":root",empty:":empty",enabled:":enabled",disabled:":disabled",checked:":checked",indeterminate:":indeterminate",default:":default",required:":required",optional:":optional",valid:":valid",invalid:":invalid","in-range":":in-range","out-of-range":":out-of-range","placeholder-shown":":placeholder-shown",autofill:":autofill","read-only":":read-only","read-write":":read-write","first-child":":first-child","last-child":":last-child","only-child":":only-child","first-of-type":":first-of-type","last-of-type":":last-of-type","only-of-type":":only-of-type","nth-child":":nth-child","nth-last-child":":nth-last-child","nth-of-type":":nth-of-type","nth-last-of-type":":nth-last-of-type",lang:":lang",dir:":dir",not:":not",is:":is",where:":where",has:":has","any-link":":any-link","local-link":":local-link",scope:":scope",current:":current",past:":past",future:":future",playing:":playing",paused:":paused",seeking:":seeking",muted:":muted","volume-locked":":volume-locked",buffering:":buffering",stalled:":stalled","picture-in-picture":":picture-in-picture",fullscreen:":fullscreen",modal:":modal","popover-open":":popover-open","user-invalid":":user-invalid","user-valid":":user-valid"};function cn(e){const t=e.trim();return t.startsWith("&:")||t.startsWith(":")?{type:"pseudo",pseudoClass:(t.startsWith("&:")?t.slice(1):t).trim()}: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 ln(e){return e in an}function pn(e){return an[e]}const dn=new Map;function un(e){const t=Array.isArray(e)?e:Object.entries(e),r=new Map;for(const[e,o]of t){let t=dn.get(o);t||(t=cn(o),dn.set(o,t)),r.set(e,t)}return function(e,o){let n,s;void 0!==o?(n=e,s=o):e instanceof Ce?(n=e,s=void 0):(n=void 0,s=e);const i=null!=s&&Object.keys(s).length>0;if(!n&&!i)return{className:""};if(i){const e=[],o=new Set;for(const[n]of t){const t=s?.[n];t&&(o.add(n),e.push({queryName:n,query:r.get(n),styles:t.getStyles()}))}for(const[t,r]of Object.entries(s??{}))!o.has(t)&&ln(t)&&r instanceof Ce&&e.push({queryName:t,query:{type:"pseudo",pseudoClass:pn(t)},styles:r.getStyles()});if(0===e.length&&!n)return{className:""};const i=[];i.length=e.length+(n?1:0);let a=0;if(n){const e=n.getStyles();i[a++]="default:"+ke(e)}for(const{queryName:t,styles:r}of e){const e=ke(r);i[a++]=`${t}:${e}`}const c="n"+Se(i.sort().join("||"));let l={};n&&(l={...n.getStyles()},we(c,l));const p=[],d=[];for(const t of e)"pseudo"===t.query.type?d.push(t):p.push(t);for(const{query:e,styles:t}of p)l={...l,...t},we(c,l,e.condition,e.type);for(const{query:e,styles:t}of d)we(c,t,void 0,"pseudo",e.pseudoClass);return{className:c}}return{className:n.getClassName()}}}const mn=un;var fn=Object.freeze({__proto__:null,StyleBuilder:Ce,accentColor:Ae,alignContent:zt,alignItems:Wt,alignSelf:Ot,animation:Zr,animationDelay:oo,animationDirection:so,animationDuration:to,animationFillMode:io,animationIterationCount:no,animationName:eo,animationPlayState:ao,animationTimingFunction:ro,appearance:Eo,backdropFilter:lo,backfaceVisibility:Kr,backgroundAttachment:jr,backgroundClip:Dr,backgroundColor:Nr,backgroundImage:Ar,backgroundOrigin:Or,backgroundPosition:Fr,backgroundRepeat:Lr,backgroundSize:Mr,bg:We,bold:Ve,border:rr,borderBottom:sr,borderBottomColor:Pr,borderBottomLeftRadius:Cr,borderBottomRightRadius:Rr,borderBottomStyle:gr,borderBottomWidth:ur,borderCollapse:So,borderColor:lr,borderLeft:ir,borderLeftColor:Sr,borderLeftStyle:br,borderLeftWidth:mr,borderRadius:kr,borderRight:nr,borderRightColor:xr,borderRightStyle:yr,borderRightWidth:dr,borderSpacing:ko,borderStyle:cr,borderTop:or,borderTopColor:hr,borderTopLeftRadius:wr,borderTopRightRadius:vr,borderTopStyle:fr,borderTopWidth:pr,borderWidth:ar,bottom:Bt,boxShadow:zr,boxSizing:vt,breakAfter:qo,breakBefore:Go,breakInside:Ho,captionSide:wo,center:At,clip:Fo,clipPath:Mo,color:Ne,columnCount:Yo,columnFill:Jo,columnGap:Qo,columnRule:Ko,columnRuleColor:Zo,columnRuleStyle:en,columnRuleWidth:tn,columnSpan:rn,columnWidth:on,columns:nn,contain:zo,content:Ro,counterIncrement:Io,counterReset:To,createBreakpoints:mn,createCSSClass:ve,createStyleQueries:un,cursor:sn,display:Te,emptyCells:vo,filter:co,flex:Ie,flexBasis:Dt,flexDirection:Et,flexGrow:Mt,flexShrink:jt,flexWrap:Ft,fontFamily:Me,fontSize:Le,fontStretch:Ge,fontStyle:$e,fontVariant:_e,fontWeight:Fe,gap:Lt,grid:Ee,gridArea:Kt,gridAutoColumns:Zt,gridAutoFlow:tr,gridAutoRows:er,gridColumn:Ht,gridColumnEnd:Yt,gridColumnStart:Xt,gridRow:Ut,gridRowEnd:Qt,gridRowStart:Jt,gridTemplateAreas:qt,gridTemplateColumns:_t,gridTemplateRows:Gt,height:xt,isolation:jo,justifyContent:Nt,justifyItems:$t,justifySelf:Vt,left:Tt,letterSpacing:De,lineHeight:je,listStyle:bo,listStyleImage:Po,listStylePosition:xo,listStyleType:ho,margin:mt,marginBottom:gt,marginLeft:bt,marginRight:yt,marginTop:ft,maxHeight:wt,maxWidth:St,minHeight:kt,minWidth:Pt,mixBlendMode:Do,objectFit:yo,objectPosition:go,opacity:Vr,orphans:Uo,outline:Br,outlineColor:Er,outlineOffset:Wr,outlineStyle:Ir,outlineWidth:Tr,overflow:po,overflowWrap:Ke,overflowX:uo,overflowY:mo,padding:ct,paddingBottom:dt,paddingLeft:ut,paddingRight:pt,paddingTop:lt,pageBreakAfter:$o,pageBreakBefore:Vo,pageBreakInside:_o,perspective:Jr,perspectiveOrigin:Qr,pointerEvents:No,position:at,quotes:Bo,resize:Ao,right:Rt,scrollBehavior:Lo,tableLayout:Co,textAlign:Oe,textAlignLast:Ze,textDecoration:ze,textDecorationColor:rt,textDecorationLine:tt,textDecorationStyle:ot,textDecorationThickness:nt,textIndent:He,textJustify:et,textOverflow:Ue,textShadow:Xe,textTransform:qe,textUnderlineOffset:st,top:Ct,transform:Ur,transformOrigin:Xr,transformStyle:Yr,transition:$r,transitionDelay:Hr,transitionDuration:Gr,transitionProperty:_r,transitionTimingFunction:qr,userSelect:Wo,verticalAlign:it,visibility:fo,whiteSpace:Ye,widows:Xo,width:ht,willChange:Oo,wordSpacing:Je,wordWrap:Qe,zIndex:It});function yn(){q();const e=globalThis;e.list=J,e.update=fe,e.when=ne,e.on=ge,e.scope=ue,e.render=be;for(const[t,r]of Object.entries(fn))try{e[t]=r}catch{}}yn(),exports.HTML_TAGS=_,exports.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],exports.SVG_TAGS=G,exports.StyleBuilder=Ce,exports.accentColor=Ae,exports.alignContent=zt,exports.alignItems=Wt,exports.alignSelf=Ot,exports.animation=Zr,exports.animationDelay=oo,exports.animationDirection=so,exports.animationDuration=to,exports.animationFillMode=io,exports.animationIterationCount=no,exports.animationName=eo,exports.animationPlayState=ao,exports.animationTimingFunction=ro,exports.appearance=Eo,exports.appendChildren=function(e,...t){return e?(t.forEach(function(t){if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!a)return null;try{return p(e+"")}catch(e){return i("Failed to create text node",e),null}}(t);if(!e)return;r=e}else r=t;!function(e,t){try{return e.appendChild(t),!0}catch(e){return i("Failed to append child node",e),!1}}(e,r)}}),e):e},exports.applyAttributes=A,exports.applyNodeModifier=F,exports.backdropFilter=lo,exports.backfaceVisibility=Kr,exports.backgroundAttachment=jr,exports.backgroundClip=Dr,exports.backgroundColor=Nr,exports.backgroundImage=Ar,exports.backgroundOrigin=Or,exports.backgroundPosition=Fr,exports.backgroundRepeat=Lr,exports.backgroundSize=Mr,exports.bg=We,exports.bold=Ve,exports.border=rr,exports.borderBottom=sr,exports.borderBottomColor=Pr,exports.borderBottomLeftRadius=Cr,exports.borderBottomRightRadius=Rr,exports.borderBottomStyle=gr,exports.borderBottomWidth=ur,exports.borderCollapse=So,exports.borderColor=lr,exports.borderLeft=ir,exports.borderLeftColor=Sr,exports.borderLeftStyle=br,exports.borderLeftWidth=mr,exports.borderRadius=kr,exports.borderRight=nr,exports.borderRightColor=xr,exports.borderRightStyle=yr,exports.borderRightWidth=dr,exports.borderSpacing=ko,exports.borderStyle=cr,exports.borderTop=or,exports.borderTopColor=hr,exports.borderTopLeftRadius=wr,exports.borderTopRightRadius=vr,exports.borderTopStyle=fr,exports.borderTopWidth=pr,exports.borderWidth=ar,exports.bottom=Bt,exports.boxShadow=zr,exports.boxSizing=vt,exports.breakAfter=qo,exports.breakBefore=Go,exports.breakInside=Ho,exports.captionSide=wo,exports.center=At,exports.clip=Fo,exports.clipPath=Mo,exports.color=Ne,exports.columnCount=Yo,exports.columnFill=Jo,exports.columnGap=Qo,exports.columnRule=Ko,exports.columnRuleColor=Zo,exports.columnRuleStyle=en,exports.columnRuleWidth=tn,exports.columnSpan=rn,exports.columnWidth=on,exports.columns=nn,exports.contain=zo,exports.content=Ro,exports.counterIncrement=Io,exports.counterReset=To,exports.createBreakpoints=mn,exports.createCSSClass=ve,exports.createComment=f,exports.createConditionalComment=y,exports.createHtmlElementWithModifiers=O,exports.createHtmlTagBuilder=V,exports.createStyleQueries=un,exports.createSvgElementWithModifiers=z,exports.createSvgTagBuilder=$,exports.cursor=sn,exports.display=Te,exports.emptyCells=vo,exports.filter=co,exports.flex=Ie,exports.flexBasis=Dt,exports.flexDirection=Et,exports.flexGrow=Mt,exports.flexShrink=jt,exports.flexWrap=Ft,exports.fontFamily=Me,exports.fontSize=Le,exports.fontStretch=Ge,exports.fontStyle=$e,exports.fontVariant=_e,exports.fontWeight=Fe,exports.gap=Lt,exports.grid=Ee,exports.gridArea=Kt,exports.gridAutoColumns=Zt,exports.gridAutoFlow=tr,exports.gridAutoRows=er,exports.gridColumn=Ht,exports.gridColumnEnd=Yt,exports.gridColumnStart=Xt,exports.gridRow=Ut,exports.gridRowEnd=Qt,exports.gridRowStart=Jt,exports.gridTemplateAreas=qt,exports.gridTemplateColumns=_t,exports.gridTemplateRows=Gt,exports.height=xt,exports.initializeRuntime=yn,exports.isBoolean=function(e){return"boolean"==typeof e},exports.isBrowser=a,exports.isFunction=n,exports.isNode=t,exports.isObject=r,exports.isPrimitive=e,exports.isTagLike=o,exports.isZeroArityFunction=s,exports.isolation=jo,exports.justifyContent=Nt,exports.justifyItems=$t,exports.justifySelf=Vt,exports.left=Tt,exports.letterSpacing=De,exports.lineHeight=je,exports.list=J,exports.listStyle=bo,exports.listStyleImage=Po,exports.listStylePosition=xo,exports.listStyleType=ho,exports.margin=mt,exports.marginBottom=gt,exports.marginLeft=bt,exports.marginRight=yt,exports.marginTop=ft,exports.maxHeight=wt,exports.maxWidth=St,exports.minHeight=kt,exports.minWidth=Pt,exports.mixBlendMode=Do,exports.objectFit=yo,exports.objectPosition=go,exports.on=ge,exports.opacity=Vr,exports.orphans=Uo,exports.outline=Br,exports.outlineColor=Er,exports.outlineOffset=Wr,exports.outlineStyle=Ir,exports.outlineWidth=Tr,exports.overflow=po,exports.overflowWrap=Ke,exports.overflowX=uo,exports.overflowY=mo,exports.padding=ct,exports.paddingBottom=dt,exports.paddingLeft=ut,exports.paddingRight=pt,exports.paddingTop=lt,exports.pageBreakAfter=$o,exports.pageBreakBefore=Vo,exports.pageBreakInside=_o,exports.perspective=Jr,exports.perspectiveOrigin=Qr,exports.pointerEvents=No,exports.position=at,exports.quotes=Bo,exports.registerGlobalTagBuilders=q,exports.render=be,exports.replaceNodeSafely=x,exports.resize=Ao,exports.right=Rt,exports.scope=ue,exports.scrollBehavior=Lo,exports.tableLayout=Co,exports.textAlign=Oe,exports.textAlignLast=Ze,exports.textDecoration=ze,exports.textDecorationColor=rt,exports.textDecorationLine=tt,exports.textDecorationStyle=ot,exports.textDecorationThickness=nt,exports.textIndent=He,exports.textJustify=et,exports.textOverflow=Ue,exports.textShadow=Xe,exports.textTransform=qe,exports.textUnderlineOffset=st,exports.top=Ct,exports.transform=Ur,exports.transformOrigin=Xr,exports.transformStyle=Yr,exports.transition=$r,exports.transitionDelay=Hr,exports.transitionDuration=Gr,exports.transitionProperty=_r,exports.transitionTimingFunction=qr,exports.update=fe,exports.userSelect=Wo,exports.verticalAlign=it,exports.visibility=fo,exports.when=ne,exports.whiteSpace=Ye,exports.widows=Xo,exports.width=ht,exports.willChange=Oo,exports.wordSpacing=Je,exports.wordWrap=Qe,exports.zIndex=It;
|
|
2
2
|
//# sourceMappingURL=nuclo.cjs.map
|