@pequity/squirrel 1.0.20-beta.1 → 1.0.20-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chunks/_plugin-vue_export-helper.js +9 -1
- package/dist/cjs/chunks/p-action-bar.js +60 -1
- package/dist/cjs/chunks/p-card.js +28 -1
- package/dist/cjs/chunks/p-checkbox.js +24 -1
- package/dist/cjs/chunks/p-dropdown-select.js +414 -1
- package/dist/cjs/chunks/p-input-percent.js +53 -1
- package/dist/cjs/chunks/p-pagination-info.js +66 -1
- package/dist/cjs/chunks/p-pagination.js +122 -1
- package/dist/cjs/chunks/p-ring-loader.js +81 -1
- package/dist/cjs/chunks/p-select-btn.js +97 -1
- package/dist/cjs/chunks/p-select.js +123 -1
- package/dist/cjs/chunks/p-table-loader.js +70 -1
- package/dist/cjs/chunks/p-tabs.js +52 -1
- package/dist/cjs/config.js +105 -1
- package/dist/cjs/currency.js +9 -1
- package/dist/cjs/dom.js +27 -1
- package/dist/cjs/index.js +976 -1
- package/dist/cjs/inputClassesMixin.js +50 -1
- package/dist/cjs/inputClassesShared.js +76 -1
- package/dist/cjs/listKeyboardNavigation.js +110 -1
- package/dist/cjs/number.js +9 -1
- package/dist/cjs/object.js +4 -1
- package/dist/cjs/p-action-bar.js +3 -1
- package/dist/cjs/p-alert.js +65 -1
- package/dist/cjs/p-avatar.js +71 -1
- package/dist/cjs/p-btn.js +358 -2
- package/dist/cjs/p-card.js +3 -1
- package/dist/cjs/p-checkbox.js +3 -1
- package/dist/cjs/p-chips.js +110 -1
- package/dist/cjs/p-close-btn.js +36 -1
- package/dist/cjs/p-date-picker.js +139 -1
- package/dist/cjs/p-drawer.js +253 -1
- package/dist/cjs/p-dropdown-select.js +3 -1
- package/dist/cjs/p-dropdown.js +138 -1
- package/dist/cjs/p-file-upload.js +21 -1
- package/dist/cjs/p-info-icon.js +35 -1
- package/dist/cjs/p-inline-date-picker.js +142 -1
- package/dist/cjs/p-input-number.js +146 -1
- package/dist/cjs/p-input-percent.js +3 -1
- package/dist/cjs/p-input-search.js +110 -1
- package/dist/cjs/p-input.js +89 -1
- package/dist/cjs/p-loading.js +38 -1
- package/dist/cjs/p-modal.js +369 -1
- package/dist/cjs/p-pagination-info.js +3 -1
- package/dist/cjs/p-pagination.js +3 -1
- package/dist/cjs/p-progress-bar.js +41 -1
- package/dist/cjs/p-ring-loader.js +3 -1
- package/dist/cjs/p-select-btn.js +3 -1
- package/dist/cjs/p-select-list.js +4 -1
- package/dist/cjs/p-select-pill.js +111 -1
- package/dist/cjs/p-select.js +3 -1
- package/dist/cjs/p-skeleton-loader.js +73 -1
- package/dist/cjs/p-table-filter-icon.js +20 -1
- package/dist/cjs/p-table-header-cell.js +75 -1
- package/dist/cjs/p-table-loader.js +3 -1
- package/dist/cjs/p-table-sort.js +8 -1
- package/dist/cjs/p-table-td.js +88 -1
- package/dist/cjs/p-table.js +12 -1
- package/dist/cjs/p-tabs.js +3 -1
- package/dist/cjs/p-textarea.js +73 -1
- package/dist/cjs/p-toggle.js +114 -1
- package/dist/cjs/pagination.js +29 -1
- package/dist/cjs/string.js +12 -1
- package/dist/cjs/tailwind.js +4353 -1
- package/dist/cjs/text.js +16 -1
- package/dist/cjs/useInputClasses.js +44 -1
- package/dist/cjs/usePLoading.js +35 -1
- package/dist/cjs/usePModal.js +21 -1
- package/dist/cjs/usePTableColResize.js +81 -1
- package/dist/cjs/usePTableRowVirtualizer.js +31 -1
- package/dist/cjs/useSelectList.js +256 -1
- package/dist/es/chunks/_plugin-vue_export-helper.js +7 -6
- package/dist/es/chunks/p-action-bar.js +45 -36
- package/dist/es/chunks/p-card.js +18 -14
- package/dist/es/chunks/p-checkbox.js +14 -11
- package/dist/es/chunks/p-dropdown-select.js +232 -183
- package/dist/es/chunks/p-input-percent.js +34 -25
- package/dist/es/chunks/p-pagination-info.js +30 -24
- package/dist/es/chunks/p-pagination.js +78 -48
- package/dist/es/chunks/p-ring-loader.js +63 -40
- package/dist/es/chunks/p-select-btn.js +80 -59
- package/dist/es/chunks/p-select.js +81 -54
- package/dist/es/chunks/p-table-loader.js +46 -32
- package/dist/es/chunks/p-tabs.js +35 -29
- package/dist/es/config.js +2 -2
- package/dist/es/currency.js +3 -3
- package/dist/es/dom.js +24 -12
- package/dist/es/index.js +703 -519
- package/dist/es/inputClassesMixin.js +20 -14
- package/dist/es/inputClassesShared.js +60 -45
- package/dist/es/listKeyboardNavigation.js +86 -36
- package/dist/es/number.js +7 -2
- package/dist/es/object.js +2 -2
- package/dist/es/p-action-bar.js +2 -2
- package/dist/es/p-alert.js +35 -30
- package/dist/es/p-avatar.js +30 -27
- package/dist/es/p-btn.js +209 -164
- package/dist/es/p-card.js +2 -2
- package/dist/es/p-checkbox.js +2 -2
- package/dist/es/p-chips.js +60 -40
- package/dist/es/p-close-btn.js +20 -16
- package/dist/es/p-date-picker.js +66 -58
- package/dist/es/p-drawer.js +108 -89
- package/dist/es/p-dropdown-select.js +2 -2
- package/dist/es/p-dropdown.js +52 -33
- package/dist/es/p-file-upload.js +17 -9
- package/dist/es/p-info-icon.js +21 -16
- package/dist/es/p-inline-date-picker.js +64 -53
- package/dist/es/p-input-number.js +84 -66
- package/dist/es/p-input-percent.js +2 -2
- package/dist/es/p-input-search.js +43 -41
- package/dist/es/p-input.js +51 -45
- package/dist/es/p-loading.js +31 -22
- package/dist/es/p-modal.js +261 -174
- package/dist/es/p-pagination-info.js +2 -2
- package/dist/es/p-pagination.js +2 -2
- package/dist/es/p-progress-bar.js +26 -23
- package/dist/es/p-ring-loader.js +2 -2
- package/dist/es/p-select-btn.js +2 -2
- package/dist/es/p-select-list.js +2 -2
- package/dist/es/p-select-pill.js +58 -41
- package/dist/es/p-select.js +2 -2
- package/dist/es/p-skeleton-loader.js +34 -29
- package/dist/es/p-table-filter-icon.js +11 -11
- package/dist/es/p-table-header-cell.js +38 -33
- package/dist/es/p-table-loader.js +2 -2
- package/dist/es/p-table-sort.js +2 -2
- package/dist/es/p-table-td.js +76 -29
- package/dist/es/p-table.js +10 -6
- package/dist/es/p-tabs.js +2 -2
- package/dist/es/p-textarea.js +36 -34
- package/dist/es/p-toggle.js +53 -48
- package/dist/es/pagination.js +25 -8
- package/dist/es/string.js +10 -2
- package/dist/es/tailwind.js +1660 -1101
- package/dist/es/text.js +13 -8
- package/dist/es/useInputClasses.js +38 -22
- package/dist/es/usePLoading.js +31 -15
- package/dist/es/usePModal.js +15 -12
- package/dist/es/usePTableColResize.js +71 -39
- package/dist/es/usePTableRowVirtualizer.js +24 -15
- package/dist/es/useSelectList.js +234 -121
- package/dist/style.css +2124 -1
- package/package.json +1 -1
package/dist/cjs/tailwind.js
CHANGED
|
@@ -1 +1,4353 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ce=require("lodash-es"),Pe=require("./config.js");function Ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ae={},le={},ee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});function h(n){if(n=`${n}`,n==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(n))return n.replace(/^[+-]?/,f=>f==="-"?"":"-");let y=["var","calc","min","max","clamp"];for(const f of y)if(n.includes(`${f}(`))return`calc(${n} * -1)`}})(ee);var ue={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});const h=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(ue);var se={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});function h(n,y){return n===void 0?y:Array.isArray(n)?n:[...new Set(y.filter(u=>n!==!1&&n[u]!==!1).concat(Object.keys(n).filter(u=>n[u]!==!1)))]}})(se);var fe={},q={},te={exports:{}},z=String,ce=function(){return{isColorSupported:!1,reset:z,bold:z,dim:z,italic:z,underline:z,inverse:z,hidden:z,strikethrough:z,black:z,red:z,green:z,yellow:z,blue:z,magenta:z,cyan:z,white:z,gray:z,bgBlack:z,bgRed:z,bgGreen:z,bgYellow:z,bgBlue:z,bgMagenta:z,bgCyan:z,bgWhite:z}};te.exports=ce();te.exports.createColors=ce;var de=te.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(o,t){for(var c in t)Object.defineProperty(o,c,{enumerable:!0,get:t[c]})}h(e,{dim:function(){return r},default:function(){return v}});const n=y(de);function y(o){return o&&o.__esModule?o:{default:o}}let f=new Set;function u(o,t,c){typeof process<"u"&&process.env.JEST_WORKER_ID||c&&f.has(c)||(c&&f.add(c),console.warn(""),t.forEach(g=>console.warn(o,"-",g)))}function r(o){return n.default.dim(o)}const v={info(o,t){u(n.default.bold(n.default.cyan("info")),...Array.isArray(o)?[o]:[t,o])},warn(o,t){u(n.default.bold(n.default.yellow("warn")),...Array.isArray(o)?[o]:[t,o])},risk(o,t){u(n.default.bold(n.default.magenta("risk")),...Array.isArray(o)?[o]:[t,o])}}})(q);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});const h=n(q);function n(u){return u&&u.__esModule?u:{default:u}}function y({version:u,from:r,to:v}){h.default.warn(`${r}-color-renamed`,[`As of Tailwind CSS ${u}, \`${r}\` has been renamed to \`${v}\`.`,"Update your configuration file to silence this warning."])}const f={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return y({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return y({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return y({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return y({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return y({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(fe);var pe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"defaults",{enumerable:!0,get:function(){return h}});function h(n,...y){for(let r of y){for(let v in r){var f;!(n==null||(f=n.hasOwnProperty)===null||f===void 0)&&f.call(n,v)||(n[v]=r[v])}for(let v of Object.getOwnPropertySymbols(r)){var u;!(n==null||(u=n.hasOwnProperty)===null||u===void 0)&&u.call(n,v)||(n[v]=r[v])}}return n}})(pe);var me={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"toPath",{enumerable:!0,get:function(){return h}});function h(n){if(Array.isArray(n))return n;let y=n.split("[").length-1,f=n.split("]").length-1;if(y!==f)throw new Error(`Path is invalid. Has unbalanced brackets: ${n}`);return n.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(me);var ge={},N={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(g,d){for(var A in d)Object.defineProperty(g,A,{enumerable:!0,get:d[A]})}h(e,{flagEnabled:function(){return v},issueFlagNotices:function(){return t},default:function(){return c}});const n=f(de),y=f(q);function f(g){return g&&g.__esModule?g:{default:g}}let u={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},r={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function v(g,d){if(r.future.includes(d)){var A,m,k;return g.future==="all"||((k=(m=g==null||(A=g.future)===null||A===void 0?void 0:A[d])!==null&&m!==void 0?m:u[d])!==null&&k!==void 0?k:!1)}if(r.experimental.includes(d)){var C,T,j;return g.experimental==="all"||((j=(T=g==null||(C=g.experimental)===null||C===void 0?void 0:C[d])!==null&&T!==void 0?T:u[d])!==null&&j!==void 0?j:!1)}return!1}function o(g){if(g.experimental==="all")return r.experimental;var d;return Object.keys((d=g==null?void 0:g.experimental)!==null&&d!==void 0?d:{}).filter(A=>r.experimental.includes(A)&&g.experimental[A])}function t(g){if(process.env.JEST_WORKER_ID===void 0&&o(g).length>0){let d=o(g).map(A=>n.default.yellow(A)).join(", ");y.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${d}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const c=r})(N);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeConfig",{enumerable:!0,get:function(){return u}});const h=N,n=f(q);function y(r){if(typeof WeakMap!="function")return null;var v=new WeakMap,o=new WeakMap;return(y=function(t){return t?o:v})(r)}function f(r,v){if(!v&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var o=y(v);if(o&&o.has(r))return o.get(r);var t={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in r)if(g!=="default"&&Object.prototype.hasOwnProperty.call(r,g)){var d=c?Object.getOwnPropertyDescriptor(r,g):null;d&&(d.get||d.set)?Object.defineProperty(t,g,d):t[g]=r[g]}return t.default=r,o&&o.set(r,t),t}function u(r){if((()=>{if(r.purge||!r.content||!Array.isArray(r.content)&&!(typeof r.content=="object"&&r.content!==null))return!1;if(Array.isArray(r.content))return r.content.every(t=>typeof t=="string"?!0:!(typeof(t==null?void 0:t.raw)!="string"||t!=null&&t.extension&&typeof(t==null?void 0:t.extension)!="string"));if(typeof r.content=="object"&&r.content!==null){if(Object.keys(r.content).some(t=>!["files","relative","extract","transform"].includes(t)))return!1;if(Array.isArray(r.content.files)){if(!r.content.files.every(t=>typeof t=="string"?!0:!(typeof(t==null?void 0:t.raw)!="string"||t!=null&&t.extension&&typeof(t==null?void 0:t.extension)!="string")))return!1;if(typeof r.content.extract=="object"){for(let t of Object.values(r.content.extract))if(typeof t!="function")return!1}else if(!(r.content.extract===void 0||typeof r.content.extract=="function"))return!1;if(typeof r.content.transform=="object"){for(let t of Object.values(r.content.transform))if(typeof t!="function")return!1}else if(!(r.content.transform===void 0||typeof r.content.transform=="function"))return!1;if(typeof r.content.relative!="boolean"&&typeof r.content.relative<"u")return!1}return!0}return!1})()||n.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),r.safelist=(()=>{var t;let{content:c,purge:g,safelist:d}=r;return Array.isArray(d)?d:Array.isArray(c==null?void 0:c.safelist)?c.safelist:Array.isArray(g==null?void 0:g.safelist)?g.safelist:Array.isArray(g==null||(t=g.options)===null||t===void 0?void 0:t.safelist)?g.options.safelist:[]})(),r.blocklist=(()=>{let{blocklist:t}=r;if(Array.isArray(t)){if(t.every(c=>typeof c=="string"))return t;n.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof r.prefix=="function")n.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),r.prefix="";else{var o;r.prefix=(o=r.prefix)!==null&&o!==void 0?o:""}r.content={relative:(()=>{let{content:t}=r;return t!=null&&t.relative?t.relative:(0,h.flagEnabled)(r,"relativeContentPathsByDefault")})(),files:(()=>{let{content:t,purge:c}=r;return Array.isArray(c)?c:Array.isArray(c==null?void 0:c.content)?c.content:Array.isArray(t)?t:Array.isArray(t==null?void 0:t.content)?t.content:Array.isArray(t==null?void 0:t.files)?t.files:[]})(),extract:(()=>{let t=(()=>{var d,A,m,k,C,T,j,P,D,$;return!((d=r.purge)===null||d===void 0)&&d.extract?r.purge.extract:!((A=r.content)===null||A===void 0)&&A.extract?r.content.extract:!((m=r.purge)===null||m===void 0||(k=m.extract)===null||k===void 0)&&k.DEFAULT?r.purge.extract.DEFAULT:!((C=r.content)===null||C===void 0||(T=C.extract)===null||T===void 0)&&T.DEFAULT?r.content.extract.DEFAULT:!((j=r.purge)===null||j===void 0||(P=j.options)===null||P===void 0)&&P.extractors?r.purge.options.extractors:!((D=r.content)===null||D===void 0||($=D.options)===null||$===void 0)&&$.extractors?r.content.options.extractors:{}})(),c={},g=(()=>{var d,A,m,k;if(!((d=r.purge)===null||d===void 0||(A=d.options)===null||A===void 0)&&A.defaultExtractor)return r.purge.options.defaultExtractor;if(!((m=r.content)===null||m===void 0||(k=m.options)===null||k===void 0)&&k.defaultExtractor)return r.content.options.defaultExtractor})();if(g!==void 0&&(c.DEFAULT=g),typeof t=="function")c.DEFAULT=t;else if(Array.isArray(t))for(let{extensions:d,extractor:A}of t??[])for(let m of d)c[m]=A;else typeof t=="object"&&t!==null&&Object.assign(c,t);return c})(),transform:(()=>{let t=(()=>{var g,d,A,m,k,C;return!((g=r.purge)===null||g===void 0)&&g.transform?r.purge.transform:!((d=r.content)===null||d===void 0)&&d.transform?r.content.transform:!((A=r.purge)===null||A===void 0||(m=A.transform)===null||m===void 0)&&m.DEFAULT?r.purge.transform.DEFAULT:!((k=r.content)===null||k===void 0||(C=k.transform)===null||C===void 0)&&C.DEFAULT?r.content.transform.DEFAULT:{}})(),c={};return typeof t=="function"&&(c.DEFAULT=t),typeof t=="object"&&t!==null&&Object.assign(c,t),c})()};for(let t of r.content.files)if(typeof t=="string"&&/{([^,]*?)}/g.test(t)){n.default.warn("invalid-glob-braces",[`The glob pattern ${(0,n.dim)(t)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,n.dim)(t.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return r}})(ge);var be={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});function h(n){if(Object.prototype.toString.call(n)!=="[object Object]")return!1;const y=Object.getPrototypeOf(n);return y===null||Object.getPrototypeOf(y)===null}})(be);var ve={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return h}});function h(n){return Array.isArray(n)?n.map(y=>h(y)):typeof n=="object"&&n!==null?Object.fromEntries(Object.entries(n).map(([y,f])=>[y,h(f)])):n}})(ve);var he={},ye={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});function h(n){return n.replace(/\\,/g,"\\2c ")}})(ye);var re={},ne={},xe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});const h={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}})(xe);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(m,k){for(var C in k)Object.defineProperty(m,C,{enumerable:!0,get:k[C]})}h(e,{parseColor:function(){return d},formatColor:function(){return A}});const n=y(xe);function y(m){return m&&m.__esModule?m:{default:m}}let f=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,u=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,r=/(?:\d+|\d*\.\d+)%?/,v=/(?:\s*,\s*|\s+)/,o=/\s*[,/]\s*/,t=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,c=new RegExp(`^(rgba?)\\(\\s*(${r.source}|${t.source})(?:${v.source}(${r.source}|${t.source}))?(?:${v.source}(${r.source}|${t.source}))?(?:${o.source}(${r.source}|${t.source}))?\\s*\\)$`),g=new RegExp(`^(hsla?)\\(\\s*((?:${r.source})(?:deg|rad|grad|turn)?|${t.source})(?:${v.source}(${r.source}|${t.source}))?(?:${v.source}(${r.source}|${t.source}))?(?:${o.source}(${r.source}|${t.source}))?\\s*\\)$`);function d(m,{loose:k=!1}={}){var C,T;if(typeof m!="string")return null;if(m=m.trim(),m==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(m in n.default)return{mode:"rgb",color:n.default[m].map(F=>F.toString())};let j=m.replace(u,(F,R,U,l,x)=>["#",R,R,U,U,l,l,x?x+x:""].join("")).match(f);if(j!==null)return{mode:"rgb",color:[parseInt(j[1],16),parseInt(j[2],16),parseInt(j[3],16)].map(F=>F.toString()),alpha:j[4]?(parseInt(j[4],16)/255).toString():void 0};var P;let D=(P=m.match(c))!==null&&P!==void 0?P:m.match(g);if(D===null)return null;let $=[D[2],D[3],D[4]].filter(Boolean).map(F=>F.toString());return $.length===2&&$[0].startsWith("var(")?{mode:D[1],color:[$[0]],alpha:$[1]}:!k&&$.length!==3||$.length<3&&!$.some(F=>/^var\(.*?\)$/.test(F))?null:{mode:D[1],color:$,alpha:(C=D[5])===null||C===void 0||(T=C.toString)===null||T===void 0?void 0:T.call(C)}}function A({mode:m,color:k,alpha:C}){let T=C!==void 0;return m==="rgba"||m==="hsla"?`${m}(${k.join(", ")}${T?`, ${C}`:""})`:`${m}(${k.join(" ")}${T?` / ${C}`:""})`}})(ne);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(u,r){for(var v in r)Object.defineProperty(u,v,{enumerable:!0,get:r[v]})}h(e,{withAlphaValue:function(){return y},default:function(){return f}});const n=ne;function y(u,r,v){if(typeof u=="function")return u({opacityValue:r});let o=(0,n.parseColor)(u,{loose:!0});return o===null?v:(0,n.formatColor)({...o,alpha:r})}function f({color:u,property:r,variable:v}){let o=[].concat(r);if(typeof u=="function")return{[v]:"1",...Object.fromEntries(o.map(c=>[c,u({opacityVariable:v,opacityValue:`var(${v})`})]))};const t=(0,n.parseColor)(u);return t===null?Object.fromEntries(o.map(c=>[c,u])):t.alpha!==void 0?Object.fromEntries(o.map(c=>[c,u])):{[v]:"1",...Object.fromEntries(o.map(c=>[c,(0,n.formatColor)({...t,alpha:`var(${v})`})]))}}})(re);var ie={},we={},H={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return h}});function h(n,y){let f=[],u=[],r=0,v=!1;for(let o=0;o<n.length;o++){let t=n[o];f.length===0&&t===y[0]&&!v&&(y.length===1||n.slice(o,o+y.length)===y)&&(u.push(n.slice(r,o)),r=o+y.length),v?v=!1:t==="\\"&&(v=!0),t==="("||t==="["||t==="{"?f.push(t):(t===")"&&f[f.length-1]==="("||t==="]"&&f[f.length-1]==="["||t==="}"&&f[f.length-1]==="{")&&f.pop()}return u.push(n.slice(r)),u}})(H);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(o,t){for(var c in t)Object.defineProperty(o,c,{enumerable:!0,get:t[c]})}h(e,{parseBoxShadowValue:function(){return r},formatBoxShadowValue:function(){return v}});const n=H;let y=new Set(["inset","inherit","initial","revert","unset"]),f=/\ +(?![^(]*\))/g,u=/^-?(\d+|\.\d+)(.*?)$/g;function r(o){return(0,n.splitAtTopLevelOnly)(o,",").map(c=>{let g=c.trim(),d={raw:g},A=g.split(f),m=new Set;for(let k of A)u.lastIndex=0,!m.has("KEYWORD")&&y.has(k)?(d.keyword=k,m.add("KEYWORD")):u.test(k)?m.has("X")?m.has("Y")?m.has("BLUR")?m.has("SPREAD")||(d.spread=k,m.add("SPREAD")):(d.blur=k,m.add("BLUR")):(d.y=k,m.add("Y")):(d.x=k,m.add("X")):d.color?(d.unknown||(d.unknown=[]),d.unknown.push(k)):d.color=k;return d.valid=d.x!==void 0&&d.y!==void 0,d})}function v(o){return o.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}})(we);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(i,_){for(var S in _)Object.defineProperty(i,S,{enumerable:!0,get:_[S]})}h(e,{normalize:function(){return o},url:function(){return c},number:function(){return g},percentage:function(){return d},length:function(){return k},lineWidth:function(){return T},shadow:function(){return j},color:function(){return P},image:function(){return D},gradient:function(){return F},position:function(){return U},familyName:function(){return l},genericName:function(){return w},absoluteSize:function(){return p},relativeSize:function(){return s}});const n=ne,y=we,f=H;let u=["min","max","clamp","calc"];function r(i){return u.some(_=>new RegExp(`^${_}\\(.*\\)`).test(i))}const v=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","scroll-timeline","animation-timeline","view-timeline"]);function o(i,_=null,S=!0){let O=_&&v.has(_.property);return i.startsWith("--")&&!O?`var(${i})`:i.includes("url(")?i.split(/(url\(.*?\))/g).filter(Boolean).map(E=>/^url\(.*?\)$/.test(E)?E:o(E,_,!1)).join(""):(i=i.replace(/([^\\])_+/g,(E,G)=>G+" ".repeat(E.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),S&&(i=i.trim()),i=t(i),i)}function t(i){let _=["theme"],S=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return i.replace(/(calc|min|max|clamp)\(.+\)/g,O=>{let E="";function G(){let M=E.trimEnd();return M[M.length-1]}for(let M=0;M<O.length;M++){let V=function(L){return L.split("").every((B,I)=>O[M+I]===B)},Y=function(L){let B=1/0;for(let Se of L){let X=O.indexOf(Se,M);X!==-1&&X<B&&(B=X)}let I=O.slice(M,B);return M+=I.length-1,I},K=O[M];if(V("var"))E+=Y([")",","]);else if(S.some(L=>V(L))){let L=S.find(B=>V(B));E+=L,M+=L.length-1}else _.some(L=>V(L))?E+=Y([")"]):V("[")?E+=Y(["]"]):["+","-","*","/"].includes(K)&&!["(","+","-","*","/",","].includes(G())?E+=` ${K} `:E+=K}return E.replace(/\s+/g," ")})}function c(i){return i.startsWith("url(")}function g(i){return!isNaN(Number(i))||r(i)}function d(i){return i.endsWith("%")&&g(i.slice(0,-1))||r(i)}let m=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function k(i){return i==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${m}$`).test(i)||r(i)}let C=new Set(["thin","medium","thick"]);function T(i){return C.has(i)}function j(i){let _=(0,y.parseBoxShadowValue)(o(i));for(let S of _)if(!S.valid)return!1;return!0}function P(i){let _=0;return(0,f.splitAtTopLevelOnly)(i,"_").every(O=>(O=o(O),O.startsWith("var(")?!0:(0,n.parseColor)(O,{loose:!0})!==null?(_++,!0):!1))?_>0:!1}function D(i){let _=0;return(0,f.splitAtTopLevelOnly)(i,",").every(O=>(O=o(O),O.startsWith("var(")?!0:c(O)||F(O)||["element(","image(","cross-fade(","image-set("].some(E=>O.startsWith(E))?(_++,!0):!1))?_>0:!1}let $=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function F(i){i=o(i);for(let _ of $)if(i.startsWith(`${_}(`))return!0;return!1}let R=new Set(["center","top","right","bottom","left"]);function U(i){let _=0;return(0,f.splitAtTopLevelOnly)(i,"_").every(O=>(O=o(O),O.startsWith("var(")?!0:R.has(O)||k(O)||d(O)?(_++,!0):!1))?_>0:!1}function l(i){let _=0;return(0,f.splitAtTopLevelOnly)(i,",").every(O=>(O=o(O),O.startsWith("var(")?!0:O.includes(" ")&&!/(['"])([^"']+)\1/g.test(O)||/^\d/g.test(O)?!1:(_++,!0)))?_>0:!1}let x=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function w(i){return x.has(i)}let a=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function p(i){return a.has(i)}let b=new Set(["larger","smaller"]);function s(i){return b.has(i)}})(ie);var _e={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"backgroundSize",{enumerable:!0,get:function(){return y}});const h=ie,n=H;function y(f){let u=["cover","contain"];return(0,n.splitAtTopLevelOnly)(f,",").every(r=>{let v=(0,n.splitAtTopLevelOnly)(r,"_").filter(Boolean);return v.length===1&&u.includes(v[0])?!0:v.length!==1&&v.length!==2?!1:v.every(o=>(0,h.length)(o)||(0,h.percentage)(o)||o==="auto")})}})(_e);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function h(l,x){for(var w in x)Object.defineProperty(l,w,{enumerable:!0,get:x[w]})}h(e,{updateAllClasses:function(){return t},asValue:function(){return d},parseColorFormat:function(){return k},asColor:function(){return T},asLookupValue:function(){return j},typeMap:function(){return D},coerceValue:function(){return R},getMatchingTypes:function(){return U}});const n=o(ye),y=re,f=ie,u=o(ee),r=_e,v=N;function o(l){return l&&l.__esModule?l:{default:l}}function t(l,x){l.walkClasses(w=>{w.value=x(w.value),w.raws&&w.raws.value&&(w.raws.value=(0,n.default)(w.raws.value))})}function c(l,x){if(!A(l))return;let w=l.slice(1,-1);if(x(w))return(0,f.normalize)(w)}function g(l,x={},w){let a=x[l];if(a!==void 0)return(0,u.default)(a);if(A(l)){let p=c(l,w);return p===void 0?void 0:(0,u.default)(p)}}function d(l,x={},{validate:w=()=>!0}={}){var a;let p=(a=x.values)===null||a===void 0?void 0:a[l];return p!==void 0?p:x.supportsNegativeValues&&l.startsWith("-")?g(l.slice(1),x.values,w):c(l,w)}function A(l){return l.startsWith("[")&&l.endsWith("]")}function m(l){let x=l.lastIndexOf("/"),w=l.lastIndexOf("[",x),a=l.indexOf("]",x);return l[x-1]==="]"||l[x+1]==="["||w!==-1&&a!==-1&&w<x&&x<a&&(x=l.lastIndexOf("/",w)),x===-1||x===l.length-1?[l,void 0]:A(l)&&!l.includes("]/[")?[l,void 0]:[l.slice(0,x),l.slice(x+1)]}function k(l){if(typeof l=="string"&&l.includes("<alpha-value>")){let x=l;return({opacityValue:w=1})=>x.replace("<alpha-value>",w)}return l}function C(l){return(0,f.normalize)(l.slice(1,-1))}function T(l,x={},{tailwindConfig:w={}}={}){var a;if(((a=x.values)===null||a===void 0?void 0:a[l])!==void 0){var p;return k((p=x.values)===null||p===void 0?void 0:p[l])}let[b,s]=m(l);if(s!==void 0){var i,_,S,O;let E=(O=(i=x.values)===null||i===void 0?void 0:i[b])!==null&&O!==void 0?O:A(b)?b.slice(1,-1):void 0;return E===void 0?void 0:(E=k(E),A(s)?(0,y.withAlphaValue)(E,C(s)):((_=w.theme)===null||_===void 0||(S=_.opacity)===null||S===void 0?void 0:S[s])===void 0?void 0:(0,y.withAlphaValue)(E,w.theme.opacity[s]))}return d(l,x,{validate:f.color})}function j(l,x={}){var w;return(w=x.values)===null||w===void 0?void 0:w[l]}function P(l){return(x,w)=>d(x,w,{validate:l})}let D={any:d,color:T,url:P(f.url),image:P(f.image),length:P(f.length),percentage:P(f.percentage),position:P(f.position),lookup:j,"generic-name":P(f.genericName),"family-name":P(f.familyName),number:P(f.number),"line-width":P(f.lineWidth),"absolute-size":P(f.absoluteSize),"relative-size":P(f.relativeSize),shadow:P(f.shadow),size:P(r.backgroundSize)},$=Object.keys(D);function F(l,x){let w=l.indexOf(x);return w===-1?[void 0,l]:[l.slice(0,w),l.slice(w+1)]}function R(l,x,w,a){if(w.values&&x in w.values)for(let{type:b}of l??[]){let s=D[b](x,w,{tailwindConfig:a});if(s!==void 0)return[s,b,null]}if(A(x)){let b=x.slice(1,-1),[s,i]=F(b,":");if(!/^[\w-_]+$/g.test(s))i=b;else if(s!==void 0&&!$.includes(s))return[];if(i.length>0&&$.includes(s))return[d(`[${i}]`,w),s,null]}let p=U(l,x,w,a);for(let b of p)return b;return[]}function*U(l,x,w,a){let p=(0,v.flagEnabled)(a,"generalizedModifiers"),[b,s]=m(x);if(p&&w.modifiers!=null&&(w.modifiers==="any"||typeof w.modifiers=="object"&&(s&&A(s)||s in w.modifiers))||(b=x,s=void 0),s!==void 0&&b===""&&(b="DEFAULT"),s!==void 0&&typeof w.modifiers=="object"){var _,S;let O=(S=(_=w.modifiers)===null||_===void 0?void 0:_[s])!==null&&S!==void 0?S:null;O!==null?s=O:A(s)&&(s=C(s))}for(let{type:O}of l??[]){let E=D[O](b,w,{tailwindConfig:a});E!==void 0&&(yield[E,O,s??null])}}})(he);var Oe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});function h(n){return typeof n=="function"?n({}):n}})(Oe);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return w}});const h=A(ee),n=A(ue),y=A(se),f=A(fe),u=pe,r=me,v=ge,o=A(be),t=ve,c=he,g=re,d=A(Oe);function A(a){return a&&a.__esModule?a:{default:a}}function m(a){return typeof a=="function"}function k(a,...p){let b=p.pop();for(let s of p)for(let i in s){let _=b(a[i],s[i]);_===void 0?(0,o.default)(a[i])&&(0,o.default)(s[i])?a[i]=k({},a[i],s[i],b):a[i]=s[i]:a[i]=_}return a}const C={colors:f.default,negative(a){return Object.keys(a).filter(p=>a[p]!=="0").reduce((p,b)=>{let s=(0,h.default)(a[b]);return s!==void 0&&(p[`-${b}`]=s),p},{})},breakpoints(a){return Object.keys(a).filter(p=>typeof a[p]=="string").reduce((p,b)=>({...p,[`screen-${b}`]:a[b]}),{})}};function T(a,...p){return m(a)?a(...p):a}function j(a){return a.reduce((p,{extend:b})=>k(p,b,(s,i)=>s===void 0?[i]:Array.isArray(s)?[i,...s]:[i,s]),{})}function P(a){return{...a.reduce((p,b)=>(0,u.defaults)(p,b),{}),extend:j(a)}}function D(a,p){if(Array.isArray(a)&&(0,o.default)(a[0]))return a.concat(p);if(Array.isArray(p)&&(0,o.default)(p[0])&&(0,o.default)(a))return[a,...p];if(Array.isArray(p))return p}function $({extend:a,...p}){return k(p,a,(b,s)=>!m(b)&&!s.some(m)?k({},b,...s,D):(i,_)=>k({},...[b,...s].map(S=>T(S,i,_)),D))}function*F(a){let p=(0,r.toPath)(a);if(p.length===0||(yield p,Array.isArray(a)))return;let b=/^(.*?)\s*\/\s*([^/]+)$/,s=a.match(b);if(s!==null){let[,i,_]=s,S=(0,r.toPath)(i);S.alpha=_,yield S}}function R(a){const p=(b,s)=>{for(const i of F(b)){let _=0,S=a;for(;S!=null&&_<i.length;)S=S[i[_++]],S=m(S)&&(i.alpha===void 0||_<=i.length-1)?S(p,C):S;if(S!==void 0){if(i.alpha!==void 0){let O=(0,c.parseColorFormat)(S);return(0,g.withAlphaValue)(O,i.alpha,(0,d.default)(O))}return(0,o.default)(S)?(0,t.cloneDeep)(S):S}}return s};return Object.assign(p,{theme:p,...C}),Object.keys(a).reduce((b,s)=>(b[s]=m(a[s])?a[s](p,C):a[s],b),{})}function U(a){let p=[];return a.forEach(b=>{p=[...p,b];var s;const i=(s=b==null?void 0:b.plugins)!==null&&s!==void 0?s:[];i.length!==0&&i.forEach(_=>{_.__isOptionsFunction&&(_=_());var S;p=[...p,...U([(S=_==null?void 0:_.config)!==null&&S!==void 0?S:{}])]})}),p}function l(a){return[...a].reduceRight((b,s)=>m(s)?s({corePlugins:b}):(0,y.default)(s,b),n.default)}function x(a){return[...a].reduceRight((b,s)=>[...b,...s],[])}function w(a){let p=[...U(a),{prefix:"",important:!1,separator:":"}];var b,s;return(0,v.normalizeConfig)((0,u.defaults)({theme:R($(P(p.map(i=>(b=i==null?void 0:i.theme)!==null&&b!==void 0?b:{})))),corePlugins:l(p.map(i=>i.corePlugins)),plugins:x(a.map(i=>(s=i==null?void 0:i.plugins)!==null&&s!==void 0?s:[]))},...p))}})(le);var Ae={},ze={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:h})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...h(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});const h=y(ze),n=N;function y(u){return u&&u.__esModule?u:{default:u}}function f(u){var r;const v=((r=u==null?void 0:u.presets)!==null&&r!==void 0?r:[h.default]).slice().reverse().flatMap(c=>f(c instanceof Function?c():c)),o={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:c})=>({DEFAULT:"#3b82f67f",...c("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},t=Object.keys(o).filter(c=>(0,n.flagEnabled)(u,c)).map(c=>o[c]);return[u,...t,...v]}})(Ae);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});const h=y(le),n=y(Ae);function y(u){return u&&u.__esModule?u:{default:u}}function f(...u){let[,...r]=(0,n.default)(u[0]);return(0,h.default)([...u,...r])}})(ae);let J=ae;var Te=(J.__esModule?J:{default:J}).default;const je=Ee(Te),De=je(Pe.config),W=De.theme,Q=W==null?void 0:W.colors;var oe;(oe=W==null?void 0:W.extend)==null||oe.colors;const Z=W==null?void 0:W.screens,ke=e=>Q==null?void 0:Q[e],$e=e=>{const h=e.split("-").slice(0,-1).join("-"),n=String(e.split("-").pop());return Ce.get(ke(h),n)},Fe=e=>Z==null?void 0:Z[e];exports.getColor=ke;exports.getColorDeep=$e;exports.getScreen=Fe;
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const lodashEs = require("lodash-es");
|
|
5
|
+
const config$1 = require("./config.js");
|
|
6
|
+
function getDefaultExportFromCjs(x2) {
|
|
7
|
+
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
8
|
+
}
|
|
9
|
+
var resolveConfig$3 = {};
|
|
10
|
+
var resolveConfig$2 = {};
|
|
11
|
+
var negateValue = {};
|
|
12
|
+
(function(exports2) {
|
|
13
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports2, "default", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return negateValue2;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
function negateValue2(value) {
|
|
23
|
+
value = `${value}`;
|
|
24
|
+
if (value === "0") {
|
|
25
|
+
return "0";
|
|
26
|
+
}
|
|
27
|
+
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(value)) {
|
|
28
|
+
return value.replace(/^[+-]?/, (sign) => sign === "-" ? "" : "-");
|
|
29
|
+
}
|
|
30
|
+
let numericFunctions = [
|
|
31
|
+
"var",
|
|
32
|
+
"calc",
|
|
33
|
+
"min",
|
|
34
|
+
"max",
|
|
35
|
+
"clamp"
|
|
36
|
+
];
|
|
37
|
+
for (const fn of numericFunctions) {
|
|
38
|
+
if (value.includes(`${fn}(`)) {
|
|
39
|
+
return `calc(${value} * -1)`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
})(negateValue);
|
|
44
|
+
var corePluginList = {};
|
|
45
|
+
(function(exports2) {
|
|
46
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
47
|
+
value: true
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports2, "default", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function() {
|
|
52
|
+
return _default;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const _default = [
|
|
56
|
+
"preflight",
|
|
57
|
+
"container",
|
|
58
|
+
"accessibility",
|
|
59
|
+
"pointerEvents",
|
|
60
|
+
"visibility",
|
|
61
|
+
"position",
|
|
62
|
+
"inset",
|
|
63
|
+
"isolation",
|
|
64
|
+
"zIndex",
|
|
65
|
+
"order",
|
|
66
|
+
"gridColumn",
|
|
67
|
+
"gridColumnStart",
|
|
68
|
+
"gridColumnEnd",
|
|
69
|
+
"gridRow",
|
|
70
|
+
"gridRowStart",
|
|
71
|
+
"gridRowEnd",
|
|
72
|
+
"float",
|
|
73
|
+
"clear",
|
|
74
|
+
"margin",
|
|
75
|
+
"boxSizing",
|
|
76
|
+
"lineClamp",
|
|
77
|
+
"display",
|
|
78
|
+
"aspectRatio",
|
|
79
|
+
"size",
|
|
80
|
+
"height",
|
|
81
|
+
"maxHeight",
|
|
82
|
+
"minHeight",
|
|
83
|
+
"width",
|
|
84
|
+
"minWidth",
|
|
85
|
+
"maxWidth",
|
|
86
|
+
"flex",
|
|
87
|
+
"flexShrink",
|
|
88
|
+
"flexGrow",
|
|
89
|
+
"flexBasis",
|
|
90
|
+
"tableLayout",
|
|
91
|
+
"captionSide",
|
|
92
|
+
"borderCollapse",
|
|
93
|
+
"borderSpacing",
|
|
94
|
+
"transformOrigin",
|
|
95
|
+
"translate",
|
|
96
|
+
"rotate",
|
|
97
|
+
"skew",
|
|
98
|
+
"scale",
|
|
99
|
+
"transform",
|
|
100
|
+
"animation",
|
|
101
|
+
"cursor",
|
|
102
|
+
"touchAction",
|
|
103
|
+
"userSelect",
|
|
104
|
+
"resize",
|
|
105
|
+
"scrollSnapType",
|
|
106
|
+
"scrollSnapAlign",
|
|
107
|
+
"scrollSnapStop",
|
|
108
|
+
"scrollMargin",
|
|
109
|
+
"scrollPadding",
|
|
110
|
+
"listStylePosition",
|
|
111
|
+
"listStyleType",
|
|
112
|
+
"listStyleImage",
|
|
113
|
+
"appearance",
|
|
114
|
+
"columns",
|
|
115
|
+
"breakBefore",
|
|
116
|
+
"breakInside",
|
|
117
|
+
"breakAfter",
|
|
118
|
+
"gridAutoColumns",
|
|
119
|
+
"gridAutoFlow",
|
|
120
|
+
"gridAutoRows",
|
|
121
|
+
"gridTemplateColumns",
|
|
122
|
+
"gridTemplateRows",
|
|
123
|
+
"flexDirection",
|
|
124
|
+
"flexWrap",
|
|
125
|
+
"placeContent",
|
|
126
|
+
"placeItems",
|
|
127
|
+
"alignContent",
|
|
128
|
+
"alignItems",
|
|
129
|
+
"justifyContent",
|
|
130
|
+
"justifyItems",
|
|
131
|
+
"gap",
|
|
132
|
+
"space",
|
|
133
|
+
"divideWidth",
|
|
134
|
+
"divideStyle",
|
|
135
|
+
"divideColor",
|
|
136
|
+
"divideOpacity",
|
|
137
|
+
"placeSelf",
|
|
138
|
+
"alignSelf",
|
|
139
|
+
"justifySelf",
|
|
140
|
+
"overflow",
|
|
141
|
+
"overscrollBehavior",
|
|
142
|
+
"scrollBehavior",
|
|
143
|
+
"textOverflow",
|
|
144
|
+
"hyphens",
|
|
145
|
+
"whitespace",
|
|
146
|
+
"textWrap",
|
|
147
|
+
"wordBreak",
|
|
148
|
+
"borderRadius",
|
|
149
|
+
"borderWidth",
|
|
150
|
+
"borderStyle",
|
|
151
|
+
"borderColor",
|
|
152
|
+
"borderOpacity",
|
|
153
|
+
"backgroundColor",
|
|
154
|
+
"backgroundOpacity",
|
|
155
|
+
"backgroundImage",
|
|
156
|
+
"gradientColorStops",
|
|
157
|
+
"boxDecorationBreak",
|
|
158
|
+
"backgroundSize",
|
|
159
|
+
"backgroundAttachment",
|
|
160
|
+
"backgroundClip",
|
|
161
|
+
"backgroundPosition",
|
|
162
|
+
"backgroundRepeat",
|
|
163
|
+
"backgroundOrigin",
|
|
164
|
+
"fill",
|
|
165
|
+
"stroke",
|
|
166
|
+
"strokeWidth",
|
|
167
|
+
"objectFit",
|
|
168
|
+
"objectPosition",
|
|
169
|
+
"padding",
|
|
170
|
+
"textAlign",
|
|
171
|
+
"textIndent",
|
|
172
|
+
"verticalAlign",
|
|
173
|
+
"fontFamily",
|
|
174
|
+
"fontSize",
|
|
175
|
+
"fontWeight",
|
|
176
|
+
"textTransform",
|
|
177
|
+
"fontStyle",
|
|
178
|
+
"fontVariantNumeric",
|
|
179
|
+
"lineHeight",
|
|
180
|
+
"letterSpacing",
|
|
181
|
+
"textColor",
|
|
182
|
+
"textOpacity",
|
|
183
|
+
"textDecoration",
|
|
184
|
+
"textDecorationColor",
|
|
185
|
+
"textDecorationStyle",
|
|
186
|
+
"textDecorationThickness",
|
|
187
|
+
"textUnderlineOffset",
|
|
188
|
+
"fontSmoothing",
|
|
189
|
+
"placeholderColor",
|
|
190
|
+
"placeholderOpacity",
|
|
191
|
+
"caretColor",
|
|
192
|
+
"accentColor",
|
|
193
|
+
"opacity",
|
|
194
|
+
"backgroundBlendMode",
|
|
195
|
+
"mixBlendMode",
|
|
196
|
+
"boxShadow",
|
|
197
|
+
"boxShadowColor",
|
|
198
|
+
"outlineStyle",
|
|
199
|
+
"outlineWidth",
|
|
200
|
+
"outlineOffset",
|
|
201
|
+
"outlineColor",
|
|
202
|
+
"ringWidth",
|
|
203
|
+
"ringColor",
|
|
204
|
+
"ringOpacity",
|
|
205
|
+
"ringOffsetWidth",
|
|
206
|
+
"ringOffsetColor",
|
|
207
|
+
"blur",
|
|
208
|
+
"brightness",
|
|
209
|
+
"contrast",
|
|
210
|
+
"dropShadow",
|
|
211
|
+
"grayscale",
|
|
212
|
+
"hueRotate",
|
|
213
|
+
"invert",
|
|
214
|
+
"saturate",
|
|
215
|
+
"sepia",
|
|
216
|
+
"filter",
|
|
217
|
+
"backdropBlur",
|
|
218
|
+
"backdropBrightness",
|
|
219
|
+
"backdropContrast",
|
|
220
|
+
"backdropGrayscale",
|
|
221
|
+
"backdropHueRotate",
|
|
222
|
+
"backdropInvert",
|
|
223
|
+
"backdropOpacity",
|
|
224
|
+
"backdropSaturate",
|
|
225
|
+
"backdropSepia",
|
|
226
|
+
"backdropFilter",
|
|
227
|
+
"transitionProperty",
|
|
228
|
+
"transitionDelay",
|
|
229
|
+
"transitionDuration",
|
|
230
|
+
"transitionTimingFunction",
|
|
231
|
+
"willChange",
|
|
232
|
+
"contain",
|
|
233
|
+
"content",
|
|
234
|
+
"forcedColorAdjust"
|
|
235
|
+
];
|
|
236
|
+
})(corePluginList);
|
|
237
|
+
var configurePlugins = {};
|
|
238
|
+
(function(exports2) {
|
|
239
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
240
|
+
value: true
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports2, "default", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function() {
|
|
245
|
+
return _default;
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
function _default(pluginConfig, plugins) {
|
|
249
|
+
if (pluginConfig === void 0) {
|
|
250
|
+
return plugins;
|
|
251
|
+
}
|
|
252
|
+
const pluginNames = Array.isArray(pluginConfig) ? pluginConfig : [
|
|
253
|
+
...new Set(plugins.filter((pluginName) => {
|
|
254
|
+
return pluginConfig !== false && pluginConfig[pluginName] !== false;
|
|
255
|
+
}).concat(Object.keys(pluginConfig).filter((pluginName) => {
|
|
256
|
+
return pluginConfig[pluginName] !== false;
|
|
257
|
+
})))
|
|
258
|
+
];
|
|
259
|
+
return pluginNames;
|
|
260
|
+
}
|
|
261
|
+
})(configurePlugins);
|
|
262
|
+
var colors$1 = {};
|
|
263
|
+
var log = {};
|
|
264
|
+
var picocolors_browser = { exports: {} };
|
|
265
|
+
var x = String;
|
|
266
|
+
var create = function() {
|
|
267
|
+
return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x };
|
|
268
|
+
};
|
|
269
|
+
picocolors_browser.exports = create();
|
|
270
|
+
picocolors_browser.exports.createColors = create;
|
|
271
|
+
var picocolors_browserExports = picocolors_browser.exports;
|
|
272
|
+
(function(exports2) {
|
|
273
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
274
|
+
value: true
|
|
275
|
+
});
|
|
276
|
+
function _export(target, all) {
|
|
277
|
+
for (var name in all)
|
|
278
|
+
Object.defineProperty(target, name, {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: all[name]
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
_export(exports2, {
|
|
284
|
+
dim: function() {
|
|
285
|
+
return dim;
|
|
286
|
+
},
|
|
287
|
+
default: function() {
|
|
288
|
+
return _default;
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
const _picocolors = /* @__PURE__ */ _interop_require_default(picocolors_browserExports);
|
|
292
|
+
function _interop_require_default(obj) {
|
|
293
|
+
return obj && obj.__esModule ? obj : {
|
|
294
|
+
default: obj
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
let alreadyShown = /* @__PURE__ */ new Set();
|
|
298
|
+
function log2(type, messages, key) {
|
|
299
|
+
if (typeof process !== "undefined" && process.env.JEST_WORKER_ID)
|
|
300
|
+
return;
|
|
301
|
+
if (key && alreadyShown.has(key))
|
|
302
|
+
return;
|
|
303
|
+
if (key)
|
|
304
|
+
alreadyShown.add(key);
|
|
305
|
+
console.warn("");
|
|
306
|
+
messages.forEach((message) => console.warn(type, "-", message));
|
|
307
|
+
}
|
|
308
|
+
function dim(input) {
|
|
309
|
+
return _picocolors.default.dim(input);
|
|
310
|
+
}
|
|
311
|
+
const _default = {
|
|
312
|
+
info(key, messages) {
|
|
313
|
+
log2(_picocolors.default.bold(_picocolors.default.cyan("info")), ...Array.isArray(key) ? [
|
|
314
|
+
key
|
|
315
|
+
] : [
|
|
316
|
+
messages,
|
|
317
|
+
key
|
|
318
|
+
]);
|
|
319
|
+
},
|
|
320
|
+
warn(key, messages) {
|
|
321
|
+
log2(_picocolors.default.bold(_picocolors.default.yellow("warn")), ...Array.isArray(key) ? [
|
|
322
|
+
key
|
|
323
|
+
] : [
|
|
324
|
+
messages,
|
|
325
|
+
key
|
|
326
|
+
]);
|
|
327
|
+
},
|
|
328
|
+
risk(key, messages) {
|
|
329
|
+
log2(_picocolors.default.bold(_picocolors.default.magenta("risk")), ...Array.isArray(key) ? [
|
|
330
|
+
key
|
|
331
|
+
] : [
|
|
332
|
+
messages,
|
|
333
|
+
key
|
|
334
|
+
]);
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
})(log);
|
|
338
|
+
(function(exports2) {
|
|
339
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
340
|
+
value: true
|
|
341
|
+
});
|
|
342
|
+
Object.defineProperty(exports2, "default", {
|
|
343
|
+
enumerable: true,
|
|
344
|
+
get: function() {
|
|
345
|
+
return _default;
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
const _log = /* @__PURE__ */ _interop_require_default(log);
|
|
349
|
+
function _interop_require_default(obj) {
|
|
350
|
+
return obj && obj.__esModule ? obj : {
|
|
351
|
+
default: obj
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function warn({ version, from, to }) {
|
|
355
|
+
_log.default.warn(`${from}-color-renamed`, [
|
|
356
|
+
`As of Tailwind CSS ${version}, \`${from}\` has been renamed to \`${to}\`.`,
|
|
357
|
+
"Update your configuration file to silence this warning."
|
|
358
|
+
]);
|
|
359
|
+
}
|
|
360
|
+
const _default = {
|
|
361
|
+
inherit: "inherit",
|
|
362
|
+
current: "currentColor",
|
|
363
|
+
transparent: "transparent",
|
|
364
|
+
black: "#000",
|
|
365
|
+
white: "#fff",
|
|
366
|
+
slate: {
|
|
367
|
+
50: "#f8fafc",
|
|
368
|
+
100: "#f1f5f9",
|
|
369
|
+
200: "#e2e8f0",
|
|
370
|
+
300: "#cbd5e1",
|
|
371
|
+
400: "#94a3b8",
|
|
372
|
+
500: "#64748b",
|
|
373
|
+
600: "#475569",
|
|
374
|
+
700: "#334155",
|
|
375
|
+
800: "#1e293b",
|
|
376
|
+
900: "#0f172a",
|
|
377
|
+
950: "#020617"
|
|
378
|
+
},
|
|
379
|
+
gray: {
|
|
380
|
+
50: "#f9fafb",
|
|
381
|
+
100: "#f3f4f6",
|
|
382
|
+
200: "#e5e7eb",
|
|
383
|
+
300: "#d1d5db",
|
|
384
|
+
400: "#9ca3af",
|
|
385
|
+
500: "#6b7280",
|
|
386
|
+
600: "#4b5563",
|
|
387
|
+
700: "#374151",
|
|
388
|
+
800: "#1f2937",
|
|
389
|
+
900: "#111827",
|
|
390
|
+
950: "#030712"
|
|
391
|
+
},
|
|
392
|
+
zinc: {
|
|
393
|
+
50: "#fafafa",
|
|
394
|
+
100: "#f4f4f5",
|
|
395
|
+
200: "#e4e4e7",
|
|
396
|
+
300: "#d4d4d8",
|
|
397
|
+
400: "#a1a1aa",
|
|
398
|
+
500: "#71717a",
|
|
399
|
+
600: "#52525b",
|
|
400
|
+
700: "#3f3f46",
|
|
401
|
+
800: "#27272a",
|
|
402
|
+
900: "#18181b",
|
|
403
|
+
950: "#09090b"
|
|
404
|
+
},
|
|
405
|
+
neutral: {
|
|
406
|
+
50: "#fafafa",
|
|
407
|
+
100: "#f5f5f5",
|
|
408
|
+
200: "#e5e5e5",
|
|
409
|
+
300: "#d4d4d4",
|
|
410
|
+
400: "#a3a3a3",
|
|
411
|
+
500: "#737373",
|
|
412
|
+
600: "#525252",
|
|
413
|
+
700: "#404040",
|
|
414
|
+
800: "#262626",
|
|
415
|
+
900: "#171717",
|
|
416
|
+
950: "#0a0a0a"
|
|
417
|
+
},
|
|
418
|
+
stone: {
|
|
419
|
+
50: "#fafaf9",
|
|
420
|
+
100: "#f5f5f4",
|
|
421
|
+
200: "#e7e5e4",
|
|
422
|
+
300: "#d6d3d1",
|
|
423
|
+
400: "#a8a29e",
|
|
424
|
+
500: "#78716c",
|
|
425
|
+
600: "#57534e",
|
|
426
|
+
700: "#44403c",
|
|
427
|
+
800: "#292524",
|
|
428
|
+
900: "#1c1917",
|
|
429
|
+
950: "#0c0a09"
|
|
430
|
+
},
|
|
431
|
+
red: {
|
|
432
|
+
50: "#fef2f2",
|
|
433
|
+
100: "#fee2e2",
|
|
434
|
+
200: "#fecaca",
|
|
435
|
+
300: "#fca5a5",
|
|
436
|
+
400: "#f87171",
|
|
437
|
+
500: "#ef4444",
|
|
438
|
+
600: "#dc2626",
|
|
439
|
+
700: "#b91c1c",
|
|
440
|
+
800: "#991b1b",
|
|
441
|
+
900: "#7f1d1d",
|
|
442
|
+
950: "#450a0a"
|
|
443
|
+
},
|
|
444
|
+
orange: {
|
|
445
|
+
50: "#fff7ed",
|
|
446
|
+
100: "#ffedd5",
|
|
447
|
+
200: "#fed7aa",
|
|
448
|
+
300: "#fdba74",
|
|
449
|
+
400: "#fb923c",
|
|
450
|
+
500: "#f97316",
|
|
451
|
+
600: "#ea580c",
|
|
452
|
+
700: "#c2410c",
|
|
453
|
+
800: "#9a3412",
|
|
454
|
+
900: "#7c2d12",
|
|
455
|
+
950: "#431407"
|
|
456
|
+
},
|
|
457
|
+
amber: {
|
|
458
|
+
50: "#fffbeb",
|
|
459
|
+
100: "#fef3c7",
|
|
460
|
+
200: "#fde68a",
|
|
461
|
+
300: "#fcd34d",
|
|
462
|
+
400: "#fbbf24",
|
|
463
|
+
500: "#f59e0b",
|
|
464
|
+
600: "#d97706",
|
|
465
|
+
700: "#b45309",
|
|
466
|
+
800: "#92400e",
|
|
467
|
+
900: "#78350f",
|
|
468
|
+
950: "#451a03"
|
|
469
|
+
},
|
|
470
|
+
yellow: {
|
|
471
|
+
50: "#fefce8",
|
|
472
|
+
100: "#fef9c3",
|
|
473
|
+
200: "#fef08a",
|
|
474
|
+
300: "#fde047",
|
|
475
|
+
400: "#facc15",
|
|
476
|
+
500: "#eab308",
|
|
477
|
+
600: "#ca8a04",
|
|
478
|
+
700: "#a16207",
|
|
479
|
+
800: "#854d0e",
|
|
480
|
+
900: "#713f12",
|
|
481
|
+
950: "#422006"
|
|
482
|
+
},
|
|
483
|
+
lime: {
|
|
484
|
+
50: "#f7fee7",
|
|
485
|
+
100: "#ecfccb",
|
|
486
|
+
200: "#d9f99d",
|
|
487
|
+
300: "#bef264",
|
|
488
|
+
400: "#a3e635",
|
|
489
|
+
500: "#84cc16",
|
|
490
|
+
600: "#65a30d",
|
|
491
|
+
700: "#4d7c0f",
|
|
492
|
+
800: "#3f6212",
|
|
493
|
+
900: "#365314",
|
|
494
|
+
950: "#1a2e05"
|
|
495
|
+
},
|
|
496
|
+
green: {
|
|
497
|
+
50: "#f0fdf4",
|
|
498
|
+
100: "#dcfce7",
|
|
499
|
+
200: "#bbf7d0",
|
|
500
|
+
300: "#86efac",
|
|
501
|
+
400: "#4ade80",
|
|
502
|
+
500: "#22c55e",
|
|
503
|
+
600: "#16a34a",
|
|
504
|
+
700: "#15803d",
|
|
505
|
+
800: "#166534",
|
|
506
|
+
900: "#14532d",
|
|
507
|
+
950: "#052e16"
|
|
508
|
+
},
|
|
509
|
+
emerald: {
|
|
510
|
+
50: "#ecfdf5",
|
|
511
|
+
100: "#d1fae5",
|
|
512
|
+
200: "#a7f3d0",
|
|
513
|
+
300: "#6ee7b7",
|
|
514
|
+
400: "#34d399",
|
|
515
|
+
500: "#10b981",
|
|
516
|
+
600: "#059669",
|
|
517
|
+
700: "#047857",
|
|
518
|
+
800: "#065f46",
|
|
519
|
+
900: "#064e3b",
|
|
520
|
+
950: "#022c22"
|
|
521
|
+
},
|
|
522
|
+
teal: {
|
|
523
|
+
50: "#f0fdfa",
|
|
524
|
+
100: "#ccfbf1",
|
|
525
|
+
200: "#99f6e4",
|
|
526
|
+
300: "#5eead4",
|
|
527
|
+
400: "#2dd4bf",
|
|
528
|
+
500: "#14b8a6",
|
|
529
|
+
600: "#0d9488",
|
|
530
|
+
700: "#0f766e",
|
|
531
|
+
800: "#115e59",
|
|
532
|
+
900: "#134e4a",
|
|
533
|
+
950: "#042f2e"
|
|
534
|
+
},
|
|
535
|
+
cyan: {
|
|
536
|
+
50: "#ecfeff",
|
|
537
|
+
100: "#cffafe",
|
|
538
|
+
200: "#a5f3fc",
|
|
539
|
+
300: "#67e8f9",
|
|
540
|
+
400: "#22d3ee",
|
|
541
|
+
500: "#06b6d4",
|
|
542
|
+
600: "#0891b2",
|
|
543
|
+
700: "#0e7490",
|
|
544
|
+
800: "#155e75",
|
|
545
|
+
900: "#164e63",
|
|
546
|
+
950: "#083344"
|
|
547
|
+
},
|
|
548
|
+
sky: {
|
|
549
|
+
50: "#f0f9ff",
|
|
550
|
+
100: "#e0f2fe",
|
|
551
|
+
200: "#bae6fd",
|
|
552
|
+
300: "#7dd3fc",
|
|
553
|
+
400: "#38bdf8",
|
|
554
|
+
500: "#0ea5e9",
|
|
555
|
+
600: "#0284c7",
|
|
556
|
+
700: "#0369a1",
|
|
557
|
+
800: "#075985",
|
|
558
|
+
900: "#0c4a6e",
|
|
559
|
+
950: "#082f49"
|
|
560
|
+
},
|
|
561
|
+
blue: {
|
|
562
|
+
50: "#eff6ff",
|
|
563
|
+
100: "#dbeafe",
|
|
564
|
+
200: "#bfdbfe",
|
|
565
|
+
300: "#93c5fd",
|
|
566
|
+
400: "#60a5fa",
|
|
567
|
+
500: "#3b82f6",
|
|
568
|
+
600: "#2563eb",
|
|
569
|
+
700: "#1d4ed8",
|
|
570
|
+
800: "#1e40af",
|
|
571
|
+
900: "#1e3a8a",
|
|
572
|
+
950: "#172554"
|
|
573
|
+
},
|
|
574
|
+
indigo: {
|
|
575
|
+
50: "#eef2ff",
|
|
576
|
+
100: "#e0e7ff",
|
|
577
|
+
200: "#c7d2fe",
|
|
578
|
+
300: "#a5b4fc",
|
|
579
|
+
400: "#818cf8",
|
|
580
|
+
500: "#6366f1",
|
|
581
|
+
600: "#4f46e5",
|
|
582
|
+
700: "#4338ca",
|
|
583
|
+
800: "#3730a3",
|
|
584
|
+
900: "#312e81",
|
|
585
|
+
950: "#1e1b4b"
|
|
586
|
+
},
|
|
587
|
+
violet: {
|
|
588
|
+
50: "#f5f3ff",
|
|
589
|
+
100: "#ede9fe",
|
|
590
|
+
200: "#ddd6fe",
|
|
591
|
+
300: "#c4b5fd",
|
|
592
|
+
400: "#a78bfa",
|
|
593
|
+
500: "#8b5cf6",
|
|
594
|
+
600: "#7c3aed",
|
|
595
|
+
700: "#6d28d9",
|
|
596
|
+
800: "#5b21b6",
|
|
597
|
+
900: "#4c1d95",
|
|
598
|
+
950: "#2e1065"
|
|
599
|
+
},
|
|
600
|
+
purple: {
|
|
601
|
+
50: "#faf5ff",
|
|
602
|
+
100: "#f3e8ff",
|
|
603
|
+
200: "#e9d5ff",
|
|
604
|
+
300: "#d8b4fe",
|
|
605
|
+
400: "#c084fc",
|
|
606
|
+
500: "#a855f7",
|
|
607
|
+
600: "#9333ea",
|
|
608
|
+
700: "#7e22ce",
|
|
609
|
+
800: "#6b21a8",
|
|
610
|
+
900: "#581c87",
|
|
611
|
+
950: "#3b0764"
|
|
612
|
+
},
|
|
613
|
+
fuchsia: {
|
|
614
|
+
50: "#fdf4ff",
|
|
615
|
+
100: "#fae8ff",
|
|
616
|
+
200: "#f5d0fe",
|
|
617
|
+
300: "#f0abfc",
|
|
618
|
+
400: "#e879f9",
|
|
619
|
+
500: "#d946ef",
|
|
620
|
+
600: "#c026d3",
|
|
621
|
+
700: "#a21caf",
|
|
622
|
+
800: "#86198f",
|
|
623
|
+
900: "#701a75",
|
|
624
|
+
950: "#4a044e"
|
|
625
|
+
},
|
|
626
|
+
pink: {
|
|
627
|
+
50: "#fdf2f8",
|
|
628
|
+
100: "#fce7f3",
|
|
629
|
+
200: "#fbcfe8",
|
|
630
|
+
300: "#f9a8d4",
|
|
631
|
+
400: "#f472b6",
|
|
632
|
+
500: "#ec4899",
|
|
633
|
+
600: "#db2777",
|
|
634
|
+
700: "#be185d",
|
|
635
|
+
800: "#9d174d",
|
|
636
|
+
900: "#831843",
|
|
637
|
+
950: "#500724"
|
|
638
|
+
},
|
|
639
|
+
rose: {
|
|
640
|
+
50: "#fff1f2",
|
|
641
|
+
100: "#ffe4e6",
|
|
642
|
+
200: "#fecdd3",
|
|
643
|
+
300: "#fda4af",
|
|
644
|
+
400: "#fb7185",
|
|
645
|
+
500: "#f43f5e",
|
|
646
|
+
600: "#e11d48",
|
|
647
|
+
700: "#be123c",
|
|
648
|
+
800: "#9f1239",
|
|
649
|
+
900: "#881337",
|
|
650
|
+
950: "#4c0519"
|
|
651
|
+
},
|
|
652
|
+
get lightBlue() {
|
|
653
|
+
warn({
|
|
654
|
+
version: "v2.2",
|
|
655
|
+
from: "lightBlue",
|
|
656
|
+
to: "sky"
|
|
657
|
+
});
|
|
658
|
+
return this.sky;
|
|
659
|
+
},
|
|
660
|
+
get warmGray() {
|
|
661
|
+
warn({
|
|
662
|
+
version: "v3.0",
|
|
663
|
+
from: "warmGray",
|
|
664
|
+
to: "stone"
|
|
665
|
+
});
|
|
666
|
+
return this.stone;
|
|
667
|
+
},
|
|
668
|
+
get trueGray() {
|
|
669
|
+
warn({
|
|
670
|
+
version: "v3.0",
|
|
671
|
+
from: "trueGray",
|
|
672
|
+
to: "neutral"
|
|
673
|
+
});
|
|
674
|
+
return this.neutral;
|
|
675
|
+
},
|
|
676
|
+
get coolGray() {
|
|
677
|
+
warn({
|
|
678
|
+
version: "v3.0",
|
|
679
|
+
from: "coolGray",
|
|
680
|
+
to: "gray"
|
|
681
|
+
});
|
|
682
|
+
return this.gray;
|
|
683
|
+
},
|
|
684
|
+
get blueGray() {
|
|
685
|
+
warn({
|
|
686
|
+
version: "v3.0",
|
|
687
|
+
from: "blueGray",
|
|
688
|
+
to: "slate"
|
|
689
|
+
});
|
|
690
|
+
return this.slate;
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
})(colors$1);
|
|
694
|
+
var defaults = {};
|
|
695
|
+
(function(exports2) {
|
|
696
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
697
|
+
value: true
|
|
698
|
+
});
|
|
699
|
+
Object.defineProperty(exports2, "defaults", {
|
|
700
|
+
enumerable: true,
|
|
701
|
+
get: function() {
|
|
702
|
+
return defaults2;
|
|
703
|
+
}
|
|
704
|
+
});
|
|
705
|
+
function defaults2(target, ...sources) {
|
|
706
|
+
for (let source of sources) {
|
|
707
|
+
for (let k in source) {
|
|
708
|
+
var _target_hasOwnProperty;
|
|
709
|
+
if (!(target === null || target === void 0 ? void 0 : (_target_hasOwnProperty = target.hasOwnProperty) === null || _target_hasOwnProperty === void 0 ? void 0 : _target_hasOwnProperty.call(target, k))) {
|
|
710
|
+
target[k] = source[k];
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
for (let k of Object.getOwnPropertySymbols(source)) {
|
|
714
|
+
var _target_hasOwnProperty1;
|
|
715
|
+
if (!(target === null || target === void 0 ? void 0 : (_target_hasOwnProperty1 = target.hasOwnProperty) === null || _target_hasOwnProperty1 === void 0 ? void 0 : _target_hasOwnProperty1.call(target, k))) {
|
|
716
|
+
target[k] = source[k];
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
return target;
|
|
721
|
+
}
|
|
722
|
+
})(defaults);
|
|
723
|
+
var toPath = {};
|
|
724
|
+
(function(exports2) {
|
|
725
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
726
|
+
value: true
|
|
727
|
+
});
|
|
728
|
+
Object.defineProperty(exports2, "toPath", {
|
|
729
|
+
enumerable: true,
|
|
730
|
+
get: function() {
|
|
731
|
+
return toPath2;
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
function toPath2(path) {
|
|
735
|
+
if (Array.isArray(path))
|
|
736
|
+
return path;
|
|
737
|
+
let openBrackets = path.split("[").length - 1;
|
|
738
|
+
let closedBrackets = path.split("]").length - 1;
|
|
739
|
+
if (openBrackets !== closedBrackets) {
|
|
740
|
+
throw new Error(`Path is invalid. Has unbalanced brackets: ${path}`);
|
|
741
|
+
}
|
|
742
|
+
return path.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
743
|
+
}
|
|
744
|
+
})(toPath);
|
|
745
|
+
var normalizeConfig = {};
|
|
746
|
+
var featureFlags = {};
|
|
747
|
+
(function(exports2) {
|
|
748
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
749
|
+
value: true
|
|
750
|
+
});
|
|
751
|
+
function _export(target, all) {
|
|
752
|
+
for (var name in all)
|
|
753
|
+
Object.defineProperty(target, name, {
|
|
754
|
+
enumerable: true,
|
|
755
|
+
get: all[name]
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
_export(exports2, {
|
|
759
|
+
flagEnabled: function() {
|
|
760
|
+
return flagEnabled;
|
|
761
|
+
},
|
|
762
|
+
issueFlagNotices: function() {
|
|
763
|
+
return issueFlagNotices;
|
|
764
|
+
},
|
|
765
|
+
default: function() {
|
|
766
|
+
return _default;
|
|
767
|
+
}
|
|
768
|
+
});
|
|
769
|
+
const _picocolors = /* @__PURE__ */ _interop_require_default(picocolors_browserExports);
|
|
770
|
+
const _log = /* @__PURE__ */ _interop_require_default(log);
|
|
771
|
+
function _interop_require_default(obj) {
|
|
772
|
+
return obj && obj.__esModule ? obj : {
|
|
773
|
+
default: obj
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
let defaults2 = {
|
|
777
|
+
optimizeUniversalDefaults: false,
|
|
778
|
+
generalizedModifiers: true,
|
|
779
|
+
disableColorOpacityUtilitiesByDefault: false,
|
|
780
|
+
relativeContentPathsByDefault: false
|
|
781
|
+
};
|
|
782
|
+
let featureFlags2 = {
|
|
783
|
+
future: [
|
|
784
|
+
"hoverOnlyWhenSupported",
|
|
785
|
+
"respectDefaultRingColorOpacity",
|
|
786
|
+
"disableColorOpacityUtilitiesByDefault",
|
|
787
|
+
"relativeContentPathsByDefault"
|
|
788
|
+
],
|
|
789
|
+
experimental: [
|
|
790
|
+
"optimizeUniversalDefaults",
|
|
791
|
+
"generalizedModifiers"
|
|
792
|
+
]
|
|
793
|
+
};
|
|
794
|
+
function flagEnabled(config2, flag) {
|
|
795
|
+
if (featureFlags2.future.includes(flag)) {
|
|
796
|
+
var _config_future;
|
|
797
|
+
var _config_future_flag, _ref;
|
|
798
|
+
return config2.future === "all" || ((_ref = (_config_future_flag = config2 === null || config2 === void 0 ? void 0 : (_config_future = config2.future) === null || _config_future === void 0 ? void 0 : _config_future[flag]) !== null && _config_future_flag !== void 0 ? _config_future_flag : defaults2[flag]) !== null && _ref !== void 0 ? _ref : false);
|
|
799
|
+
}
|
|
800
|
+
if (featureFlags2.experimental.includes(flag)) {
|
|
801
|
+
var _config_experimental;
|
|
802
|
+
var _config_experimental_flag, _ref1;
|
|
803
|
+
return config2.experimental === "all" || ((_ref1 = (_config_experimental_flag = config2 === null || config2 === void 0 ? void 0 : (_config_experimental = config2.experimental) === null || _config_experimental === void 0 ? void 0 : _config_experimental[flag]) !== null && _config_experimental_flag !== void 0 ? _config_experimental_flag : defaults2[flag]) !== null && _ref1 !== void 0 ? _ref1 : false);
|
|
804
|
+
}
|
|
805
|
+
return false;
|
|
806
|
+
}
|
|
807
|
+
function experimentalFlagsEnabled(config2) {
|
|
808
|
+
if (config2.experimental === "all") {
|
|
809
|
+
return featureFlags2.experimental;
|
|
810
|
+
}
|
|
811
|
+
var _config_experimental;
|
|
812
|
+
return Object.keys((_config_experimental = config2 === null || config2 === void 0 ? void 0 : config2.experimental) !== null && _config_experimental !== void 0 ? _config_experimental : {}).filter((flag) => featureFlags2.experimental.includes(flag) && config2.experimental[flag]);
|
|
813
|
+
}
|
|
814
|
+
function issueFlagNotices(config2) {
|
|
815
|
+
if (process.env.JEST_WORKER_ID !== void 0) {
|
|
816
|
+
return;
|
|
817
|
+
}
|
|
818
|
+
if (experimentalFlagsEnabled(config2).length > 0) {
|
|
819
|
+
let changes = experimentalFlagsEnabled(config2).map((s) => _picocolors.default.yellow(s)).join(", ");
|
|
820
|
+
_log.default.warn("experimental-flags-enabled", [
|
|
821
|
+
`You have enabled experimental features: ${changes}`,
|
|
822
|
+
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
|
|
823
|
+
]);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
const _default = featureFlags2;
|
|
827
|
+
})(featureFlags);
|
|
828
|
+
(function(exports2) {
|
|
829
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
830
|
+
value: true
|
|
831
|
+
});
|
|
832
|
+
Object.defineProperty(exports2, "normalizeConfig", {
|
|
833
|
+
enumerable: true,
|
|
834
|
+
get: function() {
|
|
835
|
+
return normalizeConfig2;
|
|
836
|
+
}
|
|
837
|
+
});
|
|
838
|
+
const _featureFlags = featureFlags;
|
|
839
|
+
const _log = /* @__PURE__ */ _interop_require_wildcard(log);
|
|
840
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
841
|
+
if (typeof WeakMap !== "function")
|
|
842
|
+
return null;
|
|
843
|
+
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
844
|
+
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
845
|
+
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
846
|
+
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
847
|
+
})(nodeInterop);
|
|
848
|
+
}
|
|
849
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
|
850
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
851
|
+
return obj;
|
|
852
|
+
}
|
|
853
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
854
|
+
return {
|
|
855
|
+
default: obj
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
859
|
+
if (cache && cache.has(obj)) {
|
|
860
|
+
return cache.get(obj);
|
|
861
|
+
}
|
|
862
|
+
var newObj = {};
|
|
863
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
864
|
+
for (var key in obj) {
|
|
865
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
866
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
867
|
+
if (desc && (desc.get || desc.set)) {
|
|
868
|
+
Object.defineProperty(newObj, key, desc);
|
|
869
|
+
} else {
|
|
870
|
+
newObj[key] = obj[key];
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
newObj.default = obj;
|
|
875
|
+
if (cache) {
|
|
876
|
+
cache.set(obj, newObj);
|
|
877
|
+
}
|
|
878
|
+
return newObj;
|
|
879
|
+
}
|
|
880
|
+
function normalizeConfig2(config2) {
|
|
881
|
+
let valid = (() => {
|
|
882
|
+
if (config2.purge) {
|
|
883
|
+
return false;
|
|
884
|
+
}
|
|
885
|
+
if (!config2.content) {
|
|
886
|
+
return false;
|
|
887
|
+
}
|
|
888
|
+
if (!Array.isArray(config2.content) && !(typeof config2.content === "object" && config2.content !== null)) {
|
|
889
|
+
return false;
|
|
890
|
+
}
|
|
891
|
+
if (Array.isArray(config2.content)) {
|
|
892
|
+
return config2.content.every((path) => {
|
|
893
|
+
if (typeof path === "string")
|
|
894
|
+
return true;
|
|
895
|
+
if (typeof (path === null || path === void 0 ? void 0 : path.raw) !== "string")
|
|
896
|
+
return false;
|
|
897
|
+
if ((path === null || path === void 0 ? void 0 : path.extension) && typeof (path === null || path === void 0 ? void 0 : path.extension) !== "string") {
|
|
898
|
+
return false;
|
|
899
|
+
}
|
|
900
|
+
return true;
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
if (typeof config2.content === "object" && config2.content !== null) {
|
|
904
|
+
if (Object.keys(config2.content).some((key) => ![
|
|
905
|
+
"files",
|
|
906
|
+
"relative",
|
|
907
|
+
"extract",
|
|
908
|
+
"transform"
|
|
909
|
+
].includes(key))) {
|
|
910
|
+
return false;
|
|
911
|
+
}
|
|
912
|
+
if (Array.isArray(config2.content.files)) {
|
|
913
|
+
if (!config2.content.files.every((path) => {
|
|
914
|
+
if (typeof path === "string")
|
|
915
|
+
return true;
|
|
916
|
+
if (typeof (path === null || path === void 0 ? void 0 : path.raw) !== "string")
|
|
917
|
+
return false;
|
|
918
|
+
if ((path === null || path === void 0 ? void 0 : path.extension) && typeof (path === null || path === void 0 ? void 0 : path.extension) !== "string") {
|
|
919
|
+
return false;
|
|
920
|
+
}
|
|
921
|
+
return true;
|
|
922
|
+
})) {
|
|
923
|
+
return false;
|
|
924
|
+
}
|
|
925
|
+
if (typeof config2.content.extract === "object") {
|
|
926
|
+
for (let value of Object.values(config2.content.extract)) {
|
|
927
|
+
if (typeof value !== "function") {
|
|
928
|
+
return false;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
} else if (!(config2.content.extract === void 0 || typeof config2.content.extract === "function")) {
|
|
932
|
+
return false;
|
|
933
|
+
}
|
|
934
|
+
if (typeof config2.content.transform === "object") {
|
|
935
|
+
for (let value of Object.values(config2.content.transform)) {
|
|
936
|
+
if (typeof value !== "function") {
|
|
937
|
+
return false;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
} else if (!(config2.content.transform === void 0 || typeof config2.content.transform === "function")) {
|
|
941
|
+
return false;
|
|
942
|
+
}
|
|
943
|
+
if (typeof config2.content.relative !== "boolean" && typeof config2.content.relative !== "undefined") {
|
|
944
|
+
return false;
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
return true;
|
|
948
|
+
}
|
|
949
|
+
return false;
|
|
950
|
+
})();
|
|
951
|
+
if (!valid) {
|
|
952
|
+
_log.default.warn("purge-deprecation", [
|
|
953
|
+
"The `purge`/`content` options have changed in Tailwind CSS v3.0.",
|
|
954
|
+
"Update your configuration file to eliminate this warning.",
|
|
955
|
+
"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
|
|
956
|
+
]);
|
|
957
|
+
}
|
|
958
|
+
config2.safelist = (() => {
|
|
959
|
+
var _purge_options;
|
|
960
|
+
let { content, purge, safelist } = config2;
|
|
961
|
+
if (Array.isArray(safelist))
|
|
962
|
+
return safelist;
|
|
963
|
+
if (Array.isArray(content === null || content === void 0 ? void 0 : content.safelist))
|
|
964
|
+
return content.safelist;
|
|
965
|
+
if (Array.isArray(purge === null || purge === void 0 ? void 0 : purge.safelist))
|
|
966
|
+
return purge.safelist;
|
|
967
|
+
if (Array.isArray(purge === null || purge === void 0 ? void 0 : (_purge_options = purge.options) === null || _purge_options === void 0 ? void 0 : _purge_options.safelist))
|
|
968
|
+
return purge.options.safelist;
|
|
969
|
+
return [];
|
|
970
|
+
})();
|
|
971
|
+
config2.blocklist = (() => {
|
|
972
|
+
let { blocklist } = config2;
|
|
973
|
+
if (Array.isArray(blocklist)) {
|
|
974
|
+
if (blocklist.every((item) => typeof item === "string")) {
|
|
975
|
+
return blocklist;
|
|
976
|
+
}
|
|
977
|
+
_log.default.warn("blocklist-invalid", [
|
|
978
|
+
"The `blocklist` option must be an array of strings.",
|
|
979
|
+
"https://tailwindcss.com/docs/content-configuration#discarding-classes"
|
|
980
|
+
]);
|
|
981
|
+
}
|
|
982
|
+
return [];
|
|
983
|
+
})();
|
|
984
|
+
if (typeof config2.prefix === "function") {
|
|
985
|
+
_log.default.warn("prefix-function", [
|
|
986
|
+
"As of Tailwind CSS v3.0, `prefix` cannot be a function.",
|
|
987
|
+
"Update `prefix` in your configuration to be a string to eliminate this warning.",
|
|
988
|
+
"https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"
|
|
989
|
+
]);
|
|
990
|
+
config2.prefix = "";
|
|
991
|
+
} else {
|
|
992
|
+
var _config_prefix;
|
|
993
|
+
config2.prefix = (_config_prefix = config2.prefix) !== null && _config_prefix !== void 0 ? _config_prefix : "";
|
|
994
|
+
}
|
|
995
|
+
config2.content = {
|
|
996
|
+
relative: (() => {
|
|
997
|
+
let { content } = config2;
|
|
998
|
+
if (content === null || content === void 0 ? void 0 : content.relative) {
|
|
999
|
+
return content.relative;
|
|
1000
|
+
}
|
|
1001
|
+
return (0, _featureFlags.flagEnabled)(config2, "relativeContentPathsByDefault");
|
|
1002
|
+
})(),
|
|
1003
|
+
files: (() => {
|
|
1004
|
+
let { content, purge } = config2;
|
|
1005
|
+
if (Array.isArray(purge))
|
|
1006
|
+
return purge;
|
|
1007
|
+
if (Array.isArray(purge === null || purge === void 0 ? void 0 : purge.content))
|
|
1008
|
+
return purge.content;
|
|
1009
|
+
if (Array.isArray(content))
|
|
1010
|
+
return content;
|
|
1011
|
+
if (Array.isArray(content === null || content === void 0 ? void 0 : content.content))
|
|
1012
|
+
return content.content;
|
|
1013
|
+
if (Array.isArray(content === null || content === void 0 ? void 0 : content.files))
|
|
1014
|
+
return content.files;
|
|
1015
|
+
return [];
|
|
1016
|
+
})(),
|
|
1017
|
+
extract: (() => {
|
|
1018
|
+
let extract = (() => {
|
|
1019
|
+
var _config_purge, _config_content, _config_purge1, _config_purge_extract, _config_content1, _config_content_extract, _config_purge2, _config_purge_options, _config_content2, _config_content_options;
|
|
1020
|
+
if ((_config_purge = config2.purge) === null || _config_purge === void 0 ? void 0 : _config_purge.extract)
|
|
1021
|
+
return config2.purge.extract;
|
|
1022
|
+
if ((_config_content = config2.content) === null || _config_content === void 0 ? void 0 : _config_content.extract)
|
|
1023
|
+
return config2.content.extract;
|
|
1024
|
+
if ((_config_purge1 = config2.purge) === null || _config_purge1 === void 0 ? void 0 : (_config_purge_extract = _config_purge1.extract) === null || _config_purge_extract === void 0 ? void 0 : _config_purge_extract.DEFAULT)
|
|
1025
|
+
return config2.purge.extract.DEFAULT;
|
|
1026
|
+
if ((_config_content1 = config2.content) === null || _config_content1 === void 0 ? void 0 : (_config_content_extract = _config_content1.extract) === null || _config_content_extract === void 0 ? void 0 : _config_content_extract.DEFAULT)
|
|
1027
|
+
return config2.content.extract.DEFAULT;
|
|
1028
|
+
if ((_config_purge2 = config2.purge) === null || _config_purge2 === void 0 ? void 0 : (_config_purge_options = _config_purge2.options) === null || _config_purge_options === void 0 ? void 0 : _config_purge_options.extractors)
|
|
1029
|
+
return config2.purge.options.extractors;
|
|
1030
|
+
if ((_config_content2 = config2.content) === null || _config_content2 === void 0 ? void 0 : (_config_content_options = _config_content2.options) === null || _config_content_options === void 0 ? void 0 : _config_content_options.extractors)
|
|
1031
|
+
return config2.content.options.extractors;
|
|
1032
|
+
return {};
|
|
1033
|
+
})();
|
|
1034
|
+
let extractors = {};
|
|
1035
|
+
let defaultExtractor = (() => {
|
|
1036
|
+
var _config_purge, _config_purge_options, _config_content, _config_content_options;
|
|
1037
|
+
if ((_config_purge = config2.purge) === null || _config_purge === void 0 ? void 0 : (_config_purge_options = _config_purge.options) === null || _config_purge_options === void 0 ? void 0 : _config_purge_options.defaultExtractor) {
|
|
1038
|
+
return config2.purge.options.defaultExtractor;
|
|
1039
|
+
}
|
|
1040
|
+
if ((_config_content = config2.content) === null || _config_content === void 0 ? void 0 : (_config_content_options = _config_content.options) === null || _config_content_options === void 0 ? void 0 : _config_content_options.defaultExtractor) {
|
|
1041
|
+
return config2.content.options.defaultExtractor;
|
|
1042
|
+
}
|
|
1043
|
+
return void 0;
|
|
1044
|
+
})();
|
|
1045
|
+
if (defaultExtractor !== void 0) {
|
|
1046
|
+
extractors.DEFAULT = defaultExtractor;
|
|
1047
|
+
}
|
|
1048
|
+
if (typeof extract === "function") {
|
|
1049
|
+
extractors.DEFAULT = extract;
|
|
1050
|
+
} else if (Array.isArray(extract)) {
|
|
1051
|
+
for (let { extensions, extractor } of extract !== null && extract !== void 0 ? extract : []) {
|
|
1052
|
+
for (let extension of extensions) {
|
|
1053
|
+
extractors[extension] = extractor;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
} else if (typeof extract === "object" && extract !== null) {
|
|
1057
|
+
Object.assign(extractors, extract);
|
|
1058
|
+
}
|
|
1059
|
+
return extractors;
|
|
1060
|
+
})(),
|
|
1061
|
+
transform: (() => {
|
|
1062
|
+
let transform = (() => {
|
|
1063
|
+
var _config_purge, _config_content, _config_purge1, _config_purge_transform, _config_content1, _config_content_transform;
|
|
1064
|
+
if ((_config_purge = config2.purge) === null || _config_purge === void 0 ? void 0 : _config_purge.transform)
|
|
1065
|
+
return config2.purge.transform;
|
|
1066
|
+
if ((_config_content = config2.content) === null || _config_content === void 0 ? void 0 : _config_content.transform)
|
|
1067
|
+
return config2.content.transform;
|
|
1068
|
+
if ((_config_purge1 = config2.purge) === null || _config_purge1 === void 0 ? void 0 : (_config_purge_transform = _config_purge1.transform) === null || _config_purge_transform === void 0 ? void 0 : _config_purge_transform.DEFAULT)
|
|
1069
|
+
return config2.purge.transform.DEFAULT;
|
|
1070
|
+
if ((_config_content1 = config2.content) === null || _config_content1 === void 0 ? void 0 : (_config_content_transform = _config_content1.transform) === null || _config_content_transform === void 0 ? void 0 : _config_content_transform.DEFAULT)
|
|
1071
|
+
return config2.content.transform.DEFAULT;
|
|
1072
|
+
return {};
|
|
1073
|
+
})();
|
|
1074
|
+
let transformers = {};
|
|
1075
|
+
if (typeof transform === "function") {
|
|
1076
|
+
transformers.DEFAULT = transform;
|
|
1077
|
+
}
|
|
1078
|
+
if (typeof transform === "object" && transform !== null) {
|
|
1079
|
+
Object.assign(transformers, transform);
|
|
1080
|
+
}
|
|
1081
|
+
return transformers;
|
|
1082
|
+
})()
|
|
1083
|
+
};
|
|
1084
|
+
for (let file of config2.content.files) {
|
|
1085
|
+
if (typeof file === "string" && /{([^,]*?)}/g.test(file)) {
|
|
1086
|
+
_log.default.warn("invalid-glob-braces", [
|
|
1087
|
+
`The glob pattern ${(0, _log.dim)(file)} in your Tailwind CSS configuration is invalid.`,
|
|
1088
|
+
`Update it to ${(0, _log.dim)(file.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
|
|
1089
|
+
]);
|
|
1090
|
+
break;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return config2;
|
|
1094
|
+
}
|
|
1095
|
+
})(normalizeConfig);
|
|
1096
|
+
var isPlainObject = {};
|
|
1097
|
+
(function(exports2) {
|
|
1098
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1099
|
+
value: true
|
|
1100
|
+
});
|
|
1101
|
+
Object.defineProperty(exports2, "default", {
|
|
1102
|
+
enumerable: true,
|
|
1103
|
+
get: function() {
|
|
1104
|
+
return isPlainObject2;
|
|
1105
|
+
}
|
|
1106
|
+
});
|
|
1107
|
+
function isPlainObject2(value) {
|
|
1108
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") {
|
|
1109
|
+
return false;
|
|
1110
|
+
}
|
|
1111
|
+
const prototype = Object.getPrototypeOf(value);
|
|
1112
|
+
return prototype === null || Object.getPrototypeOf(prototype) === null;
|
|
1113
|
+
}
|
|
1114
|
+
})(isPlainObject);
|
|
1115
|
+
var cloneDeep = {};
|
|
1116
|
+
(function(exports2) {
|
|
1117
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1118
|
+
value: true
|
|
1119
|
+
});
|
|
1120
|
+
Object.defineProperty(exports2, "cloneDeep", {
|
|
1121
|
+
enumerable: true,
|
|
1122
|
+
get: function() {
|
|
1123
|
+
return cloneDeep2;
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
function cloneDeep2(value) {
|
|
1127
|
+
if (Array.isArray(value)) {
|
|
1128
|
+
return value.map((child) => cloneDeep2(child));
|
|
1129
|
+
}
|
|
1130
|
+
if (typeof value === "object" && value !== null) {
|
|
1131
|
+
return Object.fromEntries(Object.entries(value).map(([k, v]) => [
|
|
1132
|
+
k,
|
|
1133
|
+
cloneDeep2(v)
|
|
1134
|
+
]));
|
|
1135
|
+
}
|
|
1136
|
+
return value;
|
|
1137
|
+
}
|
|
1138
|
+
})(cloneDeep);
|
|
1139
|
+
var pluginUtils = {};
|
|
1140
|
+
var escapeCommas = {};
|
|
1141
|
+
(function(exports2) {
|
|
1142
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1143
|
+
value: true
|
|
1144
|
+
});
|
|
1145
|
+
Object.defineProperty(exports2, "default", {
|
|
1146
|
+
enumerable: true,
|
|
1147
|
+
get: function() {
|
|
1148
|
+
return escapeCommas2;
|
|
1149
|
+
}
|
|
1150
|
+
});
|
|
1151
|
+
function escapeCommas2(className) {
|
|
1152
|
+
return className.replace(/\\,/g, "\\2c ");
|
|
1153
|
+
}
|
|
1154
|
+
})(escapeCommas);
|
|
1155
|
+
var withAlphaVariable = {};
|
|
1156
|
+
var color = {};
|
|
1157
|
+
var colorNames = {};
|
|
1158
|
+
(function(exports2) {
|
|
1159
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1160
|
+
value: true
|
|
1161
|
+
});
|
|
1162
|
+
Object.defineProperty(exports2, "default", {
|
|
1163
|
+
enumerable: true,
|
|
1164
|
+
get: function() {
|
|
1165
|
+
return _default;
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
const _default = {
|
|
1169
|
+
aliceblue: [
|
|
1170
|
+
240,
|
|
1171
|
+
248,
|
|
1172
|
+
255
|
|
1173
|
+
],
|
|
1174
|
+
antiquewhite: [
|
|
1175
|
+
250,
|
|
1176
|
+
235,
|
|
1177
|
+
215
|
|
1178
|
+
],
|
|
1179
|
+
aqua: [
|
|
1180
|
+
0,
|
|
1181
|
+
255,
|
|
1182
|
+
255
|
|
1183
|
+
],
|
|
1184
|
+
aquamarine: [
|
|
1185
|
+
127,
|
|
1186
|
+
255,
|
|
1187
|
+
212
|
|
1188
|
+
],
|
|
1189
|
+
azure: [
|
|
1190
|
+
240,
|
|
1191
|
+
255,
|
|
1192
|
+
255
|
|
1193
|
+
],
|
|
1194
|
+
beige: [
|
|
1195
|
+
245,
|
|
1196
|
+
245,
|
|
1197
|
+
220
|
|
1198
|
+
],
|
|
1199
|
+
bisque: [
|
|
1200
|
+
255,
|
|
1201
|
+
228,
|
|
1202
|
+
196
|
|
1203
|
+
],
|
|
1204
|
+
black: [
|
|
1205
|
+
0,
|
|
1206
|
+
0,
|
|
1207
|
+
0
|
|
1208
|
+
],
|
|
1209
|
+
blanchedalmond: [
|
|
1210
|
+
255,
|
|
1211
|
+
235,
|
|
1212
|
+
205
|
|
1213
|
+
],
|
|
1214
|
+
blue: [
|
|
1215
|
+
0,
|
|
1216
|
+
0,
|
|
1217
|
+
255
|
|
1218
|
+
],
|
|
1219
|
+
blueviolet: [
|
|
1220
|
+
138,
|
|
1221
|
+
43,
|
|
1222
|
+
226
|
|
1223
|
+
],
|
|
1224
|
+
brown: [
|
|
1225
|
+
165,
|
|
1226
|
+
42,
|
|
1227
|
+
42
|
|
1228
|
+
],
|
|
1229
|
+
burlywood: [
|
|
1230
|
+
222,
|
|
1231
|
+
184,
|
|
1232
|
+
135
|
|
1233
|
+
],
|
|
1234
|
+
cadetblue: [
|
|
1235
|
+
95,
|
|
1236
|
+
158,
|
|
1237
|
+
160
|
|
1238
|
+
],
|
|
1239
|
+
chartreuse: [
|
|
1240
|
+
127,
|
|
1241
|
+
255,
|
|
1242
|
+
0
|
|
1243
|
+
],
|
|
1244
|
+
chocolate: [
|
|
1245
|
+
210,
|
|
1246
|
+
105,
|
|
1247
|
+
30
|
|
1248
|
+
],
|
|
1249
|
+
coral: [
|
|
1250
|
+
255,
|
|
1251
|
+
127,
|
|
1252
|
+
80
|
|
1253
|
+
],
|
|
1254
|
+
cornflowerblue: [
|
|
1255
|
+
100,
|
|
1256
|
+
149,
|
|
1257
|
+
237
|
|
1258
|
+
],
|
|
1259
|
+
cornsilk: [
|
|
1260
|
+
255,
|
|
1261
|
+
248,
|
|
1262
|
+
220
|
|
1263
|
+
],
|
|
1264
|
+
crimson: [
|
|
1265
|
+
220,
|
|
1266
|
+
20,
|
|
1267
|
+
60
|
|
1268
|
+
],
|
|
1269
|
+
cyan: [
|
|
1270
|
+
0,
|
|
1271
|
+
255,
|
|
1272
|
+
255
|
|
1273
|
+
],
|
|
1274
|
+
darkblue: [
|
|
1275
|
+
0,
|
|
1276
|
+
0,
|
|
1277
|
+
139
|
|
1278
|
+
],
|
|
1279
|
+
darkcyan: [
|
|
1280
|
+
0,
|
|
1281
|
+
139,
|
|
1282
|
+
139
|
|
1283
|
+
],
|
|
1284
|
+
darkgoldenrod: [
|
|
1285
|
+
184,
|
|
1286
|
+
134,
|
|
1287
|
+
11
|
|
1288
|
+
],
|
|
1289
|
+
darkgray: [
|
|
1290
|
+
169,
|
|
1291
|
+
169,
|
|
1292
|
+
169
|
|
1293
|
+
],
|
|
1294
|
+
darkgreen: [
|
|
1295
|
+
0,
|
|
1296
|
+
100,
|
|
1297
|
+
0
|
|
1298
|
+
],
|
|
1299
|
+
darkgrey: [
|
|
1300
|
+
169,
|
|
1301
|
+
169,
|
|
1302
|
+
169
|
|
1303
|
+
],
|
|
1304
|
+
darkkhaki: [
|
|
1305
|
+
189,
|
|
1306
|
+
183,
|
|
1307
|
+
107
|
|
1308
|
+
],
|
|
1309
|
+
darkmagenta: [
|
|
1310
|
+
139,
|
|
1311
|
+
0,
|
|
1312
|
+
139
|
|
1313
|
+
],
|
|
1314
|
+
darkolivegreen: [
|
|
1315
|
+
85,
|
|
1316
|
+
107,
|
|
1317
|
+
47
|
|
1318
|
+
],
|
|
1319
|
+
darkorange: [
|
|
1320
|
+
255,
|
|
1321
|
+
140,
|
|
1322
|
+
0
|
|
1323
|
+
],
|
|
1324
|
+
darkorchid: [
|
|
1325
|
+
153,
|
|
1326
|
+
50,
|
|
1327
|
+
204
|
|
1328
|
+
],
|
|
1329
|
+
darkred: [
|
|
1330
|
+
139,
|
|
1331
|
+
0,
|
|
1332
|
+
0
|
|
1333
|
+
],
|
|
1334
|
+
darksalmon: [
|
|
1335
|
+
233,
|
|
1336
|
+
150,
|
|
1337
|
+
122
|
|
1338
|
+
],
|
|
1339
|
+
darkseagreen: [
|
|
1340
|
+
143,
|
|
1341
|
+
188,
|
|
1342
|
+
143
|
|
1343
|
+
],
|
|
1344
|
+
darkslateblue: [
|
|
1345
|
+
72,
|
|
1346
|
+
61,
|
|
1347
|
+
139
|
|
1348
|
+
],
|
|
1349
|
+
darkslategray: [
|
|
1350
|
+
47,
|
|
1351
|
+
79,
|
|
1352
|
+
79
|
|
1353
|
+
],
|
|
1354
|
+
darkslategrey: [
|
|
1355
|
+
47,
|
|
1356
|
+
79,
|
|
1357
|
+
79
|
|
1358
|
+
],
|
|
1359
|
+
darkturquoise: [
|
|
1360
|
+
0,
|
|
1361
|
+
206,
|
|
1362
|
+
209
|
|
1363
|
+
],
|
|
1364
|
+
darkviolet: [
|
|
1365
|
+
148,
|
|
1366
|
+
0,
|
|
1367
|
+
211
|
|
1368
|
+
],
|
|
1369
|
+
deeppink: [
|
|
1370
|
+
255,
|
|
1371
|
+
20,
|
|
1372
|
+
147
|
|
1373
|
+
],
|
|
1374
|
+
deepskyblue: [
|
|
1375
|
+
0,
|
|
1376
|
+
191,
|
|
1377
|
+
255
|
|
1378
|
+
],
|
|
1379
|
+
dimgray: [
|
|
1380
|
+
105,
|
|
1381
|
+
105,
|
|
1382
|
+
105
|
|
1383
|
+
],
|
|
1384
|
+
dimgrey: [
|
|
1385
|
+
105,
|
|
1386
|
+
105,
|
|
1387
|
+
105
|
|
1388
|
+
],
|
|
1389
|
+
dodgerblue: [
|
|
1390
|
+
30,
|
|
1391
|
+
144,
|
|
1392
|
+
255
|
|
1393
|
+
],
|
|
1394
|
+
firebrick: [
|
|
1395
|
+
178,
|
|
1396
|
+
34,
|
|
1397
|
+
34
|
|
1398
|
+
],
|
|
1399
|
+
floralwhite: [
|
|
1400
|
+
255,
|
|
1401
|
+
250,
|
|
1402
|
+
240
|
|
1403
|
+
],
|
|
1404
|
+
forestgreen: [
|
|
1405
|
+
34,
|
|
1406
|
+
139,
|
|
1407
|
+
34
|
|
1408
|
+
],
|
|
1409
|
+
fuchsia: [
|
|
1410
|
+
255,
|
|
1411
|
+
0,
|
|
1412
|
+
255
|
|
1413
|
+
],
|
|
1414
|
+
gainsboro: [
|
|
1415
|
+
220,
|
|
1416
|
+
220,
|
|
1417
|
+
220
|
|
1418
|
+
],
|
|
1419
|
+
ghostwhite: [
|
|
1420
|
+
248,
|
|
1421
|
+
248,
|
|
1422
|
+
255
|
|
1423
|
+
],
|
|
1424
|
+
gold: [
|
|
1425
|
+
255,
|
|
1426
|
+
215,
|
|
1427
|
+
0
|
|
1428
|
+
],
|
|
1429
|
+
goldenrod: [
|
|
1430
|
+
218,
|
|
1431
|
+
165,
|
|
1432
|
+
32
|
|
1433
|
+
],
|
|
1434
|
+
gray: [
|
|
1435
|
+
128,
|
|
1436
|
+
128,
|
|
1437
|
+
128
|
|
1438
|
+
],
|
|
1439
|
+
green: [
|
|
1440
|
+
0,
|
|
1441
|
+
128,
|
|
1442
|
+
0
|
|
1443
|
+
],
|
|
1444
|
+
greenyellow: [
|
|
1445
|
+
173,
|
|
1446
|
+
255,
|
|
1447
|
+
47
|
|
1448
|
+
],
|
|
1449
|
+
grey: [
|
|
1450
|
+
128,
|
|
1451
|
+
128,
|
|
1452
|
+
128
|
|
1453
|
+
],
|
|
1454
|
+
honeydew: [
|
|
1455
|
+
240,
|
|
1456
|
+
255,
|
|
1457
|
+
240
|
|
1458
|
+
],
|
|
1459
|
+
hotpink: [
|
|
1460
|
+
255,
|
|
1461
|
+
105,
|
|
1462
|
+
180
|
|
1463
|
+
],
|
|
1464
|
+
indianred: [
|
|
1465
|
+
205,
|
|
1466
|
+
92,
|
|
1467
|
+
92
|
|
1468
|
+
],
|
|
1469
|
+
indigo: [
|
|
1470
|
+
75,
|
|
1471
|
+
0,
|
|
1472
|
+
130
|
|
1473
|
+
],
|
|
1474
|
+
ivory: [
|
|
1475
|
+
255,
|
|
1476
|
+
255,
|
|
1477
|
+
240
|
|
1478
|
+
],
|
|
1479
|
+
khaki: [
|
|
1480
|
+
240,
|
|
1481
|
+
230,
|
|
1482
|
+
140
|
|
1483
|
+
],
|
|
1484
|
+
lavender: [
|
|
1485
|
+
230,
|
|
1486
|
+
230,
|
|
1487
|
+
250
|
|
1488
|
+
],
|
|
1489
|
+
lavenderblush: [
|
|
1490
|
+
255,
|
|
1491
|
+
240,
|
|
1492
|
+
245
|
|
1493
|
+
],
|
|
1494
|
+
lawngreen: [
|
|
1495
|
+
124,
|
|
1496
|
+
252,
|
|
1497
|
+
0
|
|
1498
|
+
],
|
|
1499
|
+
lemonchiffon: [
|
|
1500
|
+
255,
|
|
1501
|
+
250,
|
|
1502
|
+
205
|
|
1503
|
+
],
|
|
1504
|
+
lightblue: [
|
|
1505
|
+
173,
|
|
1506
|
+
216,
|
|
1507
|
+
230
|
|
1508
|
+
],
|
|
1509
|
+
lightcoral: [
|
|
1510
|
+
240,
|
|
1511
|
+
128,
|
|
1512
|
+
128
|
|
1513
|
+
],
|
|
1514
|
+
lightcyan: [
|
|
1515
|
+
224,
|
|
1516
|
+
255,
|
|
1517
|
+
255
|
|
1518
|
+
],
|
|
1519
|
+
lightgoldenrodyellow: [
|
|
1520
|
+
250,
|
|
1521
|
+
250,
|
|
1522
|
+
210
|
|
1523
|
+
],
|
|
1524
|
+
lightgray: [
|
|
1525
|
+
211,
|
|
1526
|
+
211,
|
|
1527
|
+
211
|
|
1528
|
+
],
|
|
1529
|
+
lightgreen: [
|
|
1530
|
+
144,
|
|
1531
|
+
238,
|
|
1532
|
+
144
|
|
1533
|
+
],
|
|
1534
|
+
lightgrey: [
|
|
1535
|
+
211,
|
|
1536
|
+
211,
|
|
1537
|
+
211
|
|
1538
|
+
],
|
|
1539
|
+
lightpink: [
|
|
1540
|
+
255,
|
|
1541
|
+
182,
|
|
1542
|
+
193
|
|
1543
|
+
],
|
|
1544
|
+
lightsalmon: [
|
|
1545
|
+
255,
|
|
1546
|
+
160,
|
|
1547
|
+
122
|
|
1548
|
+
],
|
|
1549
|
+
lightseagreen: [
|
|
1550
|
+
32,
|
|
1551
|
+
178,
|
|
1552
|
+
170
|
|
1553
|
+
],
|
|
1554
|
+
lightskyblue: [
|
|
1555
|
+
135,
|
|
1556
|
+
206,
|
|
1557
|
+
250
|
|
1558
|
+
],
|
|
1559
|
+
lightslategray: [
|
|
1560
|
+
119,
|
|
1561
|
+
136,
|
|
1562
|
+
153
|
|
1563
|
+
],
|
|
1564
|
+
lightslategrey: [
|
|
1565
|
+
119,
|
|
1566
|
+
136,
|
|
1567
|
+
153
|
|
1568
|
+
],
|
|
1569
|
+
lightsteelblue: [
|
|
1570
|
+
176,
|
|
1571
|
+
196,
|
|
1572
|
+
222
|
|
1573
|
+
],
|
|
1574
|
+
lightyellow: [
|
|
1575
|
+
255,
|
|
1576
|
+
255,
|
|
1577
|
+
224
|
|
1578
|
+
],
|
|
1579
|
+
lime: [
|
|
1580
|
+
0,
|
|
1581
|
+
255,
|
|
1582
|
+
0
|
|
1583
|
+
],
|
|
1584
|
+
limegreen: [
|
|
1585
|
+
50,
|
|
1586
|
+
205,
|
|
1587
|
+
50
|
|
1588
|
+
],
|
|
1589
|
+
linen: [
|
|
1590
|
+
250,
|
|
1591
|
+
240,
|
|
1592
|
+
230
|
|
1593
|
+
],
|
|
1594
|
+
magenta: [
|
|
1595
|
+
255,
|
|
1596
|
+
0,
|
|
1597
|
+
255
|
|
1598
|
+
],
|
|
1599
|
+
maroon: [
|
|
1600
|
+
128,
|
|
1601
|
+
0,
|
|
1602
|
+
0
|
|
1603
|
+
],
|
|
1604
|
+
mediumaquamarine: [
|
|
1605
|
+
102,
|
|
1606
|
+
205,
|
|
1607
|
+
170
|
|
1608
|
+
],
|
|
1609
|
+
mediumblue: [
|
|
1610
|
+
0,
|
|
1611
|
+
0,
|
|
1612
|
+
205
|
|
1613
|
+
],
|
|
1614
|
+
mediumorchid: [
|
|
1615
|
+
186,
|
|
1616
|
+
85,
|
|
1617
|
+
211
|
|
1618
|
+
],
|
|
1619
|
+
mediumpurple: [
|
|
1620
|
+
147,
|
|
1621
|
+
112,
|
|
1622
|
+
219
|
|
1623
|
+
],
|
|
1624
|
+
mediumseagreen: [
|
|
1625
|
+
60,
|
|
1626
|
+
179,
|
|
1627
|
+
113
|
|
1628
|
+
],
|
|
1629
|
+
mediumslateblue: [
|
|
1630
|
+
123,
|
|
1631
|
+
104,
|
|
1632
|
+
238
|
|
1633
|
+
],
|
|
1634
|
+
mediumspringgreen: [
|
|
1635
|
+
0,
|
|
1636
|
+
250,
|
|
1637
|
+
154
|
|
1638
|
+
],
|
|
1639
|
+
mediumturquoise: [
|
|
1640
|
+
72,
|
|
1641
|
+
209,
|
|
1642
|
+
204
|
|
1643
|
+
],
|
|
1644
|
+
mediumvioletred: [
|
|
1645
|
+
199,
|
|
1646
|
+
21,
|
|
1647
|
+
133
|
|
1648
|
+
],
|
|
1649
|
+
midnightblue: [
|
|
1650
|
+
25,
|
|
1651
|
+
25,
|
|
1652
|
+
112
|
|
1653
|
+
],
|
|
1654
|
+
mintcream: [
|
|
1655
|
+
245,
|
|
1656
|
+
255,
|
|
1657
|
+
250
|
|
1658
|
+
],
|
|
1659
|
+
mistyrose: [
|
|
1660
|
+
255,
|
|
1661
|
+
228,
|
|
1662
|
+
225
|
|
1663
|
+
],
|
|
1664
|
+
moccasin: [
|
|
1665
|
+
255,
|
|
1666
|
+
228,
|
|
1667
|
+
181
|
|
1668
|
+
],
|
|
1669
|
+
navajowhite: [
|
|
1670
|
+
255,
|
|
1671
|
+
222,
|
|
1672
|
+
173
|
|
1673
|
+
],
|
|
1674
|
+
navy: [
|
|
1675
|
+
0,
|
|
1676
|
+
0,
|
|
1677
|
+
128
|
|
1678
|
+
],
|
|
1679
|
+
oldlace: [
|
|
1680
|
+
253,
|
|
1681
|
+
245,
|
|
1682
|
+
230
|
|
1683
|
+
],
|
|
1684
|
+
olive: [
|
|
1685
|
+
128,
|
|
1686
|
+
128,
|
|
1687
|
+
0
|
|
1688
|
+
],
|
|
1689
|
+
olivedrab: [
|
|
1690
|
+
107,
|
|
1691
|
+
142,
|
|
1692
|
+
35
|
|
1693
|
+
],
|
|
1694
|
+
orange: [
|
|
1695
|
+
255,
|
|
1696
|
+
165,
|
|
1697
|
+
0
|
|
1698
|
+
],
|
|
1699
|
+
orangered: [
|
|
1700
|
+
255,
|
|
1701
|
+
69,
|
|
1702
|
+
0
|
|
1703
|
+
],
|
|
1704
|
+
orchid: [
|
|
1705
|
+
218,
|
|
1706
|
+
112,
|
|
1707
|
+
214
|
|
1708
|
+
],
|
|
1709
|
+
palegoldenrod: [
|
|
1710
|
+
238,
|
|
1711
|
+
232,
|
|
1712
|
+
170
|
|
1713
|
+
],
|
|
1714
|
+
palegreen: [
|
|
1715
|
+
152,
|
|
1716
|
+
251,
|
|
1717
|
+
152
|
|
1718
|
+
],
|
|
1719
|
+
paleturquoise: [
|
|
1720
|
+
175,
|
|
1721
|
+
238,
|
|
1722
|
+
238
|
|
1723
|
+
],
|
|
1724
|
+
palevioletred: [
|
|
1725
|
+
219,
|
|
1726
|
+
112,
|
|
1727
|
+
147
|
|
1728
|
+
],
|
|
1729
|
+
papayawhip: [
|
|
1730
|
+
255,
|
|
1731
|
+
239,
|
|
1732
|
+
213
|
|
1733
|
+
],
|
|
1734
|
+
peachpuff: [
|
|
1735
|
+
255,
|
|
1736
|
+
218,
|
|
1737
|
+
185
|
|
1738
|
+
],
|
|
1739
|
+
peru: [
|
|
1740
|
+
205,
|
|
1741
|
+
133,
|
|
1742
|
+
63
|
|
1743
|
+
],
|
|
1744
|
+
pink: [
|
|
1745
|
+
255,
|
|
1746
|
+
192,
|
|
1747
|
+
203
|
|
1748
|
+
],
|
|
1749
|
+
plum: [
|
|
1750
|
+
221,
|
|
1751
|
+
160,
|
|
1752
|
+
221
|
|
1753
|
+
],
|
|
1754
|
+
powderblue: [
|
|
1755
|
+
176,
|
|
1756
|
+
224,
|
|
1757
|
+
230
|
|
1758
|
+
],
|
|
1759
|
+
purple: [
|
|
1760
|
+
128,
|
|
1761
|
+
0,
|
|
1762
|
+
128
|
|
1763
|
+
],
|
|
1764
|
+
rebeccapurple: [
|
|
1765
|
+
102,
|
|
1766
|
+
51,
|
|
1767
|
+
153
|
|
1768
|
+
],
|
|
1769
|
+
red: [
|
|
1770
|
+
255,
|
|
1771
|
+
0,
|
|
1772
|
+
0
|
|
1773
|
+
],
|
|
1774
|
+
rosybrown: [
|
|
1775
|
+
188,
|
|
1776
|
+
143,
|
|
1777
|
+
143
|
|
1778
|
+
],
|
|
1779
|
+
royalblue: [
|
|
1780
|
+
65,
|
|
1781
|
+
105,
|
|
1782
|
+
225
|
|
1783
|
+
],
|
|
1784
|
+
saddlebrown: [
|
|
1785
|
+
139,
|
|
1786
|
+
69,
|
|
1787
|
+
19
|
|
1788
|
+
],
|
|
1789
|
+
salmon: [
|
|
1790
|
+
250,
|
|
1791
|
+
128,
|
|
1792
|
+
114
|
|
1793
|
+
],
|
|
1794
|
+
sandybrown: [
|
|
1795
|
+
244,
|
|
1796
|
+
164,
|
|
1797
|
+
96
|
|
1798
|
+
],
|
|
1799
|
+
seagreen: [
|
|
1800
|
+
46,
|
|
1801
|
+
139,
|
|
1802
|
+
87
|
|
1803
|
+
],
|
|
1804
|
+
seashell: [
|
|
1805
|
+
255,
|
|
1806
|
+
245,
|
|
1807
|
+
238
|
|
1808
|
+
],
|
|
1809
|
+
sienna: [
|
|
1810
|
+
160,
|
|
1811
|
+
82,
|
|
1812
|
+
45
|
|
1813
|
+
],
|
|
1814
|
+
silver: [
|
|
1815
|
+
192,
|
|
1816
|
+
192,
|
|
1817
|
+
192
|
|
1818
|
+
],
|
|
1819
|
+
skyblue: [
|
|
1820
|
+
135,
|
|
1821
|
+
206,
|
|
1822
|
+
235
|
|
1823
|
+
],
|
|
1824
|
+
slateblue: [
|
|
1825
|
+
106,
|
|
1826
|
+
90,
|
|
1827
|
+
205
|
|
1828
|
+
],
|
|
1829
|
+
slategray: [
|
|
1830
|
+
112,
|
|
1831
|
+
128,
|
|
1832
|
+
144
|
|
1833
|
+
],
|
|
1834
|
+
slategrey: [
|
|
1835
|
+
112,
|
|
1836
|
+
128,
|
|
1837
|
+
144
|
|
1838
|
+
],
|
|
1839
|
+
snow: [
|
|
1840
|
+
255,
|
|
1841
|
+
250,
|
|
1842
|
+
250
|
|
1843
|
+
],
|
|
1844
|
+
springgreen: [
|
|
1845
|
+
0,
|
|
1846
|
+
255,
|
|
1847
|
+
127
|
|
1848
|
+
],
|
|
1849
|
+
steelblue: [
|
|
1850
|
+
70,
|
|
1851
|
+
130,
|
|
1852
|
+
180
|
|
1853
|
+
],
|
|
1854
|
+
tan: [
|
|
1855
|
+
210,
|
|
1856
|
+
180,
|
|
1857
|
+
140
|
|
1858
|
+
],
|
|
1859
|
+
teal: [
|
|
1860
|
+
0,
|
|
1861
|
+
128,
|
|
1862
|
+
128
|
|
1863
|
+
],
|
|
1864
|
+
thistle: [
|
|
1865
|
+
216,
|
|
1866
|
+
191,
|
|
1867
|
+
216
|
|
1868
|
+
],
|
|
1869
|
+
tomato: [
|
|
1870
|
+
255,
|
|
1871
|
+
99,
|
|
1872
|
+
71
|
|
1873
|
+
],
|
|
1874
|
+
turquoise: [
|
|
1875
|
+
64,
|
|
1876
|
+
224,
|
|
1877
|
+
208
|
|
1878
|
+
],
|
|
1879
|
+
violet: [
|
|
1880
|
+
238,
|
|
1881
|
+
130,
|
|
1882
|
+
238
|
|
1883
|
+
],
|
|
1884
|
+
wheat: [
|
|
1885
|
+
245,
|
|
1886
|
+
222,
|
|
1887
|
+
179
|
|
1888
|
+
],
|
|
1889
|
+
white: [
|
|
1890
|
+
255,
|
|
1891
|
+
255,
|
|
1892
|
+
255
|
|
1893
|
+
],
|
|
1894
|
+
whitesmoke: [
|
|
1895
|
+
245,
|
|
1896
|
+
245,
|
|
1897
|
+
245
|
|
1898
|
+
],
|
|
1899
|
+
yellow: [
|
|
1900
|
+
255,
|
|
1901
|
+
255,
|
|
1902
|
+
0
|
|
1903
|
+
],
|
|
1904
|
+
yellowgreen: [
|
|
1905
|
+
154,
|
|
1906
|
+
205,
|
|
1907
|
+
50
|
|
1908
|
+
]
|
|
1909
|
+
};
|
|
1910
|
+
})(colorNames);
|
|
1911
|
+
(function(exports2) {
|
|
1912
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
1913
|
+
value: true
|
|
1914
|
+
});
|
|
1915
|
+
function _export(target, all) {
|
|
1916
|
+
for (var name in all)
|
|
1917
|
+
Object.defineProperty(target, name, {
|
|
1918
|
+
enumerable: true,
|
|
1919
|
+
get: all[name]
|
|
1920
|
+
});
|
|
1921
|
+
}
|
|
1922
|
+
_export(exports2, {
|
|
1923
|
+
parseColor: function() {
|
|
1924
|
+
return parseColor;
|
|
1925
|
+
},
|
|
1926
|
+
formatColor: function() {
|
|
1927
|
+
return formatColor;
|
|
1928
|
+
}
|
|
1929
|
+
});
|
|
1930
|
+
const _colorNames = /* @__PURE__ */ _interop_require_default(colorNames);
|
|
1931
|
+
function _interop_require_default(obj) {
|
|
1932
|
+
return obj && obj.__esModule ? obj : {
|
|
1933
|
+
default: obj
|
|
1934
|
+
};
|
|
1935
|
+
}
|
|
1936
|
+
let HEX = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;
|
|
1937
|
+
let SHORT_HEX = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i;
|
|
1938
|
+
let VALUE = /(?:\d+|\d*\.\d+)%?/;
|
|
1939
|
+
let SEP = /(?:\s*,\s*|\s+)/;
|
|
1940
|
+
let ALPHA_SEP = /\s*[,/]\s*/;
|
|
1941
|
+
let CUSTOM_PROPERTY = /var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/;
|
|
1942
|
+
let RGB = new RegExp(`^(rgba?)\\(\\s*(${VALUE.source}|${CUSTOM_PROPERTY.source})(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${ALPHA_SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?\\s*\\)$`);
|
|
1943
|
+
let HSL = new RegExp(`^(hsla?)\\(\\s*((?:${VALUE.source})(?:deg|rad|grad|turn)?|${CUSTOM_PROPERTY.source})(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${ALPHA_SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?\\s*\\)$`);
|
|
1944
|
+
function parseColor(value, { loose = false } = {}) {
|
|
1945
|
+
var _match_, _match__toString;
|
|
1946
|
+
if (typeof value !== "string") {
|
|
1947
|
+
return null;
|
|
1948
|
+
}
|
|
1949
|
+
value = value.trim();
|
|
1950
|
+
if (value === "transparent") {
|
|
1951
|
+
return {
|
|
1952
|
+
mode: "rgb",
|
|
1953
|
+
color: [
|
|
1954
|
+
"0",
|
|
1955
|
+
"0",
|
|
1956
|
+
"0"
|
|
1957
|
+
],
|
|
1958
|
+
alpha: "0"
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
if (value in _colorNames.default) {
|
|
1962
|
+
return {
|
|
1963
|
+
mode: "rgb",
|
|
1964
|
+
color: _colorNames.default[value].map((v) => v.toString())
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
let hex = value.replace(SHORT_HEX, (_, r, g, b, a) => [
|
|
1968
|
+
"#",
|
|
1969
|
+
r,
|
|
1970
|
+
r,
|
|
1971
|
+
g,
|
|
1972
|
+
g,
|
|
1973
|
+
b,
|
|
1974
|
+
b,
|
|
1975
|
+
a ? a + a : ""
|
|
1976
|
+
].join("")).match(HEX);
|
|
1977
|
+
if (hex !== null) {
|
|
1978
|
+
return {
|
|
1979
|
+
mode: "rgb",
|
|
1980
|
+
color: [
|
|
1981
|
+
parseInt(hex[1], 16),
|
|
1982
|
+
parseInt(hex[2], 16),
|
|
1983
|
+
parseInt(hex[3], 16)
|
|
1984
|
+
].map((v) => v.toString()),
|
|
1985
|
+
alpha: hex[4] ? (parseInt(hex[4], 16) / 255).toString() : void 0
|
|
1986
|
+
};
|
|
1987
|
+
}
|
|
1988
|
+
var _value_match;
|
|
1989
|
+
let match = (_value_match = value.match(RGB)) !== null && _value_match !== void 0 ? _value_match : value.match(HSL);
|
|
1990
|
+
if (match === null) {
|
|
1991
|
+
return null;
|
|
1992
|
+
}
|
|
1993
|
+
let color2 = [
|
|
1994
|
+
match[2],
|
|
1995
|
+
match[3],
|
|
1996
|
+
match[4]
|
|
1997
|
+
].filter(Boolean).map((v) => v.toString());
|
|
1998
|
+
if (color2.length === 2 && color2[0].startsWith("var(")) {
|
|
1999
|
+
return {
|
|
2000
|
+
mode: match[1],
|
|
2001
|
+
color: [
|
|
2002
|
+
color2[0]
|
|
2003
|
+
],
|
|
2004
|
+
alpha: color2[1]
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
if (!loose && color2.length !== 3) {
|
|
2008
|
+
return null;
|
|
2009
|
+
}
|
|
2010
|
+
if (color2.length < 3 && !color2.some((part) => /^var\(.*?\)$/.test(part))) {
|
|
2011
|
+
return null;
|
|
2012
|
+
}
|
|
2013
|
+
return {
|
|
2014
|
+
mode: match[1],
|
|
2015
|
+
color: color2,
|
|
2016
|
+
alpha: (_match_ = match[5]) === null || _match_ === void 0 ? void 0 : (_match__toString = _match_.toString) === null || _match__toString === void 0 ? void 0 : _match__toString.call(_match_)
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
function formatColor({ mode, color: color2, alpha }) {
|
|
2020
|
+
let hasAlpha = alpha !== void 0;
|
|
2021
|
+
if (mode === "rgba" || mode === "hsla") {
|
|
2022
|
+
return `${mode}(${color2.join(", ")}${hasAlpha ? `, ${alpha}` : ""})`;
|
|
2023
|
+
}
|
|
2024
|
+
return `${mode}(${color2.join(" ")}${hasAlpha ? ` / ${alpha}` : ""})`;
|
|
2025
|
+
}
|
|
2026
|
+
})(color);
|
|
2027
|
+
(function(exports2) {
|
|
2028
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2029
|
+
value: true
|
|
2030
|
+
});
|
|
2031
|
+
function _export(target, all) {
|
|
2032
|
+
for (var name in all)
|
|
2033
|
+
Object.defineProperty(target, name, {
|
|
2034
|
+
enumerable: true,
|
|
2035
|
+
get: all[name]
|
|
2036
|
+
});
|
|
2037
|
+
}
|
|
2038
|
+
_export(exports2, {
|
|
2039
|
+
withAlphaValue: function() {
|
|
2040
|
+
return withAlphaValue;
|
|
2041
|
+
},
|
|
2042
|
+
default: function() {
|
|
2043
|
+
return withAlphaVariable2;
|
|
2044
|
+
}
|
|
2045
|
+
});
|
|
2046
|
+
const _color = color;
|
|
2047
|
+
function withAlphaValue(color2, alphaValue, defaultValue) {
|
|
2048
|
+
if (typeof color2 === "function") {
|
|
2049
|
+
return color2({
|
|
2050
|
+
opacityValue: alphaValue
|
|
2051
|
+
});
|
|
2052
|
+
}
|
|
2053
|
+
let parsed = (0, _color.parseColor)(color2, {
|
|
2054
|
+
loose: true
|
|
2055
|
+
});
|
|
2056
|
+
if (parsed === null) {
|
|
2057
|
+
return defaultValue;
|
|
2058
|
+
}
|
|
2059
|
+
return (0, _color.formatColor)({
|
|
2060
|
+
...parsed,
|
|
2061
|
+
alpha: alphaValue
|
|
2062
|
+
});
|
|
2063
|
+
}
|
|
2064
|
+
function withAlphaVariable2({ color: color2, property, variable }) {
|
|
2065
|
+
let properties = [].concat(property);
|
|
2066
|
+
if (typeof color2 === "function") {
|
|
2067
|
+
return {
|
|
2068
|
+
[variable]: "1",
|
|
2069
|
+
...Object.fromEntries(properties.map((p) => {
|
|
2070
|
+
return [
|
|
2071
|
+
p,
|
|
2072
|
+
color2({
|
|
2073
|
+
opacityVariable: variable,
|
|
2074
|
+
opacityValue: `var(${variable})`
|
|
2075
|
+
})
|
|
2076
|
+
];
|
|
2077
|
+
}))
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
const parsed = (0, _color.parseColor)(color2);
|
|
2081
|
+
if (parsed === null) {
|
|
2082
|
+
return Object.fromEntries(properties.map((p) => [
|
|
2083
|
+
p,
|
|
2084
|
+
color2
|
|
2085
|
+
]));
|
|
2086
|
+
}
|
|
2087
|
+
if (parsed.alpha !== void 0) {
|
|
2088
|
+
return Object.fromEntries(properties.map((p) => [
|
|
2089
|
+
p,
|
|
2090
|
+
color2
|
|
2091
|
+
]));
|
|
2092
|
+
}
|
|
2093
|
+
return {
|
|
2094
|
+
[variable]: "1",
|
|
2095
|
+
...Object.fromEntries(properties.map((p) => {
|
|
2096
|
+
return [
|
|
2097
|
+
p,
|
|
2098
|
+
(0, _color.formatColor)({
|
|
2099
|
+
...parsed,
|
|
2100
|
+
alpha: `var(${variable})`
|
|
2101
|
+
})
|
|
2102
|
+
];
|
|
2103
|
+
}))
|
|
2104
|
+
};
|
|
2105
|
+
}
|
|
2106
|
+
})(withAlphaVariable);
|
|
2107
|
+
var dataTypes = {};
|
|
2108
|
+
var parseBoxShadowValue = {};
|
|
2109
|
+
var splitAtTopLevelOnly = {};
|
|
2110
|
+
(function(exports2) {
|
|
2111
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2112
|
+
value: true
|
|
2113
|
+
});
|
|
2114
|
+
Object.defineProperty(exports2, "splitAtTopLevelOnly", {
|
|
2115
|
+
enumerable: true,
|
|
2116
|
+
get: function() {
|
|
2117
|
+
return splitAtTopLevelOnly2;
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2120
|
+
function splitAtTopLevelOnly2(input, separator) {
|
|
2121
|
+
let stack = [];
|
|
2122
|
+
let parts = [];
|
|
2123
|
+
let lastPos = 0;
|
|
2124
|
+
let isEscaped = false;
|
|
2125
|
+
for (let idx = 0; idx < input.length; idx++) {
|
|
2126
|
+
let char = input[idx];
|
|
2127
|
+
if (stack.length === 0 && char === separator[0] && !isEscaped) {
|
|
2128
|
+
if (separator.length === 1 || input.slice(idx, idx + separator.length) === separator) {
|
|
2129
|
+
parts.push(input.slice(lastPos, idx));
|
|
2130
|
+
lastPos = idx + separator.length;
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
if (isEscaped) {
|
|
2134
|
+
isEscaped = false;
|
|
2135
|
+
} else if (char === "\\") {
|
|
2136
|
+
isEscaped = true;
|
|
2137
|
+
}
|
|
2138
|
+
if (char === "(" || char === "[" || char === "{") {
|
|
2139
|
+
stack.push(char);
|
|
2140
|
+
} else if (char === ")" && stack[stack.length - 1] === "(" || char === "]" && stack[stack.length - 1] === "[" || char === "}" && stack[stack.length - 1] === "{") {
|
|
2141
|
+
stack.pop();
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
parts.push(input.slice(lastPos));
|
|
2145
|
+
return parts;
|
|
2146
|
+
}
|
|
2147
|
+
})(splitAtTopLevelOnly);
|
|
2148
|
+
(function(exports2) {
|
|
2149
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2150
|
+
value: true
|
|
2151
|
+
});
|
|
2152
|
+
function _export(target, all) {
|
|
2153
|
+
for (var name in all)
|
|
2154
|
+
Object.defineProperty(target, name, {
|
|
2155
|
+
enumerable: true,
|
|
2156
|
+
get: all[name]
|
|
2157
|
+
});
|
|
2158
|
+
}
|
|
2159
|
+
_export(exports2, {
|
|
2160
|
+
parseBoxShadowValue: function() {
|
|
2161
|
+
return parseBoxShadowValue2;
|
|
2162
|
+
},
|
|
2163
|
+
formatBoxShadowValue: function() {
|
|
2164
|
+
return formatBoxShadowValue;
|
|
2165
|
+
}
|
|
2166
|
+
});
|
|
2167
|
+
const _splitAtTopLevelOnly = splitAtTopLevelOnly;
|
|
2168
|
+
let KEYWORDS = /* @__PURE__ */ new Set([
|
|
2169
|
+
"inset",
|
|
2170
|
+
"inherit",
|
|
2171
|
+
"initial",
|
|
2172
|
+
"revert",
|
|
2173
|
+
"unset"
|
|
2174
|
+
]);
|
|
2175
|
+
let SPACE = /\ +(?![^(]*\))/g;
|
|
2176
|
+
let LENGTH = /^-?(\d+|\.\d+)(.*?)$/g;
|
|
2177
|
+
function parseBoxShadowValue2(input) {
|
|
2178
|
+
let shadows = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(input, ",");
|
|
2179
|
+
return shadows.map((shadow) => {
|
|
2180
|
+
let value = shadow.trim();
|
|
2181
|
+
let result = {
|
|
2182
|
+
raw: value
|
|
2183
|
+
};
|
|
2184
|
+
let parts = value.split(SPACE);
|
|
2185
|
+
let seen = /* @__PURE__ */ new Set();
|
|
2186
|
+
for (let part of parts) {
|
|
2187
|
+
LENGTH.lastIndex = 0;
|
|
2188
|
+
if (!seen.has("KEYWORD") && KEYWORDS.has(part)) {
|
|
2189
|
+
result.keyword = part;
|
|
2190
|
+
seen.add("KEYWORD");
|
|
2191
|
+
} else if (LENGTH.test(part)) {
|
|
2192
|
+
if (!seen.has("X")) {
|
|
2193
|
+
result.x = part;
|
|
2194
|
+
seen.add("X");
|
|
2195
|
+
} else if (!seen.has("Y")) {
|
|
2196
|
+
result.y = part;
|
|
2197
|
+
seen.add("Y");
|
|
2198
|
+
} else if (!seen.has("BLUR")) {
|
|
2199
|
+
result.blur = part;
|
|
2200
|
+
seen.add("BLUR");
|
|
2201
|
+
} else if (!seen.has("SPREAD")) {
|
|
2202
|
+
result.spread = part;
|
|
2203
|
+
seen.add("SPREAD");
|
|
2204
|
+
}
|
|
2205
|
+
} else {
|
|
2206
|
+
if (!result.color) {
|
|
2207
|
+
result.color = part;
|
|
2208
|
+
} else {
|
|
2209
|
+
if (!result.unknown)
|
|
2210
|
+
result.unknown = [];
|
|
2211
|
+
result.unknown.push(part);
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
result.valid = result.x !== void 0 && result.y !== void 0;
|
|
2216
|
+
return result;
|
|
2217
|
+
});
|
|
2218
|
+
}
|
|
2219
|
+
function formatBoxShadowValue(shadows) {
|
|
2220
|
+
return shadows.map((shadow) => {
|
|
2221
|
+
if (!shadow.valid) {
|
|
2222
|
+
return shadow.raw;
|
|
2223
|
+
}
|
|
2224
|
+
return [
|
|
2225
|
+
shadow.keyword,
|
|
2226
|
+
shadow.x,
|
|
2227
|
+
shadow.y,
|
|
2228
|
+
shadow.blur,
|
|
2229
|
+
shadow.spread,
|
|
2230
|
+
shadow.color
|
|
2231
|
+
].filter(Boolean).join(" ");
|
|
2232
|
+
}).join(", ");
|
|
2233
|
+
}
|
|
2234
|
+
})(parseBoxShadowValue);
|
|
2235
|
+
(function(exports2) {
|
|
2236
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2237
|
+
value: true
|
|
2238
|
+
});
|
|
2239
|
+
function _export(target, all) {
|
|
2240
|
+
for (var name in all)
|
|
2241
|
+
Object.defineProperty(target, name, {
|
|
2242
|
+
enumerable: true,
|
|
2243
|
+
get: all[name]
|
|
2244
|
+
});
|
|
2245
|
+
}
|
|
2246
|
+
_export(exports2, {
|
|
2247
|
+
normalize: function() {
|
|
2248
|
+
return normalize;
|
|
2249
|
+
},
|
|
2250
|
+
url: function() {
|
|
2251
|
+
return url;
|
|
2252
|
+
},
|
|
2253
|
+
number: function() {
|
|
2254
|
+
return number;
|
|
2255
|
+
},
|
|
2256
|
+
percentage: function() {
|
|
2257
|
+
return percentage;
|
|
2258
|
+
},
|
|
2259
|
+
length: function() {
|
|
2260
|
+
return length;
|
|
2261
|
+
},
|
|
2262
|
+
lineWidth: function() {
|
|
2263
|
+
return lineWidth;
|
|
2264
|
+
},
|
|
2265
|
+
shadow: function() {
|
|
2266
|
+
return shadow;
|
|
2267
|
+
},
|
|
2268
|
+
color: function() {
|
|
2269
|
+
return color$1;
|
|
2270
|
+
},
|
|
2271
|
+
image: function() {
|
|
2272
|
+
return image;
|
|
2273
|
+
},
|
|
2274
|
+
gradient: function() {
|
|
2275
|
+
return gradient;
|
|
2276
|
+
},
|
|
2277
|
+
position: function() {
|
|
2278
|
+
return position;
|
|
2279
|
+
},
|
|
2280
|
+
familyName: function() {
|
|
2281
|
+
return familyName;
|
|
2282
|
+
},
|
|
2283
|
+
genericName: function() {
|
|
2284
|
+
return genericName;
|
|
2285
|
+
},
|
|
2286
|
+
absoluteSize: function() {
|
|
2287
|
+
return absoluteSize;
|
|
2288
|
+
},
|
|
2289
|
+
relativeSize: function() {
|
|
2290
|
+
return relativeSize;
|
|
2291
|
+
}
|
|
2292
|
+
});
|
|
2293
|
+
const _color = color;
|
|
2294
|
+
const _parseBoxShadowValue = parseBoxShadowValue;
|
|
2295
|
+
const _splitAtTopLevelOnly = splitAtTopLevelOnly;
|
|
2296
|
+
let cssFunctions = [
|
|
2297
|
+
"min",
|
|
2298
|
+
"max",
|
|
2299
|
+
"clamp",
|
|
2300
|
+
"calc"
|
|
2301
|
+
];
|
|
2302
|
+
function isCSSFunction(value) {
|
|
2303
|
+
return cssFunctions.some((fn) => new RegExp(`^${fn}\\(.*\\)`).test(value));
|
|
2304
|
+
}
|
|
2305
|
+
const AUTO_VAR_INJECTION_EXCEPTIONS = /* @__PURE__ */ new Set([
|
|
2306
|
+
// Concrete properties
|
|
2307
|
+
"scroll-timeline-name",
|
|
2308
|
+
"timeline-scope",
|
|
2309
|
+
"view-timeline-name",
|
|
2310
|
+
"font-palette",
|
|
2311
|
+
// Shorthand properties
|
|
2312
|
+
"scroll-timeline",
|
|
2313
|
+
"animation-timeline",
|
|
2314
|
+
"view-timeline"
|
|
2315
|
+
]);
|
|
2316
|
+
function normalize(value, context = null, isRoot = true) {
|
|
2317
|
+
let isVarException = context && AUTO_VAR_INJECTION_EXCEPTIONS.has(context.property);
|
|
2318
|
+
if (value.startsWith("--") && !isVarException) {
|
|
2319
|
+
return `var(${value})`;
|
|
2320
|
+
}
|
|
2321
|
+
if (value.includes("url(")) {
|
|
2322
|
+
return value.split(/(url\(.*?\))/g).filter(Boolean).map((part) => {
|
|
2323
|
+
if (/^url\(.*?\)$/.test(part)) {
|
|
2324
|
+
return part;
|
|
2325
|
+
}
|
|
2326
|
+
return normalize(part, context, false);
|
|
2327
|
+
}).join("");
|
|
2328
|
+
}
|
|
2329
|
+
value = value.replace(/([^\\])_+/g, (fullMatch, characterBefore) => characterBefore + " ".repeat(fullMatch.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_");
|
|
2330
|
+
if (isRoot) {
|
|
2331
|
+
value = value.trim();
|
|
2332
|
+
}
|
|
2333
|
+
value = normalizeMathOperatorSpacing(value);
|
|
2334
|
+
return value;
|
|
2335
|
+
}
|
|
2336
|
+
function normalizeMathOperatorSpacing(value) {
|
|
2337
|
+
let preventFormattingInFunctions = [
|
|
2338
|
+
"theme"
|
|
2339
|
+
];
|
|
2340
|
+
let preventFormattingKeywords = [
|
|
2341
|
+
"min-content",
|
|
2342
|
+
"max-content",
|
|
2343
|
+
"fit-content",
|
|
2344
|
+
// Env
|
|
2345
|
+
"safe-area-inset-top",
|
|
2346
|
+
"safe-area-inset-right",
|
|
2347
|
+
"safe-area-inset-bottom",
|
|
2348
|
+
"safe-area-inset-left",
|
|
2349
|
+
"titlebar-area-x",
|
|
2350
|
+
"titlebar-area-y",
|
|
2351
|
+
"titlebar-area-width",
|
|
2352
|
+
"titlebar-area-height",
|
|
2353
|
+
"keyboard-inset-top",
|
|
2354
|
+
"keyboard-inset-right",
|
|
2355
|
+
"keyboard-inset-bottom",
|
|
2356
|
+
"keyboard-inset-left",
|
|
2357
|
+
"keyboard-inset-width",
|
|
2358
|
+
"keyboard-inset-height",
|
|
2359
|
+
"radial-gradient",
|
|
2360
|
+
"linear-gradient",
|
|
2361
|
+
"conic-gradient",
|
|
2362
|
+
"repeating-radial-gradient",
|
|
2363
|
+
"repeating-linear-gradient",
|
|
2364
|
+
"repeating-conic-gradient"
|
|
2365
|
+
];
|
|
2366
|
+
return value.replace(/(calc|min|max|clamp)\(.+\)/g, (match) => {
|
|
2367
|
+
let result = "";
|
|
2368
|
+
function lastChar() {
|
|
2369
|
+
let char = result.trimEnd();
|
|
2370
|
+
return char[char.length - 1];
|
|
2371
|
+
}
|
|
2372
|
+
for (let i = 0; i < match.length; i++) {
|
|
2373
|
+
let peek = function(word) {
|
|
2374
|
+
return word.split("").every((char2, j) => match[i + j] === char2);
|
|
2375
|
+
}, consumeUntil = function(chars) {
|
|
2376
|
+
let minIndex = Infinity;
|
|
2377
|
+
for (let char2 of chars) {
|
|
2378
|
+
let index = match.indexOf(char2, i);
|
|
2379
|
+
if (index !== -1 && index < minIndex) {
|
|
2380
|
+
minIndex = index;
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
let result2 = match.slice(i, minIndex);
|
|
2384
|
+
i += result2.length - 1;
|
|
2385
|
+
return result2;
|
|
2386
|
+
};
|
|
2387
|
+
let char = match[i];
|
|
2388
|
+
if (peek("var")) {
|
|
2389
|
+
result += consumeUntil([
|
|
2390
|
+
")",
|
|
2391
|
+
","
|
|
2392
|
+
]);
|
|
2393
|
+
} else if (preventFormattingKeywords.some((keyword) => peek(keyword))) {
|
|
2394
|
+
let keyword = preventFormattingKeywords.find((keyword2) => peek(keyword2));
|
|
2395
|
+
result += keyword;
|
|
2396
|
+
i += keyword.length - 1;
|
|
2397
|
+
} else if (preventFormattingInFunctions.some((fn) => peek(fn))) {
|
|
2398
|
+
result += consumeUntil([
|
|
2399
|
+
")"
|
|
2400
|
+
]);
|
|
2401
|
+
} else if (peek("[")) {
|
|
2402
|
+
result += consumeUntil([
|
|
2403
|
+
"]"
|
|
2404
|
+
]);
|
|
2405
|
+
} else if ([
|
|
2406
|
+
"+",
|
|
2407
|
+
"-",
|
|
2408
|
+
"*",
|
|
2409
|
+
"/"
|
|
2410
|
+
].includes(char) && ![
|
|
2411
|
+
"(",
|
|
2412
|
+
"+",
|
|
2413
|
+
"-",
|
|
2414
|
+
"*",
|
|
2415
|
+
"/",
|
|
2416
|
+
","
|
|
2417
|
+
].includes(lastChar())) {
|
|
2418
|
+
result += ` ${char} `;
|
|
2419
|
+
} else {
|
|
2420
|
+
result += char;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
return result.replace(/\s+/g, " ");
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
function url(value) {
|
|
2427
|
+
return value.startsWith("url(");
|
|
2428
|
+
}
|
|
2429
|
+
function number(value) {
|
|
2430
|
+
return !isNaN(Number(value)) || isCSSFunction(value);
|
|
2431
|
+
}
|
|
2432
|
+
function percentage(value) {
|
|
2433
|
+
return value.endsWith("%") && number(value.slice(0, -1)) || isCSSFunction(value);
|
|
2434
|
+
}
|
|
2435
|
+
let lengthUnits = [
|
|
2436
|
+
"cm",
|
|
2437
|
+
"mm",
|
|
2438
|
+
"Q",
|
|
2439
|
+
"in",
|
|
2440
|
+
"pc",
|
|
2441
|
+
"pt",
|
|
2442
|
+
"px",
|
|
2443
|
+
"em",
|
|
2444
|
+
"ex",
|
|
2445
|
+
"ch",
|
|
2446
|
+
"rem",
|
|
2447
|
+
"lh",
|
|
2448
|
+
"rlh",
|
|
2449
|
+
"vw",
|
|
2450
|
+
"vh",
|
|
2451
|
+
"vmin",
|
|
2452
|
+
"vmax",
|
|
2453
|
+
"vb",
|
|
2454
|
+
"vi",
|
|
2455
|
+
"svw",
|
|
2456
|
+
"svh",
|
|
2457
|
+
"lvw",
|
|
2458
|
+
"lvh",
|
|
2459
|
+
"dvw",
|
|
2460
|
+
"dvh",
|
|
2461
|
+
"cqw",
|
|
2462
|
+
"cqh",
|
|
2463
|
+
"cqi",
|
|
2464
|
+
"cqb",
|
|
2465
|
+
"cqmin",
|
|
2466
|
+
"cqmax"
|
|
2467
|
+
];
|
|
2468
|
+
let lengthUnitsPattern = `(?:${lengthUnits.join("|")})`;
|
|
2469
|
+
function length(value) {
|
|
2470
|
+
return value === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${lengthUnitsPattern}$`).test(value) || isCSSFunction(value);
|
|
2471
|
+
}
|
|
2472
|
+
let lineWidths = /* @__PURE__ */ new Set([
|
|
2473
|
+
"thin",
|
|
2474
|
+
"medium",
|
|
2475
|
+
"thick"
|
|
2476
|
+
]);
|
|
2477
|
+
function lineWidth(value) {
|
|
2478
|
+
return lineWidths.has(value);
|
|
2479
|
+
}
|
|
2480
|
+
function shadow(value) {
|
|
2481
|
+
let parsedShadows = (0, _parseBoxShadowValue.parseBoxShadowValue)(normalize(value));
|
|
2482
|
+
for (let parsedShadow of parsedShadows) {
|
|
2483
|
+
if (!parsedShadow.valid) {
|
|
2484
|
+
return false;
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
return true;
|
|
2488
|
+
}
|
|
2489
|
+
function color$1(value) {
|
|
2490
|
+
let colors2 = 0;
|
|
2491
|
+
let result = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(value, "_").every((part) => {
|
|
2492
|
+
part = normalize(part);
|
|
2493
|
+
if (part.startsWith("var("))
|
|
2494
|
+
return true;
|
|
2495
|
+
if ((0, _color.parseColor)(part, {
|
|
2496
|
+
loose: true
|
|
2497
|
+
}) !== null)
|
|
2498
|
+
return colors2++, true;
|
|
2499
|
+
return false;
|
|
2500
|
+
});
|
|
2501
|
+
if (!result)
|
|
2502
|
+
return false;
|
|
2503
|
+
return colors2 > 0;
|
|
2504
|
+
}
|
|
2505
|
+
function image(value) {
|
|
2506
|
+
let images = 0;
|
|
2507
|
+
let result = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(value, ",").every((part) => {
|
|
2508
|
+
part = normalize(part);
|
|
2509
|
+
if (part.startsWith("var("))
|
|
2510
|
+
return true;
|
|
2511
|
+
if (url(part) || gradient(part) || [
|
|
2512
|
+
"element(",
|
|
2513
|
+
"image(",
|
|
2514
|
+
"cross-fade(",
|
|
2515
|
+
"image-set("
|
|
2516
|
+
].some((fn) => part.startsWith(fn))) {
|
|
2517
|
+
images++;
|
|
2518
|
+
return true;
|
|
2519
|
+
}
|
|
2520
|
+
return false;
|
|
2521
|
+
});
|
|
2522
|
+
if (!result)
|
|
2523
|
+
return false;
|
|
2524
|
+
return images > 0;
|
|
2525
|
+
}
|
|
2526
|
+
let gradientTypes = /* @__PURE__ */ new Set([
|
|
2527
|
+
"conic-gradient",
|
|
2528
|
+
"linear-gradient",
|
|
2529
|
+
"radial-gradient",
|
|
2530
|
+
"repeating-conic-gradient",
|
|
2531
|
+
"repeating-linear-gradient",
|
|
2532
|
+
"repeating-radial-gradient"
|
|
2533
|
+
]);
|
|
2534
|
+
function gradient(value) {
|
|
2535
|
+
value = normalize(value);
|
|
2536
|
+
for (let type of gradientTypes) {
|
|
2537
|
+
if (value.startsWith(`${type}(`)) {
|
|
2538
|
+
return true;
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
return false;
|
|
2542
|
+
}
|
|
2543
|
+
let validPositions = /* @__PURE__ */ new Set([
|
|
2544
|
+
"center",
|
|
2545
|
+
"top",
|
|
2546
|
+
"right",
|
|
2547
|
+
"bottom",
|
|
2548
|
+
"left"
|
|
2549
|
+
]);
|
|
2550
|
+
function position(value) {
|
|
2551
|
+
let positions = 0;
|
|
2552
|
+
let result = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(value, "_").every((part) => {
|
|
2553
|
+
part = normalize(part);
|
|
2554
|
+
if (part.startsWith("var("))
|
|
2555
|
+
return true;
|
|
2556
|
+
if (validPositions.has(part) || length(part) || percentage(part)) {
|
|
2557
|
+
positions++;
|
|
2558
|
+
return true;
|
|
2559
|
+
}
|
|
2560
|
+
return false;
|
|
2561
|
+
});
|
|
2562
|
+
if (!result)
|
|
2563
|
+
return false;
|
|
2564
|
+
return positions > 0;
|
|
2565
|
+
}
|
|
2566
|
+
function familyName(value) {
|
|
2567
|
+
let fonts = 0;
|
|
2568
|
+
let result = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(value, ",").every((part) => {
|
|
2569
|
+
part = normalize(part);
|
|
2570
|
+
if (part.startsWith("var("))
|
|
2571
|
+
return true;
|
|
2572
|
+
if (part.includes(" ")) {
|
|
2573
|
+
if (!/(['"])([^"']+)\1/g.test(part)) {
|
|
2574
|
+
return false;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
if (/^\d/g.test(part)) {
|
|
2578
|
+
return false;
|
|
2579
|
+
}
|
|
2580
|
+
fonts++;
|
|
2581
|
+
return true;
|
|
2582
|
+
});
|
|
2583
|
+
if (!result)
|
|
2584
|
+
return false;
|
|
2585
|
+
return fonts > 0;
|
|
2586
|
+
}
|
|
2587
|
+
let genericNames = /* @__PURE__ */ new Set([
|
|
2588
|
+
"serif",
|
|
2589
|
+
"sans-serif",
|
|
2590
|
+
"monospace",
|
|
2591
|
+
"cursive",
|
|
2592
|
+
"fantasy",
|
|
2593
|
+
"system-ui",
|
|
2594
|
+
"ui-serif",
|
|
2595
|
+
"ui-sans-serif",
|
|
2596
|
+
"ui-monospace",
|
|
2597
|
+
"ui-rounded",
|
|
2598
|
+
"math",
|
|
2599
|
+
"emoji",
|
|
2600
|
+
"fangsong"
|
|
2601
|
+
]);
|
|
2602
|
+
function genericName(value) {
|
|
2603
|
+
return genericNames.has(value);
|
|
2604
|
+
}
|
|
2605
|
+
let absoluteSizes = /* @__PURE__ */ new Set([
|
|
2606
|
+
"xx-small",
|
|
2607
|
+
"x-small",
|
|
2608
|
+
"small",
|
|
2609
|
+
"medium",
|
|
2610
|
+
"large",
|
|
2611
|
+
"x-large",
|
|
2612
|
+
"xx-large",
|
|
2613
|
+
"xxx-large"
|
|
2614
|
+
]);
|
|
2615
|
+
function absoluteSize(value) {
|
|
2616
|
+
return absoluteSizes.has(value);
|
|
2617
|
+
}
|
|
2618
|
+
let relativeSizes = /* @__PURE__ */ new Set([
|
|
2619
|
+
"larger",
|
|
2620
|
+
"smaller"
|
|
2621
|
+
]);
|
|
2622
|
+
function relativeSize(value) {
|
|
2623
|
+
return relativeSizes.has(value);
|
|
2624
|
+
}
|
|
2625
|
+
})(dataTypes);
|
|
2626
|
+
var validateFormalSyntax = {};
|
|
2627
|
+
(function(exports2) {
|
|
2628
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2629
|
+
value: true
|
|
2630
|
+
});
|
|
2631
|
+
Object.defineProperty(exports2, "backgroundSize", {
|
|
2632
|
+
enumerable: true,
|
|
2633
|
+
get: function() {
|
|
2634
|
+
return backgroundSize;
|
|
2635
|
+
}
|
|
2636
|
+
});
|
|
2637
|
+
const _dataTypes = dataTypes;
|
|
2638
|
+
const _splitAtTopLevelOnly = splitAtTopLevelOnly;
|
|
2639
|
+
function backgroundSize(value) {
|
|
2640
|
+
let keywordValues = [
|
|
2641
|
+
"cover",
|
|
2642
|
+
"contain"
|
|
2643
|
+
];
|
|
2644
|
+
return (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(value, ",").every((part) => {
|
|
2645
|
+
let sizes = (0, _splitAtTopLevelOnly.splitAtTopLevelOnly)(part, "_").filter(Boolean);
|
|
2646
|
+
if (sizes.length === 1 && keywordValues.includes(sizes[0]))
|
|
2647
|
+
return true;
|
|
2648
|
+
if (sizes.length !== 1 && sizes.length !== 2)
|
|
2649
|
+
return false;
|
|
2650
|
+
return sizes.every((size) => (0, _dataTypes.length)(size) || (0, _dataTypes.percentage)(size) || size === "auto");
|
|
2651
|
+
});
|
|
2652
|
+
}
|
|
2653
|
+
})(validateFormalSyntax);
|
|
2654
|
+
(function(exports2) {
|
|
2655
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2656
|
+
value: true
|
|
2657
|
+
});
|
|
2658
|
+
function _export(target, all) {
|
|
2659
|
+
for (var name in all)
|
|
2660
|
+
Object.defineProperty(target, name, {
|
|
2661
|
+
enumerable: true,
|
|
2662
|
+
get: all[name]
|
|
2663
|
+
});
|
|
2664
|
+
}
|
|
2665
|
+
_export(exports2, {
|
|
2666
|
+
updateAllClasses: function() {
|
|
2667
|
+
return updateAllClasses;
|
|
2668
|
+
},
|
|
2669
|
+
asValue: function() {
|
|
2670
|
+
return asValue;
|
|
2671
|
+
},
|
|
2672
|
+
parseColorFormat: function() {
|
|
2673
|
+
return parseColorFormat;
|
|
2674
|
+
},
|
|
2675
|
+
asColor: function() {
|
|
2676
|
+
return asColor;
|
|
2677
|
+
},
|
|
2678
|
+
asLookupValue: function() {
|
|
2679
|
+
return asLookupValue;
|
|
2680
|
+
},
|
|
2681
|
+
typeMap: function() {
|
|
2682
|
+
return typeMap;
|
|
2683
|
+
},
|
|
2684
|
+
coerceValue: function() {
|
|
2685
|
+
return coerceValue;
|
|
2686
|
+
},
|
|
2687
|
+
getMatchingTypes: function() {
|
|
2688
|
+
return getMatchingTypes;
|
|
2689
|
+
}
|
|
2690
|
+
});
|
|
2691
|
+
const _escapeCommas = /* @__PURE__ */ _interop_require_default(escapeCommas);
|
|
2692
|
+
const _withAlphaVariable = withAlphaVariable;
|
|
2693
|
+
const _dataTypes = dataTypes;
|
|
2694
|
+
const _negateValue = /* @__PURE__ */ _interop_require_default(negateValue);
|
|
2695
|
+
const _validateFormalSyntax = validateFormalSyntax;
|
|
2696
|
+
const _featureFlags = featureFlags;
|
|
2697
|
+
function _interop_require_default(obj) {
|
|
2698
|
+
return obj && obj.__esModule ? obj : {
|
|
2699
|
+
default: obj
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
function updateAllClasses(selectors, updateClass) {
|
|
2703
|
+
selectors.walkClasses((sel) => {
|
|
2704
|
+
sel.value = updateClass(sel.value);
|
|
2705
|
+
if (sel.raws && sel.raws.value) {
|
|
2706
|
+
sel.raws.value = (0, _escapeCommas.default)(sel.raws.value);
|
|
2707
|
+
}
|
|
2708
|
+
});
|
|
2709
|
+
}
|
|
2710
|
+
function resolveArbitraryValue(modifier, validate) {
|
|
2711
|
+
if (!isArbitraryValue(modifier)) {
|
|
2712
|
+
return void 0;
|
|
2713
|
+
}
|
|
2714
|
+
let value = modifier.slice(1, -1);
|
|
2715
|
+
if (!validate(value)) {
|
|
2716
|
+
return void 0;
|
|
2717
|
+
}
|
|
2718
|
+
return (0, _dataTypes.normalize)(value);
|
|
2719
|
+
}
|
|
2720
|
+
function asNegativeValue(modifier, lookup = {}, validate) {
|
|
2721
|
+
let positiveValue = lookup[modifier];
|
|
2722
|
+
if (positiveValue !== void 0) {
|
|
2723
|
+
return (0, _negateValue.default)(positiveValue);
|
|
2724
|
+
}
|
|
2725
|
+
if (isArbitraryValue(modifier)) {
|
|
2726
|
+
let resolved = resolveArbitraryValue(modifier, validate);
|
|
2727
|
+
if (resolved === void 0) {
|
|
2728
|
+
return void 0;
|
|
2729
|
+
}
|
|
2730
|
+
return (0, _negateValue.default)(resolved);
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
function asValue(modifier, options = {}, { validate = () => true } = {}) {
|
|
2734
|
+
var _options_values;
|
|
2735
|
+
let value = (_options_values = options.values) === null || _options_values === void 0 ? void 0 : _options_values[modifier];
|
|
2736
|
+
if (value !== void 0) {
|
|
2737
|
+
return value;
|
|
2738
|
+
}
|
|
2739
|
+
if (options.supportsNegativeValues && modifier.startsWith("-")) {
|
|
2740
|
+
return asNegativeValue(modifier.slice(1), options.values, validate);
|
|
2741
|
+
}
|
|
2742
|
+
return resolveArbitraryValue(modifier, validate);
|
|
2743
|
+
}
|
|
2744
|
+
function isArbitraryValue(input) {
|
|
2745
|
+
return input.startsWith("[") && input.endsWith("]");
|
|
2746
|
+
}
|
|
2747
|
+
function splitUtilityModifier(modifier) {
|
|
2748
|
+
let slashIdx = modifier.lastIndexOf("/");
|
|
2749
|
+
let arbitraryStartIdx = modifier.lastIndexOf("[", slashIdx);
|
|
2750
|
+
let arbitraryEndIdx = modifier.indexOf("]", slashIdx);
|
|
2751
|
+
let isNextToArbitrary = modifier[slashIdx - 1] === "]" || modifier[slashIdx + 1] === "[";
|
|
2752
|
+
if (!isNextToArbitrary) {
|
|
2753
|
+
if (arbitraryStartIdx !== -1 && arbitraryEndIdx !== -1) {
|
|
2754
|
+
if (arbitraryStartIdx < slashIdx && slashIdx < arbitraryEndIdx) {
|
|
2755
|
+
slashIdx = modifier.lastIndexOf("/", arbitraryStartIdx);
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
if (slashIdx === -1 || slashIdx === modifier.length - 1) {
|
|
2760
|
+
return [
|
|
2761
|
+
modifier,
|
|
2762
|
+
void 0
|
|
2763
|
+
];
|
|
2764
|
+
}
|
|
2765
|
+
let arbitrary = isArbitraryValue(modifier);
|
|
2766
|
+
if (arbitrary && !modifier.includes("]/[")) {
|
|
2767
|
+
return [
|
|
2768
|
+
modifier,
|
|
2769
|
+
void 0
|
|
2770
|
+
];
|
|
2771
|
+
}
|
|
2772
|
+
return [
|
|
2773
|
+
modifier.slice(0, slashIdx),
|
|
2774
|
+
modifier.slice(slashIdx + 1)
|
|
2775
|
+
];
|
|
2776
|
+
}
|
|
2777
|
+
function parseColorFormat(value) {
|
|
2778
|
+
if (typeof value === "string" && value.includes("<alpha-value>")) {
|
|
2779
|
+
let oldValue = value;
|
|
2780
|
+
return ({ opacityValue = 1 }) => oldValue.replace("<alpha-value>", opacityValue);
|
|
2781
|
+
}
|
|
2782
|
+
return value;
|
|
2783
|
+
}
|
|
2784
|
+
function unwrapArbitraryModifier(modifier) {
|
|
2785
|
+
return (0, _dataTypes.normalize)(modifier.slice(1, -1));
|
|
2786
|
+
}
|
|
2787
|
+
function asColor(modifier, options = {}, { tailwindConfig = {} } = {}) {
|
|
2788
|
+
var _options_values;
|
|
2789
|
+
if (((_options_values = options.values) === null || _options_values === void 0 ? void 0 : _options_values[modifier]) !== void 0) {
|
|
2790
|
+
var _options_values1;
|
|
2791
|
+
return parseColorFormat((_options_values1 = options.values) === null || _options_values1 === void 0 ? void 0 : _options_values1[modifier]);
|
|
2792
|
+
}
|
|
2793
|
+
let [color2, alpha] = splitUtilityModifier(modifier);
|
|
2794
|
+
if (alpha !== void 0) {
|
|
2795
|
+
var _options_values2, _tailwindConfig_theme, _tailwindConfig_theme_opacity;
|
|
2796
|
+
var _options_values_color;
|
|
2797
|
+
let normalizedColor = (_options_values_color = (_options_values2 = options.values) === null || _options_values2 === void 0 ? void 0 : _options_values2[color2]) !== null && _options_values_color !== void 0 ? _options_values_color : isArbitraryValue(color2) ? color2.slice(1, -1) : void 0;
|
|
2798
|
+
if (normalizedColor === void 0) {
|
|
2799
|
+
return void 0;
|
|
2800
|
+
}
|
|
2801
|
+
normalizedColor = parseColorFormat(normalizedColor);
|
|
2802
|
+
if (isArbitraryValue(alpha)) {
|
|
2803
|
+
return (0, _withAlphaVariable.withAlphaValue)(normalizedColor, unwrapArbitraryModifier(alpha));
|
|
2804
|
+
}
|
|
2805
|
+
if (((_tailwindConfig_theme = tailwindConfig.theme) === null || _tailwindConfig_theme === void 0 ? void 0 : (_tailwindConfig_theme_opacity = _tailwindConfig_theme.opacity) === null || _tailwindConfig_theme_opacity === void 0 ? void 0 : _tailwindConfig_theme_opacity[alpha]) === void 0) {
|
|
2806
|
+
return void 0;
|
|
2807
|
+
}
|
|
2808
|
+
return (0, _withAlphaVariable.withAlphaValue)(normalizedColor, tailwindConfig.theme.opacity[alpha]);
|
|
2809
|
+
}
|
|
2810
|
+
return asValue(modifier, options, {
|
|
2811
|
+
validate: _dataTypes.color
|
|
2812
|
+
});
|
|
2813
|
+
}
|
|
2814
|
+
function asLookupValue(modifier, options = {}) {
|
|
2815
|
+
var _options_values;
|
|
2816
|
+
return (_options_values = options.values) === null || _options_values === void 0 ? void 0 : _options_values[modifier];
|
|
2817
|
+
}
|
|
2818
|
+
function guess(validate) {
|
|
2819
|
+
return (modifier, options) => {
|
|
2820
|
+
return asValue(modifier, options, {
|
|
2821
|
+
validate
|
|
2822
|
+
});
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
let typeMap = {
|
|
2826
|
+
any: asValue,
|
|
2827
|
+
color: asColor,
|
|
2828
|
+
url: guess(_dataTypes.url),
|
|
2829
|
+
image: guess(_dataTypes.image),
|
|
2830
|
+
length: guess(_dataTypes.length),
|
|
2831
|
+
percentage: guess(_dataTypes.percentage),
|
|
2832
|
+
position: guess(_dataTypes.position),
|
|
2833
|
+
lookup: asLookupValue,
|
|
2834
|
+
"generic-name": guess(_dataTypes.genericName),
|
|
2835
|
+
"family-name": guess(_dataTypes.familyName),
|
|
2836
|
+
number: guess(_dataTypes.number),
|
|
2837
|
+
"line-width": guess(_dataTypes.lineWidth),
|
|
2838
|
+
"absolute-size": guess(_dataTypes.absoluteSize),
|
|
2839
|
+
"relative-size": guess(_dataTypes.relativeSize),
|
|
2840
|
+
shadow: guess(_dataTypes.shadow),
|
|
2841
|
+
size: guess(_validateFormalSyntax.backgroundSize)
|
|
2842
|
+
};
|
|
2843
|
+
let supportedTypes = Object.keys(typeMap);
|
|
2844
|
+
function splitAtFirst(input, delim) {
|
|
2845
|
+
let idx = input.indexOf(delim);
|
|
2846
|
+
if (idx === -1)
|
|
2847
|
+
return [
|
|
2848
|
+
void 0,
|
|
2849
|
+
input
|
|
2850
|
+
];
|
|
2851
|
+
return [
|
|
2852
|
+
input.slice(0, idx),
|
|
2853
|
+
input.slice(idx + 1)
|
|
2854
|
+
];
|
|
2855
|
+
}
|
|
2856
|
+
function coerceValue(types, modifier, options, tailwindConfig) {
|
|
2857
|
+
if (options.values && modifier in options.values) {
|
|
2858
|
+
for (let { type } of types !== null && types !== void 0 ? types : []) {
|
|
2859
|
+
let result = typeMap[type](modifier, options, {
|
|
2860
|
+
tailwindConfig
|
|
2861
|
+
});
|
|
2862
|
+
if (result === void 0) {
|
|
2863
|
+
continue;
|
|
2864
|
+
}
|
|
2865
|
+
return [
|
|
2866
|
+
result,
|
|
2867
|
+
type,
|
|
2868
|
+
null
|
|
2869
|
+
];
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
if (isArbitraryValue(modifier)) {
|
|
2873
|
+
let arbitraryValue = modifier.slice(1, -1);
|
|
2874
|
+
let [explicitType, value] = splitAtFirst(arbitraryValue, ":");
|
|
2875
|
+
if (!/^[\w-_]+$/g.test(explicitType)) {
|
|
2876
|
+
value = arbitraryValue;
|
|
2877
|
+
} else if (explicitType !== void 0 && !supportedTypes.includes(explicitType)) {
|
|
2878
|
+
return [];
|
|
2879
|
+
}
|
|
2880
|
+
if (value.length > 0 && supportedTypes.includes(explicitType)) {
|
|
2881
|
+
return [
|
|
2882
|
+
asValue(`[${value}]`, options),
|
|
2883
|
+
explicitType,
|
|
2884
|
+
null
|
|
2885
|
+
];
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
let matches = getMatchingTypes(types, modifier, options, tailwindConfig);
|
|
2889
|
+
for (let match of matches) {
|
|
2890
|
+
return match;
|
|
2891
|
+
}
|
|
2892
|
+
return [];
|
|
2893
|
+
}
|
|
2894
|
+
function* getMatchingTypes(types, rawModifier, options, tailwindConfig) {
|
|
2895
|
+
let modifiersEnabled = (0, _featureFlags.flagEnabled)(tailwindConfig, "generalizedModifiers");
|
|
2896
|
+
let [modifier, utilityModifier] = splitUtilityModifier(rawModifier);
|
|
2897
|
+
let canUseUtilityModifier = modifiersEnabled && options.modifiers != null && (options.modifiers === "any" || typeof options.modifiers === "object" && (utilityModifier && isArbitraryValue(utilityModifier) || utilityModifier in options.modifiers));
|
|
2898
|
+
if (!canUseUtilityModifier) {
|
|
2899
|
+
modifier = rawModifier;
|
|
2900
|
+
utilityModifier = void 0;
|
|
2901
|
+
}
|
|
2902
|
+
if (utilityModifier !== void 0 && modifier === "") {
|
|
2903
|
+
modifier = "DEFAULT";
|
|
2904
|
+
}
|
|
2905
|
+
if (utilityModifier !== void 0) {
|
|
2906
|
+
if (typeof options.modifiers === "object") {
|
|
2907
|
+
var _options_modifiers;
|
|
2908
|
+
var _options_modifiers_utilityModifier;
|
|
2909
|
+
let configValue = (_options_modifiers_utilityModifier = (_options_modifiers = options.modifiers) === null || _options_modifiers === void 0 ? void 0 : _options_modifiers[utilityModifier]) !== null && _options_modifiers_utilityModifier !== void 0 ? _options_modifiers_utilityModifier : null;
|
|
2910
|
+
if (configValue !== null) {
|
|
2911
|
+
utilityModifier = configValue;
|
|
2912
|
+
} else if (isArbitraryValue(utilityModifier)) {
|
|
2913
|
+
utilityModifier = unwrapArbitraryModifier(utilityModifier);
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
for (let { type } of types !== null && types !== void 0 ? types : []) {
|
|
2918
|
+
let result = typeMap[type](modifier, options, {
|
|
2919
|
+
tailwindConfig
|
|
2920
|
+
});
|
|
2921
|
+
if (result === void 0) {
|
|
2922
|
+
continue;
|
|
2923
|
+
}
|
|
2924
|
+
yield [
|
|
2925
|
+
result,
|
|
2926
|
+
type,
|
|
2927
|
+
utilityModifier !== null && utilityModifier !== void 0 ? utilityModifier : null
|
|
2928
|
+
];
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
})(pluginUtils);
|
|
2932
|
+
var toColorValue = {};
|
|
2933
|
+
(function(exports2) {
|
|
2934
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2935
|
+
value: true
|
|
2936
|
+
});
|
|
2937
|
+
Object.defineProperty(exports2, "default", {
|
|
2938
|
+
enumerable: true,
|
|
2939
|
+
get: function() {
|
|
2940
|
+
return toColorValue2;
|
|
2941
|
+
}
|
|
2942
|
+
});
|
|
2943
|
+
function toColorValue2(maybeFunction) {
|
|
2944
|
+
return typeof maybeFunction === "function" ? maybeFunction({}) : maybeFunction;
|
|
2945
|
+
}
|
|
2946
|
+
})(toColorValue);
|
|
2947
|
+
(function(exports2) {
|
|
2948
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2949
|
+
value: true
|
|
2950
|
+
});
|
|
2951
|
+
Object.defineProperty(exports2, "default", {
|
|
2952
|
+
enumerable: true,
|
|
2953
|
+
get: function() {
|
|
2954
|
+
return resolveConfig2;
|
|
2955
|
+
}
|
|
2956
|
+
});
|
|
2957
|
+
const _negateValue = /* @__PURE__ */ _interop_require_default(negateValue);
|
|
2958
|
+
const _corePluginList = /* @__PURE__ */ _interop_require_default(corePluginList);
|
|
2959
|
+
const _configurePlugins = /* @__PURE__ */ _interop_require_default(configurePlugins);
|
|
2960
|
+
const _colors = /* @__PURE__ */ _interop_require_default(colors$1);
|
|
2961
|
+
const _defaults = defaults;
|
|
2962
|
+
const _toPath = toPath;
|
|
2963
|
+
const _normalizeConfig = normalizeConfig;
|
|
2964
|
+
const _isPlainObject = /* @__PURE__ */ _interop_require_default(isPlainObject);
|
|
2965
|
+
const _cloneDeep = cloneDeep;
|
|
2966
|
+
const _pluginUtils = pluginUtils;
|
|
2967
|
+
const _withAlphaVariable = withAlphaVariable;
|
|
2968
|
+
const _toColorValue = /* @__PURE__ */ _interop_require_default(toColorValue);
|
|
2969
|
+
function _interop_require_default(obj) {
|
|
2970
|
+
return obj && obj.__esModule ? obj : {
|
|
2971
|
+
default: obj
|
|
2972
|
+
};
|
|
2973
|
+
}
|
|
2974
|
+
function isFunction(input) {
|
|
2975
|
+
return typeof input === "function";
|
|
2976
|
+
}
|
|
2977
|
+
function mergeWith(target, ...sources) {
|
|
2978
|
+
let customizer = sources.pop();
|
|
2979
|
+
for (let source of sources) {
|
|
2980
|
+
for (let k in source) {
|
|
2981
|
+
let merged = customizer(target[k], source[k]);
|
|
2982
|
+
if (merged === void 0) {
|
|
2983
|
+
if ((0, _isPlainObject.default)(target[k]) && (0, _isPlainObject.default)(source[k])) {
|
|
2984
|
+
target[k] = mergeWith({}, target[k], source[k], customizer);
|
|
2985
|
+
} else {
|
|
2986
|
+
target[k] = source[k];
|
|
2987
|
+
}
|
|
2988
|
+
} else {
|
|
2989
|
+
target[k] = merged;
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
return target;
|
|
2994
|
+
}
|
|
2995
|
+
const configUtils = {
|
|
2996
|
+
colors: _colors.default,
|
|
2997
|
+
negative(scale) {
|
|
2998
|
+
return Object.keys(scale).filter((key) => scale[key] !== "0").reduce((negativeScale, key) => {
|
|
2999
|
+
let negativeValue = (0, _negateValue.default)(scale[key]);
|
|
3000
|
+
if (negativeValue !== void 0) {
|
|
3001
|
+
negativeScale[`-${key}`] = negativeValue;
|
|
3002
|
+
}
|
|
3003
|
+
return negativeScale;
|
|
3004
|
+
}, {});
|
|
3005
|
+
},
|
|
3006
|
+
breakpoints(screens2) {
|
|
3007
|
+
return Object.keys(screens2).filter((key) => typeof screens2[key] === "string").reduce((breakpoints, key) => ({
|
|
3008
|
+
...breakpoints,
|
|
3009
|
+
[`screen-${key}`]: screens2[key]
|
|
3010
|
+
}), {});
|
|
3011
|
+
}
|
|
3012
|
+
};
|
|
3013
|
+
function value(valueToResolve, ...args) {
|
|
3014
|
+
return isFunction(valueToResolve) ? valueToResolve(...args) : valueToResolve;
|
|
3015
|
+
}
|
|
3016
|
+
function collectExtends(items) {
|
|
3017
|
+
return items.reduce((merged, { extend }) => {
|
|
3018
|
+
return mergeWith(merged, extend, (mergedValue, extendValue) => {
|
|
3019
|
+
if (mergedValue === void 0) {
|
|
3020
|
+
return [
|
|
3021
|
+
extendValue
|
|
3022
|
+
];
|
|
3023
|
+
}
|
|
3024
|
+
if (Array.isArray(mergedValue)) {
|
|
3025
|
+
return [
|
|
3026
|
+
extendValue,
|
|
3027
|
+
...mergedValue
|
|
3028
|
+
];
|
|
3029
|
+
}
|
|
3030
|
+
return [
|
|
3031
|
+
extendValue,
|
|
3032
|
+
mergedValue
|
|
3033
|
+
];
|
|
3034
|
+
});
|
|
3035
|
+
}, {});
|
|
3036
|
+
}
|
|
3037
|
+
function mergeThemes(themes) {
|
|
3038
|
+
return {
|
|
3039
|
+
...themes.reduce((merged, theme2) => (0, _defaults.defaults)(merged, theme2), {}),
|
|
3040
|
+
// In order to resolve n config objects, we combine all of their `extend` properties
|
|
3041
|
+
// into arrays instead of objects so they aren't overridden.
|
|
3042
|
+
extend: collectExtends(themes)
|
|
3043
|
+
};
|
|
3044
|
+
}
|
|
3045
|
+
function mergeExtensionCustomizer(merged, value2) {
|
|
3046
|
+
if (Array.isArray(merged) && (0, _isPlainObject.default)(merged[0])) {
|
|
3047
|
+
return merged.concat(value2);
|
|
3048
|
+
}
|
|
3049
|
+
if (Array.isArray(value2) && (0, _isPlainObject.default)(value2[0]) && (0, _isPlainObject.default)(merged)) {
|
|
3050
|
+
return [
|
|
3051
|
+
merged,
|
|
3052
|
+
...value2
|
|
3053
|
+
];
|
|
3054
|
+
}
|
|
3055
|
+
if (Array.isArray(value2)) {
|
|
3056
|
+
return value2;
|
|
3057
|
+
}
|
|
3058
|
+
return void 0;
|
|
3059
|
+
}
|
|
3060
|
+
function mergeExtensions({ extend, ...theme2 }) {
|
|
3061
|
+
return mergeWith(theme2, extend, (themeValue, extensions) => {
|
|
3062
|
+
if (!isFunction(themeValue) && !extensions.some(isFunction)) {
|
|
3063
|
+
return mergeWith({}, themeValue, ...extensions, mergeExtensionCustomizer);
|
|
3064
|
+
}
|
|
3065
|
+
return (resolveThemePath, utils) => mergeWith({}, ...[
|
|
3066
|
+
themeValue,
|
|
3067
|
+
...extensions
|
|
3068
|
+
].map((e) => value(e, resolveThemePath, utils)), mergeExtensionCustomizer);
|
|
3069
|
+
});
|
|
3070
|
+
}
|
|
3071
|
+
function* toPaths(key) {
|
|
3072
|
+
let path = (0, _toPath.toPath)(key);
|
|
3073
|
+
if (path.length === 0) {
|
|
3074
|
+
return;
|
|
3075
|
+
}
|
|
3076
|
+
yield path;
|
|
3077
|
+
if (Array.isArray(key)) {
|
|
3078
|
+
return;
|
|
3079
|
+
}
|
|
3080
|
+
let pattern = /^(.*?)\s*\/\s*([^/]+)$/;
|
|
3081
|
+
let matches = key.match(pattern);
|
|
3082
|
+
if (matches !== null) {
|
|
3083
|
+
let [, prefix, alpha] = matches;
|
|
3084
|
+
let newPath = (0, _toPath.toPath)(prefix);
|
|
3085
|
+
newPath.alpha = alpha;
|
|
3086
|
+
yield newPath;
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
function resolveFunctionKeys(object) {
|
|
3090
|
+
const resolvePath = (key, defaultValue) => {
|
|
3091
|
+
for (const path of toPaths(key)) {
|
|
3092
|
+
let index = 0;
|
|
3093
|
+
let val = object;
|
|
3094
|
+
while (val !== void 0 && val !== null && index < path.length) {
|
|
3095
|
+
val = val[path[index++]];
|
|
3096
|
+
let shouldResolveAsFn = isFunction(val) && (path.alpha === void 0 || index <= path.length - 1);
|
|
3097
|
+
val = shouldResolveAsFn ? val(resolvePath, configUtils) : val;
|
|
3098
|
+
}
|
|
3099
|
+
if (val !== void 0) {
|
|
3100
|
+
if (path.alpha !== void 0) {
|
|
3101
|
+
let normalized = (0, _pluginUtils.parseColorFormat)(val);
|
|
3102
|
+
return (0, _withAlphaVariable.withAlphaValue)(normalized, path.alpha, (0, _toColorValue.default)(normalized));
|
|
3103
|
+
}
|
|
3104
|
+
if ((0, _isPlainObject.default)(val)) {
|
|
3105
|
+
return (0, _cloneDeep.cloneDeep)(val);
|
|
3106
|
+
}
|
|
3107
|
+
return val;
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
return defaultValue;
|
|
3111
|
+
};
|
|
3112
|
+
Object.assign(resolvePath, {
|
|
3113
|
+
theme: resolvePath,
|
|
3114
|
+
...configUtils
|
|
3115
|
+
});
|
|
3116
|
+
return Object.keys(object).reduce((resolved, key) => {
|
|
3117
|
+
resolved[key] = isFunction(object[key]) ? object[key](resolvePath, configUtils) : object[key];
|
|
3118
|
+
return resolved;
|
|
3119
|
+
}, {});
|
|
3120
|
+
}
|
|
3121
|
+
function extractPluginConfigs(configs) {
|
|
3122
|
+
let allConfigs = [];
|
|
3123
|
+
configs.forEach((config2) => {
|
|
3124
|
+
allConfigs = [
|
|
3125
|
+
...allConfigs,
|
|
3126
|
+
config2
|
|
3127
|
+
];
|
|
3128
|
+
var _config_plugins;
|
|
3129
|
+
const plugins = (_config_plugins = config2 === null || config2 === void 0 ? void 0 : config2.plugins) !== null && _config_plugins !== void 0 ? _config_plugins : [];
|
|
3130
|
+
if (plugins.length === 0) {
|
|
3131
|
+
return;
|
|
3132
|
+
}
|
|
3133
|
+
plugins.forEach((plugin) => {
|
|
3134
|
+
if (plugin.__isOptionsFunction) {
|
|
3135
|
+
plugin = plugin();
|
|
3136
|
+
}
|
|
3137
|
+
var _plugin_config;
|
|
3138
|
+
allConfigs = [
|
|
3139
|
+
...allConfigs,
|
|
3140
|
+
...extractPluginConfigs([
|
|
3141
|
+
(_plugin_config = plugin === null || plugin === void 0 ? void 0 : plugin.config) !== null && _plugin_config !== void 0 ? _plugin_config : {}
|
|
3142
|
+
])
|
|
3143
|
+
];
|
|
3144
|
+
});
|
|
3145
|
+
});
|
|
3146
|
+
return allConfigs;
|
|
3147
|
+
}
|
|
3148
|
+
function resolveCorePlugins(corePluginConfigs) {
|
|
3149
|
+
const result = [
|
|
3150
|
+
...corePluginConfigs
|
|
3151
|
+
].reduceRight((resolved, corePluginConfig) => {
|
|
3152
|
+
if (isFunction(corePluginConfig)) {
|
|
3153
|
+
return corePluginConfig({
|
|
3154
|
+
corePlugins: resolved
|
|
3155
|
+
});
|
|
3156
|
+
}
|
|
3157
|
+
return (0, _configurePlugins.default)(corePluginConfig, resolved);
|
|
3158
|
+
}, _corePluginList.default);
|
|
3159
|
+
return result;
|
|
3160
|
+
}
|
|
3161
|
+
function resolvePluginLists(pluginLists) {
|
|
3162
|
+
const result = [
|
|
3163
|
+
...pluginLists
|
|
3164
|
+
].reduceRight((resolved, pluginList) => {
|
|
3165
|
+
return [
|
|
3166
|
+
...resolved,
|
|
3167
|
+
...pluginList
|
|
3168
|
+
];
|
|
3169
|
+
}, []);
|
|
3170
|
+
return result;
|
|
3171
|
+
}
|
|
3172
|
+
function resolveConfig2(configs) {
|
|
3173
|
+
let allConfigs = [
|
|
3174
|
+
...extractPluginConfigs(configs),
|
|
3175
|
+
{
|
|
3176
|
+
prefix: "",
|
|
3177
|
+
important: false,
|
|
3178
|
+
separator: ":"
|
|
3179
|
+
}
|
|
3180
|
+
];
|
|
3181
|
+
var _t_theme, _c_plugins;
|
|
3182
|
+
return (0, _normalizeConfig.normalizeConfig)((0, _defaults.defaults)({
|
|
3183
|
+
theme: resolveFunctionKeys(mergeExtensions(mergeThemes(allConfigs.map((t) => {
|
|
3184
|
+
return (_t_theme = t === null || t === void 0 ? void 0 : t.theme) !== null && _t_theme !== void 0 ? _t_theme : {};
|
|
3185
|
+
})))),
|
|
3186
|
+
corePlugins: resolveCorePlugins(allConfigs.map((c) => c.corePlugins)),
|
|
3187
|
+
plugins: resolvePluginLists(configs.map((c) => {
|
|
3188
|
+
return (_c_plugins = c === null || c === void 0 ? void 0 : c.plugins) !== null && _c_plugins !== void 0 ? _c_plugins : [];
|
|
3189
|
+
}))
|
|
3190
|
+
}, ...allConfigs));
|
|
3191
|
+
}
|
|
3192
|
+
})(resolveConfig$2);
|
|
3193
|
+
var getAllConfigs = {};
|
|
3194
|
+
var config_full = {
|
|
3195
|
+
content: [],
|
|
3196
|
+
presets: [],
|
|
3197
|
+
darkMode: "media",
|
|
3198
|
+
// or 'class'
|
|
3199
|
+
theme: {
|
|
3200
|
+
accentColor: ({ theme: theme2 }) => ({
|
|
3201
|
+
...theme2("colors"),
|
|
3202
|
+
auto: "auto"
|
|
3203
|
+
}),
|
|
3204
|
+
animation: {
|
|
3205
|
+
none: "none",
|
|
3206
|
+
spin: "spin 1s linear infinite",
|
|
3207
|
+
ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
|
|
3208
|
+
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
|
|
3209
|
+
bounce: "bounce 1s infinite"
|
|
3210
|
+
},
|
|
3211
|
+
aria: {
|
|
3212
|
+
busy: 'busy="true"',
|
|
3213
|
+
checked: 'checked="true"',
|
|
3214
|
+
disabled: 'disabled="true"',
|
|
3215
|
+
expanded: 'expanded="true"',
|
|
3216
|
+
hidden: 'hidden="true"',
|
|
3217
|
+
pressed: 'pressed="true"',
|
|
3218
|
+
readonly: 'readonly="true"',
|
|
3219
|
+
required: 'required="true"',
|
|
3220
|
+
selected: 'selected="true"'
|
|
3221
|
+
},
|
|
3222
|
+
aspectRatio: {
|
|
3223
|
+
auto: "auto",
|
|
3224
|
+
square: "1 / 1",
|
|
3225
|
+
video: "16 / 9"
|
|
3226
|
+
},
|
|
3227
|
+
backdropBlur: ({ theme: theme2 }) => theme2("blur"),
|
|
3228
|
+
backdropBrightness: ({ theme: theme2 }) => theme2("brightness"),
|
|
3229
|
+
backdropContrast: ({ theme: theme2 }) => theme2("contrast"),
|
|
3230
|
+
backdropGrayscale: ({ theme: theme2 }) => theme2("grayscale"),
|
|
3231
|
+
backdropHueRotate: ({ theme: theme2 }) => theme2("hueRotate"),
|
|
3232
|
+
backdropInvert: ({ theme: theme2 }) => theme2("invert"),
|
|
3233
|
+
backdropOpacity: ({ theme: theme2 }) => theme2("opacity"),
|
|
3234
|
+
backdropSaturate: ({ theme: theme2 }) => theme2("saturate"),
|
|
3235
|
+
backdropSepia: ({ theme: theme2 }) => theme2("sepia"),
|
|
3236
|
+
backgroundColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3237
|
+
backgroundImage: {
|
|
3238
|
+
none: "none",
|
|
3239
|
+
"gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
|
|
3240
|
+
"gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
|
|
3241
|
+
"gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
|
|
3242
|
+
"gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
|
|
3243
|
+
"gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
|
|
3244
|
+
"gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
|
|
3245
|
+
"gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
|
|
3246
|
+
"gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
|
|
3247
|
+
},
|
|
3248
|
+
backgroundOpacity: ({ theme: theme2 }) => theme2("opacity"),
|
|
3249
|
+
backgroundPosition: {
|
|
3250
|
+
bottom: "bottom",
|
|
3251
|
+
center: "center",
|
|
3252
|
+
left: "left",
|
|
3253
|
+
"left-bottom": "left bottom",
|
|
3254
|
+
"left-top": "left top",
|
|
3255
|
+
right: "right",
|
|
3256
|
+
"right-bottom": "right bottom",
|
|
3257
|
+
"right-top": "right top",
|
|
3258
|
+
top: "top"
|
|
3259
|
+
},
|
|
3260
|
+
backgroundSize: {
|
|
3261
|
+
auto: "auto",
|
|
3262
|
+
cover: "cover",
|
|
3263
|
+
contain: "contain"
|
|
3264
|
+
},
|
|
3265
|
+
blur: {
|
|
3266
|
+
0: "0",
|
|
3267
|
+
none: "0",
|
|
3268
|
+
sm: "4px",
|
|
3269
|
+
DEFAULT: "8px",
|
|
3270
|
+
md: "12px",
|
|
3271
|
+
lg: "16px",
|
|
3272
|
+
xl: "24px",
|
|
3273
|
+
"2xl": "40px",
|
|
3274
|
+
"3xl": "64px"
|
|
3275
|
+
},
|
|
3276
|
+
borderColor: ({ theme: theme2 }) => ({
|
|
3277
|
+
...theme2("colors"),
|
|
3278
|
+
DEFAULT: theme2("colors.gray.200", "currentColor")
|
|
3279
|
+
}),
|
|
3280
|
+
borderOpacity: ({ theme: theme2 }) => theme2("opacity"),
|
|
3281
|
+
borderRadius: {
|
|
3282
|
+
none: "0px",
|
|
3283
|
+
sm: "0.125rem",
|
|
3284
|
+
DEFAULT: "0.25rem",
|
|
3285
|
+
md: "0.375rem",
|
|
3286
|
+
lg: "0.5rem",
|
|
3287
|
+
xl: "0.75rem",
|
|
3288
|
+
"2xl": "1rem",
|
|
3289
|
+
"3xl": "1.5rem",
|
|
3290
|
+
full: "9999px"
|
|
3291
|
+
},
|
|
3292
|
+
borderSpacing: ({ theme: theme2 }) => ({
|
|
3293
|
+
...theme2("spacing")
|
|
3294
|
+
}),
|
|
3295
|
+
borderWidth: {
|
|
3296
|
+
DEFAULT: "1px",
|
|
3297
|
+
0: "0px",
|
|
3298
|
+
2: "2px",
|
|
3299
|
+
4: "4px",
|
|
3300
|
+
8: "8px"
|
|
3301
|
+
},
|
|
3302
|
+
boxShadow: {
|
|
3303
|
+
sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
3304
|
+
DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
|
|
3305
|
+
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
3306
|
+
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
3307
|
+
xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
3308
|
+
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
3309
|
+
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
|
|
3310
|
+
none: "none"
|
|
3311
|
+
},
|
|
3312
|
+
boxShadowColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3313
|
+
brightness: {
|
|
3314
|
+
0: "0",
|
|
3315
|
+
50: ".5",
|
|
3316
|
+
75: ".75",
|
|
3317
|
+
90: ".9",
|
|
3318
|
+
95: ".95",
|
|
3319
|
+
100: "1",
|
|
3320
|
+
105: "1.05",
|
|
3321
|
+
110: "1.1",
|
|
3322
|
+
125: "1.25",
|
|
3323
|
+
150: "1.5",
|
|
3324
|
+
200: "2"
|
|
3325
|
+
},
|
|
3326
|
+
caretColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3327
|
+
colors: ({ colors: colors2 }) => ({
|
|
3328
|
+
inherit: colors2.inherit,
|
|
3329
|
+
current: colors2.current,
|
|
3330
|
+
transparent: colors2.transparent,
|
|
3331
|
+
black: colors2.black,
|
|
3332
|
+
white: colors2.white,
|
|
3333
|
+
slate: colors2.slate,
|
|
3334
|
+
gray: colors2.gray,
|
|
3335
|
+
zinc: colors2.zinc,
|
|
3336
|
+
neutral: colors2.neutral,
|
|
3337
|
+
stone: colors2.stone,
|
|
3338
|
+
red: colors2.red,
|
|
3339
|
+
orange: colors2.orange,
|
|
3340
|
+
amber: colors2.amber,
|
|
3341
|
+
yellow: colors2.yellow,
|
|
3342
|
+
lime: colors2.lime,
|
|
3343
|
+
green: colors2.green,
|
|
3344
|
+
emerald: colors2.emerald,
|
|
3345
|
+
teal: colors2.teal,
|
|
3346
|
+
cyan: colors2.cyan,
|
|
3347
|
+
sky: colors2.sky,
|
|
3348
|
+
blue: colors2.blue,
|
|
3349
|
+
indigo: colors2.indigo,
|
|
3350
|
+
violet: colors2.violet,
|
|
3351
|
+
purple: colors2.purple,
|
|
3352
|
+
fuchsia: colors2.fuchsia,
|
|
3353
|
+
pink: colors2.pink,
|
|
3354
|
+
rose: colors2.rose
|
|
3355
|
+
}),
|
|
3356
|
+
columns: {
|
|
3357
|
+
auto: "auto",
|
|
3358
|
+
1: "1",
|
|
3359
|
+
2: "2",
|
|
3360
|
+
3: "3",
|
|
3361
|
+
4: "4",
|
|
3362
|
+
5: "5",
|
|
3363
|
+
6: "6",
|
|
3364
|
+
7: "7",
|
|
3365
|
+
8: "8",
|
|
3366
|
+
9: "9",
|
|
3367
|
+
10: "10",
|
|
3368
|
+
11: "11",
|
|
3369
|
+
12: "12",
|
|
3370
|
+
"3xs": "16rem",
|
|
3371
|
+
"2xs": "18rem",
|
|
3372
|
+
xs: "20rem",
|
|
3373
|
+
sm: "24rem",
|
|
3374
|
+
md: "28rem",
|
|
3375
|
+
lg: "32rem",
|
|
3376
|
+
xl: "36rem",
|
|
3377
|
+
"2xl": "42rem",
|
|
3378
|
+
"3xl": "48rem",
|
|
3379
|
+
"4xl": "56rem",
|
|
3380
|
+
"5xl": "64rem",
|
|
3381
|
+
"6xl": "72rem",
|
|
3382
|
+
"7xl": "80rem"
|
|
3383
|
+
},
|
|
3384
|
+
container: {},
|
|
3385
|
+
content: {
|
|
3386
|
+
none: "none"
|
|
3387
|
+
},
|
|
3388
|
+
contrast: {
|
|
3389
|
+
0: "0",
|
|
3390
|
+
50: ".5",
|
|
3391
|
+
75: ".75",
|
|
3392
|
+
100: "1",
|
|
3393
|
+
125: "1.25",
|
|
3394
|
+
150: "1.5",
|
|
3395
|
+
200: "2"
|
|
3396
|
+
},
|
|
3397
|
+
cursor: {
|
|
3398
|
+
auto: "auto",
|
|
3399
|
+
default: "default",
|
|
3400
|
+
pointer: "pointer",
|
|
3401
|
+
wait: "wait",
|
|
3402
|
+
text: "text",
|
|
3403
|
+
move: "move",
|
|
3404
|
+
help: "help",
|
|
3405
|
+
"not-allowed": "not-allowed",
|
|
3406
|
+
none: "none",
|
|
3407
|
+
"context-menu": "context-menu",
|
|
3408
|
+
progress: "progress",
|
|
3409
|
+
cell: "cell",
|
|
3410
|
+
crosshair: "crosshair",
|
|
3411
|
+
"vertical-text": "vertical-text",
|
|
3412
|
+
alias: "alias",
|
|
3413
|
+
copy: "copy",
|
|
3414
|
+
"no-drop": "no-drop",
|
|
3415
|
+
grab: "grab",
|
|
3416
|
+
grabbing: "grabbing",
|
|
3417
|
+
"all-scroll": "all-scroll",
|
|
3418
|
+
"col-resize": "col-resize",
|
|
3419
|
+
"row-resize": "row-resize",
|
|
3420
|
+
"n-resize": "n-resize",
|
|
3421
|
+
"e-resize": "e-resize",
|
|
3422
|
+
"s-resize": "s-resize",
|
|
3423
|
+
"w-resize": "w-resize",
|
|
3424
|
+
"ne-resize": "ne-resize",
|
|
3425
|
+
"nw-resize": "nw-resize",
|
|
3426
|
+
"se-resize": "se-resize",
|
|
3427
|
+
"sw-resize": "sw-resize",
|
|
3428
|
+
"ew-resize": "ew-resize",
|
|
3429
|
+
"ns-resize": "ns-resize",
|
|
3430
|
+
"nesw-resize": "nesw-resize",
|
|
3431
|
+
"nwse-resize": "nwse-resize",
|
|
3432
|
+
"zoom-in": "zoom-in",
|
|
3433
|
+
"zoom-out": "zoom-out"
|
|
3434
|
+
},
|
|
3435
|
+
divideColor: ({ theme: theme2 }) => theme2("borderColor"),
|
|
3436
|
+
divideOpacity: ({ theme: theme2 }) => theme2("borderOpacity"),
|
|
3437
|
+
divideWidth: ({ theme: theme2 }) => theme2("borderWidth"),
|
|
3438
|
+
dropShadow: {
|
|
3439
|
+
sm: "0 1px 1px rgb(0 0 0 / 0.05)",
|
|
3440
|
+
DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
|
|
3441
|
+
md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
|
|
3442
|
+
lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
|
|
3443
|
+
xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
|
|
3444
|
+
"2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
|
|
3445
|
+
none: "0 0 #0000"
|
|
3446
|
+
},
|
|
3447
|
+
fill: ({ theme: theme2 }) => ({
|
|
3448
|
+
none: "none",
|
|
3449
|
+
...theme2("colors")
|
|
3450
|
+
}),
|
|
3451
|
+
flex: {
|
|
3452
|
+
1: "1 1 0%",
|
|
3453
|
+
auto: "1 1 auto",
|
|
3454
|
+
initial: "0 1 auto",
|
|
3455
|
+
none: "none"
|
|
3456
|
+
},
|
|
3457
|
+
flexBasis: ({ theme: theme2 }) => ({
|
|
3458
|
+
auto: "auto",
|
|
3459
|
+
...theme2("spacing"),
|
|
3460
|
+
"1/2": "50%",
|
|
3461
|
+
"1/3": "33.333333%",
|
|
3462
|
+
"2/3": "66.666667%",
|
|
3463
|
+
"1/4": "25%",
|
|
3464
|
+
"2/4": "50%",
|
|
3465
|
+
"3/4": "75%",
|
|
3466
|
+
"1/5": "20%",
|
|
3467
|
+
"2/5": "40%",
|
|
3468
|
+
"3/5": "60%",
|
|
3469
|
+
"4/5": "80%",
|
|
3470
|
+
"1/6": "16.666667%",
|
|
3471
|
+
"2/6": "33.333333%",
|
|
3472
|
+
"3/6": "50%",
|
|
3473
|
+
"4/6": "66.666667%",
|
|
3474
|
+
"5/6": "83.333333%",
|
|
3475
|
+
"1/12": "8.333333%",
|
|
3476
|
+
"2/12": "16.666667%",
|
|
3477
|
+
"3/12": "25%",
|
|
3478
|
+
"4/12": "33.333333%",
|
|
3479
|
+
"5/12": "41.666667%",
|
|
3480
|
+
"6/12": "50%",
|
|
3481
|
+
"7/12": "58.333333%",
|
|
3482
|
+
"8/12": "66.666667%",
|
|
3483
|
+
"9/12": "75%",
|
|
3484
|
+
"10/12": "83.333333%",
|
|
3485
|
+
"11/12": "91.666667%",
|
|
3486
|
+
full: "100%"
|
|
3487
|
+
}),
|
|
3488
|
+
flexGrow: {
|
|
3489
|
+
0: "0",
|
|
3490
|
+
DEFAULT: "1"
|
|
3491
|
+
},
|
|
3492
|
+
flexShrink: {
|
|
3493
|
+
0: "0",
|
|
3494
|
+
DEFAULT: "1"
|
|
3495
|
+
},
|
|
3496
|
+
fontFamily: {
|
|
3497
|
+
sans: [
|
|
3498
|
+
"ui-sans-serif",
|
|
3499
|
+
"system-ui",
|
|
3500
|
+
"sans-serif",
|
|
3501
|
+
'"Apple Color Emoji"',
|
|
3502
|
+
'"Segoe UI Emoji"',
|
|
3503
|
+
'"Segoe UI Symbol"',
|
|
3504
|
+
'"Noto Color Emoji"'
|
|
3505
|
+
],
|
|
3506
|
+
serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
|
|
3507
|
+
mono: [
|
|
3508
|
+
"ui-monospace",
|
|
3509
|
+
"SFMono-Regular",
|
|
3510
|
+
"Menlo",
|
|
3511
|
+
"Monaco",
|
|
3512
|
+
"Consolas",
|
|
3513
|
+
'"Liberation Mono"',
|
|
3514
|
+
'"Courier New"',
|
|
3515
|
+
"monospace"
|
|
3516
|
+
]
|
|
3517
|
+
},
|
|
3518
|
+
fontSize: {
|
|
3519
|
+
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
3520
|
+
sm: ["0.875rem", { lineHeight: "1.25rem" }],
|
|
3521
|
+
base: ["1rem", { lineHeight: "1.5rem" }],
|
|
3522
|
+
lg: ["1.125rem", { lineHeight: "1.75rem" }],
|
|
3523
|
+
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
3524
|
+
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
3525
|
+
"3xl": ["1.875rem", { lineHeight: "2.25rem" }],
|
|
3526
|
+
"4xl": ["2.25rem", { lineHeight: "2.5rem" }],
|
|
3527
|
+
"5xl": ["3rem", { lineHeight: "1" }],
|
|
3528
|
+
"6xl": ["3.75rem", { lineHeight: "1" }],
|
|
3529
|
+
"7xl": ["4.5rem", { lineHeight: "1" }],
|
|
3530
|
+
"8xl": ["6rem", { lineHeight: "1" }],
|
|
3531
|
+
"9xl": ["8rem", { lineHeight: "1" }]
|
|
3532
|
+
},
|
|
3533
|
+
fontWeight: {
|
|
3534
|
+
thin: "100",
|
|
3535
|
+
extralight: "200",
|
|
3536
|
+
light: "300",
|
|
3537
|
+
normal: "400",
|
|
3538
|
+
medium: "500",
|
|
3539
|
+
semibold: "600",
|
|
3540
|
+
bold: "700",
|
|
3541
|
+
extrabold: "800",
|
|
3542
|
+
black: "900"
|
|
3543
|
+
},
|
|
3544
|
+
gap: ({ theme: theme2 }) => theme2("spacing"),
|
|
3545
|
+
gradientColorStops: ({ theme: theme2 }) => theme2("colors"),
|
|
3546
|
+
gradientColorStopPositions: {
|
|
3547
|
+
"0%": "0%",
|
|
3548
|
+
"5%": "5%",
|
|
3549
|
+
"10%": "10%",
|
|
3550
|
+
"15%": "15%",
|
|
3551
|
+
"20%": "20%",
|
|
3552
|
+
"25%": "25%",
|
|
3553
|
+
"30%": "30%",
|
|
3554
|
+
"35%": "35%",
|
|
3555
|
+
"40%": "40%",
|
|
3556
|
+
"45%": "45%",
|
|
3557
|
+
"50%": "50%",
|
|
3558
|
+
"55%": "55%",
|
|
3559
|
+
"60%": "60%",
|
|
3560
|
+
"65%": "65%",
|
|
3561
|
+
"70%": "70%",
|
|
3562
|
+
"75%": "75%",
|
|
3563
|
+
"80%": "80%",
|
|
3564
|
+
"85%": "85%",
|
|
3565
|
+
"90%": "90%",
|
|
3566
|
+
"95%": "95%",
|
|
3567
|
+
"100%": "100%"
|
|
3568
|
+
},
|
|
3569
|
+
grayscale: {
|
|
3570
|
+
0: "0",
|
|
3571
|
+
DEFAULT: "100%"
|
|
3572
|
+
},
|
|
3573
|
+
gridAutoColumns: {
|
|
3574
|
+
auto: "auto",
|
|
3575
|
+
min: "min-content",
|
|
3576
|
+
max: "max-content",
|
|
3577
|
+
fr: "minmax(0, 1fr)"
|
|
3578
|
+
},
|
|
3579
|
+
gridAutoRows: {
|
|
3580
|
+
auto: "auto",
|
|
3581
|
+
min: "min-content",
|
|
3582
|
+
max: "max-content",
|
|
3583
|
+
fr: "minmax(0, 1fr)"
|
|
3584
|
+
},
|
|
3585
|
+
gridColumn: {
|
|
3586
|
+
auto: "auto",
|
|
3587
|
+
"span-1": "span 1 / span 1",
|
|
3588
|
+
"span-2": "span 2 / span 2",
|
|
3589
|
+
"span-3": "span 3 / span 3",
|
|
3590
|
+
"span-4": "span 4 / span 4",
|
|
3591
|
+
"span-5": "span 5 / span 5",
|
|
3592
|
+
"span-6": "span 6 / span 6",
|
|
3593
|
+
"span-7": "span 7 / span 7",
|
|
3594
|
+
"span-8": "span 8 / span 8",
|
|
3595
|
+
"span-9": "span 9 / span 9",
|
|
3596
|
+
"span-10": "span 10 / span 10",
|
|
3597
|
+
"span-11": "span 11 / span 11",
|
|
3598
|
+
"span-12": "span 12 / span 12",
|
|
3599
|
+
"span-full": "1 / -1"
|
|
3600
|
+
},
|
|
3601
|
+
gridColumnEnd: {
|
|
3602
|
+
auto: "auto",
|
|
3603
|
+
1: "1",
|
|
3604
|
+
2: "2",
|
|
3605
|
+
3: "3",
|
|
3606
|
+
4: "4",
|
|
3607
|
+
5: "5",
|
|
3608
|
+
6: "6",
|
|
3609
|
+
7: "7",
|
|
3610
|
+
8: "8",
|
|
3611
|
+
9: "9",
|
|
3612
|
+
10: "10",
|
|
3613
|
+
11: "11",
|
|
3614
|
+
12: "12",
|
|
3615
|
+
13: "13"
|
|
3616
|
+
},
|
|
3617
|
+
gridColumnStart: {
|
|
3618
|
+
auto: "auto",
|
|
3619
|
+
1: "1",
|
|
3620
|
+
2: "2",
|
|
3621
|
+
3: "3",
|
|
3622
|
+
4: "4",
|
|
3623
|
+
5: "5",
|
|
3624
|
+
6: "6",
|
|
3625
|
+
7: "7",
|
|
3626
|
+
8: "8",
|
|
3627
|
+
9: "9",
|
|
3628
|
+
10: "10",
|
|
3629
|
+
11: "11",
|
|
3630
|
+
12: "12",
|
|
3631
|
+
13: "13"
|
|
3632
|
+
},
|
|
3633
|
+
gridRow: {
|
|
3634
|
+
auto: "auto",
|
|
3635
|
+
"span-1": "span 1 / span 1",
|
|
3636
|
+
"span-2": "span 2 / span 2",
|
|
3637
|
+
"span-3": "span 3 / span 3",
|
|
3638
|
+
"span-4": "span 4 / span 4",
|
|
3639
|
+
"span-5": "span 5 / span 5",
|
|
3640
|
+
"span-6": "span 6 / span 6",
|
|
3641
|
+
"span-7": "span 7 / span 7",
|
|
3642
|
+
"span-8": "span 8 / span 8",
|
|
3643
|
+
"span-9": "span 9 / span 9",
|
|
3644
|
+
"span-10": "span 10 / span 10",
|
|
3645
|
+
"span-11": "span 11 / span 11",
|
|
3646
|
+
"span-12": "span 12 / span 12",
|
|
3647
|
+
"span-full": "1 / -1"
|
|
3648
|
+
},
|
|
3649
|
+
gridRowEnd: {
|
|
3650
|
+
auto: "auto",
|
|
3651
|
+
1: "1",
|
|
3652
|
+
2: "2",
|
|
3653
|
+
3: "3",
|
|
3654
|
+
4: "4",
|
|
3655
|
+
5: "5",
|
|
3656
|
+
6: "6",
|
|
3657
|
+
7: "7",
|
|
3658
|
+
8: "8",
|
|
3659
|
+
9: "9",
|
|
3660
|
+
10: "10",
|
|
3661
|
+
11: "11",
|
|
3662
|
+
12: "12",
|
|
3663
|
+
13: "13"
|
|
3664
|
+
},
|
|
3665
|
+
gridRowStart: {
|
|
3666
|
+
auto: "auto",
|
|
3667
|
+
1: "1",
|
|
3668
|
+
2: "2",
|
|
3669
|
+
3: "3",
|
|
3670
|
+
4: "4",
|
|
3671
|
+
5: "5",
|
|
3672
|
+
6: "6",
|
|
3673
|
+
7: "7",
|
|
3674
|
+
8: "8",
|
|
3675
|
+
9: "9",
|
|
3676
|
+
10: "10",
|
|
3677
|
+
11: "11",
|
|
3678
|
+
12: "12",
|
|
3679
|
+
13: "13"
|
|
3680
|
+
},
|
|
3681
|
+
gridTemplateColumns: {
|
|
3682
|
+
none: "none",
|
|
3683
|
+
subgrid: "subgrid",
|
|
3684
|
+
1: "repeat(1, minmax(0, 1fr))",
|
|
3685
|
+
2: "repeat(2, minmax(0, 1fr))",
|
|
3686
|
+
3: "repeat(3, minmax(0, 1fr))",
|
|
3687
|
+
4: "repeat(4, minmax(0, 1fr))",
|
|
3688
|
+
5: "repeat(5, minmax(0, 1fr))",
|
|
3689
|
+
6: "repeat(6, minmax(0, 1fr))",
|
|
3690
|
+
7: "repeat(7, minmax(0, 1fr))",
|
|
3691
|
+
8: "repeat(8, minmax(0, 1fr))",
|
|
3692
|
+
9: "repeat(9, minmax(0, 1fr))",
|
|
3693
|
+
10: "repeat(10, minmax(0, 1fr))",
|
|
3694
|
+
11: "repeat(11, minmax(0, 1fr))",
|
|
3695
|
+
12: "repeat(12, minmax(0, 1fr))"
|
|
3696
|
+
},
|
|
3697
|
+
gridTemplateRows: {
|
|
3698
|
+
none: "none",
|
|
3699
|
+
subgrid: "subgrid",
|
|
3700
|
+
1: "repeat(1, minmax(0, 1fr))",
|
|
3701
|
+
2: "repeat(2, minmax(0, 1fr))",
|
|
3702
|
+
3: "repeat(3, minmax(0, 1fr))",
|
|
3703
|
+
4: "repeat(4, minmax(0, 1fr))",
|
|
3704
|
+
5: "repeat(5, minmax(0, 1fr))",
|
|
3705
|
+
6: "repeat(6, minmax(0, 1fr))",
|
|
3706
|
+
7: "repeat(7, minmax(0, 1fr))",
|
|
3707
|
+
8: "repeat(8, minmax(0, 1fr))",
|
|
3708
|
+
9: "repeat(9, minmax(0, 1fr))",
|
|
3709
|
+
10: "repeat(10, minmax(0, 1fr))",
|
|
3710
|
+
11: "repeat(11, minmax(0, 1fr))",
|
|
3711
|
+
12: "repeat(12, minmax(0, 1fr))"
|
|
3712
|
+
},
|
|
3713
|
+
height: ({ theme: theme2 }) => ({
|
|
3714
|
+
auto: "auto",
|
|
3715
|
+
...theme2("spacing"),
|
|
3716
|
+
"1/2": "50%",
|
|
3717
|
+
"1/3": "33.333333%",
|
|
3718
|
+
"2/3": "66.666667%",
|
|
3719
|
+
"1/4": "25%",
|
|
3720
|
+
"2/4": "50%",
|
|
3721
|
+
"3/4": "75%",
|
|
3722
|
+
"1/5": "20%",
|
|
3723
|
+
"2/5": "40%",
|
|
3724
|
+
"3/5": "60%",
|
|
3725
|
+
"4/5": "80%",
|
|
3726
|
+
"1/6": "16.666667%",
|
|
3727
|
+
"2/6": "33.333333%",
|
|
3728
|
+
"3/6": "50%",
|
|
3729
|
+
"4/6": "66.666667%",
|
|
3730
|
+
"5/6": "83.333333%",
|
|
3731
|
+
full: "100%",
|
|
3732
|
+
screen: "100vh",
|
|
3733
|
+
svh: "100svh",
|
|
3734
|
+
lvh: "100lvh",
|
|
3735
|
+
dvh: "100dvh",
|
|
3736
|
+
min: "min-content",
|
|
3737
|
+
max: "max-content",
|
|
3738
|
+
fit: "fit-content"
|
|
3739
|
+
}),
|
|
3740
|
+
hueRotate: {
|
|
3741
|
+
0: "0deg",
|
|
3742
|
+
15: "15deg",
|
|
3743
|
+
30: "30deg",
|
|
3744
|
+
60: "60deg",
|
|
3745
|
+
90: "90deg",
|
|
3746
|
+
180: "180deg"
|
|
3747
|
+
},
|
|
3748
|
+
inset: ({ theme: theme2 }) => ({
|
|
3749
|
+
auto: "auto",
|
|
3750
|
+
...theme2("spacing"),
|
|
3751
|
+
"1/2": "50%",
|
|
3752
|
+
"1/3": "33.333333%",
|
|
3753
|
+
"2/3": "66.666667%",
|
|
3754
|
+
"1/4": "25%",
|
|
3755
|
+
"2/4": "50%",
|
|
3756
|
+
"3/4": "75%",
|
|
3757
|
+
full: "100%"
|
|
3758
|
+
}),
|
|
3759
|
+
invert: {
|
|
3760
|
+
0: "0",
|
|
3761
|
+
DEFAULT: "100%"
|
|
3762
|
+
},
|
|
3763
|
+
keyframes: {
|
|
3764
|
+
spin: {
|
|
3765
|
+
to: {
|
|
3766
|
+
transform: "rotate(360deg)"
|
|
3767
|
+
}
|
|
3768
|
+
},
|
|
3769
|
+
ping: {
|
|
3770
|
+
"75%, 100%": {
|
|
3771
|
+
transform: "scale(2)",
|
|
3772
|
+
opacity: "0"
|
|
3773
|
+
}
|
|
3774
|
+
},
|
|
3775
|
+
pulse: {
|
|
3776
|
+
"50%": {
|
|
3777
|
+
opacity: ".5"
|
|
3778
|
+
}
|
|
3779
|
+
},
|
|
3780
|
+
bounce: {
|
|
3781
|
+
"0%, 100%": {
|
|
3782
|
+
transform: "translateY(-25%)",
|
|
3783
|
+
animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
|
|
3784
|
+
},
|
|
3785
|
+
"50%": {
|
|
3786
|
+
transform: "none",
|
|
3787
|
+
animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
},
|
|
3791
|
+
letterSpacing: {
|
|
3792
|
+
tighter: "-0.05em",
|
|
3793
|
+
tight: "-0.025em",
|
|
3794
|
+
normal: "0em",
|
|
3795
|
+
wide: "0.025em",
|
|
3796
|
+
wider: "0.05em",
|
|
3797
|
+
widest: "0.1em"
|
|
3798
|
+
},
|
|
3799
|
+
lineHeight: {
|
|
3800
|
+
none: "1",
|
|
3801
|
+
tight: "1.25",
|
|
3802
|
+
snug: "1.375",
|
|
3803
|
+
normal: "1.5",
|
|
3804
|
+
relaxed: "1.625",
|
|
3805
|
+
loose: "2",
|
|
3806
|
+
3: ".75rem",
|
|
3807
|
+
4: "1rem",
|
|
3808
|
+
5: "1.25rem",
|
|
3809
|
+
6: "1.5rem",
|
|
3810
|
+
7: "1.75rem",
|
|
3811
|
+
8: "2rem",
|
|
3812
|
+
9: "2.25rem",
|
|
3813
|
+
10: "2.5rem"
|
|
3814
|
+
},
|
|
3815
|
+
listStyleType: {
|
|
3816
|
+
none: "none",
|
|
3817
|
+
disc: "disc",
|
|
3818
|
+
decimal: "decimal"
|
|
3819
|
+
},
|
|
3820
|
+
listStyleImage: {
|
|
3821
|
+
none: "none"
|
|
3822
|
+
},
|
|
3823
|
+
margin: ({ theme: theme2 }) => ({
|
|
3824
|
+
auto: "auto",
|
|
3825
|
+
...theme2("spacing")
|
|
3826
|
+
}),
|
|
3827
|
+
lineClamp: {
|
|
3828
|
+
1: "1",
|
|
3829
|
+
2: "2",
|
|
3830
|
+
3: "3",
|
|
3831
|
+
4: "4",
|
|
3832
|
+
5: "5",
|
|
3833
|
+
6: "6"
|
|
3834
|
+
},
|
|
3835
|
+
maxHeight: ({ theme: theme2 }) => ({
|
|
3836
|
+
...theme2("spacing"),
|
|
3837
|
+
none: "none",
|
|
3838
|
+
full: "100%",
|
|
3839
|
+
screen: "100vh",
|
|
3840
|
+
svh: "100svh",
|
|
3841
|
+
lvh: "100lvh",
|
|
3842
|
+
dvh: "100dvh",
|
|
3843
|
+
min: "min-content",
|
|
3844
|
+
max: "max-content",
|
|
3845
|
+
fit: "fit-content"
|
|
3846
|
+
}),
|
|
3847
|
+
maxWidth: ({ theme: theme2, breakpoints }) => ({
|
|
3848
|
+
...theme2("spacing"),
|
|
3849
|
+
none: "none",
|
|
3850
|
+
xs: "20rem",
|
|
3851
|
+
sm: "24rem",
|
|
3852
|
+
md: "28rem",
|
|
3853
|
+
lg: "32rem",
|
|
3854
|
+
xl: "36rem",
|
|
3855
|
+
"2xl": "42rem",
|
|
3856
|
+
"3xl": "48rem",
|
|
3857
|
+
"4xl": "56rem",
|
|
3858
|
+
"5xl": "64rem",
|
|
3859
|
+
"6xl": "72rem",
|
|
3860
|
+
"7xl": "80rem",
|
|
3861
|
+
full: "100%",
|
|
3862
|
+
min: "min-content",
|
|
3863
|
+
max: "max-content",
|
|
3864
|
+
fit: "fit-content",
|
|
3865
|
+
prose: "65ch",
|
|
3866
|
+
...breakpoints(theme2("screens"))
|
|
3867
|
+
}),
|
|
3868
|
+
minHeight: ({ theme: theme2 }) => ({
|
|
3869
|
+
...theme2("spacing"),
|
|
3870
|
+
full: "100%",
|
|
3871
|
+
screen: "100vh",
|
|
3872
|
+
svh: "100svh",
|
|
3873
|
+
lvh: "100lvh",
|
|
3874
|
+
dvh: "100dvh",
|
|
3875
|
+
min: "min-content",
|
|
3876
|
+
max: "max-content",
|
|
3877
|
+
fit: "fit-content"
|
|
3878
|
+
}),
|
|
3879
|
+
minWidth: ({ theme: theme2 }) => ({
|
|
3880
|
+
...theme2("spacing"),
|
|
3881
|
+
full: "100%",
|
|
3882
|
+
min: "min-content",
|
|
3883
|
+
max: "max-content",
|
|
3884
|
+
fit: "fit-content"
|
|
3885
|
+
}),
|
|
3886
|
+
objectPosition: {
|
|
3887
|
+
bottom: "bottom",
|
|
3888
|
+
center: "center",
|
|
3889
|
+
left: "left",
|
|
3890
|
+
"left-bottom": "left bottom",
|
|
3891
|
+
"left-top": "left top",
|
|
3892
|
+
right: "right",
|
|
3893
|
+
"right-bottom": "right bottom",
|
|
3894
|
+
"right-top": "right top",
|
|
3895
|
+
top: "top"
|
|
3896
|
+
},
|
|
3897
|
+
opacity: {
|
|
3898
|
+
0: "0",
|
|
3899
|
+
5: "0.05",
|
|
3900
|
+
10: "0.1",
|
|
3901
|
+
15: "0.15",
|
|
3902
|
+
20: "0.2",
|
|
3903
|
+
25: "0.25",
|
|
3904
|
+
30: "0.3",
|
|
3905
|
+
35: "0.35",
|
|
3906
|
+
40: "0.4",
|
|
3907
|
+
45: "0.45",
|
|
3908
|
+
50: "0.5",
|
|
3909
|
+
55: "0.55",
|
|
3910
|
+
60: "0.6",
|
|
3911
|
+
65: "0.65",
|
|
3912
|
+
70: "0.7",
|
|
3913
|
+
75: "0.75",
|
|
3914
|
+
80: "0.8",
|
|
3915
|
+
85: "0.85",
|
|
3916
|
+
90: "0.9",
|
|
3917
|
+
95: "0.95",
|
|
3918
|
+
100: "1"
|
|
3919
|
+
},
|
|
3920
|
+
order: {
|
|
3921
|
+
first: "-9999",
|
|
3922
|
+
last: "9999",
|
|
3923
|
+
none: "0",
|
|
3924
|
+
1: "1",
|
|
3925
|
+
2: "2",
|
|
3926
|
+
3: "3",
|
|
3927
|
+
4: "4",
|
|
3928
|
+
5: "5",
|
|
3929
|
+
6: "6",
|
|
3930
|
+
7: "7",
|
|
3931
|
+
8: "8",
|
|
3932
|
+
9: "9",
|
|
3933
|
+
10: "10",
|
|
3934
|
+
11: "11",
|
|
3935
|
+
12: "12"
|
|
3936
|
+
},
|
|
3937
|
+
outlineColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3938
|
+
outlineOffset: {
|
|
3939
|
+
0: "0px",
|
|
3940
|
+
1: "1px",
|
|
3941
|
+
2: "2px",
|
|
3942
|
+
4: "4px",
|
|
3943
|
+
8: "8px"
|
|
3944
|
+
},
|
|
3945
|
+
outlineWidth: {
|
|
3946
|
+
0: "0px",
|
|
3947
|
+
1: "1px",
|
|
3948
|
+
2: "2px",
|
|
3949
|
+
4: "4px",
|
|
3950
|
+
8: "8px"
|
|
3951
|
+
},
|
|
3952
|
+
padding: ({ theme: theme2 }) => theme2("spacing"),
|
|
3953
|
+
placeholderColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3954
|
+
placeholderOpacity: ({ theme: theme2 }) => theme2("opacity"),
|
|
3955
|
+
ringColor: ({ theme: theme2 }) => ({
|
|
3956
|
+
DEFAULT: theme2("colors.blue.500", "#3b82f6"),
|
|
3957
|
+
...theme2("colors")
|
|
3958
|
+
}),
|
|
3959
|
+
ringOffsetColor: ({ theme: theme2 }) => theme2("colors"),
|
|
3960
|
+
ringOffsetWidth: {
|
|
3961
|
+
0: "0px",
|
|
3962
|
+
1: "1px",
|
|
3963
|
+
2: "2px",
|
|
3964
|
+
4: "4px",
|
|
3965
|
+
8: "8px"
|
|
3966
|
+
},
|
|
3967
|
+
ringOpacity: ({ theme: theme2 }) => ({
|
|
3968
|
+
DEFAULT: "0.5",
|
|
3969
|
+
...theme2("opacity")
|
|
3970
|
+
}),
|
|
3971
|
+
ringWidth: {
|
|
3972
|
+
DEFAULT: "3px",
|
|
3973
|
+
0: "0px",
|
|
3974
|
+
1: "1px",
|
|
3975
|
+
2: "2px",
|
|
3976
|
+
4: "4px",
|
|
3977
|
+
8: "8px"
|
|
3978
|
+
},
|
|
3979
|
+
rotate: {
|
|
3980
|
+
0: "0deg",
|
|
3981
|
+
1: "1deg",
|
|
3982
|
+
2: "2deg",
|
|
3983
|
+
3: "3deg",
|
|
3984
|
+
6: "6deg",
|
|
3985
|
+
12: "12deg",
|
|
3986
|
+
45: "45deg",
|
|
3987
|
+
90: "90deg",
|
|
3988
|
+
180: "180deg"
|
|
3989
|
+
},
|
|
3990
|
+
saturate: {
|
|
3991
|
+
0: "0",
|
|
3992
|
+
50: ".5",
|
|
3993
|
+
100: "1",
|
|
3994
|
+
150: "1.5",
|
|
3995
|
+
200: "2"
|
|
3996
|
+
},
|
|
3997
|
+
scale: {
|
|
3998
|
+
0: "0",
|
|
3999
|
+
50: ".5",
|
|
4000
|
+
75: ".75",
|
|
4001
|
+
90: ".9",
|
|
4002
|
+
95: ".95",
|
|
4003
|
+
100: "1",
|
|
4004
|
+
105: "1.05",
|
|
4005
|
+
110: "1.1",
|
|
4006
|
+
125: "1.25",
|
|
4007
|
+
150: "1.5"
|
|
4008
|
+
},
|
|
4009
|
+
screens: {
|
|
4010
|
+
sm: "640px",
|
|
4011
|
+
md: "768px",
|
|
4012
|
+
lg: "1024px",
|
|
4013
|
+
xl: "1280px",
|
|
4014
|
+
"2xl": "1536px"
|
|
4015
|
+
},
|
|
4016
|
+
scrollMargin: ({ theme: theme2 }) => ({
|
|
4017
|
+
...theme2("spacing")
|
|
4018
|
+
}),
|
|
4019
|
+
scrollPadding: ({ theme: theme2 }) => theme2("spacing"),
|
|
4020
|
+
sepia: {
|
|
4021
|
+
0: "0",
|
|
4022
|
+
DEFAULT: "100%"
|
|
4023
|
+
},
|
|
4024
|
+
skew: {
|
|
4025
|
+
0: "0deg",
|
|
4026
|
+
1: "1deg",
|
|
4027
|
+
2: "2deg",
|
|
4028
|
+
3: "3deg",
|
|
4029
|
+
6: "6deg",
|
|
4030
|
+
12: "12deg"
|
|
4031
|
+
},
|
|
4032
|
+
space: ({ theme: theme2 }) => ({
|
|
4033
|
+
...theme2("spacing")
|
|
4034
|
+
}),
|
|
4035
|
+
spacing: {
|
|
4036
|
+
px: "1px",
|
|
4037
|
+
0: "0px",
|
|
4038
|
+
0.5: "0.125rem",
|
|
4039
|
+
1: "0.25rem",
|
|
4040
|
+
1.5: "0.375rem",
|
|
4041
|
+
2: "0.5rem",
|
|
4042
|
+
2.5: "0.625rem",
|
|
4043
|
+
3: "0.75rem",
|
|
4044
|
+
3.5: "0.875rem",
|
|
4045
|
+
4: "1rem",
|
|
4046
|
+
5: "1.25rem",
|
|
4047
|
+
6: "1.5rem",
|
|
4048
|
+
7: "1.75rem",
|
|
4049
|
+
8: "2rem",
|
|
4050
|
+
9: "2.25rem",
|
|
4051
|
+
10: "2.5rem",
|
|
4052
|
+
11: "2.75rem",
|
|
4053
|
+
12: "3rem",
|
|
4054
|
+
14: "3.5rem",
|
|
4055
|
+
16: "4rem",
|
|
4056
|
+
20: "5rem",
|
|
4057
|
+
24: "6rem",
|
|
4058
|
+
28: "7rem",
|
|
4059
|
+
32: "8rem",
|
|
4060
|
+
36: "9rem",
|
|
4061
|
+
40: "10rem",
|
|
4062
|
+
44: "11rem",
|
|
4063
|
+
48: "12rem",
|
|
4064
|
+
52: "13rem",
|
|
4065
|
+
56: "14rem",
|
|
4066
|
+
60: "15rem",
|
|
4067
|
+
64: "16rem",
|
|
4068
|
+
72: "18rem",
|
|
4069
|
+
80: "20rem",
|
|
4070
|
+
96: "24rem"
|
|
4071
|
+
},
|
|
4072
|
+
stroke: ({ theme: theme2 }) => ({
|
|
4073
|
+
none: "none",
|
|
4074
|
+
...theme2("colors")
|
|
4075
|
+
}),
|
|
4076
|
+
strokeWidth: {
|
|
4077
|
+
0: "0",
|
|
4078
|
+
1: "1",
|
|
4079
|
+
2: "2"
|
|
4080
|
+
},
|
|
4081
|
+
supports: {},
|
|
4082
|
+
data: {},
|
|
4083
|
+
textColor: ({ theme: theme2 }) => theme2("colors"),
|
|
4084
|
+
textDecorationColor: ({ theme: theme2 }) => theme2("colors"),
|
|
4085
|
+
textDecorationThickness: {
|
|
4086
|
+
auto: "auto",
|
|
4087
|
+
"from-font": "from-font",
|
|
4088
|
+
0: "0px",
|
|
4089
|
+
1: "1px",
|
|
4090
|
+
2: "2px",
|
|
4091
|
+
4: "4px",
|
|
4092
|
+
8: "8px"
|
|
4093
|
+
},
|
|
4094
|
+
textIndent: ({ theme: theme2 }) => ({
|
|
4095
|
+
...theme2("spacing")
|
|
4096
|
+
}),
|
|
4097
|
+
textOpacity: ({ theme: theme2 }) => theme2("opacity"),
|
|
4098
|
+
textUnderlineOffset: {
|
|
4099
|
+
auto: "auto",
|
|
4100
|
+
0: "0px",
|
|
4101
|
+
1: "1px",
|
|
4102
|
+
2: "2px",
|
|
4103
|
+
4: "4px",
|
|
4104
|
+
8: "8px"
|
|
4105
|
+
},
|
|
4106
|
+
transformOrigin: {
|
|
4107
|
+
center: "center",
|
|
4108
|
+
top: "top",
|
|
4109
|
+
"top-right": "top right",
|
|
4110
|
+
right: "right",
|
|
4111
|
+
"bottom-right": "bottom right",
|
|
4112
|
+
bottom: "bottom",
|
|
4113
|
+
"bottom-left": "bottom left",
|
|
4114
|
+
left: "left",
|
|
4115
|
+
"top-left": "top left"
|
|
4116
|
+
},
|
|
4117
|
+
transitionDelay: {
|
|
4118
|
+
0: "0s",
|
|
4119
|
+
75: "75ms",
|
|
4120
|
+
100: "100ms",
|
|
4121
|
+
150: "150ms",
|
|
4122
|
+
200: "200ms",
|
|
4123
|
+
300: "300ms",
|
|
4124
|
+
500: "500ms",
|
|
4125
|
+
700: "700ms",
|
|
4126
|
+
1e3: "1000ms"
|
|
4127
|
+
},
|
|
4128
|
+
transitionDuration: {
|
|
4129
|
+
DEFAULT: "150ms",
|
|
4130
|
+
0: "0s",
|
|
4131
|
+
75: "75ms",
|
|
4132
|
+
100: "100ms",
|
|
4133
|
+
150: "150ms",
|
|
4134
|
+
200: "200ms",
|
|
4135
|
+
300: "300ms",
|
|
4136
|
+
500: "500ms",
|
|
4137
|
+
700: "700ms",
|
|
4138
|
+
1e3: "1000ms"
|
|
4139
|
+
},
|
|
4140
|
+
transitionProperty: {
|
|
4141
|
+
none: "none",
|
|
4142
|
+
all: "all",
|
|
4143
|
+
DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
4144
|
+
colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
|
|
4145
|
+
opacity: "opacity",
|
|
4146
|
+
shadow: "box-shadow",
|
|
4147
|
+
transform: "transform"
|
|
4148
|
+
},
|
|
4149
|
+
transitionTimingFunction: {
|
|
4150
|
+
DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
4151
|
+
linear: "linear",
|
|
4152
|
+
in: "cubic-bezier(0.4, 0, 1, 1)",
|
|
4153
|
+
out: "cubic-bezier(0, 0, 0.2, 1)",
|
|
4154
|
+
"in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
4155
|
+
},
|
|
4156
|
+
translate: ({ theme: theme2 }) => ({
|
|
4157
|
+
...theme2("spacing"),
|
|
4158
|
+
"1/2": "50%",
|
|
4159
|
+
"1/3": "33.333333%",
|
|
4160
|
+
"2/3": "66.666667%",
|
|
4161
|
+
"1/4": "25%",
|
|
4162
|
+
"2/4": "50%",
|
|
4163
|
+
"3/4": "75%",
|
|
4164
|
+
full: "100%"
|
|
4165
|
+
}),
|
|
4166
|
+
size: ({ theme: theme2 }) => ({
|
|
4167
|
+
auto: "auto",
|
|
4168
|
+
...theme2("spacing"),
|
|
4169
|
+
"1/2": "50%",
|
|
4170
|
+
"1/3": "33.333333%",
|
|
4171
|
+
"2/3": "66.666667%",
|
|
4172
|
+
"1/4": "25%",
|
|
4173
|
+
"2/4": "50%",
|
|
4174
|
+
"3/4": "75%",
|
|
4175
|
+
"1/5": "20%",
|
|
4176
|
+
"2/5": "40%",
|
|
4177
|
+
"3/5": "60%",
|
|
4178
|
+
"4/5": "80%",
|
|
4179
|
+
"1/6": "16.666667%",
|
|
4180
|
+
"2/6": "33.333333%",
|
|
4181
|
+
"3/6": "50%",
|
|
4182
|
+
"4/6": "66.666667%",
|
|
4183
|
+
"5/6": "83.333333%",
|
|
4184
|
+
"1/12": "8.333333%",
|
|
4185
|
+
"2/12": "16.666667%",
|
|
4186
|
+
"3/12": "25%",
|
|
4187
|
+
"4/12": "33.333333%",
|
|
4188
|
+
"5/12": "41.666667%",
|
|
4189
|
+
"6/12": "50%",
|
|
4190
|
+
"7/12": "58.333333%",
|
|
4191
|
+
"8/12": "66.666667%",
|
|
4192
|
+
"9/12": "75%",
|
|
4193
|
+
"10/12": "83.333333%",
|
|
4194
|
+
"11/12": "91.666667%",
|
|
4195
|
+
full: "100%",
|
|
4196
|
+
min: "min-content",
|
|
4197
|
+
max: "max-content",
|
|
4198
|
+
fit: "fit-content"
|
|
4199
|
+
}),
|
|
4200
|
+
width: ({ theme: theme2 }) => ({
|
|
4201
|
+
auto: "auto",
|
|
4202
|
+
...theme2("spacing"),
|
|
4203
|
+
"1/2": "50%",
|
|
4204
|
+
"1/3": "33.333333%",
|
|
4205
|
+
"2/3": "66.666667%",
|
|
4206
|
+
"1/4": "25%",
|
|
4207
|
+
"2/4": "50%",
|
|
4208
|
+
"3/4": "75%",
|
|
4209
|
+
"1/5": "20%",
|
|
4210
|
+
"2/5": "40%",
|
|
4211
|
+
"3/5": "60%",
|
|
4212
|
+
"4/5": "80%",
|
|
4213
|
+
"1/6": "16.666667%",
|
|
4214
|
+
"2/6": "33.333333%",
|
|
4215
|
+
"3/6": "50%",
|
|
4216
|
+
"4/6": "66.666667%",
|
|
4217
|
+
"5/6": "83.333333%",
|
|
4218
|
+
"1/12": "8.333333%",
|
|
4219
|
+
"2/12": "16.666667%",
|
|
4220
|
+
"3/12": "25%",
|
|
4221
|
+
"4/12": "33.333333%",
|
|
4222
|
+
"5/12": "41.666667%",
|
|
4223
|
+
"6/12": "50%",
|
|
4224
|
+
"7/12": "58.333333%",
|
|
4225
|
+
"8/12": "66.666667%",
|
|
4226
|
+
"9/12": "75%",
|
|
4227
|
+
"10/12": "83.333333%",
|
|
4228
|
+
"11/12": "91.666667%",
|
|
4229
|
+
full: "100%",
|
|
4230
|
+
screen: "100vw",
|
|
4231
|
+
svw: "100svw",
|
|
4232
|
+
lvw: "100lvw",
|
|
4233
|
+
dvw: "100dvw",
|
|
4234
|
+
min: "min-content",
|
|
4235
|
+
max: "max-content",
|
|
4236
|
+
fit: "fit-content"
|
|
4237
|
+
}),
|
|
4238
|
+
willChange: {
|
|
4239
|
+
auto: "auto",
|
|
4240
|
+
scroll: "scroll-position",
|
|
4241
|
+
contents: "contents",
|
|
4242
|
+
transform: "transform"
|
|
4243
|
+
},
|
|
4244
|
+
zIndex: {
|
|
4245
|
+
auto: "auto",
|
|
4246
|
+
0: "0",
|
|
4247
|
+
10: "10",
|
|
4248
|
+
20: "20",
|
|
4249
|
+
30: "30",
|
|
4250
|
+
40: "40",
|
|
4251
|
+
50: "50"
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
plugins: []
|
|
4255
|
+
};
|
|
4256
|
+
(function(exports2) {
|
|
4257
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
4258
|
+
value: true
|
|
4259
|
+
});
|
|
4260
|
+
Object.defineProperty(exports2, "default", {
|
|
4261
|
+
enumerable: true,
|
|
4262
|
+
get: function() {
|
|
4263
|
+
return getAllConfigs2;
|
|
4264
|
+
}
|
|
4265
|
+
});
|
|
4266
|
+
const _configfull = /* @__PURE__ */ _interop_require_default(config_full);
|
|
4267
|
+
const _featureFlags = featureFlags;
|
|
4268
|
+
function _interop_require_default(obj) {
|
|
4269
|
+
return obj && obj.__esModule ? obj : {
|
|
4270
|
+
default: obj
|
|
4271
|
+
};
|
|
4272
|
+
}
|
|
4273
|
+
function getAllConfigs2(config2) {
|
|
4274
|
+
var _config_presets;
|
|
4275
|
+
const configs = ((_config_presets = config2 === null || config2 === void 0 ? void 0 : config2.presets) !== null && _config_presets !== void 0 ? _config_presets : [
|
|
4276
|
+
_configfull.default
|
|
4277
|
+
]).slice().reverse().flatMap((preset) => getAllConfigs2(preset instanceof Function ? preset() : preset));
|
|
4278
|
+
const features = {
|
|
4279
|
+
// Add experimental configs here...
|
|
4280
|
+
respectDefaultRingColorOpacity: {
|
|
4281
|
+
theme: {
|
|
4282
|
+
ringColor: ({ theme: theme2 }) => ({
|
|
4283
|
+
DEFAULT: "#3b82f67f",
|
|
4284
|
+
...theme2("colors")
|
|
4285
|
+
})
|
|
4286
|
+
}
|
|
4287
|
+
},
|
|
4288
|
+
disableColorOpacityUtilitiesByDefault: {
|
|
4289
|
+
corePlugins: {
|
|
4290
|
+
backgroundOpacity: false,
|
|
4291
|
+
borderOpacity: false,
|
|
4292
|
+
divideOpacity: false,
|
|
4293
|
+
placeholderOpacity: false,
|
|
4294
|
+
ringOpacity: false,
|
|
4295
|
+
textOpacity: false
|
|
4296
|
+
}
|
|
4297
|
+
}
|
|
4298
|
+
};
|
|
4299
|
+
const experimentals = Object.keys(features).filter((feature) => (0, _featureFlags.flagEnabled)(config2, feature)).map((feature) => features[feature]);
|
|
4300
|
+
return [
|
|
4301
|
+
config2,
|
|
4302
|
+
...experimentals,
|
|
4303
|
+
...configs
|
|
4304
|
+
];
|
|
4305
|
+
}
|
|
4306
|
+
})(getAllConfigs);
|
|
4307
|
+
(function(exports2) {
|
|
4308
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
4309
|
+
value: true
|
|
4310
|
+
});
|
|
4311
|
+
Object.defineProperty(exports2, "default", {
|
|
4312
|
+
enumerable: true,
|
|
4313
|
+
get: function() {
|
|
4314
|
+
return resolveConfig2;
|
|
4315
|
+
}
|
|
4316
|
+
});
|
|
4317
|
+
const _resolveConfig = /* @__PURE__ */ _interop_require_default(resolveConfig$2);
|
|
4318
|
+
const _getAllConfigs = /* @__PURE__ */ _interop_require_default(getAllConfigs);
|
|
4319
|
+
function _interop_require_default(obj) {
|
|
4320
|
+
return obj && obj.__esModule ? obj : {
|
|
4321
|
+
default: obj
|
|
4322
|
+
};
|
|
4323
|
+
}
|
|
4324
|
+
function resolveConfig2(...configs) {
|
|
4325
|
+
let [, ...defaultConfigs] = (0, _getAllConfigs.default)(configs[0]);
|
|
4326
|
+
return (0, _resolveConfig.default)([
|
|
4327
|
+
...configs,
|
|
4328
|
+
...defaultConfigs
|
|
4329
|
+
]);
|
|
4330
|
+
}
|
|
4331
|
+
})(resolveConfig$3);
|
|
4332
|
+
let resolveConfig = resolveConfig$3;
|
|
4333
|
+
var resolveConfig_1 = (resolveConfig.__esModule ? resolveConfig : { default: resolveConfig }).default;
|
|
4334
|
+
const resolveConfig$1 = /* @__PURE__ */ getDefaultExportFromCjs(resolveConfig_1);
|
|
4335
|
+
const config = resolveConfig$1(config$1.config);
|
|
4336
|
+
const theme = config.theme;
|
|
4337
|
+
const colors = theme == null ? void 0 : theme.colors;
|
|
4338
|
+
(_a = theme == null ? void 0 : theme.extend) == null ? void 0 : _a.colors;
|
|
4339
|
+
const screens = theme == null ? void 0 : theme.screens;
|
|
4340
|
+
const getColor = (name) => {
|
|
4341
|
+
return colors == null ? void 0 : colors[name];
|
|
4342
|
+
};
|
|
4343
|
+
const getColorDeep = (color2) => {
|
|
4344
|
+
const baseColor = color2.split("-").slice(0, -1).join("-");
|
|
4345
|
+
const colorNumber = String(color2.split("-").pop());
|
|
4346
|
+
return lodashEs.get(getColor(baseColor), colorNumber);
|
|
4347
|
+
};
|
|
4348
|
+
const getScreen = (size) => {
|
|
4349
|
+
return screens == null ? void 0 : screens[size];
|
|
4350
|
+
};
|
|
4351
|
+
exports.getColor = getColor;
|
|
4352
|
+
exports.getColorDeep = getColorDeep;
|
|
4353
|
+
exports.getScreen = getScreen;
|