@onu-ui/preset
Advanced tools
Comparing version 1.0.13 to 1.0.14-beta.0
@@ -1,6 +0,6 @@ | ||
"use strict";var v=Object.defineProperty;var lo=Object.getOwnPropertyDescriptor;var uo=Object.getOwnPropertyNames;var po=Object.prototype.hasOwnProperty;var ho=(o,r)=>{for(var t in r)v(o,t,{get:r[t],enumerable:!0})},fo=(o,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of uo(r))!po.call(o,n)&&n!==t&&v(o,n,{get:()=>r[n],enumerable:!(e=lo(r,n))||e.enumerable});return o};var go=o=>fo(v({},"__esModule",{value:!0}),o);var Qo={};ho(Qo,{darkTheme:()=>Ko,getCSSPreflights:()=>Xo,lightTheme:()=>Yo,presetOnu:()=>Jo});module.exports=go(Qo);var S={"o-border-base":"border-gray-400/50","o-transition":"transition-all duration-200","o-focus-base":"ring-2 ring-context/50","o-active-base":"ring-3 ring-context/10","o-borderless":"!border-none !shadow-none","o-solid":"bg-context border-context c-white","o-transparent":"bg-light-100 dark:bg-lightBackground c-baseText","o-light":"shadow-transparent bg-context:12 !hover-bg-context border-context c-context !hover-c-white !active-c-white !hover-border-context !active-border-context:64 !active-bg-context:64","o-light-simple":"shadow-transparent bg-context:12 border-context c-context","o-text":`!shadow-transparent !bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
"use strict";var v=Object.defineProperty;var ho=Object.getOwnPropertyDescriptor;var fo=Object.getOwnPropertyNames;var go=Object.prototype.hasOwnProperty;var mo=(o,e)=>{for(var t in e)v(o,t,{get:e[t],enumerable:!0})},bo=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of fo(e))!go.call(o,n)&&n!==t&&v(o,n,{get:()=>e[n],enumerable:!(r=ho(e,n))||r.enumerable});return o};var xo=o=>bo(v({},"__esModule",{value:!0}),o);var ee={};mo(ee,{darkTheme:()=>Qo,getCSSPreflights:()=>Zo,lightTheme:()=>Jo,presetOnu:()=>oe});module.exports=xo(ee);var S={"o-border-base":"border-gray-400/50","o-transition":"transition-all duration-200","o-focus-base":"ring-2 ring-context/50","o-active-base":"ring-3 ring-context/10","o-borderless":"!border-none !shadow-none","o-solid":"bg-context border-context c-white","o-transparent":"bg-light-100 dark:bg-lightBackground c-baseText","o-light":"shadow-transparent bg-context:12 !hover-bg-context border-context c-context !hover-c-white !active-c-white !hover-border-context !active-border-context:64 !active-bg-context:64","o-light-simple":"shadow-transparent bg-context:12 border-context c-context","o-text":`!shadow-transparent !bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
!border-transparent | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed"};var C={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-white text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let r=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[r]} ${t[r].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none bg-transparent text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var L={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2 c-baseText","o-collapse-item-wrap":"border-b-(1px solid lightBorder)","o-collapse-item-wrap-active":"border-b-transparent","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-content-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 "};var R={"o-icon-base":"c-context text-base"};var j={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},H=[[/^o-message-icon-(.*)$/,([,o])=>{let r=o;if(["primary","secondary","success","warning","error","info"].includes(r))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[r]}`}]];var O={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var N={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-content":"whitespace-nowrap text-xs","o-tag-xs":"px-2 h-5","o-tag-sm":"px-3 h-6","o-tag-md":"px-4 h-7","o-tag-lg":"px-5 h-8","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var z={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var P={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:(bg-grayBg b-grayBg) border b-light-900 box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var V={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var U={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full"};var I={"o-link-base":"fcc gap-1 inline-flex row align-middle relative no-underline outline-none cursor-pointer p-0 text-baseText font-medium","o-hover-link-active-base":"hover-text-primaryBase active-text-primaryBase"};var W=[S,C,A,B,...E,D,T,_,L,M,R,j,...H,O,N,z,P,V,U,I];var i="--onu-theme",d=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),G={colors:{context:"rgba(var(--onu-c-context),%alpha)",...d("primary"),...d("secondary"),...d("success"),...d("warning"),...d("error"),...d("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed","text-md":"text-base"};var C={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-white text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let e=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[e]} ${t[e].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none bg-transparent text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var L={"o-button-group-clearfix":"o-after:psdc-DEFAULT after:clear-both after:table o-before:psdc-DEFAULT before:table","o-button-group-children":"o-children:[.o-button-base]:left o-children:[.o-button-base]:relative"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var R={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2 c-baseText","o-collapse-item-wrap":"border-b-(1px solid lightBorder)","o-collapse-item-wrap-active":"border-b-transparent","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-content-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 "};var j={"o-icon-base":"c-context text-base"};var H={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},O=[[/^o-message-icon-(.*)$/,([,o])=>{let e=o;if(["primary","secondary","success","warning","error","info"].includes(e))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[e]}`}]];var N={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var z={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-content":"whitespace-nowrap text-xs","o-tag-xs":"px-2 h-5","o-tag-sm":"px-3 h-6","o-tag-md":"px-4 h-7","o-tag-lg":"px-5 h-8","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var P={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var V={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:(bg-grayBg b-grayBg) border b-light-900 box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var U={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var W={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full"};var I={"o-link-base":"fcc gap-1 inline-flex align-middle relative no-underline outline-none cursor-pointer p-0 text-baseText font-medium","o-hover-link-active-base":"hover-text-primaryBase active-text-primaryBase"};var G={"o-radio-check-base":"h-32px mr-32px relative inline-flex items-center c-baseText text-14px font-medium outline-none whitespace-nowrap cursor-pointer select-none last:mr-0","o-radio-check-disabled":"p-5 box-border border-1px border-solid rounded-1","o-radio-check-checked":"after:scale-100 after:-translate-x-1/2 after:-translate-y-1/2","o-radio-input":"inline-flex relative align-middle outline-none whitespace-nowrap cursor-pointer","o-radio-original":"opacity-0 absolute inset-0 m-0 -z-1 outline-none","o-radio-inner-base":"relative inline-block box-border border-2px border-solid border-baseBorder rounded-full cursor-pointer","o-radio-inner-after":"after:rounded-1 after:bg-white after:absolute after:left-1/2 after:top-1/2 after:-translate-x-1/2 after:-translate-y-1/2 after:scale-0 after:transition-transform after:ease-in","o-radio-xs":"h-24px","o-radio-sm":"h-28px","o-radio-md":"h-32px","o-radio-lg":"h-36px","o-radio-label-xs":"text-12px","o-radio-label-sm":"text-12px","o-radio-label-md":"text-14px","o-radio-label-lg":"text-16px","o-radio-inner-xs":"w-12px h-12px after:w-3px after:h-3px","o-radio-inner-sm":"w-14px h-14px after:w-4px after:h-4px","o-radio-inner-md":"w-16px h-16px after:w-6px after:h-6px","o-radio-inner-lg":"w-20px h-20px after:w-8px after:h-8px"};var q={"o-progress-base":"relative leading-none flex items-center","o-progress-bar":"flex-grow box-border","o-progress-bar-outer":"h-6px rounded-[100px] overflow-hidden relative align-middle","o-progress-bar-inner":"absolute left-0 top-0 h-full text-right rounded-[100px] leading-none whitespace-nowrap o-after:psdc-DEFAULT after:inline-block after:h-full after:align-middle","o-progress-bar-inner-text":"inline-block align-middle text-white text-12px m-[0_5px]","o-progress-indeterminate":"translate-z-0 animate-indeterminate","o-progress-text":"text-14px min-w-50px leading-none","o-progress-bar-rounded":"absolute top-2/4 left-0 w-full text-center m-0 translate-x-0 -translate-y-1/2"};var Y=[S,C,A,B,...E,D,T,L,_,R,M,j,H,...O,N,z,P,V,U,W,I,G,q];var i="--onu-theme",f=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),K={colors:{context:"rgba(var(--onu-c-context),%alpha)",...f("primary"),...f("secondary"),...f("success"),...f("warning"),...f("error"),...f("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
60%{ box-shadow: 0 0 0 4px #1890ff33; } | ||
80%{ box-shadow: 0 0 0 6px #1890ff1a; } | ||
100%{ box-shadow: 0 0 0 8px #1890ff0d; }}`},durations:{switching:"0.3s"}}};function q(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Y(o){let r=o.length,t=-1,e,n="",s=o.charCodeAt(0);for(;++t<r;){if(e=o.charCodeAt(t),e===0){n+="\uFFFD";continue}if(e===44){n+="\\,";continue}if(e>=1&&e<=31||e===127||t===0&&e>=48&&e<=57||t===1&&e>=48&&e<=57&&s===45){n+=`\\${e.toString(16)} `;continue}if(t===0&&r===1&&e===45){n+=`\\${o.charAt(t)}`;continue}if(e>=128||e===45||e===95||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122){n+=o.charAt(t);continue}n+=`\\${o.charAt(t)}`}return n}function K(o){return typeof o=="string"}function X(o){let r=function(e){let n=this.__options?.sequence||[];this.__options.sequence=[];for(let s of n){let c=o[s](e);if(c!=null)return c}};function t(e,n){return e.__options||(e.__options={sequence:[]}),e.__options.sequence.push(n),e}for(let e of Object.keys(o))Object.defineProperty(r,e,{enumerable:!0,get(){return t(this,e)}});return r}var mo="default",bo="preflights",xo="shortcuts",Or={[bo]:-100,[xo]:-10,[mo]:0};var Q={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},yo={...Q,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]};var J=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],vo=Object.assign({},...J.map(o=>({[o.replace(/ /,"-")]:o})),...J.map(o=>({[o.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:o}))),Z=["inherit","initial","revert","revert-layer","unset"],$=/^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,wo=/^(-?[0-9.]+)$/i,oo=/^(px)$/i,$o=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function l(o){return o.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ko(o){let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(e&&!Number.isNaN(n))return`${l(n)}${e}`}function Fo(o){if(o==="auto"||o==="a")return"auto"}function So(o){if(o.match(oo))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n/4)}rem`}function Co(o){if(o.match(oo))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}px`}function Ao(o){if(!wo.test(o))return;let r=parseFloat(o);if(!Number.isNaN(r))return l(r)}function Bo(o){o.endsWith("%")&&(o=o.slice(0,-1));let r=parseFloat(o);if(!Number.isNaN(r))return`${l(r/100)}`}function Eo(o){if(o==="full")return"100%";let[r,t]=o.split("/"),e=parseFloat(r)/parseFloat(t);if(!Number.isNaN(e))return`${l(e*100)}%`}var Do=/^\[(color|length|position|quoted|string):/i;function x(o,r){if(o&&o.startsWith("[")&&o.endsWith("]")){let t,e,n=o.match(Do);if(n?(r||(e=n[1]),t=o.slice(n[0].length,-1)):t=o.slice(1,-1),!t)return;let s=0;for(let c of t)if(c==="[")s+=1;else if(c==="]"&&(s-=1,s<0))return;if(s)return;switch(e){case"string":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return t.replace(/(url\(.*?\))/g,c=>c.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,c=>c.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function To(o){return x(o)}function _o(o){return x(o,"color")}function Lo(o){return x(o,"length")}function Mo(o){return x(o,"position")}function Ro(o){if(o.match(/^\$\S/))return`var(--${Y(o.slice(1))})`}function jo(o){let r=o.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}ms`}function Ho(o){let r=o.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}deg`}function Oo(o){if(Z.includes(o))return o}function No(o){if(o.split(",").every(r=>$o.includes(r)))return o}function zo(o){if(["top","left","right","bottom","center"].includes(o))return o}var ro={__proto__:null,numberWithUnit:ko,auto:Fo,rem:So,px:Co,number:Ao,percent:Bo,fraction:Eo,bracket:To,bracketOfColor:_o,bracketOfLength:Lo,bracketOfPosition:Mo,cssvar:Ro,time:jo,degree:Ho,global:Oo,properties:No,position:zo},m=X(ro);function w(o,r){let t=o.colors,e=-1;for(let n of r){if(e+=1,t&&typeof t!="string"){let s=r.slice(e).join("-").replace(/(-[a-z])/g,c=>c.slice(1).toUpperCase());if(t[s])return t[s];if(t[n]){t=t[n];continue}}return}return t}function k(o,r){let t=o.split(/(?:\/|:)/),e,n;t[0]==="[color"?(e=t.slice(0,2).join(":"),n=t[2]):[e,n]=t;let s=e.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[c]=s;if(!c)return;let a,h=m.bracketOfColor(e),g=h||e;g.match(/^#[\da-fA-F]+/g)?a=g:g.match(/^hex-[\da-fA-F]+/g)?a=`#${g.slice(4)}`:e.startsWith("$")&&(a=m.cssvar(e)),a=a||h;let f="DEFAULT";if(!a){let u,[F]=s.slice(-1);F.match(/^\d+$/)?(f=F,u=w(r,s.slice(0,-1)),!u||typeof u=="string"?a=void 0:a=u[f]):(u=w(r,s),!u&&s.length<=2&&([,f=f]=s,u=w(r,[c])),typeof u=="string"?a=u:f&&u&&(a=u[f]))}return{opacity:n,name:c,no:f,color:a,cssColor:no(a),alpha:m.bracket.cssvar.percent(n??"")}}function eo(o,r,t,e){if(o===""||(K(e)&&(e=[e]),e.length===0))return;let n=o.length,s=0;for(let c=0;c<n;c++)switch(o[c]){case r:s++;break;case t:if(--s<0)return;break;default:for(let a of e){let h=a.length;if(h&&a===o.slice(c,c+h)&&s===0)return c===0||c===n-h?void 0:[o.slice(0,c),o.slice(c+h)]}}return[o,""]}function b(o,r,t){t=t??10;let e=[],n=0;for(;o!=="";){if(++n>t)return;let s=eo(o,"(",")",r);if(!s)return;let[c,a]=s;e.push(c),o=a}if(e.length>0)return e}var to=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Po=["%alpha","<alpha-value>"],Vr=new RegExp(Po.map(o=>q(o)).join("|"));function p(o=""){let r=so(o);if(r!=null){let{components:t,alpha:e}=r;return e==null?t:[...t,e]}}function no(o=""){let r=Vo(o);if(r==null||r===!1)return;let{type:t,components:e,alpha:n}=r,s=t.toLowerCase();if(e.length!==0&&!(["rgba","hsla"].includes(s)&&n==null)&&!(to.includes(s)&&![1,3].includes(e.length)))return{type:s,components:e.map(c=>typeof c=="string"?c.trim():c),alpha:typeof n=="string"?n.trim():n}}function Vo(o){if(!o)return;let r=so(o);if(r!=null||(r=Uo(o),r!=null)||(r=Io(o),r!=null)||(r=Go(o),r!=null)||(r=qo(o),r!=null))return r}function so(o){let[,r]=o.match(/^#([\da-f]+)$/i)||[];if(r)switch(r.length){case 3:case 4:let t=Array.from(r,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:t.slice(0,3),alpha:r.length===3?void 0:Math.round(t[3]/255*100)/100};case 6:case 8:let e=Number.parseInt(r,16);return{type:"rgb",components:r.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:r.length===6?void 0:Math.round((e&255)/255*100)/100}}}function Uo(o){let r={rebeccapurple:[102,51,153,1]}[o];if(r!=null)return{type:"rgb",components:r.slice(0,3),alpha:r[3]}}function Io(o){let r=o.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!r)return;let[,t,e]=r,n=b(e,",",5);if(n){if([3,4].includes(n.length))return{type:t,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Wo=new RegExp(`^(${to.join("|")})\\((.+)\\)$`,"i");function Go(o){let r=o.match(Wo);if(!r)return;let[,t,e]=r,n=co(`${t} ${e}`);if(n){let{alpha:s,components:[c,...a]}=n;return{type:c,components:a,alpha:s}}}function qo(o){let r=o.match(/^color\((.+)\)$/);if(!r)return;let t=co(r[1]);if(t){let{alpha:e,components:[n,...s]}=t;return{type:n,components:s,alpha:e}}}function co(o){let r=b(o," ");if(!r)return;let t=r.length;if(r[t-2]==="/")return{components:r.slice(0,t-2),alpha:r[t-1]};if(r[t-2]!=null&&(r[t-2].endsWith("/")||r[t-1].startsWith("/"))){let s=r.splice(t-2);r.push(s.join(" ")),--t}let e=b(r[t-1],"/",2);if(!e)return;if(e.length===1||e[e.length-1]==="")return{components:r};let n=e.pop();return r[t-1]=e.join("/"),{components:r,alpha:n}}var y={sm:["2rem","1.125rem","0.85rem"],md:["2.5rem","1.375rem","1.1rem"],lg:["3rem","1.625rem","1.375rem"]};var ao=[[/^o-(.*)$/,([,o],{theme:r})=>{let t=k(o,r);return t?.cssColor?.type==="rgb"&&t.cssColor.components?{"--onu-c-context":`${t.cssColor.components.join(",")}`}:{"--onu-c-context":t?.color}}],[/^o-switch-(.+)$/,([,o])=>{if(["sm","md","lg"].includes(o))return{"--o-switch-offset":y[o][2],width:y[o][0],height:y[o][1]}}],["o-dashed",{"border-style":"dashed"}],["o-solid",{"background-color":"rgba(var(--onu-c-context), 1) !important","border-color":"rgba(var(--onu-c-context), 1)",color:"white !important"}],["o-bg-clip-half",{"clip-path":"polygon(0% 0%, 50% 0, 50% 50%, 50% 100%, 0% 100%)"}]];var io=[o=>{let r="o-disabled:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[disabled] ${t}, ${t}[disabled]`}},o=>{let r="o-checked:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[checked] ${t}, ${t}[checked]`}}];var Yo={"--onu-colors-blue50":"#EDF5FF","--onu-colors-blue100":"#E1EFFF","--onu-colors-blue200":"#ecf5ff","--onu-colors-blue300":"#B7D5F8","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#409EFF","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#005FCC","--onu-colors-blue800":"#004799","--onu-colors-blue900":"#00254D","--onu-colors-purple50":"#F7F2FD","--onu-colors-purple100":"#F1E8FB","--onu-colors-purple200":"#EADCF8","--onu-colors-purple300":"#E0CBF5","--onu-colors-purple400":"#D1B1F0","--onu-colors-purple500":"#BC8EE9","--onu-colors-purple600":"#A855F7","--onu-colors-purple700":"#6622AA","--onu-colors-purple800":"#4D1980","--onu-colors-purple900":"#290E44","--onu-colors-green50":"#F1FDF7","--onu-colors-green100":"#E8FCF1","--onu-colors-green200":"#DAFBE8","--onu-colors-green300":"#C8F9DD","--onu-colors-green400":"#ADF5CC","--onu-colors-green500":"#67eaa0","--onu-colors-green600":"#0ACF83","--onu-colors-green700":"#13A452","--onu-colors-green800":"#108944","--onu-colors-green900":"#06371B","--onu-colors-yellow50":"#FEF9F0","--onu-colors-yellow100":"#FEF5E7","--onu-colors-yellow200":"#FDEFD8","--onu-colors-yellow300":"#FCE7C5","--onu-colors-yellow400":"#FBDBA7","--onu-colors-yellow500":"#F9CB80","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#B97509","--onu-colors-yellow800":"#925D07","--onu-colors-yellow900":"#4E3104","--onu-colors-red50":"#FEF0F5","--onu-colors-red100":"#FEE7EF","--onu-colors-red200":"#FDD8E5","--onu-colors-red300":"#FCC5D8","--onu-colors-red400":"#FAA8C5","--onu-colors-red500":"#f89898","--onu-colors-red600":"#FF5C5C","--onu-colors-red700":"#c45656","--onu-colors-red800":"#910838","--onu-colors-red900":"#4E041E","--onu-colors-cyan50":"#F0FCFF","--onu-colors-cyan100":"#E6FAFE","--onu-colors-cyan200":"#D7F8FE","--onu-colors-cyan300":"#C3F4FD","--onu-colors-cyan400":"#A5EEFD","--onu-colors-cyan500":"#7EE7FC","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#09AACD","--onu-colors-cyan800":"#0E8AAA","--onu-colors-cyan900":"#053B48","--onu-colors-pink50":"#FFF0FB","--onu-colors-pink100":"#FFE5F8","--onu-colors-pink200":"#FFD6F3","--onu-colors-pink300":"#FFC2EE","--onu-colors-pink400":"#FFA3E5","--onu-colors-pink500":"#FF7AD9","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#D6009A","--onu-colors-pink800":"#B80084","--onu-colors-pink900":"#4D0037","--onu-colors-gray50":"#F1F3F5","--onu-colors-gray100":"#ECEEF0","--onu-colors-gray200":"#E6E8EB","--onu-colors-gray300":"#DFE3E6","--onu-colors-gray400":"#D7DBDF","--onu-colors-gray500":"#C1C8CD","--onu-colors-gray600":"#889096","--onu-colors-gray700":"#7E868C","--onu-colors-gray800":"#687076","--onu-colors-gray900":"#11181C","--onu-colors-white":"#ffffff","--onu-colors-black":"#000000","--onu-colors-black-light":"var(--onu-colors-white)","--onu-colors-background":"var(--onu-colors-white)","--onu-colors-background-light":"var(--onu-colors-black-light)","--onu-colors-background-gray":"var(--onu-colors-gray600)","--onu-colors-backgroundAlpha":"rgba(255, 255, 255, 0.8)","--onu-colors-foreground":"var(--onu-colors-black)","--onu-colors-backgroundContrast":"var(--onu-colors-white)","--onu-colors-text":"#606266","--onu-colors-text-darker":"#606266","--onu-colors-text-light":"#909399","--onu-colors-title":"#11181C","--onu-colors-placeholder":"#a8abb2","--onu-colors-grayBg":"#373739","--onu-colors-lightContext":"#f9f9f9","--onu-colors-embed":"#F1F3F5","--onu-colors-darkContext":"#1c1f23","--onu-colors-link":"var(--onu-colors-blue600)","--onu-colors-codeLight":"var(--onu-colors-pink100)","--onu-colors-code":"var(--onu-colors-pink600)","--onu-colors-selection":"var(--onu-colors-blue200)","--onu-colors-border":"#dcdfe6","--onu-colors-border-light":"#efeff5","--onu-colors-border-darker":"#cdd0d6","--onu-colors-headerBackground":"hsla(0,0%,100%,0.8)","--onu-colors-menuBackground":"rgba(255, 255, 255, 0.8)","--onu-colors-headerIconColor":"var(--onu-colors-gray400)","--onu-colors-codeBackground":"#363449","--onu-colors-codeComment":"var(--onu-colors-gray700)","--onu-colors-codeCopyIconColor":"var(--onu-colors-gray200)","--onu-colors-cardBackground":"var(--onu-colors-white)","--onu-colors-codeHighlight":"hsl(243, 16%, 30%)","--onu-colors-backgroundBlur":"rgba(255, 255, 255, 0.3)","--onu-colors-blockLinkBackground":"var(--onu-colors-accents1)","--onu-colors-blockLinkHoverBackground":"#FFD1ED","--onu-shadows-xs":"0 2px 8px 1px rgb(104 112 118 / 0.07), 0 1px 1px -1px rgb(104 112 118 / 0.04)","--onu-shadows-sm":"0 2px 8px 2px rgb(104 112 118 / 0.07), 0 2px 4px -1px rgb(104 112 118 / 0.04)","--onu-shadows-md":"0 12px 20px 6px rgb(104 112 118 / 0.08)","--onu-shadows-lg":"0 12px 34px 6px rgb(104 112 118 / 0.18)","--onu-shadows-xl":"0 25px 65px 0px inset","--onu-dropShadows-xs":"drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))","--onu-dropShadows-sm":"drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))","--onu-dropShadows-md":"drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))","--onu-dropShadows-lg":"drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))","--onu-dropShadows-xl":"drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))","--onu-theme-primary":"var(--onu-colors-blue500)","--onu-theme-primaryHsl":`${p("#409EFF")}`,"--onu-theme-primaryLight":"var(--onu-colors-blue200)","--onu-theme-primaryBorder":"var(--onu-colors-blue500)","--onu-theme-primaryLightHover":"var(--onu-colors-blue400)","--onu-theme-primaryLightActive":"var(--onu-colors-blue600)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue400)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue600)","--onu-theme-primaryShadow":"var(--onu-colors-blue500)","--onu-theme-secondary":"var(--onu-colors-purple600)","--onu-theme-secondaryHsl":`${p("#A855F7")}`,"--onu-theme-secondaryBorder":"var(--onu-colors-purple600)","--onu-theme-secondaryLightHover":"var(--onu-colors-purple500)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple700)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple500)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple700)","--onu-theme-secondaryShadow":"var(--onu-colors-purple500)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-successHsl":`${p("#0ACF83")}`,"--onu-theme-successBorder":"var(--onu-colors-green600)","--onu-theme-successLightHover":"var(--onu-colors-green500)","--onu-theme-successLightActive":"var(--onu-colors-green700)","--onu-theme-successBorderHover":"var(--onu-colors-green500)","--onu-theme-successBorderActive":"var(--onu-colors-green700)","--onu-theme-successShadow":"var(--onu-colors-green500)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-warningHsl":`${p("#F5A524")}`,"--onu-theme-warningBorder":"var(--onu-colors-yellow500)","--onu-theme-warningLightHover":"var(--onu-colors-yellow500)","--onu-theme-warningLightActive":"var(--onu-colors-yellow700)","--onu-theme-warningBorderHover":"var(--onu-colors-yellow500)","--onu-theme-warningBorderActive":"var(--onu-colors-yellow700)","--onu-theme-warningShadow":"var(--onu-colors-yellow500)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-errorHsl":`${p("#FF5C5C")}`,"--onu-theme-errorBorder":"var(--onu-colors-red600)","--onu-theme-errorLightHover":"var(--onu-colors-red500)","--onu-theme-errorLightActive":"var(--onu-colors-red700)","--onu-theme-errorBorderHover":"var(--onu-colors-red500)","--onu-theme-errorBorderActive":"var(--onu-colors-red700)","--onu-theme-errorShadow":"var(--onu-colors-red500)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#7E868C")}`,"--onu-theme-infoBorder":"var(--onu-colors-gray700)","--onu-theme-infoLightHover":"var(--onu-colors-gray500)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray500)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)","--onu-theme-infoShadow":"var(--onu-colors-gray400)"},Ko={"--onu-colors-blue50":"#10253E","--onu-colors-blue100":"#102C4C","--onu-colors-blue200":"#18222c","--onu-colors-blue300":"#0F3158","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#0952A5","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#3694FF","--onu-colors-blue800":"#3694FF","--onu-colors-blue900":"#EAF4FF","--onu-colors-purple50":"#1F0A33","--onu-colors-purple100":"#240C3C","--onu-colors-purple200":"#2E0F4D","--onu-colors-purple300":"#3B1362","--onu-colors-purple400":"#451773","--onu-colors-purple500":"#571D91","--onu-colors-purple600":"#7828C8","--onu-colors-purple700":"#9750DD","--onu-colors-purple800":"#B583E7","--onu-colors-purple900":"#F7ECFC","--onu-colors-green50":"#042F14","--onu-colors-green100":"#06381B","--onu-colors-green200":"#074A24","--onu-colors-green300":"#0A6130","--onu-colors-green400":"#0B7439","--onu-colors-green500":"#0F9549","--onu-colors-green600":"#17C964","--onu-colors-green700":"#41EC8B","--onu-colors-green800":"#78F2AD","--onu-colors-green900":"#ECFDF4","--onu-colors-yellow50":"#3A2503","--onu-colors-yellow100":"#442B03","--onu-colors-yellow200":"#583804","--onu-colors-yellow300":"#704705","--onu-colors-yellow400":"#845306","--onu-colors-yellow500":"#A66908","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#F6AD37","--onu-colors-yellow800":"#F8C572","--onu-colors-yellow900":"#FEF7EC","--onu-colors-red50":"#300313","--onu-colors-red100":"#300313","--onu-colors-red200":"#44041A","--onu-colors-red300":"#5C0523","--onu-colors-red400":"#6F062B","--onu-colors-red500":"#c45656","--onu-colors-red600":"#F31260","--onu-colors-red700":"#f89898","--onu-colors-red800":"#F75F94","--onu-colors-red900":"#FDD8E5","--onu-colors-cyan50":"#012A32","--onu-colors-cyan100":"#023A46","--onu-colors-cyan200":"#024B5A","--onu-colors-cyan300":"#036072","--onu-colors-cyan400":"#037086","--onu-colors-cyan500":"#048EA9","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#33D9FA","--onu-colors-cyan800":"#6FE4FB","--onu-colors-cyan900":"#EBFBFE","--onu-colors-pink50":"#330025","--onu-colors-pink100":"#470033","--onu-colors-pink200":"#5C0042","--onu-colors-pink300":"#750054","--onu-colors-pink400":"#8A0063","--onu-colors-pink500":"#AD007C","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#FF2EC4","--onu-colors-pink800":"#FF6BD5","--onu-colors-pink900":"#FFEBF9","--onu-colors-gray50":"#16181A","--onu-colors-gray100":"#26292B","--onu-colors-gray200":"#2B2F31","--onu-colors-gray300":"#313538","--onu-colors-gray400":"#3A3F42","--onu-colors-gray500":"#4C5155","--onu-colors-gray600":"#697177","--onu-colors-gray700":"#787F85","--onu-colors-gray800":"#9BA1A6","--onu-colors-gray900":"#ECEDEE","--onu-colors-white-light":"#ffffff","--onu-colors-text":"#CFD3DC","--onu-colors-text-darker":"#7C7C7D","--onu-colors-text-light":"#A3A6AD","--onu-colors-title":"#ECEDEE","--onu-colors-placeholder":"#8D9095","--onu-colors-border":"#4C4D4F","--onu-colors-border-light":"#414243","--onu-colors-border-darker":"#636466","--onu-colors-background":"var(--onu-colors-black)","--onu-colors-black-light":"#1d1e1f","--onu-colors-arrow":"#373739","--onu-colors-backgroundAlpha":"rgba(0, 0, 0, 0.6)","--onu-colors-foreground":"var(--onu-colors-white)","--onu-colors-backgroundContrast":"var(--onu-colors-gray50)","--onu-theme-primary":"var(--onu-colors-blue600)","--onu-theme-primaryHsl":`${p("#0072F5")}`,"--onu-theme-primaryLightHover":"var(--onu-colors-blue500)","--onu-theme-primaryLightActive":"var(--onu-colors-blue700)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue500)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue700)","--onu-theme-secondary":"var(--onu-colors-purple700)","--onu-theme-secondaryHsl":`${p("#9750DD")}`,"--onu-theme-secondaryLightHover":"var(--onu-colors-purple600)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple800)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple600)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple800)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#787F85")}`,"--onu-theme-infoLightHover":"var(--onu-colors-gray600)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray600)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)"},Xo=o=>Object.entries(o).map(([r,t])=>`${r}: ${t}`).join(";");function Jo(){return{name:"@onu-ui/preset",theme:G,rules:ao,variants:io,shortcuts:W}}0&&(module.exports={darkTheme,getCSSPreflights,lightTheme,presetOnu}); | ||
100%{ box-shadow: 0 0 0 8px #1890ff0d; }}`,indeterminate:"{0%{ left: -100%; } 100%{ left: 100%; }}"},durations:{switching:"0.3s",indeterminate:"3s"},counts:{indeterminate:"infinite"}}};function X(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function J(o){let e=o.length,t=-1,r,n="",s=o.charCodeAt(0);for(;++t<e;){if(r=o.charCodeAt(t),r===0){n+="\uFFFD";continue}if(r===44){n+="\\,";continue}if(r>=1&&r<=31||r===127||t===0&&r>=48&&r<=57||t===1&&r>=48&&r<=57&&s===45){n+=`\\${r.toString(16)} `;continue}if(t===0&&e===1&&r===45){n+=`\\${o.charAt(t)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){n+=o.charAt(t);continue}n+=`\\${o.charAt(t)}`}return n}function Q(o){return typeof o=="string"}function Z(o){let e=function(r){let n=this.__options?.sequence||[];this.__options.sequence=[];for(let s of n){let a=o[s](r);if(a!=null)return a}};function t(r,n){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(n),r}for(let r of Object.keys(o))Object.defineProperty(e,r,{enumerable:!0,get(){return t(this,r)}});return e}var yo="default",vo="preflights",wo="shortcuts",qe={[vo]:-100,[wo]:-10,[yo]:0};var eo={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},$o={...eo,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]};var oo=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ko=Object.assign({},...oo.map(o=>({[o.replace(/ /,"-")]:o})),...oo.map(o=>({[o.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:o}))),ro=["inherit","initial","revert","revert-layer","unset"],$=/^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Fo=/^(-?[0-9.]+)$/i,to=/^(px)$/i,So=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function l(o){return o.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Co(o){let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(r&&!Number.isNaN(n))return`${l(n)}${r}`}function Ao(o){if(o==="auto"||o==="a")return"auto"}function Bo(o){if(o.match(to))return`1${o}`;let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n/4)}rem`}function Eo(o){if(o.match(to))return`1${o}`;let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}px`}function Do(o){if(!Fo.test(o))return;let e=parseFloat(o);if(!Number.isNaN(e))return l(e)}function To(o){o.endsWith("%")&&(o=o.slice(0,-1));let e=parseFloat(o);if(!Number.isNaN(e))return`${l(e/100)}`}function Lo(o){if(o==="full")return"100%";let[e,t]=o.split("/"),r=parseFloat(e)/parseFloat(t);if(!Number.isNaN(r))return`${l(r*100)}%`}var _o=/^\[(color|length|position|quoted|string):/i;function x(o,e){if(o&&o.startsWith("[")&&o.endsWith("]")){let t,r,n=o.match(_o);if(n?(e||(r=n[1]),t=o.slice(n[0].length,-1)):t=o.slice(1,-1),!t)return;let s=0;for(let a of t)if(a==="[")s+=1;else if(a==="]"&&(s-=1,s<0))return;if(s)return;switch(r){case"string":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return t.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function Ro(o){return x(o)}function Mo(o){return x(o,"color")}function jo(o){return x(o,"length")}function Ho(o){return x(o,"position")}function Oo(o){if(o.match(/^\$\S/))return`var(--${J(o.slice(1))})`}function No(o){let e=o.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}ms`}function zo(o){let e=o.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}deg`}function Po(o){if(ro.includes(o))return o}function Vo(o){if(o.split(",").every(e=>So.includes(e)))return o}function Uo(o){if(["top","left","right","bottom","center"].includes(o))return o}var no={__proto__:null,numberWithUnit:Co,auto:Ao,rem:Bo,px:Eo,number:Do,percent:To,fraction:Lo,bracket:Ro,bracketOfColor:Mo,bracketOfLength:jo,bracketOfPosition:Ho,cssvar:Oo,time:No,degree:zo,global:Po,properties:Vo,position:Uo},m=Z(no);function w(o,e){let t=o.colors,r=-1;for(let n of e){if(r+=1,t&&typeof t!="string"){let s=e.slice(r).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(t[s])return t[s];if(t[n]){t=t[n];continue}}return}return t}function k(o,e){let t=o.split(/(?:\/|:)/),r,n;t[0]==="[color"?(r=t.slice(0,2).join(":"),n=t[2]):[r,n]=t;let s=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,h=m.bracketOfColor(r),g=h||r;g.match(/^#[\da-fA-F]+/g)?c=g:g.match(/^hex-[\da-fA-F]+/g)?c=`#${g.slice(4)}`:r.startsWith("$")&&(c=m.cssvar(r)),c=c||h;let d="DEFAULT";if(!c){let u,[F]=s.slice(-1);F.match(/^\d+$/)?(d=F,u=w(e,s.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[d]):(u=w(e,s),!u&&s.length<=2&&([,d=d]=s,u=w(e,[a])),typeof u=="string"?c=u:d&&u&&(c=u[d]))}return{opacity:n,name:a,no:d,color:c,cssColor:co(c),alpha:m.bracket.cssvar.percent(n??"")}}function so(o,e,t,r){if(o===""||(Q(r)&&(r=[r]),r.length===0))return;let n=o.length,s=0;for(let a=0;a<n;a++)switch(o[a]){case e:s++;break;case t:if(--s<0)return;break;default:for(let c of r){let h=c.length;if(h&&c===o.slice(a,a+h)&&s===0)return a===0||a===n-h?void 0:[o.slice(0,a),o.slice(a+h)]}}return[o,""]}function b(o,e,t){t=t??10;let r=[],n=0;for(;o!=="";){if(++n>t)return;let s=so(o,"(",")",e);if(!s)return;let[a,c]=s;r.push(a),o=c}if(r.length>0)return r}var ao=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Wo=["%alpha","<alpha-value>"],Je=new RegExp(Wo.map(o=>X(o)).join("|"));function p(o=""){let e=io(o);if(e!=null){let{components:t,alpha:r}=e;return r==null?t:[...t,r]}}function co(o=""){let e=Io(o);if(e==null||e===!1)return;let{type:t,components:r,alpha:n}=e,s=t.toLowerCase();if(r.length!==0&&!(["rgba","hsla"].includes(s)&&n==null)&&!(ao.includes(s)&&![1,3].includes(r.length)))return{type:s,components:r.map(a=>typeof a=="string"?a.trim():a),alpha:typeof n=="string"?n.trim():n}}function Io(o){if(!o)return;let e=io(o);if(e!=null||(e=Go(o),e!=null)||(e=qo(o),e!=null)||(e=Ko(o),e!=null)||(e=Xo(o),e!=null))return e}function io(o){let[,e]=o.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:let t=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:t.slice(0,3),alpha:e.length===3?void 0:Math.round(t[3]/255*100)/100};case 6:case 8:let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}function Go(o){let e={rebeccapurple:[102,51,153,1]}[o];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function qo(o){let e=o.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,t,r]=e,n=b(r,",",5);if(n){if([3,4].includes(n.length))return{type:t,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Yo=new RegExp(`^(${ao.join("|")})\\((.+)\\)$`,"i");function Ko(o){let e=o.match(Yo);if(!e)return;let[,t,r]=e,n=lo(`${t} ${r}`);if(n){let{alpha:s,components:[a,...c]}=n;return{type:a,components:c,alpha:s}}}function Xo(o){let e=o.match(/^color\((.+)\)$/);if(!e)return;let t=lo(e[1]);if(t){let{alpha:r,components:[n,...s]}=t;return{type:n,components:s,alpha:r}}}function lo(o){let e=b(o," ");if(!e)return;let t=e.length;if(e[t-2]==="/")return{components:e.slice(0,t-2),alpha:e[t-1]};if(e[t-2]!=null&&(e[t-2].endsWith("/")||e[t-1].startsWith("/"))){let s=e.splice(t-2);e.push(s.join(" ")),--t}let r=b(e[t-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:e};let n=r.pop();return e[t-1]=r.join("/"),{components:e,alpha:n}}var y={sm:["2rem","1.125rem","0.85rem"],md:["2.5rem","1.375rem","1.1rem"],lg:["3rem","1.625rem","1.375rem"]};var uo=[[/^o-(.*)$/,([,o],{theme:e})=>{let t=k(o,e);return t?.cssColor?.type==="rgb"&&t.cssColor.components?{"--onu-c-context":`${t.cssColor.components.join(",")}`}:{"--onu-c-context":t?.color}}],[/^o-switch-(.+)$/,([,o])=>{if(["sm","md","lg"].includes(o))return{"--o-switch-offset":y[o][2],width:y[o][0],height:y[o][1]}}],["o-dashed",{"border-style":"dashed"}],["o-solid",{"background-color":"rgba(var(--onu-c-context), 1) !important","border-color":"rgba(var(--onu-c-context), 1)",color:"white !important"}],["o-bg-clip-half",{"clip-path":"polygon(0% 0%, 50% 0, 50% 50%, 50% 100%, 0% 100%)"}],[/^psdc-(.*)$/,([,o])=>({content:`'${o==="DEFAULT"?"":o}'`})]];var po=[o=>{let e="o-disabled:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`[disabled] ${t}, ${t}[disabled]`}},o=>{let e="o-checked:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`[checked] ${t}, ${t}[checked]`}},o=>{let e="o-after:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`${t}::after`}},o=>{let e="o-before:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`${t}::before`}},o=>{let e="o-children:",t=/(o-children:)\[(.*)\]:(.*)$/;if(o.startsWith(e))return{matcher:o.replace(t,"$3"),selector:r=>`${r} > ${o.replace(t,"$2")}`}},o=>{let e="o-sibling:",t=/(o-sibling:)\[(.*)\]:(.*)$/;if(o.startsWith(e))return{matcher:o.replace(t,"$3"),selector:r=>`${r} + ${o.replace(t,"$2")}`}}];var Jo={"--onu-colors-blue50":"#EDF5FF","--onu-colors-blue100":"#E1EFFF","--onu-colors-blue200":"#ecf5ff","--onu-colors-blue300":"#B7D5F8","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#409EFF","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#005FCC","--onu-colors-blue800":"#004799","--onu-colors-blue900":"#00254D","--onu-colors-purple50":"#F7F2FD","--onu-colors-purple100":"#F1E8FB","--onu-colors-purple200":"#EADCF8","--onu-colors-purple300":"#E0CBF5","--onu-colors-purple400":"#D1B1F0","--onu-colors-purple500":"#BC8EE9","--onu-colors-purple600":"#A855F7","--onu-colors-purple700":"#6622AA","--onu-colors-purple800":"#4D1980","--onu-colors-purple900":"#290E44","--onu-colors-green50":"#F1FDF7","--onu-colors-green100":"#E8FCF1","--onu-colors-green200":"#DAFBE8","--onu-colors-green300":"#C8F9DD","--onu-colors-green400":"#ADF5CC","--onu-colors-green500":"#67eaa0","--onu-colors-green600":"#0ACF83","--onu-colors-green700":"#13A452","--onu-colors-green800":"#108944","--onu-colors-green900":"#06371B","--onu-colors-yellow50":"#FEF9F0","--onu-colors-yellow100":"#FEF5E7","--onu-colors-yellow200":"#FDEFD8","--onu-colors-yellow300":"#FCE7C5","--onu-colors-yellow400":"#FBDBA7","--onu-colors-yellow500":"#F9CB80","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#B97509","--onu-colors-yellow800":"#925D07","--onu-colors-yellow900":"#4E3104","--onu-colors-red50":"#FEF0F5","--onu-colors-red100":"#FEE7EF","--onu-colors-red200":"#FDD8E5","--onu-colors-red300":"#FCC5D8","--onu-colors-red400":"#FAA8C5","--onu-colors-red500":"#f89898","--onu-colors-red600":"#FF5C5C","--onu-colors-red700":"#c45656","--onu-colors-red800":"#910838","--onu-colors-red900":"#4E041E","--onu-colors-cyan50":"#F0FCFF","--onu-colors-cyan100":"#E6FAFE","--onu-colors-cyan200":"#D7F8FE","--onu-colors-cyan300":"#C3F4FD","--onu-colors-cyan400":"#A5EEFD","--onu-colors-cyan500":"#7EE7FC","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#09AACD","--onu-colors-cyan800":"#0E8AAA","--onu-colors-cyan900":"#053B48","--onu-colors-pink50":"#FFF0FB","--onu-colors-pink100":"#FFE5F8","--onu-colors-pink200":"#FFD6F3","--onu-colors-pink300":"#FFC2EE","--onu-colors-pink400":"#FFA3E5","--onu-colors-pink500":"#FF7AD9","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#D6009A","--onu-colors-pink800":"#B80084","--onu-colors-pink900":"#4D0037","--onu-colors-gray50":"#F1F3F5","--onu-colors-gray100":"#ECEEF0","--onu-colors-gray200":"#E6E8EB","--onu-colors-gray300":"#DFE3E6","--onu-colors-gray400":"#D7DBDF","--onu-colors-gray500":"#C1C8CD","--onu-colors-gray600":"#889096","--onu-colors-gray700":"#7E868C","--onu-colors-gray800":"#687076","--onu-colors-gray900":"#11181C","--onu-colors-white":"#ffffff","--onu-colors-black":"#000000","--onu-colors-black-light":"var(--onu-colors-white)","--onu-colors-background":"var(--onu-colors-white)","--onu-colors-background-light":"var(--onu-colors-black-light)","--onu-colors-background-gray":"var(--onu-colors-gray600)","--onu-colors-background-gray-light":"var(--onu-colors-gray200)","--onu-colors-backgroundAlpha":"rgba(255, 255, 255, 0.8)","--onu-colors-foreground":"var(--onu-colors-black)","--onu-colors-backgroundContrast":"var(--onu-colors-white)","--onu-colors-text":"#606266","--onu-colors-text-darker":"#606266","--onu-colors-text-light":"#909399","--onu-colors-title":"#11181C","--onu-colors-placeholder":"#a8abb2","--onu-colors-grayBg":"#373739","--onu-colors-lightContext":"#f9f9f9","--onu-colors-embed":"#F1F3F5","--onu-colors-darkContext":"#1c1f23","--onu-colors-link":"var(--onu-colors-blue600)","--onu-colors-codeLight":"var(--onu-colors-pink100)","--onu-colors-code":"var(--onu-colors-pink600)","--onu-colors-selection":"var(--onu-colors-blue200)","--onu-colors-border":"#dcdfe6","--onu-colors-border-light":"#efeff5","--onu-colors-border-darker":"#cdd0d6","--onu-colors-headerBackground":"hsla(0,0%,100%,0.8)","--onu-colors-menuBackground":"rgba(255, 255, 255, 0.8)","--onu-colors-headerIconColor":"var(--onu-colors-gray400)","--onu-colors-codeBackground":"#363449","--onu-colors-codeComment":"var(--onu-colors-gray700)","--onu-colors-codeCopyIconColor":"var(--onu-colors-gray200)","--onu-colors-cardBackground":"var(--onu-colors-white)","--onu-colors-codeHighlight":"hsl(243, 16%, 30%)","--onu-colors-backgroundBlur":"rgba(255, 255, 255, 0.3)","--onu-colors-blockLinkBackground":"var(--onu-colors-accents1)","--onu-colors-blockLinkHoverBackground":"#FFD1ED","--onu-shadows-xs":"0 2px 8px 1px rgb(104 112 118 / 0.07), 0 1px 1px -1px rgb(104 112 118 / 0.04)","--onu-shadows-sm":"0 2px 8px 2px rgb(104 112 118 / 0.07), 0 2px 4px -1px rgb(104 112 118 / 0.04)","--onu-shadows-md":"0 12px 20px 6px rgb(104 112 118 / 0.08)","--onu-shadows-lg":"0 12px 34px 6px rgb(104 112 118 / 0.18)","--onu-shadows-xl":"0 25px 65px 0px inset","--onu-dropShadows-xs":"drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))","--onu-dropShadows-sm":"drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))","--onu-dropShadows-md":"drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))","--onu-dropShadows-lg":"drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))","--onu-dropShadows-xl":"drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))","--onu-theme-primary":"var(--onu-colors-blue500)","--onu-theme-primaryHsl":`${p("#409EFF")}`,"--onu-theme-primaryLight":"var(--onu-colors-blue200)","--onu-theme-primaryBorder":"var(--onu-colors-blue500)","--onu-theme-primaryLightHover":"var(--onu-colors-blue400)","--onu-theme-primaryLightActive":"var(--onu-colors-blue600)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue400)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue600)","--onu-theme-primaryShadow":"var(--onu-colors-blue500)","--onu-theme-secondary":"var(--onu-colors-purple600)","--onu-theme-secondaryHsl":`${p("#A855F7")}`,"--onu-theme-secondaryLight":"var(--onu-colors-purple200)","--onu-theme-secondaryBorder":"var(--onu-colors-purple600)","--onu-theme-secondaryLightHover":"var(--onu-colors-purple500)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple700)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple500)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple700)","--onu-theme-secondaryShadow":"var(--onu-colors-purple500)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-successHsl":`${p("#0ACF83")}`,"--onu-theme-successLight":"var(--onu-colors-green200)","--onu-theme-successBorder":"var(--onu-colors-green600)","--onu-theme-successLightHover":"var(--onu-colors-green500)","--onu-theme-successLightActive":"var(--onu-colors-green700)","--onu-theme-successBorderHover":"var(--onu-colors-green500)","--onu-theme-successBorderActive":"var(--onu-colors-green700)","--onu-theme-successShadow":"var(--onu-colors-green500)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-warningHsl":`${p("#F5A524")}`,"--onu-theme-warningLight":"var(--onu-colors-yellow200)","--onu-theme-warningBorder":"var(--onu-colors-yellow500)","--onu-theme-warningLightHover":"var(--onu-colors-yellow500)","--onu-theme-warningLightActive":"var(--onu-colors-yellow700)","--onu-theme-warningBorderHover":"var(--onu-colors-yellow500)","--onu-theme-warningBorderActive":"var(--onu-colors-yellow700)","--onu-theme-warningShadow":"var(--onu-colors-yellow500)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-errorHsl":`${p("#FF5C5C")}`,"--onu-theme-errorLight":"var(--onu-colors-red200)","--onu-theme-errorBorder":"var(--onu-colors-red600)","--onu-theme-errorLightHover":"var(--onu-colors-red500)","--onu-theme-errorLightActive":"var(--onu-colors-red700)","--onu-theme-errorBorderHover":"var(--onu-colors-red500)","--onu-theme-errorBorderActive":"var(--onu-colors-red700)","--onu-theme-errorShadow":"var(--onu-colors-red500)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#7E868C")}`,"--onu-theme-infoLight":"var(--onu-colors-gray200)","--onu-theme-infoBorder":"var(--onu-colors-gray700)","--onu-theme-infoLightHover":"var(--onu-colors-gray500)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray500)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)","--onu-theme-infoShadow":"var(--onu-colors-gray400)"},Qo={"--onu-colors-blue50":"#10253E","--onu-colors-blue100":"#102C4C","--onu-colors-blue200":"#18222c","--onu-colors-blue300":"#0F3158","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#0952A5","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#3694FF","--onu-colors-blue800":"#3694FF","--onu-colors-blue900":"#EAF4FF","--onu-colors-purple50":"#1F0A33","--onu-colors-purple100":"#240C3C","--onu-colors-purple200":"#2E0F4D","--onu-colors-purple300":"#3B1362","--onu-colors-purple400":"#451773","--onu-colors-purple500":"#571D91","--onu-colors-purple600":"#7828C8","--onu-colors-purple700":"#9750DD","--onu-colors-purple800":"#B583E7","--onu-colors-purple900":"#F7ECFC","--onu-colors-green50":"#042F14","--onu-colors-green100":"#06381B","--onu-colors-green200":"#074A24","--onu-colors-green300":"#0A6130","--onu-colors-green400":"#0B7439","--onu-colors-green500":"#0F9549","--onu-colors-green600":"#17C964","--onu-colors-green700":"#41EC8B","--onu-colors-green800":"#78F2AD","--onu-colors-green900":"#ECFDF4","--onu-colors-yellow50":"#3A2503","--onu-colors-yellow100":"#442B03","--onu-colors-yellow200":"#583804","--onu-colors-yellow300":"#704705","--onu-colors-yellow400":"#845306","--onu-colors-yellow500":"#A66908","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#F6AD37","--onu-colors-yellow800":"#F8C572","--onu-colors-yellow900":"#FEF7EC","--onu-colors-red50":"#300313","--onu-colors-red100":"#300313","--onu-colors-red200":"#44041A","--onu-colors-red300":"#5C0523","--onu-colors-red400":"#6F062B","--onu-colors-red500":"#c45656","--onu-colors-red600":"#F31260","--onu-colors-red700":"#f89898","--onu-colors-red800":"#F75F94","--onu-colors-red900":"#FDD8E5","--onu-colors-cyan50":"#012A32","--onu-colors-cyan100":"#023A46","--onu-colors-cyan200":"#024B5A","--onu-colors-cyan300":"#036072","--onu-colors-cyan400":"#037086","--onu-colors-cyan500":"#048EA9","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#33D9FA","--onu-colors-cyan800":"#6FE4FB","--onu-colors-cyan900":"#EBFBFE","--onu-colors-pink50":"#330025","--onu-colors-pink100":"#470033","--onu-colors-pink200":"#5C0042","--onu-colors-pink300":"#750054","--onu-colors-pink400":"#8A0063","--onu-colors-pink500":"#AD007C","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#FF2EC4","--onu-colors-pink800":"#FF6BD5","--onu-colors-pink900":"#FFEBF9","--onu-colors-gray50":"#16181A","--onu-colors-gray100":"#26292B","--onu-colors-gray200":"#2B2F31","--onu-colors-gray300":"#313538","--onu-colors-gray400":"#3A3F42","--onu-colors-gray500":"#4C5155","--onu-colors-gray600":"#697177","--onu-colors-gray700":"#787F85","--onu-colors-gray800":"#9BA1A6","--onu-colors-gray900":"#ECEDEE","--onu-colors-white-light":"#ffffff","--onu-colors-text":"#CFD3DC","--onu-colors-text-darker":"#7C7C7D","--onu-colors-text-light":"#A3A6AD","--onu-colors-title":"#ECEDEE","--onu-colors-placeholder":"#8D9095","--onu-colors-border":"#4C4D4F","--onu-colors-border-light":"#414243","--onu-colors-border-darker":"#636466","--onu-colors-background":"var(--onu-colors-black)","--onu-colors-black-light":"#1d1e1f","--onu-colors-arrow":"#373739","--onu-colors-backgroundAlpha":"rgba(0, 0, 0, 0.6)","--onu-colors-foreground":"var(--onu-colors-white)","--onu-colors-backgroundContrast":"var(--onu-colors-gray50)","--onu-theme-primary":"var(--onu-colors-blue600)","--onu-theme-primaryHsl":`${p("#0072F5")}`,"--onu-theme-primaryLightHover":"var(--onu-colors-blue500)","--onu-theme-primaryLightActive":"var(--onu-colors-blue700)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue500)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue700)","--onu-theme-secondary":"var(--onu-colors-purple700)","--onu-theme-secondaryHsl":`${p("#9750DD")}`,"--onu-theme-secondaryLightHover":"var(--onu-colors-purple600)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple800)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple600)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple800)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#787F85")}`,"--onu-theme-infoLightHover":"var(--onu-colors-gray600)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray600)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)"},Zo=o=>Object.entries(o).map(([e,t])=>`${e}: ${t}`).join(";");function oe(){return{name:"@onu-ui/preset",theme:K,rules:uo,variants:po,shortcuts:Y}}0&&(module.exports={darkTheme,getCSSPreflights,lightTheme,presetOnu}); |
@@ -90,2 +90,3 @@ import { Preset } from 'unocss'; | ||
'--onu-colors-background-gray': string; | ||
'--onu-colors-background-gray-light': string; | ||
'--onu-colors-backgroundAlpha': string; | ||
@@ -142,2 +143,3 @@ '--onu-colors-foreground': string; | ||
'--onu-theme-secondaryHsl': string; | ||
'--onu-theme-secondaryLight': string; | ||
'--onu-theme-secondaryBorder': string; | ||
@@ -151,2 +153,3 @@ '--onu-theme-secondaryLightHover': string; | ||
'--onu-theme-successHsl': string; | ||
'--onu-theme-successLight': string; | ||
'--onu-theme-successBorder': string; | ||
@@ -160,2 +163,3 @@ '--onu-theme-successLightHover': string; | ||
'--onu-theme-warningHsl': string; | ||
'--onu-theme-warningLight': string; | ||
'--onu-theme-warningBorder': string; | ||
@@ -169,2 +173,3 @@ '--onu-theme-warningLightHover': string; | ||
'--onu-theme-errorHsl': string; | ||
'--onu-theme-errorLight': string; | ||
'--onu-theme-errorBorder': string; | ||
@@ -178,2 +183,3 @@ '--onu-theme-errorLightHover': string; | ||
'--onu-theme-infoHsl': string; | ||
'--onu-theme-infoLight': string; | ||
'--onu-theme-infoBorder': string; | ||
@@ -180,0 +186,0 @@ '--onu-theme-infoLightHover': string; |
@@ -1,6 +0,6 @@ | ||
"use strict";var v=Object.defineProperty;var lo=Object.getOwnPropertyDescriptor;var uo=Object.getOwnPropertyNames;var po=Object.prototype.hasOwnProperty;var ho=(o,r)=>{for(var t in r)v(o,t,{get:r[t],enumerable:!0})},fo=(o,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of uo(r))!po.call(o,n)&&n!==t&&v(o,n,{get:()=>r[n],enumerable:!(e=lo(r,n))||e.enumerable});return o};var go=o=>fo(v({},"__esModule",{value:!0}),o);var Qo={};ho(Qo,{darkTheme:()=>Ko,getCSSPreflights:()=>Xo,lightTheme:()=>Yo,presetOnu:()=>Jo});module.exports=go(Qo);var S={"o-border-base":"border-gray-400/50","o-transition":"transition-all duration-200","o-focus-base":"ring-2 ring-context/50","o-active-base":"ring-3 ring-context/10","o-borderless":"!border-none !shadow-none","o-solid":"bg-context border-context c-white","o-transparent":"bg-light-100 dark:bg-lightBackground c-baseText","o-light":"shadow-transparent bg-context:12 !hover-bg-context border-context c-context !hover-c-white !active-c-white !hover-border-context !active-border-context:64 !active-bg-context:64","o-light-simple":"shadow-transparent bg-context:12 border-context c-context","o-text":`!shadow-transparent !bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
"use strict";var v=Object.defineProperty;var ho=Object.getOwnPropertyDescriptor;var fo=Object.getOwnPropertyNames;var go=Object.prototype.hasOwnProperty;var mo=(o,e)=>{for(var t in e)v(o,t,{get:e[t],enumerable:!0})},bo=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of fo(e))!go.call(o,n)&&n!==t&&v(o,n,{get:()=>e[n],enumerable:!(r=ho(e,n))||r.enumerable});return o};var xo=o=>bo(v({},"__esModule",{value:!0}),o);var ee={};mo(ee,{darkTheme:()=>Qo,getCSSPreflights:()=>Zo,lightTheme:()=>Jo,presetOnu:()=>oe});module.exports=xo(ee);var S={"o-border-base":"border-gray-400/50","o-transition":"transition-all duration-200","o-focus-base":"ring-2 ring-context/50","o-active-base":"ring-3 ring-context/10","o-borderless":"!border-none !shadow-none","o-solid":"bg-context border-context c-white","o-transparent":"bg-light-100 dark:bg-lightBackground c-baseText","o-light":"shadow-transparent bg-context:12 !hover-bg-context border-context c-context !hover-c-white !active-c-white !hover-border-context !active-border-context:64 !active-bg-context:64","o-light-simple":"shadow-transparent bg-context:12 border-context c-context","o-text":`!shadow-transparent !bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
!border-transparent | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed"};var C={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-white text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let r=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[r]} ${t[r].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none bg-transparent text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var L={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2 c-baseText","o-collapse-item-wrap":"border-b-(1px solid lightBorder)","o-collapse-item-wrap-active":"border-b-transparent","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-content-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 "};var R={"o-icon-base":"c-context text-base"};var j={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},H=[[/^o-message-icon-(.*)$/,([,o])=>{let r=o;if(["primary","secondary","success","warning","error","info"].includes(r))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[r]}`}]];var O={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var N={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-content":"whitespace-nowrap text-xs","o-tag-xs":"px-2 h-5","o-tag-sm":"px-3 h-6","o-tag-md":"px-4 h-7","o-tag-lg":"px-5 h-8","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var z={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var P={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:(bg-grayBg b-grayBg) border b-light-900 box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var V={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var U={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full"};var I={"o-link-base":"fcc gap-1 inline-flex row align-middle relative no-underline outline-none cursor-pointer p-0 text-baseText font-medium","o-hover-link-active-base":"hover-text-primaryBase active-text-primaryBase"};var W=[S,C,A,B,...E,D,T,_,L,M,R,j,...H,O,N,z,P,V,U,I];var i="--onu-theme",d=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),G={colors:{context:"rgba(var(--onu-c-context),%alpha)",...d("primary"),...d("secondary"),...d("success"),...d("warning"),...d("error"),...d("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed","text-md":"text-base"};var C={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-white text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let e=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[e]} ${t[e].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none bg-transparent text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var L={"o-button-group-clearfix":"o-after:psdc-DEFAULT after:clear-both after:table o-before:psdc-DEFAULT before:table","o-button-group-children":"o-children:[.o-button-base]:left o-children:[.o-button-base]:relative"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var R={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2 c-baseText","o-collapse-item-wrap":"border-b-(1px solid lightBorder)","o-collapse-item-wrap-active":"border-b-transparent","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-content-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 "};var j={"o-icon-base":"c-context text-base"};var H={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},O=[[/^o-message-icon-(.*)$/,([,o])=>{let e=o;if(["primary","secondary","success","warning","error","info"].includes(e))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[e]}`}]];var N={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var z={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-content":"whitespace-nowrap text-xs","o-tag-xs":"px-2 h-5","o-tag-sm":"px-3 h-6","o-tag-md":"px-4 h-7","o-tag-lg":"px-5 h-8","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var P={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var V={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:(bg-grayBg b-grayBg) border b-light-900 box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var U={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var W={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full"};var I={"o-link-base":"fcc gap-1 inline-flex align-middle relative no-underline outline-none cursor-pointer p-0 text-baseText font-medium","o-hover-link-active-base":"hover-text-primaryBase active-text-primaryBase"};var G={"o-radio-check-base":"h-32px mr-32px relative inline-flex items-center c-baseText text-14px font-medium outline-none whitespace-nowrap cursor-pointer select-none last:mr-0","o-radio-check-disabled":"p-5 box-border border-1px border-solid rounded-1","o-radio-check-checked":"after:scale-100 after:-translate-x-1/2 after:-translate-y-1/2","o-radio-input":"inline-flex relative align-middle outline-none whitespace-nowrap cursor-pointer","o-radio-original":"opacity-0 absolute inset-0 m-0 -z-1 outline-none","o-radio-inner-base":"relative inline-block box-border border-2px border-solid border-baseBorder rounded-full cursor-pointer","o-radio-inner-after":"after:rounded-1 after:bg-white after:absolute after:left-1/2 after:top-1/2 after:-translate-x-1/2 after:-translate-y-1/2 after:scale-0 after:transition-transform after:ease-in","o-radio-xs":"h-24px","o-radio-sm":"h-28px","o-radio-md":"h-32px","o-radio-lg":"h-36px","o-radio-label-xs":"text-12px","o-radio-label-sm":"text-12px","o-radio-label-md":"text-14px","o-radio-label-lg":"text-16px","o-radio-inner-xs":"w-12px h-12px after:w-3px after:h-3px","o-radio-inner-sm":"w-14px h-14px after:w-4px after:h-4px","o-radio-inner-md":"w-16px h-16px after:w-6px after:h-6px","o-radio-inner-lg":"w-20px h-20px after:w-8px after:h-8px"};var q={"o-progress-base":"relative leading-none flex items-center","o-progress-bar":"flex-grow box-border","o-progress-bar-outer":"h-6px rounded-[100px] overflow-hidden relative align-middle","o-progress-bar-inner":"absolute left-0 top-0 h-full text-right rounded-[100px] leading-none whitespace-nowrap o-after:psdc-DEFAULT after:inline-block after:h-full after:align-middle","o-progress-bar-inner-text":"inline-block align-middle text-white text-12px m-[0_5px]","o-progress-indeterminate":"translate-z-0 animate-indeterminate","o-progress-text":"text-14px min-w-50px leading-none","o-progress-bar-rounded":"absolute top-2/4 left-0 w-full text-center m-0 translate-x-0 -translate-y-1/2"};var Y=[S,C,A,B,...E,D,T,L,_,R,M,j,H,...O,N,z,P,V,U,W,I,G,q];var i="--onu-theme",f=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),K={colors:{context:"rgba(var(--onu-c-context),%alpha)",...f("primary"),...f("secondary"),...f("success"),...f("warning"),...f("error"),...f("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
60%{ box-shadow: 0 0 0 4px #1890ff33; } | ||
80%{ box-shadow: 0 0 0 6px #1890ff1a; } | ||
100%{ box-shadow: 0 0 0 8px #1890ff0d; }}`},durations:{switching:"0.3s"}}};function q(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Y(o){let r=o.length,t=-1,e,n="",s=o.charCodeAt(0);for(;++t<r;){if(e=o.charCodeAt(t),e===0){n+="\uFFFD";continue}if(e===44){n+="\\,";continue}if(e>=1&&e<=31||e===127||t===0&&e>=48&&e<=57||t===1&&e>=48&&e<=57&&s===45){n+=`\\${e.toString(16)} `;continue}if(t===0&&r===1&&e===45){n+=`\\${o.charAt(t)}`;continue}if(e>=128||e===45||e===95||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122){n+=o.charAt(t);continue}n+=`\\${o.charAt(t)}`}return n}function K(o){return typeof o=="string"}function X(o){let r=function(e){let n=this.__options?.sequence||[];this.__options.sequence=[];for(let s of n){let c=o[s](e);if(c!=null)return c}};function t(e,n){return e.__options||(e.__options={sequence:[]}),e.__options.sequence.push(n),e}for(let e of Object.keys(o))Object.defineProperty(r,e,{enumerable:!0,get(){return t(this,e)}});return r}var mo="default",bo="preflights",xo="shortcuts",Or={[bo]:-100,[xo]:-10,[mo]:0};var Q={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},yo={...Q,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]};var J=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],vo=Object.assign({},...J.map(o=>({[o.replace(/ /,"-")]:o})),...J.map(o=>({[o.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:o}))),Z=["inherit","initial","revert","revert-layer","unset"],$=/^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,wo=/^(-?[0-9.]+)$/i,oo=/^(px)$/i,$o=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function l(o){return o.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ko(o){let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(e&&!Number.isNaN(n))return`${l(n)}${e}`}function Fo(o){if(o==="auto"||o==="a")return"auto"}function So(o){if(o.match(oo))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n/4)}rem`}function Co(o){if(o.match(oo))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}px`}function Ao(o){if(!wo.test(o))return;let r=parseFloat(o);if(!Number.isNaN(r))return l(r)}function Bo(o){o.endsWith("%")&&(o=o.slice(0,-1));let r=parseFloat(o);if(!Number.isNaN(r))return`${l(r/100)}`}function Eo(o){if(o==="full")return"100%";let[r,t]=o.split("/"),e=parseFloat(r)/parseFloat(t);if(!Number.isNaN(e))return`${l(e*100)}%`}var Do=/^\[(color|length|position|quoted|string):/i;function x(o,r){if(o&&o.startsWith("[")&&o.endsWith("]")){let t,e,n=o.match(Do);if(n?(r||(e=n[1]),t=o.slice(n[0].length,-1)):t=o.slice(1,-1),!t)return;let s=0;for(let c of t)if(c==="[")s+=1;else if(c==="]"&&(s-=1,s<0))return;if(s)return;switch(e){case"string":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return t.replace(/(url\(.*?\))/g,c=>c.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,c=>c.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function To(o){return x(o)}function _o(o){return x(o,"color")}function Lo(o){return x(o,"length")}function Mo(o){return x(o,"position")}function Ro(o){if(o.match(/^\$\S/))return`var(--${Y(o.slice(1))})`}function jo(o){let r=o.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}ms`}function Ho(o){let r=o.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}deg`}function Oo(o){if(Z.includes(o))return o}function No(o){if(o.split(",").every(r=>$o.includes(r)))return o}function zo(o){if(["top","left","right","bottom","center"].includes(o))return o}var ro={__proto__:null,numberWithUnit:ko,auto:Fo,rem:So,px:Co,number:Ao,percent:Bo,fraction:Eo,bracket:To,bracketOfColor:_o,bracketOfLength:Lo,bracketOfPosition:Mo,cssvar:Ro,time:jo,degree:Ho,global:Oo,properties:No,position:zo},m=X(ro);function w(o,r){let t=o.colors,e=-1;for(let n of r){if(e+=1,t&&typeof t!="string"){let s=r.slice(e).join("-").replace(/(-[a-z])/g,c=>c.slice(1).toUpperCase());if(t[s])return t[s];if(t[n]){t=t[n];continue}}return}return t}function k(o,r){let t=o.split(/(?:\/|:)/),e,n;t[0]==="[color"?(e=t.slice(0,2).join(":"),n=t[2]):[e,n]=t;let s=e.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[c]=s;if(!c)return;let a,h=m.bracketOfColor(e),g=h||e;g.match(/^#[\da-fA-F]+/g)?a=g:g.match(/^hex-[\da-fA-F]+/g)?a=`#${g.slice(4)}`:e.startsWith("$")&&(a=m.cssvar(e)),a=a||h;let f="DEFAULT";if(!a){let u,[F]=s.slice(-1);F.match(/^\d+$/)?(f=F,u=w(r,s.slice(0,-1)),!u||typeof u=="string"?a=void 0:a=u[f]):(u=w(r,s),!u&&s.length<=2&&([,f=f]=s,u=w(r,[c])),typeof u=="string"?a=u:f&&u&&(a=u[f]))}return{opacity:n,name:c,no:f,color:a,cssColor:no(a),alpha:m.bracket.cssvar.percent(n??"")}}function eo(o,r,t,e){if(o===""||(K(e)&&(e=[e]),e.length===0))return;let n=o.length,s=0;for(let c=0;c<n;c++)switch(o[c]){case r:s++;break;case t:if(--s<0)return;break;default:for(let a of e){let h=a.length;if(h&&a===o.slice(c,c+h)&&s===0)return c===0||c===n-h?void 0:[o.slice(0,c),o.slice(c+h)]}}return[o,""]}function b(o,r,t){t=t??10;let e=[],n=0;for(;o!=="";){if(++n>t)return;let s=eo(o,"(",")",r);if(!s)return;let[c,a]=s;e.push(c),o=a}if(e.length>0)return e}var to=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Po=["%alpha","<alpha-value>"],Vr=new RegExp(Po.map(o=>q(o)).join("|"));function p(o=""){let r=so(o);if(r!=null){let{components:t,alpha:e}=r;return e==null?t:[...t,e]}}function no(o=""){let r=Vo(o);if(r==null||r===!1)return;let{type:t,components:e,alpha:n}=r,s=t.toLowerCase();if(e.length!==0&&!(["rgba","hsla"].includes(s)&&n==null)&&!(to.includes(s)&&![1,3].includes(e.length)))return{type:s,components:e.map(c=>typeof c=="string"?c.trim():c),alpha:typeof n=="string"?n.trim():n}}function Vo(o){if(!o)return;let r=so(o);if(r!=null||(r=Uo(o),r!=null)||(r=Io(o),r!=null)||(r=Go(o),r!=null)||(r=qo(o),r!=null))return r}function so(o){let[,r]=o.match(/^#([\da-f]+)$/i)||[];if(r)switch(r.length){case 3:case 4:let t=Array.from(r,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:t.slice(0,3),alpha:r.length===3?void 0:Math.round(t[3]/255*100)/100};case 6:case 8:let e=Number.parseInt(r,16);return{type:"rgb",components:r.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:r.length===6?void 0:Math.round((e&255)/255*100)/100}}}function Uo(o){let r={rebeccapurple:[102,51,153,1]}[o];if(r!=null)return{type:"rgb",components:r.slice(0,3),alpha:r[3]}}function Io(o){let r=o.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!r)return;let[,t,e]=r,n=b(e,",",5);if(n){if([3,4].includes(n.length))return{type:t,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Wo=new RegExp(`^(${to.join("|")})\\((.+)\\)$`,"i");function Go(o){let r=o.match(Wo);if(!r)return;let[,t,e]=r,n=co(`${t} ${e}`);if(n){let{alpha:s,components:[c,...a]}=n;return{type:c,components:a,alpha:s}}}function qo(o){let r=o.match(/^color\((.+)\)$/);if(!r)return;let t=co(r[1]);if(t){let{alpha:e,components:[n,...s]}=t;return{type:n,components:s,alpha:e}}}function co(o){let r=b(o," ");if(!r)return;let t=r.length;if(r[t-2]==="/")return{components:r.slice(0,t-2),alpha:r[t-1]};if(r[t-2]!=null&&(r[t-2].endsWith("/")||r[t-1].startsWith("/"))){let s=r.splice(t-2);r.push(s.join(" ")),--t}let e=b(r[t-1],"/",2);if(!e)return;if(e.length===1||e[e.length-1]==="")return{components:r};let n=e.pop();return r[t-1]=e.join("/"),{components:r,alpha:n}}var y={sm:["2rem","1.125rem","0.85rem"],md:["2.5rem","1.375rem","1.1rem"],lg:["3rem","1.625rem","1.375rem"]};var ao=[[/^o-(.*)$/,([,o],{theme:r})=>{let t=k(o,r);return t?.cssColor?.type==="rgb"&&t.cssColor.components?{"--onu-c-context":`${t.cssColor.components.join(",")}`}:{"--onu-c-context":t?.color}}],[/^o-switch-(.+)$/,([,o])=>{if(["sm","md","lg"].includes(o))return{"--o-switch-offset":y[o][2],width:y[o][0],height:y[o][1]}}],["o-dashed",{"border-style":"dashed"}],["o-solid",{"background-color":"rgba(var(--onu-c-context), 1) !important","border-color":"rgba(var(--onu-c-context), 1)",color:"white !important"}],["o-bg-clip-half",{"clip-path":"polygon(0% 0%, 50% 0, 50% 50%, 50% 100%, 0% 100%)"}]];var io=[o=>{let r="o-disabled:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[disabled] ${t}, ${t}[disabled]`}},o=>{let r="o-checked:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[checked] ${t}, ${t}[checked]`}}];var Yo={"--onu-colors-blue50":"#EDF5FF","--onu-colors-blue100":"#E1EFFF","--onu-colors-blue200":"#ecf5ff","--onu-colors-blue300":"#B7D5F8","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#409EFF","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#005FCC","--onu-colors-blue800":"#004799","--onu-colors-blue900":"#00254D","--onu-colors-purple50":"#F7F2FD","--onu-colors-purple100":"#F1E8FB","--onu-colors-purple200":"#EADCF8","--onu-colors-purple300":"#E0CBF5","--onu-colors-purple400":"#D1B1F0","--onu-colors-purple500":"#BC8EE9","--onu-colors-purple600":"#A855F7","--onu-colors-purple700":"#6622AA","--onu-colors-purple800":"#4D1980","--onu-colors-purple900":"#290E44","--onu-colors-green50":"#F1FDF7","--onu-colors-green100":"#E8FCF1","--onu-colors-green200":"#DAFBE8","--onu-colors-green300":"#C8F9DD","--onu-colors-green400":"#ADF5CC","--onu-colors-green500":"#67eaa0","--onu-colors-green600":"#0ACF83","--onu-colors-green700":"#13A452","--onu-colors-green800":"#108944","--onu-colors-green900":"#06371B","--onu-colors-yellow50":"#FEF9F0","--onu-colors-yellow100":"#FEF5E7","--onu-colors-yellow200":"#FDEFD8","--onu-colors-yellow300":"#FCE7C5","--onu-colors-yellow400":"#FBDBA7","--onu-colors-yellow500":"#F9CB80","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#B97509","--onu-colors-yellow800":"#925D07","--onu-colors-yellow900":"#4E3104","--onu-colors-red50":"#FEF0F5","--onu-colors-red100":"#FEE7EF","--onu-colors-red200":"#FDD8E5","--onu-colors-red300":"#FCC5D8","--onu-colors-red400":"#FAA8C5","--onu-colors-red500":"#f89898","--onu-colors-red600":"#FF5C5C","--onu-colors-red700":"#c45656","--onu-colors-red800":"#910838","--onu-colors-red900":"#4E041E","--onu-colors-cyan50":"#F0FCFF","--onu-colors-cyan100":"#E6FAFE","--onu-colors-cyan200":"#D7F8FE","--onu-colors-cyan300":"#C3F4FD","--onu-colors-cyan400":"#A5EEFD","--onu-colors-cyan500":"#7EE7FC","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#09AACD","--onu-colors-cyan800":"#0E8AAA","--onu-colors-cyan900":"#053B48","--onu-colors-pink50":"#FFF0FB","--onu-colors-pink100":"#FFE5F8","--onu-colors-pink200":"#FFD6F3","--onu-colors-pink300":"#FFC2EE","--onu-colors-pink400":"#FFA3E5","--onu-colors-pink500":"#FF7AD9","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#D6009A","--onu-colors-pink800":"#B80084","--onu-colors-pink900":"#4D0037","--onu-colors-gray50":"#F1F3F5","--onu-colors-gray100":"#ECEEF0","--onu-colors-gray200":"#E6E8EB","--onu-colors-gray300":"#DFE3E6","--onu-colors-gray400":"#D7DBDF","--onu-colors-gray500":"#C1C8CD","--onu-colors-gray600":"#889096","--onu-colors-gray700":"#7E868C","--onu-colors-gray800":"#687076","--onu-colors-gray900":"#11181C","--onu-colors-white":"#ffffff","--onu-colors-black":"#000000","--onu-colors-black-light":"var(--onu-colors-white)","--onu-colors-background":"var(--onu-colors-white)","--onu-colors-background-light":"var(--onu-colors-black-light)","--onu-colors-background-gray":"var(--onu-colors-gray600)","--onu-colors-backgroundAlpha":"rgba(255, 255, 255, 0.8)","--onu-colors-foreground":"var(--onu-colors-black)","--onu-colors-backgroundContrast":"var(--onu-colors-white)","--onu-colors-text":"#606266","--onu-colors-text-darker":"#606266","--onu-colors-text-light":"#909399","--onu-colors-title":"#11181C","--onu-colors-placeholder":"#a8abb2","--onu-colors-grayBg":"#373739","--onu-colors-lightContext":"#f9f9f9","--onu-colors-embed":"#F1F3F5","--onu-colors-darkContext":"#1c1f23","--onu-colors-link":"var(--onu-colors-blue600)","--onu-colors-codeLight":"var(--onu-colors-pink100)","--onu-colors-code":"var(--onu-colors-pink600)","--onu-colors-selection":"var(--onu-colors-blue200)","--onu-colors-border":"#dcdfe6","--onu-colors-border-light":"#efeff5","--onu-colors-border-darker":"#cdd0d6","--onu-colors-headerBackground":"hsla(0,0%,100%,0.8)","--onu-colors-menuBackground":"rgba(255, 255, 255, 0.8)","--onu-colors-headerIconColor":"var(--onu-colors-gray400)","--onu-colors-codeBackground":"#363449","--onu-colors-codeComment":"var(--onu-colors-gray700)","--onu-colors-codeCopyIconColor":"var(--onu-colors-gray200)","--onu-colors-cardBackground":"var(--onu-colors-white)","--onu-colors-codeHighlight":"hsl(243, 16%, 30%)","--onu-colors-backgroundBlur":"rgba(255, 255, 255, 0.3)","--onu-colors-blockLinkBackground":"var(--onu-colors-accents1)","--onu-colors-blockLinkHoverBackground":"#FFD1ED","--onu-shadows-xs":"0 2px 8px 1px rgb(104 112 118 / 0.07), 0 1px 1px -1px rgb(104 112 118 / 0.04)","--onu-shadows-sm":"0 2px 8px 2px rgb(104 112 118 / 0.07), 0 2px 4px -1px rgb(104 112 118 / 0.04)","--onu-shadows-md":"0 12px 20px 6px rgb(104 112 118 / 0.08)","--onu-shadows-lg":"0 12px 34px 6px rgb(104 112 118 / 0.18)","--onu-shadows-xl":"0 25px 65px 0px inset","--onu-dropShadows-xs":"drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))","--onu-dropShadows-sm":"drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))","--onu-dropShadows-md":"drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))","--onu-dropShadows-lg":"drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))","--onu-dropShadows-xl":"drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))","--onu-theme-primary":"var(--onu-colors-blue500)","--onu-theme-primaryHsl":`${p("#409EFF")}`,"--onu-theme-primaryLight":"var(--onu-colors-blue200)","--onu-theme-primaryBorder":"var(--onu-colors-blue500)","--onu-theme-primaryLightHover":"var(--onu-colors-blue400)","--onu-theme-primaryLightActive":"var(--onu-colors-blue600)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue400)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue600)","--onu-theme-primaryShadow":"var(--onu-colors-blue500)","--onu-theme-secondary":"var(--onu-colors-purple600)","--onu-theme-secondaryHsl":`${p("#A855F7")}`,"--onu-theme-secondaryBorder":"var(--onu-colors-purple600)","--onu-theme-secondaryLightHover":"var(--onu-colors-purple500)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple700)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple500)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple700)","--onu-theme-secondaryShadow":"var(--onu-colors-purple500)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-successHsl":`${p("#0ACF83")}`,"--onu-theme-successBorder":"var(--onu-colors-green600)","--onu-theme-successLightHover":"var(--onu-colors-green500)","--onu-theme-successLightActive":"var(--onu-colors-green700)","--onu-theme-successBorderHover":"var(--onu-colors-green500)","--onu-theme-successBorderActive":"var(--onu-colors-green700)","--onu-theme-successShadow":"var(--onu-colors-green500)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-warningHsl":`${p("#F5A524")}`,"--onu-theme-warningBorder":"var(--onu-colors-yellow500)","--onu-theme-warningLightHover":"var(--onu-colors-yellow500)","--onu-theme-warningLightActive":"var(--onu-colors-yellow700)","--onu-theme-warningBorderHover":"var(--onu-colors-yellow500)","--onu-theme-warningBorderActive":"var(--onu-colors-yellow700)","--onu-theme-warningShadow":"var(--onu-colors-yellow500)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-errorHsl":`${p("#FF5C5C")}`,"--onu-theme-errorBorder":"var(--onu-colors-red600)","--onu-theme-errorLightHover":"var(--onu-colors-red500)","--onu-theme-errorLightActive":"var(--onu-colors-red700)","--onu-theme-errorBorderHover":"var(--onu-colors-red500)","--onu-theme-errorBorderActive":"var(--onu-colors-red700)","--onu-theme-errorShadow":"var(--onu-colors-red500)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#7E868C")}`,"--onu-theme-infoBorder":"var(--onu-colors-gray700)","--onu-theme-infoLightHover":"var(--onu-colors-gray500)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray500)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)","--onu-theme-infoShadow":"var(--onu-colors-gray400)"},Ko={"--onu-colors-blue50":"#10253E","--onu-colors-blue100":"#102C4C","--onu-colors-blue200":"#18222c","--onu-colors-blue300":"#0F3158","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#0952A5","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#3694FF","--onu-colors-blue800":"#3694FF","--onu-colors-blue900":"#EAF4FF","--onu-colors-purple50":"#1F0A33","--onu-colors-purple100":"#240C3C","--onu-colors-purple200":"#2E0F4D","--onu-colors-purple300":"#3B1362","--onu-colors-purple400":"#451773","--onu-colors-purple500":"#571D91","--onu-colors-purple600":"#7828C8","--onu-colors-purple700":"#9750DD","--onu-colors-purple800":"#B583E7","--onu-colors-purple900":"#F7ECFC","--onu-colors-green50":"#042F14","--onu-colors-green100":"#06381B","--onu-colors-green200":"#074A24","--onu-colors-green300":"#0A6130","--onu-colors-green400":"#0B7439","--onu-colors-green500":"#0F9549","--onu-colors-green600":"#17C964","--onu-colors-green700":"#41EC8B","--onu-colors-green800":"#78F2AD","--onu-colors-green900":"#ECFDF4","--onu-colors-yellow50":"#3A2503","--onu-colors-yellow100":"#442B03","--onu-colors-yellow200":"#583804","--onu-colors-yellow300":"#704705","--onu-colors-yellow400":"#845306","--onu-colors-yellow500":"#A66908","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#F6AD37","--onu-colors-yellow800":"#F8C572","--onu-colors-yellow900":"#FEF7EC","--onu-colors-red50":"#300313","--onu-colors-red100":"#300313","--onu-colors-red200":"#44041A","--onu-colors-red300":"#5C0523","--onu-colors-red400":"#6F062B","--onu-colors-red500":"#c45656","--onu-colors-red600":"#F31260","--onu-colors-red700":"#f89898","--onu-colors-red800":"#F75F94","--onu-colors-red900":"#FDD8E5","--onu-colors-cyan50":"#012A32","--onu-colors-cyan100":"#023A46","--onu-colors-cyan200":"#024B5A","--onu-colors-cyan300":"#036072","--onu-colors-cyan400":"#037086","--onu-colors-cyan500":"#048EA9","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#33D9FA","--onu-colors-cyan800":"#6FE4FB","--onu-colors-cyan900":"#EBFBFE","--onu-colors-pink50":"#330025","--onu-colors-pink100":"#470033","--onu-colors-pink200":"#5C0042","--onu-colors-pink300":"#750054","--onu-colors-pink400":"#8A0063","--onu-colors-pink500":"#AD007C","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#FF2EC4","--onu-colors-pink800":"#FF6BD5","--onu-colors-pink900":"#FFEBF9","--onu-colors-gray50":"#16181A","--onu-colors-gray100":"#26292B","--onu-colors-gray200":"#2B2F31","--onu-colors-gray300":"#313538","--onu-colors-gray400":"#3A3F42","--onu-colors-gray500":"#4C5155","--onu-colors-gray600":"#697177","--onu-colors-gray700":"#787F85","--onu-colors-gray800":"#9BA1A6","--onu-colors-gray900":"#ECEDEE","--onu-colors-white-light":"#ffffff","--onu-colors-text":"#CFD3DC","--onu-colors-text-darker":"#7C7C7D","--onu-colors-text-light":"#A3A6AD","--onu-colors-title":"#ECEDEE","--onu-colors-placeholder":"#8D9095","--onu-colors-border":"#4C4D4F","--onu-colors-border-light":"#414243","--onu-colors-border-darker":"#636466","--onu-colors-background":"var(--onu-colors-black)","--onu-colors-black-light":"#1d1e1f","--onu-colors-arrow":"#373739","--onu-colors-backgroundAlpha":"rgba(0, 0, 0, 0.6)","--onu-colors-foreground":"var(--onu-colors-white)","--onu-colors-backgroundContrast":"var(--onu-colors-gray50)","--onu-theme-primary":"var(--onu-colors-blue600)","--onu-theme-primaryHsl":`${p("#0072F5")}`,"--onu-theme-primaryLightHover":"var(--onu-colors-blue500)","--onu-theme-primaryLightActive":"var(--onu-colors-blue700)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue500)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue700)","--onu-theme-secondary":"var(--onu-colors-purple700)","--onu-theme-secondaryHsl":`${p("#9750DD")}`,"--onu-theme-secondaryLightHover":"var(--onu-colors-purple600)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple800)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple600)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple800)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#787F85")}`,"--onu-theme-infoLightHover":"var(--onu-colors-gray600)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray600)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)"},Xo=o=>Object.entries(o).map(([r,t])=>`${r}: ${t}`).join(";");function Jo(){return{name:"@onu-ui/preset",theme:G,rules:ao,variants:io,shortcuts:W}}0&&(module.exports={darkTheme,getCSSPreflights,lightTheme,presetOnu}); | ||
100%{ box-shadow: 0 0 0 8px #1890ff0d; }}`,indeterminate:"{0%{ left: -100%; } 100%{ left: 100%; }}"},durations:{switching:"0.3s",indeterminate:"3s"},counts:{indeterminate:"infinite"}}};function X(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function J(o){let e=o.length,t=-1,r,n="",s=o.charCodeAt(0);for(;++t<e;){if(r=o.charCodeAt(t),r===0){n+="\uFFFD";continue}if(r===44){n+="\\,";continue}if(r>=1&&r<=31||r===127||t===0&&r>=48&&r<=57||t===1&&r>=48&&r<=57&&s===45){n+=`\\${r.toString(16)} `;continue}if(t===0&&e===1&&r===45){n+=`\\${o.charAt(t)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){n+=o.charAt(t);continue}n+=`\\${o.charAt(t)}`}return n}function Q(o){return typeof o=="string"}function Z(o){let e=function(r){let n=this.__options?.sequence||[];this.__options.sequence=[];for(let s of n){let a=o[s](r);if(a!=null)return a}};function t(r,n){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(n),r}for(let r of Object.keys(o))Object.defineProperty(e,r,{enumerable:!0,get(){return t(this,r)}});return e}var yo="default",vo="preflights",wo="shortcuts",qe={[vo]:-100,[wo]:-10,[yo]:0};var eo={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},$o={...eo,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]};var oo=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ko=Object.assign({},...oo.map(o=>({[o.replace(/ /,"-")]:o})),...oo.map(o=>({[o.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:o}))),ro=["inherit","initial","revert","revert-layer","unset"],$=/^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Fo=/^(-?[0-9.]+)$/i,to=/^(px)$/i,So=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function l(o){return o.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Co(o){let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(r&&!Number.isNaN(n))return`${l(n)}${r}`}function Ao(o){if(o==="auto"||o==="a")return"auto"}function Bo(o){if(o.match(to))return`1${o}`;let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n/4)}rem`}function Eo(o){if(o.match(to))return`1${o}`;let e=o.match($);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}px`}function Do(o){if(!Fo.test(o))return;let e=parseFloat(o);if(!Number.isNaN(e))return l(e)}function To(o){o.endsWith("%")&&(o=o.slice(0,-1));let e=parseFloat(o);if(!Number.isNaN(e))return`${l(e/100)}`}function Lo(o){if(o==="full")return"100%";let[e,t]=o.split("/"),r=parseFloat(e)/parseFloat(t);if(!Number.isNaN(r))return`${l(r*100)}%`}var _o=/^\[(color|length|position|quoted|string):/i;function x(o,e){if(o&&o.startsWith("[")&&o.endsWith("]")){let t,r,n=o.match(_o);if(n?(e||(r=n[1]),t=o.slice(n[0].length,-1)):t=o.slice(1,-1),!t)return;let s=0;for(let a of t)if(a==="[")s+=1;else if(a==="]"&&(s-=1,s<0))return;if(s)return;switch(r){case"string":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return t.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function Ro(o){return x(o)}function Mo(o){return x(o,"color")}function jo(o){return x(o,"length")}function Ho(o){return x(o,"position")}function Oo(o){if(o.match(/^\$\S/))return`var(--${J(o.slice(1))})`}function No(o){let e=o.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}ms`}function zo(o){let e=o.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,t,r]=e,n=parseFloat(t);if(!Number.isNaN(n))return r?`${l(n)}${r}`:`${l(n)}deg`}function Po(o){if(ro.includes(o))return o}function Vo(o){if(o.split(",").every(e=>So.includes(e)))return o}function Uo(o){if(["top","left","right","bottom","center"].includes(o))return o}var no={__proto__:null,numberWithUnit:Co,auto:Ao,rem:Bo,px:Eo,number:Do,percent:To,fraction:Lo,bracket:Ro,bracketOfColor:Mo,bracketOfLength:jo,bracketOfPosition:Ho,cssvar:Oo,time:No,degree:zo,global:Po,properties:Vo,position:Uo},m=Z(no);function w(o,e){let t=o.colors,r=-1;for(let n of e){if(r+=1,t&&typeof t!="string"){let s=e.slice(r).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(t[s])return t[s];if(t[n]){t=t[n];continue}}return}return t}function k(o,e){let t=o.split(/(?:\/|:)/),r,n;t[0]==="[color"?(r=t.slice(0,2).join(":"),n=t[2]):[r,n]=t;let s=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let c,h=m.bracketOfColor(r),g=h||r;g.match(/^#[\da-fA-F]+/g)?c=g:g.match(/^hex-[\da-fA-F]+/g)?c=`#${g.slice(4)}`:r.startsWith("$")&&(c=m.cssvar(r)),c=c||h;let d="DEFAULT";if(!c){let u,[F]=s.slice(-1);F.match(/^\d+$/)?(d=F,u=w(e,s.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[d]):(u=w(e,s),!u&&s.length<=2&&([,d=d]=s,u=w(e,[a])),typeof u=="string"?c=u:d&&u&&(c=u[d]))}return{opacity:n,name:a,no:d,color:c,cssColor:co(c),alpha:m.bracket.cssvar.percent(n??"")}}function so(o,e,t,r){if(o===""||(Q(r)&&(r=[r]),r.length===0))return;let n=o.length,s=0;for(let a=0;a<n;a++)switch(o[a]){case e:s++;break;case t:if(--s<0)return;break;default:for(let c of r){let h=c.length;if(h&&c===o.slice(a,a+h)&&s===0)return a===0||a===n-h?void 0:[o.slice(0,a),o.slice(a+h)]}}return[o,""]}function b(o,e,t){t=t??10;let r=[],n=0;for(;o!=="";){if(++n>t)return;let s=so(o,"(",")",e);if(!s)return;let[a,c]=s;r.push(a),o=c}if(r.length>0)return r}var ao=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Wo=["%alpha","<alpha-value>"],Je=new RegExp(Wo.map(o=>X(o)).join("|"));function p(o=""){let e=io(o);if(e!=null){let{components:t,alpha:r}=e;return r==null?t:[...t,r]}}function co(o=""){let e=Io(o);if(e==null||e===!1)return;let{type:t,components:r,alpha:n}=e,s=t.toLowerCase();if(r.length!==0&&!(["rgba","hsla"].includes(s)&&n==null)&&!(ao.includes(s)&&![1,3].includes(r.length)))return{type:s,components:r.map(a=>typeof a=="string"?a.trim():a),alpha:typeof n=="string"?n.trim():n}}function Io(o){if(!o)return;let e=io(o);if(e!=null||(e=Go(o),e!=null)||(e=qo(o),e!=null)||(e=Ko(o),e!=null)||(e=Xo(o),e!=null))return e}function io(o){let[,e]=o.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:let t=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:t.slice(0,3),alpha:e.length===3?void 0:Math.round(t[3]/255*100)/100};case 6:case 8:let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}function Go(o){let e={rebeccapurple:[102,51,153,1]}[o];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function qo(o){let e=o.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,t,r]=e,n=b(r,",",5);if(n){if([3,4].includes(n.length))return{type:t,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Yo=new RegExp(`^(${ao.join("|")})\\((.+)\\)$`,"i");function Ko(o){let e=o.match(Yo);if(!e)return;let[,t,r]=e,n=lo(`${t} ${r}`);if(n){let{alpha:s,components:[a,...c]}=n;return{type:a,components:c,alpha:s}}}function Xo(o){let e=o.match(/^color\((.+)\)$/);if(!e)return;let t=lo(e[1]);if(t){let{alpha:r,components:[n,...s]}=t;return{type:n,components:s,alpha:r}}}function lo(o){let e=b(o," ");if(!e)return;let t=e.length;if(e[t-2]==="/")return{components:e.slice(0,t-2),alpha:e[t-1]};if(e[t-2]!=null&&(e[t-2].endsWith("/")||e[t-1].startsWith("/"))){let s=e.splice(t-2);e.push(s.join(" ")),--t}let r=b(e[t-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:e};let n=r.pop();return e[t-1]=r.join("/"),{components:e,alpha:n}}var y={sm:["2rem","1.125rem","0.85rem"],md:["2.5rem","1.375rem","1.1rem"],lg:["3rem","1.625rem","1.375rem"]};var uo=[[/^o-(.*)$/,([,o],{theme:e})=>{let t=k(o,e);return t?.cssColor?.type==="rgb"&&t.cssColor.components?{"--onu-c-context":`${t.cssColor.components.join(",")}`}:{"--onu-c-context":t?.color}}],[/^o-switch-(.+)$/,([,o])=>{if(["sm","md","lg"].includes(o))return{"--o-switch-offset":y[o][2],width:y[o][0],height:y[o][1]}}],["o-dashed",{"border-style":"dashed"}],["o-solid",{"background-color":"rgba(var(--onu-c-context), 1) !important","border-color":"rgba(var(--onu-c-context), 1)",color:"white !important"}],["o-bg-clip-half",{"clip-path":"polygon(0% 0%, 50% 0, 50% 50%, 50% 100%, 0% 100%)"}],[/^psdc-(.*)$/,([,o])=>({content:`'${o==="DEFAULT"?"":o}'`})]];var po=[o=>{let e="o-disabled:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`[disabled] ${t}, ${t}[disabled]`}},o=>{let e="o-checked:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`[checked] ${t}, ${t}[checked]`}},o=>{let e="o-after:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`${t}::after`}},o=>{let e="o-before:";if(o.startsWith(e))return{matcher:o.slice(e.length),selector:t=>`${t}::before`}},o=>{let e="o-children:",t=/(o-children:)\[(.*)\]:(.*)$/;if(o.startsWith(e))return{matcher:o.replace(t,"$3"),selector:r=>`${r} > ${o.replace(t,"$2")}`}},o=>{let e="o-sibling:",t=/(o-sibling:)\[(.*)\]:(.*)$/;if(o.startsWith(e))return{matcher:o.replace(t,"$3"),selector:r=>`${r} + ${o.replace(t,"$2")}`}}];var Jo={"--onu-colors-blue50":"#EDF5FF","--onu-colors-blue100":"#E1EFFF","--onu-colors-blue200":"#ecf5ff","--onu-colors-blue300":"#B7D5F8","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#409EFF","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#005FCC","--onu-colors-blue800":"#004799","--onu-colors-blue900":"#00254D","--onu-colors-purple50":"#F7F2FD","--onu-colors-purple100":"#F1E8FB","--onu-colors-purple200":"#EADCF8","--onu-colors-purple300":"#E0CBF5","--onu-colors-purple400":"#D1B1F0","--onu-colors-purple500":"#BC8EE9","--onu-colors-purple600":"#A855F7","--onu-colors-purple700":"#6622AA","--onu-colors-purple800":"#4D1980","--onu-colors-purple900":"#290E44","--onu-colors-green50":"#F1FDF7","--onu-colors-green100":"#E8FCF1","--onu-colors-green200":"#DAFBE8","--onu-colors-green300":"#C8F9DD","--onu-colors-green400":"#ADF5CC","--onu-colors-green500":"#67eaa0","--onu-colors-green600":"#0ACF83","--onu-colors-green700":"#13A452","--onu-colors-green800":"#108944","--onu-colors-green900":"#06371B","--onu-colors-yellow50":"#FEF9F0","--onu-colors-yellow100":"#FEF5E7","--onu-colors-yellow200":"#FDEFD8","--onu-colors-yellow300":"#FCE7C5","--onu-colors-yellow400":"#FBDBA7","--onu-colors-yellow500":"#F9CB80","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#B97509","--onu-colors-yellow800":"#925D07","--onu-colors-yellow900":"#4E3104","--onu-colors-red50":"#FEF0F5","--onu-colors-red100":"#FEE7EF","--onu-colors-red200":"#FDD8E5","--onu-colors-red300":"#FCC5D8","--onu-colors-red400":"#FAA8C5","--onu-colors-red500":"#f89898","--onu-colors-red600":"#FF5C5C","--onu-colors-red700":"#c45656","--onu-colors-red800":"#910838","--onu-colors-red900":"#4E041E","--onu-colors-cyan50":"#F0FCFF","--onu-colors-cyan100":"#E6FAFE","--onu-colors-cyan200":"#D7F8FE","--onu-colors-cyan300":"#C3F4FD","--onu-colors-cyan400":"#A5EEFD","--onu-colors-cyan500":"#7EE7FC","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#09AACD","--onu-colors-cyan800":"#0E8AAA","--onu-colors-cyan900":"#053B48","--onu-colors-pink50":"#FFF0FB","--onu-colors-pink100":"#FFE5F8","--onu-colors-pink200":"#FFD6F3","--onu-colors-pink300":"#FFC2EE","--onu-colors-pink400":"#FFA3E5","--onu-colors-pink500":"#FF7AD9","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#D6009A","--onu-colors-pink800":"#B80084","--onu-colors-pink900":"#4D0037","--onu-colors-gray50":"#F1F3F5","--onu-colors-gray100":"#ECEEF0","--onu-colors-gray200":"#E6E8EB","--onu-colors-gray300":"#DFE3E6","--onu-colors-gray400":"#D7DBDF","--onu-colors-gray500":"#C1C8CD","--onu-colors-gray600":"#889096","--onu-colors-gray700":"#7E868C","--onu-colors-gray800":"#687076","--onu-colors-gray900":"#11181C","--onu-colors-white":"#ffffff","--onu-colors-black":"#000000","--onu-colors-black-light":"var(--onu-colors-white)","--onu-colors-background":"var(--onu-colors-white)","--onu-colors-background-light":"var(--onu-colors-black-light)","--onu-colors-background-gray":"var(--onu-colors-gray600)","--onu-colors-background-gray-light":"var(--onu-colors-gray200)","--onu-colors-backgroundAlpha":"rgba(255, 255, 255, 0.8)","--onu-colors-foreground":"var(--onu-colors-black)","--onu-colors-backgroundContrast":"var(--onu-colors-white)","--onu-colors-text":"#606266","--onu-colors-text-darker":"#606266","--onu-colors-text-light":"#909399","--onu-colors-title":"#11181C","--onu-colors-placeholder":"#a8abb2","--onu-colors-grayBg":"#373739","--onu-colors-lightContext":"#f9f9f9","--onu-colors-embed":"#F1F3F5","--onu-colors-darkContext":"#1c1f23","--onu-colors-link":"var(--onu-colors-blue600)","--onu-colors-codeLight":"var(--onu-colors-pink100)","--onu-colors-code":"var(--onu-colors-pink600)","--onu-colors-selection":"var(--onu-colors-blue200)","--onu-colors-border":"#dcdfe6","--onu-colors-border-light":"#efeff5","--onu-colors-border-darker":"#cdd0d6","--onu-colors-headerBackground":"hsla(0,0%,100%,0.8)","--onu-colors-menuBackground":"rgba(255, 255, 255, 0.8)","--onu-colors-headerIconColor":"var(--onu-colors-gray400)","--onu-colors-codeBackground":"#363449","--onu-colors-codeComment":"var(--onu-colors-gray700)","--onu-colors-codeCopyIconColor":"var(--onu-colors-gray200)","--onu-colors-cardBackground":"var(--onu-colors-white)","--onu-colors-codeHighlight":"hsl(243, 16%, 30%)","--onu-colors-backgroundBlur":"rgba(255, 255, 255, 0.3)","--onu-colors-blockLinkBackground":"var(--onu-colors-accents1)","--onu-colors-blockLinkHoverBackground":"#FFD1ED","--onu-shadows-xs":"0 2px 8px 1px rgb(104 112 118 / 0.07), 0 1px 1px -1px rgb(104 112 118 / 0.04)","--onu-shadows-sm":"0 2px 8px 2px rgb(104 112 118 / 0.07), 0 2px 4px -1px rgb(104 112 118 / 0.04)","--onu-shadows-md":"0 12px 20px 6px rgb(104 112 118 / 0.08)","--onu-shadows-lg":"0 12px 34px 6px rgb(104 112 118 / 0.18)","--onu-shadows-xl":"0 25px 65px 0px inset","--onu-dropShadows-xs":"drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))","--onu-dropShadows-sm":"drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))","--onu-dropShadows-md":"drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))","--onu-dropShadows-lg":"drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))","--onu-dropShadows-xl":"drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))","--onu-theme-primary":"var(--onu-colors-blue500)","--onu-theme-primaryHsl":`${p("#409EFF")}`,"--onu-theme-primaryLight":"var(--onu-colors-blue200)","--onu-theme-primaryBorder":"var(--onu-colors-blue500)","--onu-theme-primaryLightHover":"var(--onu-colors-blue400)","--onu-theme-primaryLightActive":"var(--onu-colors-blue600)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue400)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue600)","--onu-theme-primaryShadow":"var(--onu-colors-blue500)","--onu-theme-secondary":"var(--onu-colors-purple600)","--onu-theme-secondaryHsl":`${p("#A855F7")}`,"--onu-theme-secondaryLight":"var(--onu-colors-purple200)","--onu-theme-secondaryBorder":"var(--onu-colors-purple600)","--onu-theme-secondaryLightHover":"var(--onu-colors-purple500)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple700)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple500)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple700)","--onu-theme-secondaryShadow":"var(--onu-colors-purple500)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-successHsl":`${p("#0ACF83")}`,"--onu-theme-successLight":"var(--onu-colors-green200)","--onu-theme-successBorder":"var(--onu-colors-green600)","--onu-theme-successLightHover":"var(--onu-colors-green500)","--onu-theme-successLightActive":"var(--onu-colors-green700)","--onu-theme-successBorderHover":"var(--onu-colors-green500)","--onu-theme-successBorderActive":"var(--onu-colors-green700)","--onu-theme-successShadow":"var(--onu-colors-green500)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-warningHsl":`${p("#F5A524")}`,"--onu-theme-warningLight":"var(--onu-colors-yellow200)","--onu-theme-warningBorder":"var(--onu-colors-yellow500)","--onu-theme-warningLightHover":"var(--onu-colors-yellow500)","--onu-theme-warningLightActive":"var(--onu-colors-yellow700)","--onu-theme-warningBorderHover":"var(--onu-colors-yellow500)","--onu-theme-warningBorderActive":"var(--onu-colors-yellow700)","--onu-theme-warningShadow":"var(--onu-colors-yellow500)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-errorHsl":`${p("#FF5C5C")}`,"--onu-theme-errorLight":"var(--onu-colors-red200)","--onu-theme-errorBorder":"var(--onu-colors-red600)","--onu-theme-errorLightHover":"var(--onu-colors-red500)","--onu-theme-errorLightActive":"var(--onu-colors-red700)","--onu-theme-errorBorderHover":"var(--onu-colors-red500)","--onu-theme-errorBorderActive":"var(--onu-colors-red700)","--onu-theme-errorShadow":"var(--onu-colors-red500)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#7E868C")}`,"--onu-theme-infoLight":"var(--onu-colors-gray200)","--onu-theme-infoBorder":"var(--onu-colors-gray700)","--onu-theme-infoLightHover":"var(--onu-colors-gray500)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray500)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)","--onu-theme-infoShadow":"var(--onu-colors-gray400)"},Qo={"--onu-colors-blue50":"#10253E","--onu-colors-blue100":"#102C4C","--onu-colors-blue200":"#18222c","--onu-colors-blue300":"#0F3158","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#0952A5","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#3694FF","--onu-colors-blue800":"#3694FF","--onu-colors-blue900":"#EAF4FF","--onu-colors-purple50":"#1F0A33","--onu-colors-purple100":"#240C3C","--onu-colors-purple200":"#2E0F4D","--onu-colors-purple300":"#3B1362","--onu-colors-purple400":"#451773","--onu-colors-purple500":"#571D91","--onu-colors-purple600":"#7828C8","--onu-colors-purple700":"#9750DD","--onu-colors-purple800":"#B583E7","--onu-colors-purple900":"#F7ECFC","--onu-colors-green50":"#042F14","--onu-colors-green100":"#06381B","--onu-colors-green200":"#074A24","--onu-colors-green300":"#0A6130","--onu-colors-green400":"#0B7439","--onu-colors-green500":"#0F9549","--onu-colors-green600":"#17C964","--onu-colors-green700":"#41EC8B","--onu-colors-green800":"#78F2AD","--onu-colors-green900":"#ECFDF4","--onu-colors-yellow50":"#3A2503","--onu-colors-yellow100":"#442B03","--onu-colors-yellow200":"#583804","--onu-colors-yellow300":"#704705","--onu-colors-yellow400":"#845306","--onu-colors-yellow500":"#A66908","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#F6AD37","--onu-colors-yellow800":"#F8C572","--onu-colors-yellow900":"#FEF7EC","--onu-colors-red50":"#300313","--onu-colors-red100":"#300313","--onu-colors-red200":"#44041A","--onu-colors-red300":"#5C0523","--onu-colors-red400":"#6F062B","--onu-colors-red500":"#c45656","--onu-colors-red600":"#F31260","--onu-colors-red700":"#f89898","--onu-colors-red800":"#F75F94","--onu-colors-red900":"#FDD8E5","--onu-colors-cyan50":"#012A32","--onu-colors-cyan100":"#023A46","--onu-colors-cyan200":"#024B5A","--onu-colors-cyan300":"#036072","--onu-colors-cyan400":"#037086","--onu-colors-cyan500":"#048EA9","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#33D9FA","--onu-colors-cyan800":"#6FE4FB","--onu-colors-cyan900":"#EBFBFE","--onu-colors-pink50":"#330025","--onu-colors-pink100":"#470033","--onu-colors-pink200":"#5C0042","--onu-colors-pink300":"#750054","--onu-colors-pink400":"#8A0063","--onu-colors-pink500":"#AD007C","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#FF2EC4","--onu-colors-pink800":"#FF6BD5","--onu-colors-pink900":"#FFEBF9","--onu-colors-gray50":"#16181A","--onu-colors-gray100":"#26292B","--onu-colors-gray200":"#2B2F31","--onu-colors-gray300":"#313538","--onu-colors-gray400":"#3A3F42","--onu-colors-gray500":"#4C5155","--onu-colors-gray600":"#697177","--onu-colors-gray700":"#787F85","--onu-colors-gray800":"#9BA1A6","--onu-colors-gray900":"#ECEDEE","--onu-colors-white-light":"#ffffff","--onu-colors-text":"#CFD3DC","--onu-colors-text-darker":"#7C7C7D","--onu-colors-text-light":"#A3A6AD","--onu-colors-title":"#ECEDEE","--onu-colors-placeholder":"#8D9095","--onu-colors-border":"#4C4D4F","--onu-colors-border-light":"#414243","--onu-colors-border-darker":"#636466","--onu-colors-background":"var(--onu-colors-black)","--onu-colors-black-light":"#1d1e1f","--onu-colors-arrow":"#373739","--onu-colors-backgroundAlpha":"rgba(0, 0, 0, 0.6)","--onu-colors-foreground":"var(--onu-colors-white)","--onu-colors-backgroundContrast":"var(--onu-colors-gray50)","--onu-theme-primary":"var(--onu-colors-blue600)","--onu-theme-primaryHsl":`${p("#0072F5")}`,"--onu-theme-primaryLightHover":"var(--onu-colors-blue500)","--onu-theme-primaryLightActive":"var(--onu-colors-blue700)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue500)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue700)","--onu-theme-secondary":"var(--onu-colors-purple700)","--onu-theme-secondaryHsl":`${p("#9750DD")}`,"--onu-theme-secondaryLightHover":"var(--onu-colors-purple600)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple800)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple600)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple800)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#787F85")}`,"--onu-theme-infoLightHover":"var(--onu-colors-gray600)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray600)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)"},Zo=o=>Object.entries(o).map(([e,t])=>`${e}: ${t}`).join(";");function oe(){return{name:"@onu-ui/preset",theme:K,rules:uo,variants:po,shortcuts:Y}}0&&(module.exports={darkTheme,getCSSPreflights,lightTheme,presetOnu}); |
{ | ||
"name": "@onu-ui/preset", | ||
"version": "1.0.13", | ||
"version": "1.0.14-beta.0", | ||
"description": "Onu-UI css rules for unocss preset", | ||
"author": "chris-zhu <https://github.com/chris-zhu>", | ||
"author": "Chris <https://github.com/zyyv>", | ||
"license": "MIT", | ||
@@ -7,0 +7,0 @@ "homepage": "https://github.com/onu-ui/onu-ui/blob/main/packages/preset/README.md", |
@@ -7,3 +7,3 @@ # @onu-ui/preset | ||
```bash | ||
npm i unocss @onu-ui/preset -D | ||
pnpm i unocss @onu-ui/preset -D | ||
``` | ||
@@ -28,2 +28,2 @@ Add preset into unocss config. | ||
[MIT](../../LICENSE) License © 2022 [chris-zhu](https://github.com/chris-zhu) | ||
[MIT](../../LICENSE) License © 2022 [Chris](https://github.com/zyyv) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125232
738
1