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.11 to 3.0.12

14

dist/generate-atomic-css.esm.js
/**
* @name generate-atomic-css
* @fileoverview Generate Atomic CSS
* @version 3.0.11
* @version 3.0.12
* @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.11";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,H=[":"];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.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(`
`).filter(i=>!i.includes("$$$")&&!l?(l||s.push(i),!1):(l||(l=!0),!0)).join(`

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

${i.join(`
`)}`)}return[u,c,d]}function M(e,u=!0){if(!u)return e;let c=Array.from(e);if(c.length&&P(c[0])&&!c[0].trim().length)do c.shift();while(P(c[0])&&!c[0].trim().length);if(c.length&&P(c[c.length-1])&&!c[c.length-1].trim().length)do c.pop();while(c[c.length-1]&&!c[c.length-1].trim().length);return c}function j(e,u=0,c=500){let d=u,s=c,l=e,o;if(e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")?o=e.slice(e.lastIndexOf("}")+1).split("|").filter(r=>r.trim().length).map(r=>r.trim()).filter(r=>String(r).split("").every(i=>/\d/g.test(i))):e.includes("|")&&(o=e.split("|").filter(r=>r.trim().length).map(r=>r.trim()).filter(r=>String(r).split("").every(i=>/\d/g.test(i)))),Array.isArray(o)&&(o.length===1?s=Number.parseInt(o[0],10):o.length>1&&(d=Number.parseInt(o[0],10),s=Number.parseInt(o[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 r=null,i=!1,a=0,t=e.length,p=null;for(let f=0,m=e.length;f<m;f++)if("0123456789".includes(e[f])?p===null&&e[f].trim().length&&(p=!0):e[f]!=="|"&&e[f].trim().length&&(p=!1),!e[f+1]&&p&&r&&(t=r),e[f]==="|"){if(p&&r){t=r;break}r=f,p=null}else!i&&e[f].trim().length&&(i=!0,r!==null&&(a=r+1));l=e.slice(a,t).trimEnd()}return[d,s,l]}function G(e,u,c,d,s,l){let o,r=0,[i,a,t]=j(e,0,500),p=d-c,f="";for(let m=i;m<=a;m++){let A=0,n=0;for(let $=0,v=t.length;$<v;$++){let _=t[$].charCodeAt(0);if(t[$]==="$"&&t[$-1]==="$"&&t[$-2]==="$"){let y=t.slice($+1),V="";if(m===0&&w.some(D=>{if(y.startsWith(D))return V=D,!0})&&(t[b(t,$+V.length)]==="{"||!t[$+V.length+1].trim().length))f+=`${t.slice(n,$-2)}${l?String(m).padStart(String(a).length-String(m).length+V.length+1):m}`,n=$+1+(V?V.length:0);else{let D="";if(w.some(C=>{if(t.startsWith(C,$+1))return D=C,!0}),!t[$-3].trim().length||H.some(C=>t.slice(n,$-2).trim().endsWith(C))){let C=0;m===0&&w.some(I=>(`${t.slice(n,$-2)}`.startsWith(I)&&(C=I.length),!0)),f+=`${t.slice(n+C,$-2)}${l?String(m).padStart(String(a).length+(m===0&&D?D.length:0)):m}`}else!t[$+1].trim().length||t[b(t,$)]==="{"?f+=`${t.slice(n,$-2)}${l?String(m).padEnd(String(a).length+(m===0&&D?+D.length:0)):m}`:(f+=`${t.slice(n,$-2)}${m}`,l&&(A=String(a).length-String(m).length));n=$+1}}if(t[$]==="{"&&l&&A&&(f+=`${t.slice(n,$)}${" ".repeat(A)}`,n=$,A=0),!t[$+1]){let y="",V=t.slice(n);m===0&&w.some(D=>{if(V.startsWith(D))return y=D,!0})?f+=`${t.slice(n+y.length)}`:f+=`${t.slice(n)}`,f+=`${m!==a?`
`:""}`}}s.count+=1,typeof u=="function"&&(o=Math.floor(c+m/(a-i)*p),o!==r&&(r=o,u(o)))}return f}function k(e,u){return/\.\w/g.test(e)&&(u.count+=1),e}function B(e,u,c,d,s=!0,l,o){return M(e.split(/\r?\n/).map((r,i,a)=>r.includes("$$$")?G(r,u,c+(d-c)/a.length*i,c+(d-c)/a.length*(i+1),l,o):k(r,l)),s).join(`
`)}var ne=J,U={includeConfig:!0,includeHeadsAndTails:!0,pad:!0,configOverride:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function te(e,u){function c(n,$={}){return!$.includeConfig&&!$.includeHeadsAndTails?n:n.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:d,CONFIGTAIL:s,CONTENTHEAD:l,CONTENTTAIL:o}=F,r={count:0},i={...U,...u};if(i.includeConfig&&!i.includeHeadsAndTails&&(i.includeHeadsAndTails=!0),!i.configOverride&&!e.includes("$$$")&&!e.includes(d)&&!e.includes(s)&&!e.includes(l)&&!e.includes(o)||i?.configOverride&&typeof i.configOverride=="string"&&!i.configOverride.includes("$$$")&&!i.configOverride.includes(d)&&!i.configOverride.includes(s)&&!i.configOverride.includes(l)&&!i.configOverride.includes(o))return{log:{count:0},result:e};let a="",t="",[p,f,m]=W(i.configOverride?i.configOverride:e);if(typeof p!="string"||!p.trim())return{log:{count:0},result:""};if((i.includeConfig||i.includeHeadsAndTails)&&(a=`${l} */
`)}`)}return[u,c,d]}function G(e,u=!0){if(!u)return e;let c=Array.from(e);if(c.length&&P(c[0])&&!c[0].trim().length)do c.shift();while(P(c[0])&&!c[0].trim().length);if(c.length&&P(c[c.length-1])&&!c[c.length-1].trim().length)do c.pop();while(c[c.length-1]&&!c[c.length-1].trim().length);return c}function B(e,u=0,c=500){let d=u,s=c,l=e,o;if(e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")?o=e.slice(e.lastIndexOf("}")+1).split("|").filter(r=>r.trim().length).map(r=>r.trim()).filter(r=>String(r).split("").every(i=>/\d/g.test(i))):e.includes("|")&&(o=e.split("|").filter(r=>r.trim().length).map(r=>r.trim()).filter(r=>String(r).split("").every(i=>/\d/g.test(i)))),Array.isArray(o)&&(o.length===1?s=Number.parseInt(o[0],10):o.length>1&&(d=Number.parseInt(o[0],10),s=Number.parseInt(o[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 r=null,i=!1,a=0,t=e.length,p=null;for(let f=0,m=e.length;f<m;f++)if("0123456789".includes(e[f])?p===null&&e[f].trim().length&&(p=!0):e[f]!=="|"&&e[f].trim().length&&(p=!1),!e[f+1]&&p&&r&&(t=r),e[f]==="|"){if(p&&r){t=r;break}r=f,p=null}else!i&&e[f].trim().length&&(i=!0,r!==null&&(a=r+1));l=e.slice(a,t).trimEnd()}return[d,s,l]}function k(e,u,c,d,s,l){let o,r=0,[i,a,t]=B(e,0,500),p=d-c,f="";for(let m=i;m<=a;m++){let A=0,n=0;for(let $=0,v=t.length;$<v;$++){let _=t[$].charCodeAt(0);if(t[$]==="$"&&t[$-1]==="$"&&t[$-2]==="$"){let y=t.slice($+1),V="";if(m===0&&w.some(D=>{if(y.startsWith(D))return V=D,!0})&&(t[b(t,$+V.length)]==="{"||!t[$+V.length+1].trim().length))f+=`${t.slice(n,$-2)}${l?String(m).padStart(String(a).length-String(m).length+V.length+1):m}`,n=$+1+(V?V.length:0);else{let D="";if(w.some(C=>{if(t.startsWith(C,$+1))return D=C,!0}),!t[$-3].trim().length||M.some(C=>t.slice(n,$-2).trim().endsWith(C))){let C=0;m===0&&w.some(I=>(`${t.slice(n,$-2)}`.startsWith(I)&&(C=I.length),!0)),f+=`${t.slice(n+C,$-2)}${l?String(m).padStart(String(a).length+(m===0&&D?D.length:0)):m}`}else!t[$+1].trim().length||t[b(t,$)]==="{"?f+=`${t.slice(n,$-2)}${l?String(m).padEnd(String(a).length+(m===0&&D?+D.length:0)):m}`:(f+=`${t.slice(n,$-2)}${m}`,l&&(A=String(a).length-String(m).length));n=$+1}}if(t[$]==="{"&&l&&A&&(f+=`${t.slice(n,$)}${" ".repeat(A)}`,n=$,A=0),!t[$+1]){let y="",V=t.slice(n);m===0&&w.some(D=>{if(V.startsWith(D))return y=D,!0})?f+=`${t.slice(n+y.length)}`:f+=`${t.slice(n)}`,f+=`${m!==a?`
`:""}`}}s.count+=1,typeof u=="function"&&(o=Math.floor(c+m/(a-i)*p),o!==r&&(r=o,u(o)))}return f}function U(e,u){return/\.\w/g.test(e)&&(u.count+=1),e}function R(e,u,c,d,s=!0,l,o){return G(e.split(/\r?\n/).map((r,i,a)=>r.includes("$$$")?k(r,u,c+(d-c)/a.length*i,c+(d-c)/a.length*(i+1),l,o):U(r,l)),s).join(`
`)}var ne=J,j={includeConfig:!0,includeHeadsAndTails:!0,pad:!0,configOverride:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function te(e,u){function c(n,$=j){return!$.includeConfig&&!$.includeHeadsAndTails?n:n.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:d,CONFIGTAIL:s,CONTENTHEAD:l,CONTENTTAIL:o}=F,r={count:0},i={...j,...u};if(i.includeConfig&&!i.includeHeadsAndTails&&(i.includeHeadsAndTails=!0),!i.configOverride&&!e.includes("$$$")&&!e.includes(d)&&!e.includes(s)&&!e.includes(l)&&!e.includes(o)||i?.configOverride&&typeof i.configOverride=="string"&&!i.configOverride.includes("$$$")&&!i.configOverride.includes(d)&&!i.configOverride.includes(s)&&!i.configOverride.includes(l)&&!i.configOverride.includes(o))return{log:{count:0},result:e};let a="",t="",[p,f,m]=W(i.configOverride?i.configOverride:e);if(typeof p!="string"||!p.trim())return{log:{count:0},result:""};if((i.includeConfig||i.includeHeadsAndTails)&&(a=`${l} */
`,i.includeConfig||(a=`/* ${a}`),t=`

@@ -29,3 +29,3 @@ /* ${o} */`),i.includeConfig&&(a=`/* ${d}

${s}
${a}`),e.includes(d)&&N(e,e.indexOf(d))!=null){let n=e.indexOf(d);e[N(e,n)]==="*"&&e[N(e,N(e,n))]==="/"&&(n=N(e,N(e,n)));let $="/* ";(e[g(e,n-1)]==="/"&&e[g(e,g(e,n-1))]==="*"||a.trim().startsWith("/*"))&&($=""),a=`${e.slice(0,n)}${$}${a}`}if(e.includes(s)&&g(e,e.indexOf(s)+s.length)){let n=e.indexOf(s)+s.length;e[g(e,e.indexOf(s)+s.length)]==="*"&&e[g(e,g(e,e.indexOf(s)+s.length))]==="/"&&(n=g(e,g(e,e.indexOf(s)+s.length))+1),e.slice(g(e,n-1)).startsWith(l)&&(n=g(e,n)||0+l.length,e[g(e,n-1)]==="*"&&e[g(e,g(e,n-1))]==="/"&&(n=g(e,g(e,n-1))+1),e.includes(o)&&(n=e.indexOf(o)+o.length,e[g(e,n)]==="*"&&e[g(e,g(e,n))]==="/"&&(n=g(e,g(e,n))+1)));let $=e.slice(n);$.length&&$.includes(o)&&(n=e.indexOf(o)+o.length,e[g(e,n)]==="*"&&e[g(e,g(e,n))]==="/"&&(n=g(e,g(e,n))+1)),t=`${t}${e[n]&&g(e,n-1)?e.slice(n):""}`}if(typeof f=="string"&&(a=`${f}${a}`),typeof m=="string"){if(m.trim().endsWith("/*")&&!m.trim().startsWith("*/")){let n="";typeof m=="string"&&m[0]&&!m[0].trim()&&(n=m.slice(0,g(m,0)||0)),m=`${n}/* ${m.trim()}`}t=`${t}${m}`}let A=`${c(`${a}${B(p,i.reportProgressFunc,i.reportProgressFuncFrom,i.reportProgressFuncTo,!0,r,i.pad)}${t}`,i)}
`;return{log:{count:r.count},result:A}}export{U as defaults,j as extractFromToSource,te as genAtomic,F as headsAndTails,ne as version};
${a}`),e.includes(d)&&N(e,e.indexOf(d))!=null){let n=e.indexOf(d);e[N(e,n)]==="*"&&e[N(e,N(e,n))]==="/"&&(n=N(e,N(e,n)));let $="/* ";(e[g(e,n-1)]==="/"&&e[g(e,g(e,n-1))]==="*"||a.trim().startsWith("/*"))&&($=""),a=`${e.slice(0,n)}${$}${a}`}if(e.includes(s)&&g(e,e.indexOf(s)+s.length)){let n=e.indexOf(s)+s.length;e[g(e,e.indexOf(s)+s.length)]==="*"&&e[g(e,g(e,e.indexOf(s)+s.length))]==="/"&&(n=g(e,g(e,e.indexOf(s)+s.length))+1),e.slice(g(e,n-1)).startsWith(l)&&(n=g(e,n)||0+l.length,e[g(e,n-1)]==="*"&&e[g(e,g(e,n-1))]==="/"&&(n=g(e,g(e,n-1))+1),e.includes(o)&&(n=e.indexOf(o)+o.length,e[g(e,n)]==="*"&&e[g(e,g(e,n))]==="/"&&(n=g(e,g(e,n))+1)));let $=e.slice(n);$.length&&$.includes(o)&&(n=e.indexOf(o)+o.length,e[g(e,n)]==="*"&&e[g(e,g(e,n))]==="/"&&(n=g(e,g(e,n))+1)),t=`${t}${e[n]&&g(e,n-1)?e.slice(n):""}`}if(typeof f=="string"&&(a=`${f}${a}`),typeof m=="string"){if(m.trim().endsWith("/*")&&!m.trim().startsWith("*/")){let n="";typeof m=="string"&&m[0]&&!m[0].trim()&&(n=m.slice(0,g(m,0)||0)),m=`${n}/* ${m.trim()}`}t=`${t}${m}`}let A=`${c(`${a}${R(p,i.reportProgressFunc,i.reportProgressFuncFrom,i.reportProgressFuncTo,!0,r,i.pad)}${t}`,i)}
`;return{log:{count:r.count},result:A}}export{j as defaults,B as extractFromToSource,te as genAtomic,F as headsAndTails,ne as version};
/**
* @name generate-atomic-css
* @fileoverview Generate Atomic CSS
* @version 3.0.11
* @version 3.0.12
* @author Roy Revelt, Codsen Ltd

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

"use strict";var generateAtomicCss=(()=>{var Et=Object.create;var W=Object.defineProperty;var yt=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames,we=Object.getOwnPropertySymbols,wt=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var De=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))Oe.call(t,n)&&De(e,n,t[n]);if(we)for(var n of we(t))Dt.call(t,n)&&De(e,n,t[n]);return e};var Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ct=(e,t)=>{for(var n in t)W(e,n,{get:t[n],enumerable:!0})},Ce=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of At(t))!Oe.call(e,o)&&o!==n&&W(e,o,{get:()=>t[o],enumerable:!(r=yt(t,o))||r.enumerable});return e};var St=(e,t,n)=>(n=e!=null?Et(wt(e)):{},Ce(t||!e||!e.__esModule?W(n,"default",{value:e,enumerable:!0}):n,e)),Tt=e=>Ce(W({},"__esModule",{value:!0}),e);var mt=Ot((M,F)=>{var vt=200,Le="__lodash_hash_undefined__",Re=9007199254740991,fe="[object Arguments]",xt="[object Array]",Be="[object Boolean]",We="[object Date]",Vt="[object Error]",ge="[object Function]",Me="[object GeneratorFunction]",k="[object Map]",Je="[object Number]",me="[object Object]",Se="[object Promise]",He="[object RegExp]",q="[object Set]",Ge="[object String]",Ue="[object Symbol]",ie="[object WeakMap]",ke="[object ArrayBuffer]",K="[object DataView]",qe="[object Float32Array]",Ke="[object Float64Array]",Qe="[object Int8Array]",Ze="[object Int16Array]",Xe="[object Int32Array]",Ye="[object Uint8Array]",ze="[object Uint8ClampedArray]",et="[object Uint16Array]",tt="[object Uint32Array]",Nt=/[\\^$.*+?()[\]{}|]/g,_t=/\w*$/,Pt=/^\[object .+?Constructor\]$/,Ft=/^(?:0|[1-9]\d*)$/,p={};p[fe]=p[xt]=p[ke]=p[K]=p[Be]=p[We]=p[qe]=p[Ke]=p[Qe]=p[Ze]=p[Xe]=p[k]=p[Je]=p[me]=p[He]=p[q]=p[Ge]=p[Ue]=p[Ye]=p[ze]=p[et]=p[tt]=!0;p[Vt]=p[ge]=p[ie]=!1;var It=typeof global=="object"&&global&&global.Object===Object&&global,jt=typeof self=="object"&&self&&self.Object===Object&&self,D=It||jt||Function("return this")(),nt=typeof M=="object"&&M&&!M.nodeType&&M,Te=nt&&typeof F=="object"&&F&&!F.nodeType&&F,Lt=Te&&Te.exports===nt;function Rt(e,t){return e.set(t[0],t[1]),e}function Bt(e,t){return e.add(t),e}function Wt(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function Mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function rt(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Jt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ht(e,t){return e==null?void 0:e[t]}function ot(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(n){}return t}function ve(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function de(e,t){return function(n){return e(t(n))}}function xe(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Gt=Array.prototype,Ut=Function.prototype,Q=Object.prototype,oe=D["__core-js_shared__"],Ve=function(){var e=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),it=Ut.toString,T=Q.hasOwnProperty,Z=Q.toString,kt=RegExp("^"+it.call(T).replace(Nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Lt?D.Buffer:void 0,_e=D.Symbol,Pe=D.Uint8Array,qt=de(Object.getPrototypeOf,Object),Kt=Object.create,Qt=Q.propertyIsEnumerable,Zt=Gt.splice,Fe=Object.getOwnPropertySymbols,Xt=Ne?Ne.isBuffer:void 0,Yt=de(Object.keys,Object),le=L(D,"DataView"),J=L(D,"Map"),se=L(D,"Promise"),ue=L(D,"Set"),ae=L(D,"WeakMap"),H=L(Object,"create"),zt=P(le),en=P(J),tn=P(se),nn=P(ue),rn=P(ae),Ie=_e?_e.prototype:void 0,je=Ie?Ie.valueOf:void 0;function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function on(){this.__data__=H?H(null):{}}function ln(e){return this.has(e)&&delete this.__data__[e]}function sn(e){var t=this.__data__;if(H){var n=t[e];return n===Le?void 0:n}return T.call(t,e)?t[e]:void 0}function un(e){var t=this.__data__;return H?t[e]!==void 0:T.call(t,e)}function an(e,t){var n=this.__data__;return n[e]=H&&t===void 0?Le:t,this}_.prototype.clear=on;_.prototype.delete=ln;_.prototype.get=sn;_.prototype.has=un;_.prototype.set=an;function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function cn(){this.__data__=[]}function fn(e){var t=this.__data__,n=X(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Zt.call(t,n,1),!0}function gn(e){var t=this.__data__,n=X(t,e);return n<0?void 0:t[n][1]}function mn(e){return X(this.__data__,e)>-1}function dn(e,t){var n=this.__data__,r=X(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}O.prototype.clear=cn;O.prototype.delete=fn;O.prototype.get=gn;O.prototype.has=mn;O.prototype.set=dn;function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(){this.__data__={hash:new _,map:new(J||O),string:new _}}function bn(e){return Y(this,e).delete(e)}function pn(e){return Y(this,e).get(e)}function hn(e){return Y(this,e).has(e)}function En(e,t){return Y(this,e).set(e,t),this}I.prototype.clear=$n;I.prototype.delete=bn;I.prototype.get=pn;I.prototype.has=hn;I.prototype.set=En;function j(e){this.__data__=new O(e)}function yn(){this.__data__=new O}function An(e){return this.__data__.delete(e)}function wn(e){return this.__data__.get(e)}function Dn(e){return this.__data__.has(e)}function On(e,t){var n=this.__data__;if(n instanceof O){var r=n.__data__;if(!J||r.length<vt-1)return r.push([e,t]),this;n=this.__data__=new I(r)}return n.set(e,t),this}j.prototype.clear=yn;j.prototype.delete=An;j.prototype.get=wn;j.prototype.has=Dn;j.prototype.set=On;function Cn(e,t){var n=be(e)||Qn(e)?Jt(e.length,String):[],r=n.length,o=!!r;for(var i in e)(t||T.call(e,i))&&!(o&&(i=="length"||Un(i,r)))&&n.push(i);return n}function lt(e,t,n){var r=e[t];(!(T.call(e,t)&&ct(r,n))||n===void 0&&!(t in e))&&(e[t]=n)}function X(e,t){for(var n=e.length;n--;)if(ct(e[n][0],t))return n;return-1}function Sn(e,t){return e&&st(t,pe(t),e)}function ce(e,t,n,r,o,i,l){var s;if(r&&(s=i?r(e,o,i,l):r(e)),s!==void 0)return s;if(!z(e))return e;var a=be(e);if(a){if(s=Jn(e),!t)return Bn(e,s)}else{var g=N(e),u=g==ge||g==Me;if(Xn(e))return _n(e,t);if(g==me||g==fe||u&&!i){if(ot(e))return i?e:{};if(s=Hn(u?{}:e),!t)return Wn(e,Sn(s,e))}else{if(!p[g])return i?e:{};s=Gn(e,g,ce,t)}}l||(l=new j);var h=l.get(e);if(h)return h;if(l.set(e,s),!a)var $=n?Mn(e):pe(e);return Wt($||e,function(m,b){$&&(b=m,m=e[b]),lt(s,b,ce(m,t,n,r,b,e,l))}),s}function Tn(e){return z(e)?Kt(e):{}}function vn(e,t,n){var r=t(e);return be(e)?r:Mt(r,n(e))}function xn(e){return Z.call(e)}function Vn(e){if(!z(e)||qn(e))return!1;var t=gt(e)||ot(e)?kt:Pt;return t.test(P(e))}function Nn(e){if(!at(e))return Yt(e);var t=[];for(var n in Object(e))T.call(e,n)&&n!="constructor"&&t.push(n);return t}function _n(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function $e(e){var t=new e.constructor(e.byteLength);return new Pe(t).set(new Pe(e)),t}function Pn(e,t){var n=t?$e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Fn(e,t,n){var r=t?n(ve(e),!0):ve(e);return rt(r,Rt,new e.constructor)}function In(e){var t=new e.constructor(e.source,_t.exec(e));return t.lastIndex=e.lastIndex,t}function jn(e,t,n){var r=t?n(xe(e),!0):xe(e);return rt(r,Bt,new e.constructor)}function Ln(e){return je?Object(je.call(e)):{}}function Rn(e,t){var n=t?$e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Bn(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function st(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var l=t[o],s=r?r(n[l],e[l],l,n,e):void 0;lt(n,l,s===void 0?e[l]:s)}return n}function Wn(e,t){return st(e,ut(e),t)}function Mn(e){return vn(e,pe,ut)}function Y(e,t){var n=e.__data__;return kn(t)?n[typeof t=="string"?"string":"hash"]:n.map}function L(e,t){var n=Ht(e,t);return Vn(n)?n:void 0}var ut=Fe?de(Fe,Object):er,N=xn;(le&&N(new le(new ArrayBuffer(1)))!=K||J&&N(new J)!=k||se&&N(se.resolve())!=Se||ue&&N(new ue)!=q||ae&&N(new ae)!=ie)&&(N=function(e){var t=Z.call(e),n=t==me?e.constructor:void 0,r=n?P(n):void 0;if(r)switch(r){case zt:return K;case en:return k;case tn:return Se;case nn:return q;case rn:return ie}return t});function Jn(e){var t=e.length,n=e.constructor(t);return t&&typeof e[0]=="string"&&T.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Hn(e){return typeof e.constructor=="function"&&!at(e)?Tn(qt(e)):{}}function Gn(e,t,n,r){var o=e.constructor;switch(t){case ke:return $e(e);case Be:case We:return new o(+e);case K:return Pn(e,r);case qe:case Ke:case Qe:case Ze:case Xe:case Ye:case ze:case et:case tt:return Rn(e,r);case k:return Fn(e,r,n);case Je:case Ge:return new o(e);case He:return In(e);case q:return jn(e,r,n);case Ue:return Ln(e)}}function Un(e,t){return t=t==null?Re:t,!!t&&(typeof e=="number"||Ft.test(e))&&e>-1&&e%1==0&&e<t}function kn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qn(e){return!!Ve&&Ve in e}function at(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Q;return e===n}function P(e){if(e!=null){try{return it.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Kn(e){return ce(e,!0,!0)}function ct(e,t){return e===t||e!==e&&t!==t}function Qn(e){return Zn(e)&&T.call(e,"callee")&&(!Qt.call(e,"callee")||Z.call(e)==fe)}var be=Array.isArray;function ft(e){return e!=null&&Yn(e.length)&&!gt(e)}function Zn(e){return zn(e)&&ft(e)}var Xn=Xt||tr;function gt(e){var t=z(e)?Z.call(e):"";return t==ge||t==Me}function Yn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Re}function z(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function zn(e){return!!e&&typeof e=="object"}function pe(e){return ft(e)?Cn(e):Nn(e)}function er(){return[]}function tr(){return!1}F.exports=Kn});var mr={};Ct(mr,{defaults:()=>ht,extractFromToSource:()=>Ee,genAtomic:()=>gr,headsAndTails:()=>ne,version:()=>fr});function re(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}function V(e){return typeof e=="string"}var nr=St(mt(),1);var R="\xA0";function rr(e){let t={value:e,hungry:!1,optional:!1};return(t.value.endsWith("?*")||t.value.endsWith("*?"))&&t.value.length>2?(t.value=t.value.slice(0,t.value.length-2),t.optional=!0,t.hungry=!0):t.value.endsWith("?")&&t.value.length>1?(t.value=t.value.slice(0,~-t.value.length),t.optional=!0):t.value.endsWith("*")&&t.value.length>1&&(t.value=t.value.slice(0,~-t.value.length),t.hungry=!0),t}function or({str:e,idx:t=0,stopAtNewlines:n=!1,stopAtRawNbsp:r=!1}){if(typeof e!="string"||!e.length||((!t||typeof t!="number")&&(t=0),!e[t+1]))return null;if(e[t+1]&&(e[t+1].trim()||n&&`
\r`.includes(e[t+1])||r&&e[t+1]===R))return t+1;if(e[t+2]&&(e[t+2].trim()||n&&`
\r`.includes(e[t+2])||r&&e[t+2]===R))return t+2;for(let o=t+1,i=e.length;o<i;o++)if(e[o].trim()||n&&`
\r`.includes(e[o])||r&&e[o]===R)return o;return null}function f(e,t=0){return or({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}function ir({str:e,idx:t,stopAtNewlines:n,stopAtRawNbsp:r}){if(typeof e!="string"||!e.length||((!t||typeof t!="number")&&(t=0),t<1))return null;if(e[~-t]&&(e[~-t].trim()||n&&`
\r`.includes(e[~-t])||r&&e[~-t]===R))return~-t;if(e[t-2]&&(e[t-2].trim()||n&&`
\r`.includes(e[t-2])||r&&e[t-2]===R))return t-2;for(let o=t;o--;)if(e[o]&&(e[o].trim()||n&&`
\r`.includes(e[o])||r&&e[o]===R))return o;return null}function E(e,t=0){return ir({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}function dt(e,t,n,r,o){if(typeof t!="string"||!t.length||(typeof n!="number"&&(n=0),e==="right"&&!t[n+1]||e==="left"&&!t[~-n]))return null;let i=n,l=[],s,a,g,u=0;for(;u<o.length;){if(!V(o[u])||!o[u].length){u+=1;continue}let{value:h,optional:$,hungry:m}=rr(o[u]),b=e==="right"?f(t,i):E(t,i);if(r.i&&t[b].toLowerCase()===h.toLowerCase()||!r.i&&t[b]===h){let c=e==="right"?f(t,b):E(t,b);m&&(r.i&&t[c].toLowerCase()===h.toLowerCase()||!r.i&&t[c]===h)?g=!0:u+=1,typeof b=="number"&&e==="right"&&b>i+1?l.push([i+1,b]):e==="left"&&typeof b=="number"&&b<~-i&&l.unshift([b+1,i]),i=b,e==="right"?(s===void 0&&(s=b),a=b):(a===void 0&&(a=b),s=b)}else if($){u+=1;continue}else if(g){u+=1,g=void 0;continue}else return null}return s===void 0||a===void 0?null:{gaps:l,leftmostChar:s,rightmostChar:a}}var ee={i:!1};function G(e,t,...n){if(!(n!=null&&n.length))throw new Error("string-left-right/leftSeq(): only two input arguments were passed! Did you intend to use left() method instead?");let r;return re(n[0])?r=S(S({},ee),n.shift()):r=ee,dt("left",e,t,r,Array.from(n).reverse())}function he(e,t,...n){if(!(n!=null&&n.length))throw new Error("string-left-right/rightSeq(): only two input arguments were passed! Did you intend to use right() method instead?");let r;return re(n[0])?r=S(S({},ee),n.shift()):r=ee,dt("right",e,t,r,n)}var $t="3.0.11";var ne={CONFIGHEAD:"GENERATE-ATOMIC-CSS-CONFIG-STARTS",CONFIGTAIL:"GENERATE-ATOMIC-CSS-CONFIG-ENDS",CONTENTHEAD:"GENERATE-ATOMIC-CSS-CONTENT-STARTS",CONTENTTAIL:"GENERATE-ATOMIC-CSS-CONTENT-ENDS"},te=["px","em","%","rem","cm","mm","in","pt","pc","ex","ch","vw","vmin","vmax"],{CONFIGHEAD:v,CONFIGTAIL:B,CONTENTHEAD:y,CONTENTTAIL:A}=ne,sr=[":"];function bt(e){let t=e,n="",r="";if(e.includes(v)&&e.includes(B)){if(e.indexOf(B)!==-1&&e.indexOf(y)!==-1&&e.indexOf(B)>e.indexOf(y))throw new Error("generate-atomic-css: [THROW_ID_02] Config heads are after config tails!");let o=e.indexOf(v)+v.length,i=e.indexOf(B);if(e[f(e,o)]==="*"&&e[f(e,f(e,o))]==="/"&&(o=f(e,f(e,o))+1),e[E(e,i)]==="*"&&e[E(e,E(e,i))]==="/"&&(i=E(e,E(e,i))),t=e.slice(o,i).trim(),!V(t)||!t.trim().length)return[t,n,r]}else if(e.includes(v)&&!e.includes(B)&&e.includes(y)){if(e.indexOf(v)>e.indexOf(y))throw new Error("generate-atomic-css: [THROW_ID_03] Config heads are after content heads!");t=e.slice(e.indexOf(v)+v.length,e.indexOf(y))}else if(!e.includes(v)&&!e.includes(B)&&(e.includes(y)||e.includes(A))){if(t=e,t.includes(y)){if(E(e,t.indexOf(y))){let l=t.indexOf(y);G(e,l,"/","*")&&(l=G(e,l,"/","*").leftmostChar),n=l===0?"":e.slice(0,l)}let o=t.indexOf(y)+y.length;he(t,o-1,"*","/")&&(o=he(t,o-1,"*","/").rightmostChar+1);let i=null;if(e.includes(A)){i=e.indexOf(A),e[E(e,i)]==="*"&&e[E(e,E(e,i))]==="/"&&(i=E(e,E(e,i)));let l=e.indexOf(A)+A.length;e[f(e,l-1)]==="*"&&e[f(e,f(e,l-1))]==="/"&&(l=f(e,f(e,l-1))+1),f(e,l)&&(r=e.slice(l))}i?t=t.slice(o,i).trim():t=t.slice(o).trim()}else if(t.includes(A)){let o=[],i=!1;t=t.split(`
`).filter(a=>!a.includes("$$$")&&!i?(i||o.push(a),!1):(i||(i=!0),!0)).join(`
`);let l=t.indexOf(A);G(t,l,"/","*")&&(l=G(t,l,"/","*").leftmostChar),t=t.slice(0,l).trim(),o.length&&(n=`${o.join(`
"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(`
`).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 s;f(e,e.indexOf(A)+A.length)&&(s=e.indexOf(A)+A.length,e[f(e,s)]==="*"&&e[f(e,f(e,s))]==="/"&&(s=f(e,f(e,s))+1,f(e,s)&&(r=e.slice(s))))}}else{let o=new RegExp(`(\\/\\s*\\*\\s*)*${y}(\\s*\\*\\s*\\/)*`),i=new RegExp(`(\\/\\s*\\*\\s*)*${A}(\\s*\\*\\s*\\/)*`),l=!1,s=[],a=[],g=e.split(`
`).filter(u=>l?!0:!u.includes("$$$")&&!u.includes("{")&&!u.includes(":")?(s.push(u),!1):(l=!0,!0));for(let u=g.length;u--&&(!g[u].includes("$$$")&&!g[u].includes("}")&&!g[u].includes(":"));)a.unshift(g.pop());t=g.join(`
`).replace(o,"").replace(i,""),s.length&&(n=`${s.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(`
`).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(`
`)}
`),a.length&&(r=`
${a.join(`
`)}`)}return[t,n,r]}function ur(e,t=!0){if(!t)return e;let n=Array.from(e);if(n.length&&V(n[0])&&!n[0].trim().length)do n.shift();while(V(n[0])&&!n[0].trim().length);if(n.length&&V(n[n.length-1])&&!n[n.length-1].trim().length)do n.pop();while(n[n.length-1]&&!n[n.length-1].trim().length);return n}function Ee(e,t=0,n=500){let r=t,o=n,i=e,l;if(e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")?l=e.slice(e.lastIndexOf("}")+1).split("|").filter(s=>s.trim().length).map(s=>s.trim()).filter(s=>String(s).split("").every(a=>/\d/g.test(a))):e.includes("|")&&(l=e.split("|").filter(s=>s.trim().length).map(s=>s.trim()).filter(s=>String(s).split("").every(a=>/\d/g.test(a)))),Array.isArray(l)&&(l.length===1?o=Number.parseInt(l[0],10):l.length>1&&(r=Number.parseInt(l[0],10),o=Number.parseInt(l[1],10))),e.lastIndexOf("}")>0&&e.slice(e.lastIndexOf("}")+1).includes("|")){if(i=e.slice(0,e.indexOf("|",e.lastIndexOf("}")+1)).trimEnd(),i.trim().startsWith("|"))for(;i.trim().startsWith("|");)i=i.trim().slice(1)}else{let s=null,a=!1,g=0,u=e.length,h=null;for(let $=0,m=e.length;$<m;$++)if("0123456789".includes(e[$])?h===null&&e[$].trim().length&&(h=!0):e[$]!=="|"&&e[$].trim().length&&(h=!1),!e[$+1]&&h&&s&&(u=s),e[$]==="|"){if(h&&s){u=s;break}s=$,h=null}else!a&&e[$].trim().length&&(a=!0,s!==null&&(g=s+1));i=e.slice(g,u).trimEnd()}return[r,o,i]}function ar(e,t,n,r,o,i){let l,s=0,[a,g,u]=Ee(e,0,500),h=r-n,$="";for(let m=a;m<=g;m++){let b=0,c=0;for(let d=0,ye=u.length;d<ye;d++){let dr=u[d].charCodeAt(0);if(u[d]==="$"&&u[d-1]==="$"&&u[d-2]==="$"){let U=u.slice(d+1),C="";if(m===0&&te.some(w=>{if(U.startsWith(w))return C=w,!0})&&(u[f(u,d+C.length)]==="{"||!u[d+C.length+1].trim().length))$+=`${u.slice(c,d-2)}${i?String(m).padStart(String(g).length-String(m).length+C.length+1):m}`,c=d+1+(C?C.length:0);else{let w="";if(te.some(x=>{if(u.startsWith(x,d+1))return w=x,!0}),!u[d-3].trim().length||sr.some(x=>u.slice(c,d-2).trim().endsWith(x))){let x=0;m===0&&te.some(Ae=>(`${u.slice(c,d-2)}`.startsWith(Ae)&&(x=Ae.length),!0)),$+=`${u.slice(c+x,d-2)}${i?String(m).padStart(String(g).length+(m===0&&w?w.length:0)):m}`}else!u[d+1].trim().length||u[f(u,d)]==="{"?$+=`${u.slice(c,d-2)}${i?String(m).padEnd(String(g).length+(m===0&&w?+w.length:0)):m}`:($+=`${u.slice(c,d-2)}${m}`,i&&(b=String(g).length-String(m).length));c=d+1}}if(u[d]==="{"&&i&&b&&($+=`${u.slice(c,d)}${" ".repeat(b)}`,c=d,b=0),!u[d+1]){let U="",C=u.slice(c);m===0&&te.some(w=>{if(C.startsWith(w))return U=w,!0})?$+=`${u.slice(c+U.length)}`:$+=`${u.slice(c)}`,$+=`${m!==g?`
`:""}`}}o.count+=1,typeof t=="function"&&(l=Math.floor(n+m/(g-a)*h),l!==s&&(s=l,t(l)))}return $}function cr(e,t){return/\.\w/g.test(e)&&(t.count+=1),e}function pt(e,t,n,r,o=!0,i,l){return ur(e.split(/\r?\n/).map((s,a,g)=>s.includes("$$$")?ar(s,t,n+(r-n)/g.length*a,n+(r-n)/g.length*(a+1),i,l):cr(s,i)),o).join(`
`)}var fr=$t,ht={includeConfig:!0,includeHeadsAndTails:!0,pad:!0,configOverride:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function gr(e,t){function n(c,d={}){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:r,CONFIGTAIL:o,CONTENTHEAD:i,CONTENTTAIL:l}=ne,s={count:0},a=S(S({},ht),t);if(a.includeConfig&&!a.includeHeadsAndTails&&(a.includeHeadsAndTails=!0),!a.configOverride&&!e.includes("$$$")&&!e.includes(r)&&!e.includes(o)&&!e.includes(i)&&!e.includes(l)||a!=null&&a.configOverride&&typeof a.configOverride=="string"&&!a.configOverride.includes("$$$")&&!a.configOverride.includes(r)&&!a.configOverride.includes(o)&&!a.configOverride.includes(i)&&!a.configOverride.includes(l))return{log:{count:0},result:e};let g="",u="",[h,$,m]=bt(a.configOverride?a.configOverride:e);if(typeof h!="string"||!h.trim())return{log:{count:0},result:""};if((a.includeConfig||a.includeHeadsAndTails)&&(g=`${i} */
`,a.includeConfig||(g=`/* ${g}`),u=`
/* ${l} */`),a.includeConfig&&(g=`/* ${r}
${h.trim()}
${o}
${g}`),e.includes(r)&&E(e,e.indexOf(r))!=null){let c=e.indexOf(r);e[E(e,c)]==="*"&&e[E(e,E(e,c))]==="/"&&(c=E(e,E(e,c)));let d="/* ";(e[f(e,c-1)]==="/"&&e[f(e,f(e,c-1))]==="*"||g.trim().startsWith("/*"))&&(d=""),g=`${e.slice(0,c)}${d}${g}`}if(e.includes(o)&&f(e,e.indexOf(o)+o.length)){let c=e.indexOf(o)+o.length;e[f(e,e.indexOf(o)+o.length)]==="*"&&e[f(e,f(e,e.indexOf(o)+o.length))]==="/"&&(c=f(e,f(e,e.indexOf(o)+o.length))+1),e.slice(f(e,c-1)).startsWith(i)&&(c=f(e,c)||0+i.length,e[f(e,c-1)]==="*"&&e[f(e,f(e,c-1))]==="/"&&(c=f(e,f(e,c-1))+1),e.includes(l)&&(c=e.indexOf(l)+l.length,e[f(e,c)]==="*"&&e[f(e,f(e,c))]==="/"&&(c=f(e,f(e,c))+1)));let d=e.slice(c);d.length&&d.includes(l)&&(c=e.indexOf(l)+l.length,e[f(e,c)]==="*"&&e[f(e,f(e,c))]==="/"&&(c=f(e,f(e,c))+1)),u=`${u}${e[c]&&f(e,c-1)?e.slice(c):""}`}if(typeof $=="string"&&(g=`${$}${g}`),typeof m=="string"){if(m.trim().endsWith("/*")&&!m.trim().startsWith("*/")){let c="";typeof m=="string"&&m[0]&&!m[0].trim()&&(c=m.slice(0,f(m,0)||0)),m=`${c}/* ${m.trim()}`}u=`${u}${m}`}let b=`${n(`${g}${pt(h,a.reportProgressFunc,a.reportProgressFuncFrom,a.reportProgressFuncTo,!0,s,a.pad)}${u}`,a)}
`;return{log:{count:s.count},result:b}}return Tt(mr);})();
`),s.length&&(c=`
${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} */
`,s.includeConfig||(u=`/* ${u}`),a=`
/* ${i} */`),s.includeConfig&&(u=`/* ${c}
${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);})();
/**
* @name codsen-utils
* @fileoverview Various utility functions
* @version 1.4.0
* @version 1.5.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.11
* @version 6.0.12
* @author Roy Revelt, Codsen Ltd

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

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

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

"dependencies": {
"codsen-utils": "^1.4.0",
"string-left-right": "^6.0.11"
"codsen-utils": "^1.5.0",
"string-left-right": "^6.0.12"
}
}
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