Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generate-atomic-css

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-atomic-css - npm Package Compare versions

Comparing version 3.0.12 to 3.0.13

4

dist/generate-atomic-css.esm.js
/**
* @name generate-atomic-css
* @fileoverview Generate Atomic CSS
* @version 3.0.12
* @version 3.0.13
* @author Roy Revelt, Codsen Ltd

@@ -10,3 +10,3 @@ * @license MIT

import{left as N,right as g}from"string-left-right";var J="3.0.12";import{left as O,right as b,leftSeq as x,rightSeq as L}from"string-left-right";import{isStr as P}from"codsen-utils";var F={CONFIGHEAD:"GENERATE-ATOMIC-CSS-CONFIG-STARTS",CONFIGTAIL:"GENERATE-ATOMIC-CSS-CONFIG-ENDS",CONTENTHEAD:"GENERATE-ATOMIC-CSS-CONTENT-STARTS",CONTENTTAIL:"GENERATE-ATOMIC-CSS-CONTENT-ENDS"},w=["px","em","%","rem","cm","mm","in","pt","pc","ex","ch","vw","vmin","vmax"],{CONFIGHEAD:T,CONFIGTAIL:S,CONTENTHEAD:E,CONTENTTAIL:h}=F,M=[":"];function W(e){let u=e,c="",d="";if(e.includes(T)&&e.includes(S)){if(e.indexOf(S)!==-1&&e.indexOf(E)!==-1&&e.indexOf(S)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_02] Config heads are after config tails!");let s=e.indexOf(T)+T.length,l=e.indexOf(S);if(e[b(e,s)]==="*"&&e[b(e,b(e,s))]==="/"&&(s=b(e,b(e,s))+1),e[O(e,l)]==="*"&&e[O(e,O(e,l))]==="/"&&(l=O(e,O(e,l))),u=e.slice(s,l).trim(),!P(u)||!u.trim().length)return[u,c,d]}else if(e.includes(T)&&!e.includes(S)&&e.includes(E)){if(e.indexOf(T)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_03] Config heads are after content heads!");u=e.slice(e.indexOf(T)+T.length,e.indexOf(E))}else if(!e.includes(T)&&!e.includes(S)&&(e.includes(E)||e.includes(h))){if(u=e,u.includes(E)){if(O(e,u.indexOf(E))){let o=u.indexOf(E);x(e,o,"/","*")&&(o=x(e,o,"/","*").leftmostChar),c=o===0?"":e.slice(0,o)}let s=u.indexOf(E)+E.length;L(u,s-1,"*","/")&&(s=L(u,s-1,"*","/").rightmostChar+1);let l=null;if(e.includes(h)){l=e.indexOf(h),e[O(e,l)]==="*"&&e[O(e,O(e,l))]==="/"&&(l=O(e,O(e,l)));let o=e.indexOf(h)+h.length;e[b(e,o-1)]==="*"&&e[b(e,b(e,o-1))]==="/"&&(o=b(e,b(e,o-1))+1),b(e,o)&&(d=e.slice(o))}l?u=u.slice(s,l).trim():u=u.slice(s).trim()}else if(u.includes(h)){let s=[],l=!1;u=u.split(`
import{left as N,right as g}from"string-left-right";var J="3.0.13";import{left as O,right as b,leftSeq as x,rightSeq as L}from"string-left-right";import{isStr as P}from"codsen-utils";var F={CONFIGHEAD:"GENERATE-ATOMIC-CSS-CONFIG-STARTS",CONFIGTAIL:"GENERATE-ATOMIC-CSS-CONFIG-ENDS",CONTENTHEAD:"GENERATE-ATOMIC-CSS-CONTENT-STARTS",CONTENTTAIL:"GENERATE-ATOMIC-CSS-CONTENT-ENDS"},w=["px","em","%","rem","cm","mm","in","pt","pc","ex","ch","vw","vmin","vmax"],{CONFIGHEAD:T,CONFIGTAIL:S,CONTENTHEAD:E,CONTENTTAIL:h}=F,M=[":"];function W(e){let u=e,c="",d="";if(e.includes(T)&&e.includes(S)){if(e.indexOf(S)!==-1&&e.indexOf(E)!==-1&&e.indexOf(S)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_02] Config heads are after config tails!");let s=e.indexOf(T)+T.length,l=e.indexOf(S);if(e[b(e,s)]==="*"&&e[b(e,b(e,s))]==="/"&&(s=b(e,b(e,s))+1),e[O(e,l)]==="*"&&e[O(e,O(e,l))]==="/"&&(l=O(e,O(e,l))),u=e.slice(s,l).trim(),!P(u)||!u.trim().length)return[u,c,d]}else if(e.includes(T)&&!e.includes(S)&&e.includes(E)){if(e.indexOf(T)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_03] Config heads are after content heads!");u=e.slice(e.indexOf(T)+T.length,e.indexOf(E))}else if(!e.includes(T)&&!e.includes(S)&&(e.includes(E)||e.includes(h))){if(u=e,u.includes(E)){if(O(e,u.indexOf(E))){let o=u.indexOf(E);x(e,o,"/","*")&&(o=x(e,o,"/","*").leftmostChar),c=o===0?"":e.slice(0,o)}let s=u.indexOf(E)+E.length;L(u,s-1,"*","/")&&(s=L(u,s-1,"*","/").rightmostChar+1);let l=null;if(e.includes(h)){l=e.indexOf(h),e[O(e,l)]==="*"&&e[O(e,O(e,l))]==="/"&&(l=O(e,O(e,l)));let o=e.indexOf(h)+h.length;e[b(e,o-1)]==="*"&&e[b(e,b(e,o-1))]==="/"&&(o=b(e,b(e,o-1))+1),b(e,o)&&(d=e.slice(o))}l?u=u.slice(s,l).trim():u=u.slice(s).trim()}else if(u.includes(h)){let s=[],l=!1;u=u.split(`
`).filter(i=>!i.includes("$$$")&&!l?(l||s.push(i),!1):(l||(l=!0),!0)).join(`

@@ -13,0 +13,0 @@ `);let o=u.indexOf(h);x(u,o,"/","*")&&(o=x(u,o,"/","*").leftmostChar),u=u.slice(0,o).trim(),s.length&&(c=`${s.join(`

/**
* @name generate-atomic-css
* @fileoverview Generate Atomic CSS
* @version 3.0.12
* @version 3.0.13
* @author Roy Revelt, Codsen Ltd

@@ -10,31 +10,31 @@ * @license MIT

"use strict";var generateAtomicCss=(()=>{var k=Object.create;var T=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var ne=Object.getOwnPropertyNames,H=Object.getOwnPropertySymbols,te=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var G=(e,n,r)=>n in e?T(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,w=(e,n)=>{for(var r in n||(n={}))U.call(n,r)&&G(e,r,n[r]);if(H)for(var r of H(n))ie.call(n,r)&&G(e,r,n[r]);return e};var oe=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),re=(e,n)=>{for(var r in n)T(e,r,{get:n[r],enumerable:!0})},_=(e,n,r,c)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of ne(n))!U.call(e,t)&&t!==r&&T(e,t,{get:()=>n[t],enumerable:!(c=ee(n,t))||c.enumerable});return e};var le=(e,n,r)=>(r=e!=null?k(te(e)):{},_(n||!e||!e.__esModule?T(r,"default",{value:e,enumerable:!0}):r,e)),se=e=>_(T({},"__esModule",{value:!0}),e);var Q=oe((Oe,q)=>{"use strict";q.exports=ue;function V(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function ue(e){if(e=e||{},e.circles)return ae(e);return e.proto?c:r;function n(t,l){for(var i=Object.keys(t),o=new Array(i.length),s=0;s<i.length;s++){var u=i[s],a=t[u];typeof a!="object"||a===null?o[u]=a:a instanceof Date?o[u]=new Date(a):ArrayBuffer.isView(a)?o[u]=V(a):o[u]=l(a)}return o}function r(t){if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t);if(Array.isArray(t))return n(t,r);if(t instanceof Map)return new Map(n(Array.from(t),r));if(t instanceof Set)return new Set(n(Array.from(t),r));var l={};for(var i in t)if(Object.hasOwnProperty.call(t,i)!==!1){var o=t[i];typeof o!="object"||o===null?l[i]=o:o instanceof Date?l[i]=new Date(o):o instanceof Map?l[i]=new Map(n(Array.from(o),r)):o instanceof Set?l[i]=new Set(n(Array.from(o),r)):ArrayBuffer.isView(o)?l[i]=V(o):l[i]=r(o)}return l}function c(t){if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t);if(Array.isArray(t))return n(t,c);if(t instanceof Map)return new Map(n(Array.from(t),c));if(t instanceof Set)return new Set(n(Array.from(t),c));var l={};for(var i in t){var o=t[i];typeof o!="object"||o===null?l[i]=o:o instanceof Date?l[i]=new Date(o):o instanceof Map?l[i]=new Map(n(Array.from(o),c)):o instanceof Set?l[i]=new Set(n(Array.from(o),c)):ArrayBuffer.isView(o)?l[i]=V(o):l[i]=c(o)}return l}}function ae(e){var n=[],r=[];return e.proto?l:t;function c(i,o){for(var s=Object.keys(i),u=new Array(s.length),a=0;a<s.length;a++){var b=s[a],g=i[b];if(typeof g!="object"||g===null)u[b]=g;else if(g instanceof Date)u[b]=new Date(g);else if(ArrayBuffer.isView(g))u[b]=V(g);else{var $=n.indexOf(g);$!==-1?u[b]=r[$]:u[b]=o(g)}}return u}function t(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return c(i,t);if(i instanceof Map)return new Map(c(Array.from(i),t));if(i instanceof Set)return new Set(c(Array.from(i),t));var o={};n.push(i),r.push(o);for(var s in i)if(Object.hasOwnProperty.call(i,s)!==!1){var u=i[s];if(typeof u!="object"||u===null)o[s]=u;else if(u instanceof Date)o[s]=new Date(u);else if(u instanceof Map)o[s]=new Map(c(Array.from(u),t));else if(u instanceof Set)o[s]=new Set(c(Array.from(u),t));else if(ArrayBuffer.isView(u))o[s]=V(u);else{var a=n.indexOf(u);a!==-1?o[s]=r[a]:o[s]=t(u)}}return n.pop(),r.pop(),o}function l(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return c(i,l);if(i instanceof Map)return new Map(c(Array.from(i),l));if(i instanceof Set)return new Set(c(Array.from(i),l));var o={};n.push(i),r.push(o);for(var s in i){var u=i[s];if(typeof u!="object"||u===null)o[s]=u;else if(u instanceof Date)o[s]=new Date(u);else if(u instanceof Map)o[s]=new Map(c(Array.from(u),l));else if(u instanceof Set)o[s]=new Set(c(Array.from(u),l));else if(ArrayBuffer.isView(u))o[s]=V(u);else{var a=n.indexOf(u);a!==-1?o[s]=r[a]:o[s]=l(u)}}return n.pop(),r.pop(),o}}});var ye={};re(ye,{defaults:()=>M,extractFromToSource:()=>j,genAtomic:()=>Ee,headsAndTails:()=>L,version:()=>he});function B(e){if(e==null||typeof e!="object")return!1;let n=Object.getPrototypeOf(e);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}function C(e){return typeof e=="string"}var K=le(Q(),1);var Ve=(0,K.default)();var v="\xA0";function ce(e){let n={value:e,hungry:!1,optional:!1};return(n.value.endsWith("?*")||n.value.endsWith("*?"))&&n.value.length>2?(n.value=n.value.slice(0,n.value.length-2),n.optional=!0,n.hungry=!0):n.value.endsWith("?")&&n.value.length>1?(n.value=n.value.slice(0,~-n.value.length),n.optional=!0):n.value.endsWith("*")&&n.value.length>1&&(n.value=n.value.slice(0,~-n.value.length),n.hungry=!0),n}function fe({str:e,idx:n=0,stopAtNewlines:r=!1,stopAtRawNbsp:c=!1}){if(typeof e!="string"||!e.length||((!n||typeof n!="number")&&(n=0),!e[n+1]))return null;if(e[n+1]&&(e[n+1].trim()||r&&`
\r`.includes(e[n+1])||c&&e[n+1]===v))return n+1;if(e[n+2]&&(e[n+2].trim()||r&&`
\r`.includes(e[n+2])||c&&e[n+2]===v))return n+2;for(let t=n+1,l=e.length;t<l;t++)if(e[t].trim()||r&&`
\r`.includes(e[t])||c&&e[t]===v)return t;return null}function m(e,n=0){return fe({str:e,idx:n,stopAtNewlines:!1,stopAtRawNbsp:!1})}function me({str:e,idx:n,stopAtNewlines:r,stopAtRawNbsp:c}){if(typeof e!="string"||!e.length||((!n||typeof n!="number")&&(n=0),n<1))return null;if(e[~-n]&&(e[~-n].trim()||r&&`
\r`.includes(e[~-n])||c&&e[~-n]===v))return~-n;if(e[n-2]&&(e[n-2].trim()||r&&`
\r`.includes(e[n-2])||c&&e[n-2]===v))return n-2;for(let t=n;t--;)if(e[t]&&(e[t].trim()||r&&`
\r`.includes(e[t])||c&&e[t]===v))return t;return null}function h(e,n=0){return me({str:e,idx:n,stopAtNewlines:!1,stopAtRawNbsp:!1})}function Z(e,n,r,c,t){if(typeof n!="string"||!n.length||(typeof r!="number"&&(r=0),e==="right"&&!n[r+1]||e==="left"&&!n[~-r]))return null;let l=r,i=[],o,s,u,a=0;for(;a<t.length;){if(!C(t[a])||!t[a].length){a+=1;continue}let{value:b,optional:g,hungry:$}=ce(t[a]),p=e==="right"?m(n,l):h(n,l);if(c.i&&n[p].toLowerCase()===b.toLowerCase()||!c.i&&n[p]===b){let f=e==="right"?m(n,p):h(n,p);$&&(c.i&&n[f].toLowerCase()===b.toLowerCase()||!c.i&&n[f]===b)?u=!0:a+=1,typeof p=="number"&&e==="right"&&p>l+1?i.push([l+1,p]):e==="left"&&typeof p=="number"&&p<~-l&&i.unshift([p+1,l]),l=p,e==="right"?(o===void 0&&(o=p),s=p):(s===void 0&&(s=p),o=p)}else if(g){a+=1;continue}else if(u){a+=1,u=void 0;continue}else return null}return o===void 0||s===void 0?null:{gaps:i,leftmostChar:o,rightmostChar:s}}var F={i:!1};function x(e,n,...r){if(!(r!=null&&r.length))throw new Error("string-left-right/leftSeq(): only two input arguments were passed! Did you intend to use left() method instead?");let c;return B(r[0])?c=w(w({},F),r.shift()):c=F,Z("left",e,n,c,Array.from(r).reverse())}function R(e,n,...r){if(!(r!=null&&r.length))throw new Error("string-left-right/rightSeq(): only two input arguments were passed! Did you intend to use right() method instead?");let c;return B(r[0])?c=w(w({},F),r.shift()):c=F,Z("right",e,n,c,r)}var z="3.0.12";var L={CONFIGHEAD:"GENERATE-ATOMIC-CSS-CONFIG-STARTS",CONFIGTAIL:"GENERATE-ATOMIC-CSS-CONFIG-ENDS",CONTENTHEAD:"GENERATE-ATOMIC-CSS-CONTENT-STARTS",CONTENTTAIL:"GENERATE-ATOMIC-CSS-CONTENT-ENDS"},I=["px","em","%","rem","cm","mm","in","pt","pc","ex","ch","vw","vmin","vmax"],{CONFIGHEAD:O,CONFIGTAIL:N,CONTENTHEAD:E,CONTENTTAIL:y}=L,ge=[":"];function X(e){let n=e,r="",c="";if(e.includes(O)&&e.includes(N)){if(e.indexOf(N)!==-1&&e.indexOf(E)!==-1&&e.indexOf(N)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_02] Config heads are after config tails!");let t=e.indexOf(O)+O.length,l=e.indexOf(N);if(e[m(e,t)]==="*"&&e[m(e,m(e,t))]==="/"&&(t=m(e,m(e,t))+1),e[h(e,l)]==="*"&&e[h(e,h(e,l))]==="/"&&(l=h(e,h(e,l))),n=e.slice(t,l).trim(),!C(n)||!n.trim().length)return[n,r,c]}else if(e.includes(O)&&!e.includes(N)&&e.includes(E)){if(e.indexOf(O)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_03] Config heads are after content heads!");n=e.slice(e.indexOf(O)+O.length,e.indexOf(E))}else if(!e.includes(O)&&!e.includes(N)&&(e.includes(E)||e.includes(y))){if(n=e,n.includes(E)){if(h(e,n.indexOf(E))){let i=n.indexOf(E);x(e,i,"/","*")&&(i=x(e,i,"/","*").leftmostChar),r=i===0?"":e.slice(0,i)}let t=n.indexOf(E)+E.length;R(n,t-1,"*","/")&&(t=R(n,t-1,"*","/").rightmostChar+1);let l=null;if(e.includes(y)){l=e.indexOf(y),e[h(e,l)]==="*"&&e[h(e,h(e,l))]==="/"&&(l=h(e,h(e,l)));let i=e.indexOf(y)+y.length;e[m(e,i-1)]==="*"&&e[m(e,m(e,i-1))]==="/"&&(i=m(e,m(e,i-1))+1),m(e,i)&&(c=e.slice(i))}l?n=n.slice(t,l).trim():n=n.slice(t).trim()}else if(n.includes(y)){let t=[],l=!1;n=n.split(`
"use strict";var generateAtomicCss=(()=>{var ne=Object.create;var T=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var ie=Object.getOwnPropertyNames,G=Object.getOwnPropertySymbols,oe=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var _=(e,n,r)=>n in e?T(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,w=(e,n)=>{for(var r in n||(n={}))U.call(n,r)&&_(e,r,n[r]);if(G)for(var r of G(n))re.call(n,r)&&_(e,r,n[r]);return e};var le=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),se=(e,n)=>{for(var r in n)T(e,r,{get:n[r],enumerable:!0})},q=(e,n,r,f)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of ie(n))!U.call(e,t)&&t!==r&&T(e,t,{get:()=>n[t],enumerable:!(f=te(n,t))||f.enumerable});return e};var Q=(e,n,r)=>(r=e!=null?ne(oe(e)):{},q(n||!e||!e.__esModule?T(r,"default",{value:e,enumerable:!0}):r,e)),ue=e=>q(T({},"__esModule",{value:!0}),e);var B=le((Se,K)=>{"use strict";K.exports=ae;function V(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function ae(e){if(e=e||{},e.circles)return fe(e);return e.proto?f:r;function n(t,l){for(var i=Object.keys(t),o=new Array(i.length),s=0;s<i.length;s++){var u=i[s],a=t[u];typeof a!="object"||a===null?o[u]=a:a instanceof Date?o[u]=new Date(a):ArrayBuffer.isView(a)?o[u]=V(a):o[u]=l(a)}return o}function r(t){if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t);if(Array.isArray(t))return n(t,r);if(t instanceof Map)return new Map(n(Array.from(t),r));if(t instanceof Set)return new Set(n(Array.from(t),r));var l={};for(var i in t)if(Object.hasOwnProperty.call(t,i)!==!1){var o=t[i];typeof o!="object"||o===null?l[i]=o:o instanceof Date?l[i]=new Date(o):o instanceof Map?l[i]=new Map(n(Array.from(o),r)):o instanceof Set?l[i]=new Set(n(Array.from(o),r)):ArrayBuffer.isView(o)?l[i]=V(o):l[i]=r(o)}return l}function f(t){if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t);if(Array.isArray(t))return n(t,f);if(t instanceof Map)return new Map(n(Array.from(t),f));if(t instanceof Set)return new Set(n(Array.from(t),f));var l={};for(var i in t){var o=t[i];typeof o!="object"||o===null?l[i]=o:o instanceof Date?l[i]=new Date(o):o instanceof Map?l[i]=new Map(n(Array.from(o),f)):o instanceof Set?l[i]=new Set(n(Array.from(o),f)):ArrayBuffer.isView(o)?l[i]=V(o):l[i]=f(o)}return l}}function fe(e){var n=[],r=[];return e.proto?l:t;function f(i,o){for(var s=Object.keys(i),u=new Array(s.length),a=0;a<s.length;a++){var b=s[a],g=i[b];if(typeof g!="object"||g===null)u[b]=g;else if(g instanceof Date)u[b]=new Date(g);else if(ArrayBuffer.isView(g))u[b]=V(g);else{var $=n.indexOf(g);$!==-1?u[b]=r[$]:u[b]=o(g)}}return u}function t(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return f(i,t);if(i instanceof Map)return new Map(f(Array.from(i),t));if(i instanceof Set)return new Set(f(Array.from(i),t));var o={};n.push(i),r.push(o);for(var s in i)if(Object.hasOwnProperty.call(i,s)!==!1){var u=i[s];if(typeof u!="object"||u===null)o[s]=u;else if(u instanceof Date)o[s]=new Date(u);else if(u instanceof Map)o[s]=new Map(f(Array.from(u),t));else if(u instanceof Set)o[s]=new Set(f(Array.from(u),t));else if(ArrayBuffer.isView(u))o[s]=V(u);else{var a=n.indexOf(u);a!==-1?o[s]=r[a]:o[s]=t(u)}}return n.pop(),r.pop(),o}function l(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return f(i,l);if(i instanceof Map)return new Map(f(Array.from(i),l));if(i instanceof Set)return new Set(f(Array.from(i),l));var o={};n.push(i),r.push(o);for(var s in i){var u=i[s];if(typeof u!="object"||u===null)o[s]=u;else if(u instanceof Date)o[s]=new Date(u);else if(u instanceof Map)o[s]=new Map(f(Array.from(u),l));else if(u instanceof Set)o[s]=new Set(f(Array.from(u),l));else if(ArrayBuffer.isView(u))o[s]=V(u);else{var a=n.indexOf(u);a!==-1?o[s]=r[a]:o[s]=l(u)}}return n.pop(),r.pop(),o}}});var Ae={};se(Ae,{defaults:()=>W,extractFromToSource:()=>M,genAtomic:()=>ye,headsAndTails:()=>L,version:()=>Ee});var Z=Q(B(),1);var Oe=(0,Z.default)();function R(e){if(e==null||typeof e!="object")return!1;let n=Object.getPrototypeOf(e);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}function C(e){return typeof e=="string"}var z=Q(B(),1);var Ne=(0,z.default)();var v="\xA0";function ce(e){let n={value:e,hungry:!1,optional:!1};return(n.value.endsWith("?*")||n.value.endsWith("*?"))&&n.value.length>2?(n.value=n.value.slice(0,n.value.length-2),n.optional=!0,n.hungry=!0):n.value.endsWith("?")&&n.value.length>1?(n.value=n.value.slice(0,~-n.value.length),n.optional=!0):n.value.endsWith("*")&&n.value.length>1&&(n.value=n.value.slice(0,~-n.value.length),n.hungry=!0),n}function me({str:e,idx:n=0,stopAtNewlines:r=!1,stopAtRawNbsp:f=!1}){if(typeof e!="string"||!e.length||((!n||typeof n!="number")&&(n=0),!e[n+1]))return null;if(e[n+1]&&(e[n+1].trim()||r&&`
\r`.includes(e[n+1])||f&&e[n+1]===v))return n+1;if(e[n+2]&&(e[n+2].trim()||r&&`
\r`.includes(e[n+2])||f&&e[n+2]===v))return n+2;for(let t=n+1,l=e.length;t<l;t++)if(e[t].trim()||r&&`
\r`.includes(e[t])||f&&e[t]===v)return t;return null}function m(e,n=0){return me({str:e,idx:n,stopAtNewlines:!1,stopAtRawNbsp:!1})}function $e({str:e,idx:n,stopAtNewlines:r,stopAtRawNbsp:f}){if(typeof e!="string"||!e.length||((!n||typeof n!="number")&&(n=0),n<1))return null;if(e[~-n]&&(e[~-n].trim()||r&&`
\r`.includes(e[~-n])||f&&e[~-n]===v))return~-n;if(e[n-2]&&(e[n-2].trim()||r&&`
\r`.includes(e[n-2])||f&&e[n-2]===v))return n-2;for(let t=n;t--;)if(e[t]&&(e[t].trim()||r&&`
\r`.includes(e[t])||f&&e[t]===v))return t;return null}function h(e,n=0){return $e({str:e,idx:n,stopAtNewlines:!1,stopAtRawNbsp:!1})}function X(e,n,r,f,t){if(typeof n!="string"||!n.length||(typeof r!="number"&&(r=0),e==="right"&&!n[r+1]||e==="left"&&!n[~-r]))return null;let l=r,i=[],o,s,u,a=0;for(;a<t.length;){if(!C(t[a])||!t[a].length){a+=1;continue}let{value:b,optional:g,hungry:$}=ce(t[a]),p=e==="right"?m(n,l):h(n,l);if(f.i&&n[p].toLowerCase()===b.toLowerCase()||!f.i&&n[p]===b){let c=e==="right"?m(n,p):h(n,p);$&&(f.i&&n[c].toLowerCase()===b.toLowerCase()||!f.i&&n[c]===b)?u=!0:a+=1,typeof p=="number"&&e==="right"&&p>l+1?i.push([l+1,p]):e==="left"&&typeof p=="number"&&p<~-l&&i.unshift([p+1,l]),l=p,e==="right"?(o===void 0&&(o=p),s=p):(s===void 0&&(s=p),o=p)}else if(g){a+=1;continue}else if(u){a+=1,u=void 0;continue}else return null}return o===void 0||s===void 0?null:{gaps:i,leftmostChar:o,rightmostChar:s}}var F={i:!1};function x(e,n,...r){if(!(r!=null&&r.length))throw new Error("string-left-right/leftSeq(): only two input arguments were passed! Did you intend to use left() method instead?");let f;return R(r[0])?f=w(w({},F),r.shift()):f=F,X("left",e,n,f,Array.from(r).reverse())}function j(e,n,...r){if(!(r!=null&&r.length))throw new Error("string-left-right/rightSeq(): only two input arguments were passed! Did you intend to use right() method instead?");let f;return R(r[0])?f=w(w({},F),r.shift()):f=F,X("right",e,n,f,r)}var Y="3.0.13";var L={CONFIGHEAD:"GENERATE-ATOMIC-CSS-CONFIG-STARTS",CONFIGTAIL:"GENERATE-ATOMIC-CSS-CONFIG-ENDS",CONTENTHEAD:"GENERATE-ATOMIC-CSS-CONTENT-STARTS",CONTENTTAIL:"GENERATE-ATOMIC-CSS-CONTENT-ENDS"},I=["px","em","%","rem","cm","mm","in","pt","pc","ex","ch","vw","vmin","vmax"],{CONFIGHEAD:S,CONFIGTAIL:N,CONTENTHEAD:E,CONTENTTAIL:y}=L,de=[":"];function k(e){let n=e,r="",f="";if(e.includes(S)&&e.includes(N)){if(e.indexOf(N)!==-1&&e.indexOf(E)!==-1&&e.indexOf(N)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_02] Config heads are after config tails!");let t=e.indexOf(S)+S.length,l=e.indexOf(N);if(e[m(e,t)]==="*"&&e[m(e,m(e,t))]==="/"&&(t=m(e,m(e,t))+1),e[h(e,l)]==="*"&&e[h(e,h(e,l))]==="/"&&(l=h(e,h(e,l))),n=e.slice(t,l).trim(),!C(n)||!n.trim().length)return[n,r,f]}else if(e.includes(S)&&!e.includes(N)&&e.includes(E)){if(e.indexOf(S)>e.indexOf(E))throw new Error("generate-atomic-css: [THROW_ID_03] Config heads are after content heads!");n=e.slice(e.indexOf(S)+S.length,e.indexOf(E))}else if(!e.includes(S)&&!e.includes(N)&&(e.includes(E)||e.includes(y))){if(n=e,n.includes(E)){if(h(e,n.indexOf(E))){let i=n.indexOf(E);x(e,i,"/","*")&&(i=x(e,i,"/","*").leftmostChar),r=i===0?"":e.slice(0,i)}let t=n.indexOf(E)+E.length;j(n,t-1,"*","/")&&(t=j(n,t-1,"*","/").rightmostChar+1);let l=null;if(e.includes(y)){l=e.indexOf(y),e[h(e,l)]==="*"&&e[h(e,h(e,l))]==="/"&&(l=h(e,h(e,l)));let i=e.indexOf(y)+y.length;e[m(e,i-1)]==="*"&&e[m(e,m(e,i-1))]==="/"&&(i=m(e,m(e,i-1))+1),m(e,i)&&(f=e.slice(i))}l?n=n.slice(t,l).trim():n=n.slice(t).trim()}else if(n.includes(y)){let t=[],l=!1;n=n.split(`
`).filter(s=>!s.includes("$$$")&&!l?(l||t.push(s),!1):(l||(l=!0),!0)).join(`
`);let i=n.indexOf(y);x(n,i,"/","*")&&(i=x(n,i,"/","*").leftmostChar),n=n.slice(0,i).trim(),t.length&&(r=`${t.join(`
`)}
`);let o;m(e,e.indexOf(y)+y.length)&&(o=e.indexOf(y)+y.length,e[m(e,o)]==="*"&&e[m(e,m(e,o))]==="/"&&(o=m(e,m(e,o))+1,m(e,o)&&(c=e.slice(o))))}}else{let t=new RegExp(`(\\/\\s*\\*\\s*)*${E}(\\s*\\*\\s*\\/)*`),l=new RegExp(`(\\/\\s*\\*\\s*)*${y}(\\s*\\*\\s*\\/)*`),i=!1,o=[],s=[],u=e.split(`
`);let o;m(e,e.indexOf(y)+y.length)&&(o=e.indexOf(y)+y.length,e[m(e,o)]==="*"&&e[m(e,m(e,o))]==="/"&&(o=m(e,m(e,o))+1,m(e,o)&&(f=e.slice(o))))}}else{let t=new RegExp(`(\\/\\s*\\*\\s*)*${E}(\\s*\\*\\s*\\/)*`),l=new RegExp(`(\\/\\s*\\*\\s*)*${y}(\\s*\\*\\s*\\/)*`),i=!1,o=[],s=[],u=e.split(`
`).filter(a=>i?!0:!a.includes("$$$")&&!a.includes("{")&&!a.includes(":")?(o.push(a),!1):(i=!0,!0));for(let a=u.length;a--&&(!u[a].includes("$$$")&&!u[a].includes("}")&&!u[a].includes(":"));)s.unshift(u.pop());n=u.join(`
`).replace(t,"").replace(l,""),o.length&&(r=`${o.join(`
`)}
`),s.length&&(c=`
`),s.length&&(f=`
${s.join(`
`)}`)}return[n,r,c]}function de(e,n=!0){if(!n)return e;let r=Array.from(e);if(r.length&&C(r[0])&&!r[0].trim().length)do r.shift();while(C(r[0])&&!r[0].trim().length);if(r.length&&C(r[r.length-1])&&!r[r.length-1].trim().length)do r.pop();while(r[r.length-1]&&!r[r.length-1].trim().length);return r}function j(e,n=0,r=500){let c=n,t=r,l=e,i;if(e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")?i=e.slice(e.lastIndexOf("}")+1).split("|").filter(o=>o.trim().length).map(o=>o.trim()).filter(o=>String(o).split("").every(s=>/\d/g.test(s))):e.includes("|")&&(i=e.split("|").filter(o=>o.trim().length).map(o=>o.trim()).filter(o=>String(o).split("").every(s=>/\d/g.test(s)))),Array.isArray(i)&&(i.length===1?t=Number.parseInt(i[0],10):i.length>1&&(c=Number.parseInt(i[0],10),t=Number.parseInt(i[1],10))),e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")){if(l=e.slice(0,e.indexOf("|",e.lastIndexOf("}")+1)).trimEnd(),l.trim().startsWith("|"))for(;l.trim().startsWith("|");)l=l.trim().slice(1)}else{let o=null,s=!1,u=0,a=e.length,b=null;for(let g=0,$=e.length;g<$;g++)if("0123456789".includes(e[g])?b===null&&e[g].trim().length&&(b=!0):e[g]!=="|"&&e[g].trim().length&&(b=!1),!e[g+1]&&b&&o&&(a=o),e[g]==="|"){if(b&&o){a=o;break}o=g,b=null}else!s&&e[g].trim().length&&(s=!0,o!==null&&(u=o+1));l=e.slice(u,a).trimEnd()}return[c,t,l]}function be(e,n,r,c,t,l){let i,o=0,[s,u,a]=j(e,0,500),b=c-r,g="";for(let $=s;$<=u;$++){let p=0,f=0;for(let d=0,W=a.length;d<W;d++){let De=a[d].charCodeAt(0);if(a[d]==="$"&&a[d-1]==="$"&&a[d-2]==="$"){let P=a.slice(d+1),A="";if($===0&&I.some(D=>{if(P.startsWith(D))return A=D,!0})&&(a[m(a,d+A.length)]==="{"||!a[d+A.length+1].trim().length))g+=`${a.slice(f,d-2)}${l?String($).padStart(String(u).length-String($).length+A.length+1):$}`,f=d+1+(A?A.length:0);else{let D="";if(I.some(S=>{if(a.startsWith(S,d+1))return D=S,!0}),!a[d-3].trim().length||ge.some(S=>a.slice(f,d-2).trim().endsWith(S))){let S=0;$===0&&I.some(J=>(`${a.slice(f,d-2)}`.startsWith(J)&&(S=J.length),!0)),g+=`${a.slice(f+S,d-2)}${l?String($).padStart(String(u).length+($===0&&D?D.length:0)):$}`}else!a[d+1].trim().length||a[m(a,d)]==="{"?g+=`${a.slice(f,d-2)}${l?String($).padEnd(String(u).length+($===0&&D?+D.length:0)):$}`:(g+=`${a.slice(f,d-2)}${$}`,l&&(p=String(u).length-String($).length));f=d+1}}if(a[d]==="{"&&l&&p&&(g+=`${a.slice(f,d)}${" ".repeat(p)}`,f=d,p=0),!a[d+1]){let P="",A=a.slice(f);$===0&&I.some(D=>{if(A.startsWith(D))return P=D,!0})?g+=`${a.slice(f+P.length)}`:g+=`${a.slice(f)}`,g+=`${$!==u?`
`:""}`}}t.count+=1,typeof n=="function"&&(i=Math.floor(r+$/(u-s)*b),i!==o&&(o=i,n(i)))}return g}function pe(e,n){return/\.\w/g.test(e)&&(n.count+=1),e}function Y(e,n,r,c,t=!0,l,i){return de(e.split(/\r?\n/).map((o,s,u)=>o.includes("$$$")?be(o,n,r+(c-r)/u.length*s,r+(c-r)/u.length*(s+1),l,i):pe(o,l)),t).join(`
`)}var he=z,M={includeConfig:!0,includeHeadsAndTails:!0,pad:!0,configOverride:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function Ee(e,n){function r(f,d=M){return!d.includeConfig&&!d.includeHeadsAndTails?f:f.trim()}if(typeof e!="string")throw new Error(`generate-atomic-css: [THROW_ID_01] First input argument must be a string! It was given as "${JSON.stringify(e,null,4)}" (type ${typeof e})`);let{CONFIGHEAD:c,CONFIGTAIL:t,CONTENTHEAD:l,CONTENTTAIL:i}=L,o={count:0},s=w(w({},M),n);if(s.includeConfig&&!s.includeHeadsAndTails&&(s.includeHeadsAndTails=!0),!s.configOverride&&!e.includes("$$$")&&!e.includes(c)&&!e.includes(t)&&!e.includes(l)&&!e.includes(i)||s!=null&&s.configOverride&&typeof s.configOverride=="string"&&!s.configOverride.includes("$$$")&&!s.configOverride.includes(c)&&!s.configOverride.includes(t)&&!s.configOverride.includes(l)&&!s.configOverride.includes(i))return{log:{count:0},result:e};let u="",a="",[b,g,$]=X(s.configOverride?s.configOverride:e);if(typeof b!="string"||!b.trim())return{log:{count:0},result:""};if((s.includeConfig||s.includeHeadsAndTails)&&(u=`${l} */
`)}`)}return[n,r,f]}function be(e,n=!0){if(!n)return e;let r=Array.from(e);if(r.length&&C(r[0])&&!r[0].trim().length)do r.shift();while(C(r[0])&&!r[0].trim().length);if(r.length&&C(r[r.length-1])&&!r[r.length-1].trim().length)do r.pop();while(r[r.length-1]&&!r[r.length-1].trim().length);return r}function M(e,n=0,r=500){let f=n,t=r,l=e,i;if(e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")?i=e.slice(e.lastIndexOf("}")+1).split("|").filter(o=>o.trim().length).map(o=>o.trim()).filter(o=>String(o).split("").every(s=>/\d/g.test(s))):e.includes("|")&&(i=e.split("|").filter(o=>o.trim().length).map(o=>o.trim()).filter(o=>String(o).split("").every(s=>/\d/g.test(s)))),Array.isArray(i)&&(i.length===1?t=Number.parseInt(i[0],10):i.length>1&&(f=Number.parseInt(i[0],10),t=Number.parseInt(i[1],10))),e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")){if(l=e.slice(0,e.indexOf("|",e.lastIndexOf("}")+1)).trimEnd(),l.trim().startsWith("|"))for(;l.trim().startsWith("|");)l=l.trim().slice(1)}else{let o=null,s=!1,u=0,a=e.length,b=null;for(let g=0,$=e.length;g<$;g++)if("0123456789".includes(e[g])?b===null&&e[g].trim().length&&(b=!0):e[g]!=="|"&&e[g].trim().length&&(b=!1),!e[g+1]&&b&&o&&(a=o),e[g]==="|"){if(b&&o){a=o;break}o=g,b=null}else!s&&e[g].trim().length&&(s=!0,o!==null&&(u=o+1));l=e.slice(u,a).trimEnd()}return[f,t,l]}function pe(e,n,r,f,t,l){let i,o=0,[s,u,a]=M(e,0,500),b=f-r,g="";for(let $=s;$<=u;$++){let p=0,c=0;for(let d=0,J=a.length;d<J;d++){let De=a[d].charCodeAt(0);if(a[d]==="$"&&a[d-1]==="$"&&a[d-2]==="$"){let P=a.slice(d+1),D="";if($===0&&I.some(A=>{if(P.startsWith(A))return D=A,!0})&&(a[m(a,d+D.length)]==="{"||!a[d+D.length+1].trim().length))g+=`${a.slice(c,d-2)}${l?String($).padStart(String(u).length-String($).length+D.length+1):$}`,c=d+1+(D?D.length:0);else{let A="";if(I.some(O=>{if(a.startsWith(O,d+1))return A=O,!0}),!a[d-3].trim().length||de.some(O=>a.slice(c,d-2).trim().endsWith(O))){let O=0;$===0&&I.some(H=>(`${a.slice(c,d-2)}`.startsWith(H)&&(O=H.length),!0)),g+=`${a.slice(c+O,d-2)}${l?String($).padStart(String(u).length+($===0&&A?A.length:0)):$}`}else!a[d+1].trim().length||a[m(a,d)]==="{"?g+=`${a.slice(c,d-2)}${l?String($).padEnd(String(u).length+($===0&&A?+A.length:0)):$}`:(g+=`${a.slice(c,d-2)}${$}`,l&&(p=String(u).length-String($).length));c=d+1}}if(a[d]==="{"&&l&&p&&(g+=`${a.slice(c,d)}${" ".repeat(p)}`,c=d,p=0),!a[d+1]){let P="",D=a.slice(c);$===0&&I.some(A=>{if(D.startsWith(A))return P=A,!0})?g+=`${a.slice(c+P.length)}`:g+=`${a.slice(c)}`,g+=`${$!==u?`
`:""}`}}t.count+=1,typeof n=="function"&&(i=Math.floor(r+$/(u-s)*b),i!==o&&(o=i,n(i)))}return g}function he(e,n){return/\.\w/g.test(e)&&(n.count+=1),e}function ee(e,n,r,f,t=!0,l,i){return be(e.split(/\r?\n/).map((o,s,u)=>o.includes("$$$")?pe(o,n,r+(f-r)/u.length*s,r+(f-r)/u.length*(s+1),l,i):he(o,l)),t).join(`
`)}var Ee=Y,W={includeConfig:!0,includeHeadsAndTails:!0,pad:!0,configOverride:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function ye(e,n){function r(c,d=W){return!d.includeConfig&&!d.includeHeadsAndTails?c:c.trim()}if(typeof e!="string")throw new Error(`generate-atomic-css: [THROW_ID_01] First input argument must be a string! It was given as "${JSON.stringify(e,null,4)}" (type ${typeof e})`);let{CONFIGHEAD:f,CONFIGTAIL:t,CONTENTHEAD:l,CONTENTTAIL:i}=L,o={count:0},s=w(w({},W),n);if(s.includeConfig&&!s.includeHeadsAndTails&&(s.includeHeadsAndTails=!0),!s.configOverride&&!e.includes("$$$")&&!e.includes(f)&&!e.includes(t)&&!e.includes(l)&&!e.includes(i)||s!=null&&s.configOverride&&typeof s.configOverride=="string"&&!s.configOverride.includes("$$$")&&!s.configOverride.includes(f)&&!s.configOverride.includes(t)&&!s.configOverride.includes(l)&&!s.configOverride.includes(i))return{log:{count:0},result:e};let u="",a="",[b,g,$]=k(s.configOverride?s.configOverride:e);if(typeof b!="string"||!b.trim())return{log:{count:0},result:""};if((s.includeConfig||s.includeHeadsAndTails)&&(u=`${l} */
`,s.includeConfig||(u=`/* ${u}`),a=`
/* ${i} */`),s.includeConfig&&(u=`/* ${c}
/* ${i} */`),s.includeConfig&&(u=`/* ${f}
${b.trim()}
${t}
${u}`),e.includes(c)&&h(e,e.indexOf(c))!=null){let f=e.indexOf(c);e[h(e,f)]==="*"&&e[h(e,h(e,f))]==="/"&&(f=h(e,h(e,f)));let d="/* ";(e[m(e,f-1)]==="/"&&e[m(e,m(e,f-1))]==="*"||u.trim().startsWith("/*"))&&(d=""),u=`${e.slice(0,f)}${d}${u}`}if(e.includes(t)&&m(e,e.indexOf(t)+t.length)){let f=e.indexOf(t)+t.length;e[m(e,e.indexOf(t)+t.length)]==="*"&&e[m(e,m(e,e.indexOf(t)+t.length))]==="/"&&(f=m(e,m(e,e.indexOf(t)+t.length))+1),e.slice(m(e,f-1)).startsWith(l)&&(f=m(e,f)||0+l.length,e[m(e,f-1)]==="*"&&e[m(e,m(e,f-1))]==="/"&&(f=m(e,m(e,f-1))+1),e.includes(i)&&(f=e.indexOf(i)+i.length,e[m(e,f)]==="*"&&e[m(e,m(e,f))]==="/"&&(f=m(e,m(e,f))+1)));let d=e.slice(f);d.length&&d.includes(i)&&(f=e.indexOf(i)+i.length,e[m(e,f)]==="*"&&e[m(e,m(e,f))]==="/"&&(f=m(e,m(e,f))+1)),a=`${a}${e[f]&&m(e,f-1)?e.slice(f):""}`}if(typeof g=="string"&&(u=`${g}${u}`),typeof $=="string"){if($.trim().endsWith("/*")&&!$.trim().startsWith("*/")){let f="";typeof $=="string"&&$[0]&&!$[0].trim()&&(f=$.slice(0,m($,0)||0)),$=`${f}/* ${$.trim()}`}a=`${a}${$}`}let p=`${r(`${u}${Y(b,s.reportProgressFunc,s.reportProgressFuncFrom,s.reportProgressFuncTo,!0,o,s.pad)}${a}`,s)}
`;return{log:{count:o.count},result:p}}return se(ye);})();
${u}`),e.includes(f)&&h(e,e.indexOf(f))!=null){let c=e.indexOf(f);e[h(e,c)]==="*"&&e[h(e,h(e,c))]==="/"&&(c=h(e,h(e,c)));let d="/* ";(e[m(e,c-1)]==="/"&&e[m(e,m(e,c-1))]==="*"||u.trim().startsWith("/*"))&&(d=""),u=`${e.slice(0,c)}${d}${u}`}if(e.includes(t)&&m(e,e.indexOf(t)+t.length)){let c=e.indexOf(t)+t.length;e[m(e,e.indexOf(t)+t.length)]==="*"&&e[m(e,m(e,e.indexOf(t)+t.length))]==="/"&&(c=m(e,m(e,e.indexOf(t)+t.length))+1),e.slice(m(e,c-1)).startsWith(l)&&(c=m(e,c)||0+l.length,e[m(e,c-1)]==="*"&&e[m(e,m(e,c-1))]==="/"&&(c=m(e,m(e,c-1))+1),e.includes(i)&&(c=e.indexOf(i)+i.length,e[m(e,c)]==="*"&&e[m(e,m(e,c))]==="/"&&(c=m(e,m(e,c))+1)));let d=e.slice(c);d.length&&d.includes(i)&&(c=e.indexOf(i)+i.length,e[m(e,c)]==="*"&&e[m(e,m(e,c))]==="/"&&(c=m(e,m(e,c))+1)),a=`${a}${e[c]&&m(e,c-1)?e.slice(c):""}`}if(typeof g=="string"&&(u=`${g}${u}`),typeof $=="string"){if($.trim().endsWith("/*")&&!$.trim().startsWith("*/")){let c="";typeof $=="string"&&$[0]&&!$[0].trim()&&(c=$.slice(0,m($,0)||0)),$=`${c}/* ${$.trim()}`}a=`${a}${$}`}let p=`${r(`${u}${ee(b,s.reportProgressFunc,s.reportProgressFuncFrom,s.reportProgressFuncTo,!0,o,s.pad)}${a}`,s)}
`;return{log:{count:o.count},result:p}}return ue(Ae);})();
/**
* @name codsen-utils
* @fileoverview Various utility functions
* @version 1.5.0
* @version 1.6.0
* @author Roy Revelt, Codsen Ltd

@@ -47,3 +47,3 @@ * @license MIT

* @fileoverview Looks up the first non-whitespace character to the left/right of a given index
* @version 6.0.12
* @version 6.0.13
* @author Roy Revelt, Codsen Ltd

@@ -50,0 +50,0 @@ * @license MIT

{
"name": "generate-atomic-css",
"version": "3.0.12",
"version": "3.0.13",
"description": "Generate Atomic CSS",

@@ -73,5 +73,5 @@ "keywords": [

"dependencies": {
"codsen-utils": "^1.5.0",
"string-left-right": "^6.0.12"
"codsen-utils": "^1.6.0",
"string-left-right": "^6.0.13"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc