@master/css
Advanced tools
Comparing version 1.23.0 to 1.24.0
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{"use strict";var e={955:(e,t,s)=>{s.d(t,{breakpoints:()=>i});const i={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},563:(e,t,s)=>{s.d(t,{colors:()=>i});const i={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{Style:()=>X,StyleSheet:()=>p,Styles:()=>Ln,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>_n,sheets:()=>Q});var e=s(563),t=s(955);function r(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}const n=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function a(e,t,s){let i="",r="",a="";if("number"==typeof e)i=e,r=t||"";else{if(s){const[t,n]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return i="rgb(var(--"+t+")"+(n?"/"+n:"")+")",{value:i,unit:r,unitToken:a}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:r,unitToken:a}}return i=+s[1],r=a=s[3]||"",r||("rem"!==t&&"em"!==t||(i/=16),r=t||""),{value:i,unit:r,unitToken:a}}}i=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:i,unit:r,unitToken:a}}const c=[":disabled",":active",":focus",":hover"],l=[",",".","#","[","!","*",">","+","~",":","@"],o="undefined"!=typeof document;let d;o&&(d=document.createElement("style"),d.id="master-styles");const h="max-width",u="min-width",f="undefined"!=typeof window,m=f?window.MutationObserver:Object;class p extends m{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t,s)=>{for(let i=0;i<e.length;i++){const r=e[i];if(r.classList&&!s.includes(r)){s.push(r),r.classList.forEach((e=>{t?c(e):a(e)}));const e=r.children;e.length&&n(e,t,s)}}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1};for(let t=0;t<e.length;t++){const a=e[t],{addedNodes:c,removedNodes:l,type:o,target:d,oldValue:h}=a;if("attributes"===o){if(d.className===h||s.find((e=>e.target===d)))continue;s.push(a)}else c.length&&n(c,!1,i),l.length&&n(l,!0,r)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){if(i.includes(t)||r.includes(t))continue;const s=e?e.split(" "):[],n=t.classList;n.length&&n.forEach((e=>{s.includes(e)||a(e)}));for(const e of s)n.contains(e)||c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},o){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");let i;for(let t=e.length-1;t>=0;t--){const s=e[t];if("."===s[0]){i=s.slice(1);break}}let r="";for(let e=0;e<i.length;e++){const t=i[e],s=i[e+1];if("\\"===t){if(e++,"\\"!==s){r+=s;continue}}else if(l.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=p.findAndNew(r);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t)};e(t.sheet,void 0)}else this.element=d.cloneNode(),null==e||e.prepend(this.element)}Q.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in X.classes?X.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in X.classes?X.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Q)e.refresh()}refresh(){if(!this.element)return;const e=d.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Q.splice(Q.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features[h],o=r.features[u];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features[h],d=n.features[u];if(!o||!d){s++;break}const f=o.value-d.value;if(f===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features[h],n=t.features[u];if(!r||!n||r.value-n.value!==f)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]))}break}if(f>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features[h],f=r.features[u];if(d){if(f)break;continue}const m=null==f?void 0:f.value;if(m===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features[u];if(!i.features[h]){if(t.hasWhere!==c||r.value!==m||t.order>=n)break;s=e+1}}break}if(m>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features[h];if(o.features[u])continue;const f=null==d?void 0:d.value;if(!f||f>t.value){s++;break}if(f===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features[u],n=i.features[h];if(!(r||n&&n.value===f&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features[u]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features[h]||e.media.features[u]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features[h]||i.features[u])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in X.relations&&X.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in X.classes)for(const t of X.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=p.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}function x(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function b(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}p.Styles=[],f&&(window.MasterStyleSheet=p);const g={"(":")","'":"'","{":"}"},y="matches",k="semantics",v="symbol",w="max-width",O="min-width",j="motion",S="reduce",N="reduced-motion",R="::scrollbar",W="::slider-thumb",I="::slider-runnable-track",$="::search",z="::meter",A="::resizer",E="::progress",M="px",C=["!","*",">","+","~",":","[","@","_"],V=[...C,void 0,"."],q=new RegExp(R,"g"),T=new RegExp($,"g"),L=new RegExp(z,"g"),P=new RegExp(I,"g"),_=new RegExp(W,"g"),Z=new RegExp(A,"g"),F=new RegExp(E,"g"),Q=[];class X{constructor(e,t){this.name=e,this.matching=t,this.at={},this.prioritySelectorIndex=-1;const s=this.constructor;if(void 0===t&&!(t=s.match(e)))return;let i,n,{semantics:l,unit:o,colors:d,key:h,values:u,colorful:f,breakpoints:m,mediaQueries:p}=s,x=e;if(f||(d=null),t.origin===k)i=t.value,n=x.slice(t.value.length),this.value=l[t.value];else{if(t.origin===y){if("{"===x[0])i=x;else{const e=x.indexOf(":");this.prefix=x.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=x):i=x.slice(e+1)}}else t.origin===v&&(this.symbol=x[0],i=x.slice(1));let e,s="",r=[],c=0;!function t(n,l,h=""){let u,f=!1;for(n&&(")"===n&&"$"===s.slice(-1)?u=s.length-1:"'"===n&&(f=!0),s+=i[c++]);c<i.length;c++){const m=i[c];if(m===n){if(s+=m,f){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==u&&(s=s.slice(0,u)+s.slice(u).replace(/\$\((.*)\)/,"var(--$1)")),l||(f?r.push(s):(e=a(s,o,d),r.push(e.value+e.unit)),h="",s="");break}if(!f&&m in g)t(g[m],void 0===l?0:l+1,h);else if("|"!==m||f&&"path"!==h){if(!n){if("."===m){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===m){e=a(s,o,d),r.push(e.value+e.unit,","),s="";continue}if("#"===m&&(s||r.length&&"|"!==i[c-1])||C.includes(m))break}h+=m}s+=m}else n?s+=" ":(e=a(s,o,d),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,o,d),r.push(e.value+e.unit)),n=i.slice(c),1===r.length?e?(this.value=e.value,this.unit=e.unit):(this.value=r[0],this.unit=""):this.value=r.join(" ")}n.includes(R)&&(n=n.replace(q,"::-webkit-scrollbar")),n.includes($)&&(n=n.replace(T,"::-webkit-search")),n.includes(W)&&(n=n.replace(_,"::-webkit-slider-thumb")),n.includes(I)&&(n=n.replace(P,"::-webkit-slider-runnable-track")),n.includes(z)&&(n=n.replace(L,"::-webkit-meter")),n.includes(A)&&(n=n.replace(Z,"::-webkit-resizer")),n.includes(E)&&(n=n.replace(F,"::-webkit-progress")),n.includes(":first")&&(n=n.replace(/:first(?![a-z-])/g,":first-child")),n.includes(":last")&&(n=n.replace(/:last(?![a-z-])/g,":last-child")),n.includes(":even")&&(n=n.replace(/:even(?![a-z-])/g,":nth-child(2n)")),n.includes(":odd")&&(n=n.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),this.parseValue&&(this.value=this.parseValue),u&&this.value in u&&(this.value=u[this.value]),"!"===n[0]&&(this.important=!0,n=n.slice(1));const b=n.split("@");let V=b[0].replace(/\_/g," ");if(V){this.hasWhere=V.includes(":where(");for(let e=0;e<c.length;e++)if(V.includes(c[e])){this.prioritySelectorIndex=e;break}}this.selector=V;for(let e=1;e<b.length;e++){const t=b[e];if(t)if(t.startsWith("dark")||t.startsWith("light"))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===j||e===N)i.push("(prefers-reduced-motion:"+(e===j?"no-preference":S)+")");else if(e in p)i.push(p[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=w):e.startsWith(">=")||m[e]?(r=">=",s=O):e.startsWith(">")?(r=">",s=O,n=.02):e.startsWith("<")&&(r="<",s=w,n=-.02),s){case w:case O:const c=r?e.replace(r,""):e,l=m[c];l?Object.assign(t,a(l,M)):Object.assign(t,a(c,M)),t.unit===M&&(t.value+=n),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let Q="";this.colorScheme&&(Q+="."+this.colorScheme+" "),this.direction&&(Q+="[dir="+this.direction+"] "),this.text=Q+"."+CSS.escape(this.name)+V+(this.name in X.relations?X.relations[this.name].map((e=>", "+Q+"."+e+V)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((e=>r(e,Object.assign(Object.assign({},this),{unit:"",value:this.value[e]})))).join(";"):this.props?Object.keys(this.props).map((e=>r(e,this.props[e]))).join(";"):r(h,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&&V.includes(e[t.length]))return{origin:k,value:t};return this.matches&&this.matches.test(e)||this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:y}:this.symbol&&e.startsWith(this.symbol)?{origin:v}:this.key&&e.startsWith(this.key+":")?{origin:y}:void 0}static extend(e,t,s=!0){if(!t)return;const i=(e,s,i)=>{var r;for(const n in t){const a=t[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==s?void 0:s(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>{const s=this.colorNames.indexOf(e);-1!==s?null==B||B.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=x(t[""]).join(" "));let n=!1;for(const e in t)if(e&&+e>=100){n=!0;break}if(n)for(const e in t)i[e]=x(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?x(t[0]):[0,0,0];const a=[],c=()=>{const c=e-r,l=s.map(((e,t)=>(e-n[t])/c));for(const e of a){const s=e-r,a=n.map(((e,t)=>Math.round(e+l[t]*s)));i[e]=a.join(" "),t[e]=b.call(this,...a)}};for(let l=1;l<100;l++){const o=l%2==0;l in t?(a.length?(e=l,s=x(t[l]),c(),a.length=0,n=s):n=x(t[l]),r=l,o&&(i[l]=n.join(" "))):o&&a.push(l)}a.length&&(e=100,s="100"in t?x(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=x(e).join(" ")}return null==B||B.insertRule(function(e,t){let s=":root{";for(const i in t)s+="--"+e+(i?"-"+i:"")+":"+t[i]+";";return s+="}",s}(e,i),-1===s?Object.keys(this.colors).length:s),this.rgbColors[e]=i,t}),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1),null==B||B.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&p.refresh()}}let Y,B;if(X.unit="rem",X.rgbColors={},X.mediaQueries={},X.sheets=Q,X.colors={},X.classes={},X.colorNames=[],X.relations={},"undefined"!=typeof window&&(window.MasterStyle=X),"undefined"!=typeof document){const e=document.head.querySelector('[id="master-colors"]');if(e){const t=document.head.querySelector('[name="master:colors"]');if(t&&t.content){Y=e;const s={},i=t.content.split(",");for(let e=0;e<Y.sheet.cssRules.length;e++){const t=Y.sheet.cssRules[e].cssText.slice(8,-1).split(";").slice(0,-1);if(t.length){const r=i[e],n=r.length+2,a={};for(const e of t){let[t,s]=e.split(":");t=t.trim().slice(n),t&&(t=t.slice(1)),a[t]=b.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}X.extend("colors",s),B=Y.sheet}}Y||(Y=document.createElement("style"),Y.id="master-colors",document.head.prepend(Y),B=Y.sheet)}const U=(...e)=>e.join("-"),D="border",G="radius",H="margin",J="padding",K="font",ee="currentColor",te=",",se="flow",ie="template",re="column",ne="columns",ae="gap",ce="row",le="rows",oe="shadow",de="user",he="content",ue="image",fe="stroke",me="filter",pe="blend",xe="background",be="repeat",ge="color",ye="scroll",ke="animation",ve="direction",we="mode",Oe="behavior",je=U("overscroll",Oe),Se="y",Ne="x",Re="height",We="width",Ie="max",$e="min",ze="block",Ae="inline",Ee="flex",Me="grid",Ce="transition",Ve="origin",qe="delay",Te="rotate",Le="deg",Pe="timing-function",_e="duration",Ze="display",Fe="hidden",Qe="box",Xe="fill",Ye="clip",Be="none",Ue="text",De="align",Ge="transform",He="vertical",Je="word",Ke="space",et="decoration",tt="break",st="size",it="auto",rt="line",nt="object",at="position",ct="rem",lt="style",ot="smoothing",dt="antialiased",ht="spacing",ut=U("letter",ht),ft=U(Ie,We),mt=U($e,We),pt=U(Ie,Re),xt=U($e,Re),bt="table",gt="list",yt="span",kt="justify",vt="items",wt="self",Ot="place",jt="type",St="offset",Nt="outline",Rt="snap",Wt="shape",It="view",$t="area",zt="start",At="blur",Et="drop",Mt={full:"100%",fit:U("fit",he),max:U(Ie,he),min:U($e,he)};class Ct extends X{}Ct.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|extrabold|heavy)(?!\|)/,Ct.key=U(K,"weight"),Ct.unit="",Ct.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const Vt="var(--font-";class qt extends X{}qt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,qt.key=U(K,"family"),qt.values={mono:Vt+"mono)",sans:Vt+"sans)",serif:Vt+"serif)"};class Tt extends X{}Tt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Tt.key=U(K,st);const Lt="top",Pt="bottom",_t="left",Zt="right",Ft="l",Qt="r",Xt="t",Yt="b",Bt="x",Ut="y";class Dt extends X{get props(){const e="m"===this.prefix[0]?H:J,t=U(e,_t),s=U(e,Zt),i=U(e,Lt),r=U(e,Pt);switch(this.prefix[1]){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Dt.id="spacing",Dt.matches=/^[pm][xytblr]?:./;class Gt extends X{}Gt.matches=/^w:./,Gt.key=We,Gt.values=Mt;class Ht extends X{}Ht.matches=/^h:./,Ht.key=Re,Ht.values=Mt;class Jt extends X{}Jt.matches=/^min-w:./,Jt.key=mt,Jt.values=Mt;class Kt extends X{}Kt.matches=/^min-h:./,Kt.key=xt,Kt.values=Mt;class es extends X{}es.matches=/^ls:./,es.key=ut,es.unit="em";const ts=U("subpixel",dt),ss=U("-webkit-font",ot),is=U("-moz-osxfont",ot);class rs extends X{get props(){const e={};switch(this.value){case ts:e[ss]=e[is]=Object.assign(Object.assign({},this),{value:it});break;case dt:e[ss]=Object.assign(Object.assign({},this),{value:dt}),e[is]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}rs.id="fontSmoothing",rs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,rs.unit="";class ns extends X{}ns.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ns.key=U(K,lt),ns.unit="deg",ns.semantics={italic:"italic",oblique:"oblique"};class as extends X{}as.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,as.key=U(K,"variant","numeric");class cs extends X{}cs.matches=/^lh:./,cs.key=U(rt,Re),cs.unit="";class ls extends X{}ls.matches=/^(object|obj):(contain|cover|fill|scale-down)/,ls.key=U(nt,"fit");class os extends X{}os.matches=/^(object|obj):(top|bottom|right|left|center)/,os.key=U(nt,at);class ds extends X{}ds.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,ds.key=U(Ue,De);class hs extends X{constructor(){super(...arguments),this.order=-1}}hs.matches=/^t(ext)?:(underline|line-through|overline)/,hs.key=U(Ue,et),hs.colorful=!0;class us extends X{}us.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,us.key=U(Ue,Ge),us.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class fs extends X{}fs.matches=/^v:./,fs.key=U(He,De);class ms extends X{get props(){return{overflow:Object.assign(Object.assign({},this),{value:Fe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:U(tt,Je)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:He}),"-webkit-line-clamp":this}}}ms.id="lines",ms.matches=/^lines:./,ms.unit="";class ps extends X{}ps.matches=/^transform:((top|bottom|right|left|center)|\d)/,ps.key=U(Ge,Ve),ps.unit="px";class xs extends X{}xs.matches=/^transform:(flat|preserve-3d)(?!\|)/,xs.key=U(Ge,lt);class bs extends X{}bs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,bs.key=U(Ge,Qe),bs.values={content:U(he,Qe),border:U(D,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class gs extends X{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=ct;break;case"skew":r=Le;break;case Te:"3d"===s&&(n=!0),r=Le;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===ct?16:1)+r})).join(","))}))}}gs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,gs.key=Ge,gs.unit="";class ys extends X{constructor(){super(...arguments),this.order=-1}}ys.symbol="~",ys.key=Ce;class ks extends X{}ks.matches=/^~delay:./,ks.key=U(Ce,qe),ks.unit="ms";class vs extends X{}vs.matches=/^~duration:./,vs.key=U(Ce,_e),vs.unit="ms";class ws extends X{}ws.matches=/^~property:./,ws.key=U(Ce,"property");class Os extends X{}Os.matches=/^~easing:./,Os.key=U(Ce,Pe);class js extends X{}js.matches=/^max-h:./,js.key=pt,js.values=Mt;class Ss extends X{}Ss.matches=/^max-w:./,Ss.key=ft,Ss.values=Mt;class Ns extends X{}Ns.matches=/^d:./,Ns.key=Ze,Ns.semantics={hidden:Be,hide:Be,block:ze,table:bt,flex:Ee,grid:Me,contents:"contents","inline-block":U(Ae,ze),"inline-flex":U(Ae,Ee),"inline-grid":U(Ae,Me),"inline-table":U(Ae,bt)};class Rs extends X{}Rs.matches=/^box:(content|border)(?!\|)/,Rs.key=U(Qe,"sizing"),Rs.values={content:U(he,Qe),border:U(D,Qe)};class Ws extends X{}Ws.key="opacity",Ws.unit="";class Is extends X{}Is.key="visibility",Is.semantics={visible:"visible",invisible:Fe};class $s extends X{}$s.key="clear";class zs extends X{}zs.key="float";class As extends X{}As.key="isolation",As.semantics={isolate:"isolate"};class Es extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{"overflow-x":this};case Se:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case Ne:case Se:return 0;default:return-1}}}Es.id="overflow",Es.matches=/^(overflow|ovf)(-x|-y)?:./;class Ms extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{[U(je,Ne)]:this};case Se:return{[U(je,Se)]:this};default:return{[je]:this}}}}Ms.id="overscrollBehavior",Ms.matches=/^overscroll-behavior(?:-[xy])?:/;class Cs extends X{}Cs.matches=/^z:./,Cs.key="z-index",Cs.unit="";class Vs extends X{}Vs.matches=/^\@delay:./,Vs.key=U(ke,qe),Vs.unit="ms";class qs extends X{}qs.matches=/^\@direction:./,qs.key=U(ke,ve);class Ts extends X{}Ts.matches=/^\@fill-mode:./,Ts.key=U(ke,Xe,we);class Ls extends X{}Ls.matches=/^\@iteration-count:./,Ls.key=U(ke,"iteration","count"),Ls.unit="";class Ps extends X{}Ps.matches=/^\@name:./,Ps.key=U(ke,"name");class _s extends X{}_s.matches=/^\@play-state:./,_s.key=U(ke,"play-state");class Zs extends X{}Zs.matches=/^\@easing:./,Zs.key=U(ke,Pe);class Fs extends X{constructor(){super(...arguments),this.order=-1}}Fs.symbol="@",Fs.key=ke,Fs.unit="";function Qs(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Bt:return{[i]:t,[r]:t};case Ut:return{[n]:t,[a]:t};case Ft:return{[i]:t};case Qt:return{[r]:t};case Xt:return{[n]:t};case Yt:return{[a]:t};default:return{[D+s]:t}}}class Xs extends X{get props(){return Qs(this.prefix,this,ge)}get order(){return this.prefix===U(D,ge)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Xs.id="borderColor",Xs.matches=/^border(-(left|right|top|bottom))?-color:./,Xs.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Xs.colorful=!0,Xs.values={current:ee};const Ys=U(D,Lt,_t,G),Bs=U(D,Lt,Zt,G),Us=U(D,Pt,_t,G),Ds=U(D,Pt,Zt,G),Gs=U(D,G),Hs=[Ys,Bs,Us,Ds];class Js extends X{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Xt:return{[Ys]:this,[Bs]:this};case"tl":case"lt":return{[Ys]:this};case"rt":case"tr":return{[Bs]:this};case Yt:return{[Us]:this,[Ds]:this};case"bl":case"lb":return{[Us]:this};case"br":case"rb":return{[Ds]:this};case Ft:return{[Ys]:this,[Us]:this};case Qt:return{[Bs]:this,[Ds]:this};default:return{[Gs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Hs.includes(t)?t:Gs]:this}}get order(){return this.prefix===U(D,G)+":"||"r:"===this.prefix?-1:0}}Js.id="borderRadius",Js.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Js.semantics={rounded:"1e9em",round:"50%"};class Ks extends X{get props(){return Qs(this.prefix,this,lt)}get order(){return this.prefix===U(D,lt)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Ks.id="borderStyle",Ks.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class ei extends X{get props(){return Qs(this.prefix,this,We)}get order(){return this.prefix===U(D,We)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderWidth",ei.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class ti extends X{get props(){return Qs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ti.id="border",ti.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ti.colorful=!0;class si extends X{}si.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,si.key=U(xe,"attachment");class ii extends X{}ii.key=U(xe,pe,we);class ri extends X{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ri.matches=/^(bg|background):text(?!\|)/,ri.key=U(xe,Ye);class ni extends X{}ni.matches=/^(bg|background):transparent(?!\|)/,ni.colorStarts="(bg|background):",ni.key=U(xe,ge),ni.unit="",ni.colorful=!0,ni.values={current:ee};class ai extends X{}ai.matches=/^(bg|background):(content|border|padding)(?!\|)/,ai.key=U(xe,Ve),ai.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe)};class ci extends X{}ci.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,ci.key=U(xe,at),ci.unit="px";class li extends X{}li.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,li.key=U(xe,be);class oi extends X{}oi.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,oi.key=U(xe,st);class di extends X{}di.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,di.key=U(xe,ue);class hi extends X{constructor(){super(...arguments),this.order=-1}}hi.matches=/^bg:./,hi.key=xe,hi.colorful=!0;class ui extends X{}ui.matches=/^blend:./,ui.key=U("mix",pe,we);class fi extends X{}fi.key=at,fi.values={abs:"absolute",rel:"relative"},fi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class mi extends X{get props(){const e=this.prefix.slice(0,-1);switch(e){case Lt:case _t:case Zt:case Pt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function pi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===ct?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}mi.matches=/^(top|left|right|bottom|center|middle):./;class xi extends X{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",Te):return Le}return""}))}}xi.matches=/^bd:./,xi.key=U("backdrop",me);class bi extends X{}bi.key=Xe,bi.colorStarts="fill:",bi.colorful=!0,bi.values={current:ee};class gi extends X{}gi.key=fe,gi.colorful=!0;class yi extends X{}yi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,yi.key=U(fe,We);class ki extends X{get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",Te):return Le}return""}))}}ki.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,ki.key=me;class vi extends X{}vi.key="cursor";class wi extends X{}wi.key=U("pointer","events");class Oi extends X{}Oi.key="resize";class ji extends X{}ji.key=U("touch","action");class Si extends X{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Si.key=U(de,"drag");class Ni extends X{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ni.key=U(de,"select");class Ri extends X{}Ri.matches=/^s(?:hadow)?:./,Ri.key=U(Qe,oe),Ri.colorful=!0;class Wi extends X{}Wi.key=U(Ue,oe),Wi.colorful=!0;class Ii extends X{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===ct?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ii.id="textSize",Ii.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class $i extends X{}$i.key=U(Je,tt),$i.unit="",$i.semantics={"break-word":{"overflow-wrap":U(tt,Je),overflow:Fe}};class zi extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,ie,ne)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}zi.matches=/^grid-cols:./,zi.key=U(Me,ne),zi.unit="";class Ai extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,it,se)]:Object.assign(Object.assign({},this),{value:re}),[U(Me,ie,le)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}Ai.key=U(Me,le),Ai.unit="";class Ei extends X{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case Ne:return{[U(re,ae)]:this};case Se:return{[U(ce,ae)]:this};default:return{[ae]:this}}}}Ei.id="gap",Ei.matches=/^gap(-x|-y)?:./;class Mi extends X{}Mi.key=U(Je,ht);class Ci extends X{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Ci.id="variable",Ci.matches=/^\$.+:./,Ci.unit="";class Vi extends X{}Vi.matches=/^aspect:./,Vi.key=U("aspect","ratio"),Vi.unit="",Vi.semantics={square:"1/1",video:"16/9"};class qi extends X{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}qi.matches=/^box:(slice|clone)(?!\|)/,qi.key=U(Qe,et,tt);class Ti extends X{}Ti.key=U(tt,"after");class Li extends X{}Li.key=U(tt,"before");class Pi extends X{}Pi.key=U(tt,"inside");class _i extends X{}_i.key=U(Ee,"shrink"),_i.unit="";class Zi extends X{}Zi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Zi.key=U(Ee,ve),Zi.values={col:re,"col-reverse":U(re,"reverse")};class Fi extends X{}Fi.key=U(Ee,"grow"),Fi.unit="";class Qi extends X{}Qi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Qi.key=U(Ee,"wrap");class Xi extends X{}Xi.key=U(Ee,"basis"),Xi.values=Mt;class Yi extends X{constructor(){super(...arguments),this.order=-1}}Yi.key=Ee,Yi.unit="";const Bi="999999";class Ui extends X{}Ui.matches=/^o:./,Ui.key="order",Ui.values={first:"-999999",last:Bi},Ui.unit="";class Di extends X{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Di.matches=/^grid-col(-span)?:./,Di.key=U(Me,re),Di.unit="";class Gi extends X{}Gi.matches=/^col-span:./,Gi.key=U(re,yt);class Hi extends X{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Hi.matches=/^grid-row-span:./,Hi.key=U(Me,ce),Hi.unit="";class Ji extends X{}Ji.matches=/^(font-color:.|font:current)/,Ji.colorStarts="(?:f(ont)?|color):",Ji.colorful=!0,Ji.key=ge,Ji.unit="",Ji.values={current:ee};class Ki extends X{}Ki.matches=/^ac:./,Ki.key=U(De,he);class er extends X{}er.matches=/^ai:./,er.key=U(De,vt);class tr extends X{}tr.matches=/^as:./,tr.key=U(De,wt);class sr extends X{}sr.matches=/^grid-auto-cols:./,sr.key=U(Me,it,ne),sr.values={min:U($e,he),max:U(Ie,he)};class ir extends X{}ir.matches=/^grid-flow:./,ir.key=U(Me,it,se);class rr extends X{}rr.key=U(Me,it,le),rr.values={min:U($e,he),max:U(Ie,he)};class nr extends X{}nr.matches=/^jc:./,nr.key=U(kt,he);class ar extends X{}ar.matches=/^ji:./,ar.key=U(kt,vt);class cr extends X{}cr.matches=/^js:./,cr.key=U(kt,wt);class lr extends X{constructor(){super(...arguments),this.order=-1}}lr.key=U(Ot,he);class or extends X{constructor(){super(...arguments),this.order=-1}}or.key=U(Ot,vt);class dr extends X{constructor(){super(...arguments),this.order=-1}}dr.key=U(Ot,wt);class hr extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}hr.id="padding",hr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class ur extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}ur.id="margin",ur.matches=/^margin(-(left|right|top|bottom))?:./;class fr extends X{}fr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,fr.key=U(Ue,"overflow");class mr extends X{}mr.matches=/^list-style:(inside|outside)(?!\|)/,mr.key=U(gt,lt,at);class pr extends X{}pr.matches=/^list-style:(none|disc|decimal)(?!\|)/,pr.key=U(gt,lt,jt);class xr extends X{constructor(){super(...arguments),this.order=-1}}xr.key=U(gt,lt);class br extends X{}br.key=U(Ue,et,ge),br.colorStarts="text-decoration:",br.colorful=!0,br.values={current:ee};class gr extends X{}gr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,gr.key=U(Ue,et,lt);class yr extends X{}yr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,yr.key=U(Ue,et,"thickness"),yr.unit="em";class kr extends X{}kr.key=U(Ue,"indent");class vr extends X{}vr.key=he;class wr extends X{}wr.key=U(Nt,ge),wr.colorStarts="outline:",wr.colorful=!0,wr.values={current:ee};class Or extends X{}Or.key=U(Nt,St);class jr extends X{}jr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,jr.key=U(Nt,lt);class Sr extends X{}Sr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Sr.key=U(Nt,We);class Nr extends X{constructor(){super(...arguments),this.order=-1}}Nr.key=Nt,Nr.colorful=!0;class Rr extends X{}Rr.matches=/^b(order)?:(collapse|separate)(?!\|)/,Rr.key=U(D,"collapse");class Wr extends X{}Wr.key=U(D,ht);class Ir extends X{}Ir.key=U(bt,"layout");class $r extends X{}$r.key=U("accent",ge),$r.colorStarts="accent:",$r.colorful=!0;class zr extends X{}zr.key="appearance";class Ar extends X{}Ar.key=U("caret",ge),Ar.matches=/^caret:transparent(?!\|)/,Ar.colorStarts="caret:",Ar.colorful=!0,Ar.values={current:ee};class Er extends X{}Er.key=U(ye,Oe);class Mr extends X{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=U(ye,H)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,H)+":"||this.prefix===U(ye,"m:")?-1:0}}Mr.id="scrollMargin",Mr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Cr extends X{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=U(ye,J)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,J)+":"||this.prefix===U(ye,"p:")?-1:0}}Cr.id="scrollPadding",Cr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class Vr extends X{}Vr.matches=/^scroll-snap:(start|end|center)/,Vr.key=U(ye,Rt,De);class qr extends X{}qr.matches=/^scroll-snap:(normal|always)(?!\|)/,qr.key=U(ye,Rt,"stop");class Tr extends X{}Tr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,Tr.key=U(ye,Rt,jt);class Lr extends X{}Lr.key="will-change";class Pr extends X{}Pr.key=U(Ue,"underline",St);class _r extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}}_r.matches=/^(?:top|bottom|left|right):./,_r.key="inset",_r.semantics={center:{left:0,right:0,"margin-left":it,"margin-right":it},middle:{top:0,bottom:0,"margin-top":it,"margin-bottom":it}};class Zr extends X{constructor(){super(...arguments),this.order=-1}}Zr.matches=/^(columns|cols):./,Zr.key=ne,Zr.unit="";class Fr extends X{}Fr.key=U("white",Ke),Fr.unit="",Fr.semantics={"break-spaces":{"white-space":U(tt,Ke)+"s"}};class Qr extends X{}Qr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Qr.key=U(Ue,"orientation");class Xr extends X{}Xr.key=U("writing",we);class Yr extends X{}Yr.key="contain";class Br extends X{}Br.matches=/^\@duration:./,Br.key=U(ke,_e),Br.unit="ms";class Ur extends X{}Ur.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Ur.key=U(Ue,"rendering");class Dr extends X{}Dr.key=ve;class Gr extends X{}Gr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Gr.key=U(Ue,et,rt);class Hr extends X{}Hr.matches=/^grid-col-start:./,Hr.key=U(Me,re,zt),Hr.unit="";class Jr extends X{}Jr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Jr.key=U(gt,lt,ue);class Kr extends X{}Kr.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,Kr.key=U(Wt,"outside"),Kr.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe)};class en extends X{}en.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,en.key=U(Wt,H);class tn extends X{}tn.key=U(Wt,ue,"threshold"),tn.unit="";class sn extends X{}sn.matches=/^clip:./,sn.key=U(Ye,"path"),sn.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class rn extends X{constructor(){super(...arguments),this.order=-1}}rn.key=Me;class nn extends X{constructor(){super(...arguments),this.order=-1}}nn.matches=/^f:./,nn.key=K,nn.unit="",nn.colorful=!0;class an extends X{}an.key="quotes";class cn extends X{constructor(){super(...arguments),this.order=-1}}cn.key=U(Me,ie);class ln extends X{}ln.key=U(Me,ce,zt),ln.unit="";class on extends X{}on.key=U(Me,ie,$t)+"s";class dn extends X{}dn.matches=/^grid-template-cols:./,dn.key=U(Me,ie,ne),dn.values={min:U($e,he),max:U(Ie,he)};class hn extends X{}hn.key=U(Me,ie,le),hn.values={min:U($e,he),max:U(Ie,he)};class un extends X{constructor(){super(...arguments),this.order=-1}}un.key=U(Me,$t),un.unit="";class fn extends X{}fn.matches=/^grid-col-end:./,fn.key=U(Me,re,"end"),fn.unit="";class mn extends X{}mn.key=U(Me,ce,"end"),mn.unit="";class pn extends X{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}pn.key=U("mask",ue);class xn extends X{get props(){return{"-webkit-text-fill-color":this}}}xn.id="textFillColor",xn.matches=/^text-fill-color:./,xn.colorStarts="text-fill:",xn.colorful=!0,xn.values={current:ee};class bn extends X{get props(){return{"-webkit-text-stroke":this}}}bn.id="textStroke",bn.matches=/^text-stroke:./;class gn extends X{get props(){return{"-webkit-text-stroke-width":this}}}gn.id="textStrokeWidth",gn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class yn extends X{get props(){return{"-webkit-text-stroke-color":this}}}yn.id="textStrokeColor",yn.matches=/^text-stroke-color:./,yn.colorStarts="text-stroke:",yn.colorful=!0,yn.values={current:ee};class kn extends X{}kn.key=U(fe,"dasharray");class vn extends X{}vn.key=U(fe,"dash")+St;class wn extends X{}wn.key="x",wn.unit="";class On extends X{}On.key="y",On.unit="";class jn extends X{}jn.key="cx",jn.unit="";class Sn extends X{}Sn.key="cy",Sn.unit="";class Nn extends X{}Nn.key="rx",Nn.unit="";class Rn extends X{}Rn.key="ry",Rn.unit="";class Wn extends X{}Wn.key=U(D,ue,"outset");class In extends X{}In.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,In.key=U(D,ue,be);class $n extends X{}$n.key=U(D,ue,"slice"),$n.unit="";class zn extends X{}zn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,zn.key=U(D,ue,"source");class An extends X{}An.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,An.key=U(D,ue,We);class En extends X{}En.key=U(D,ue),En.unit="";const Mn=/\{(.*)\}/;class Cn extends X{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Mn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.name.length;a++){const t=this.name[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in g&&"'"!==e&&(a++,c(g[t]))}};c(void 0),n();for(const e of i){const i=p.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Cn.id="group",Cn.matches=/^{/,Cn.unit="";class Vn extends X{}Vn.key="counter-increment",Vn.unit="";class qn extends X{}qn.semantics={full:{width:"100%",height:"100%"}};const Tn="undefined"!=typeof window,Ln=[Cn,Ci,Ct,qt,Ji,Dt,ur,hr,Tt,Xi,Qi,Fi,_i,Zi,Yi,Ns,qn,Gt,Ht,Jt,Kt,Yr,vr,Vn,es,rs,ns,as,nn,cs,ls,os,ds,br,gr,yr,Gr,hs,Pr,fr,Qr,us,Ur,kr,fs,Zr,Fr,_r,ms,js,Ss,Rs,Ws,Is,$s,zs,As,Es,Ms,Cs,fi,mi,vi,wi,Oi,ji,$i,Mi,Si,Ni,Wi,Ii,xn,gn,yn,bn,Ri,Ir,bs,xs,ps,gs,ws,Os,vs,ks,ys,Vs,qs,Br,Ts,Ls,Ps,_s,Zs,Fs,Xs,Js,Ks,ei,Rr,Wr,ti,Wn,In,$n,zn,An,En,si,ii,ri,ni,ai,ci,li,oi,di,hi,ui,xi,ki,bi,kn,vn,yi,gi,wn,On,jn,Sn,Nn,Rn,Hr,fn,Di,zi,ln,mn,Hi,Ai,sr,ir,rr,on,dn,hn,cn,un,rn,Ei,Ui,Pi,Li,Ti,qi,Vi,Gi,Ki,er,tr,nr,ar,cr,lr,or,dr,mr,pr,Jr,xr,wr,Or,jr,Sr,Nr,$r,zr,Ar,Er,Mr,Cr,Vr,qr,Tr,Lr,Xr,Dr,Kr,en,tn,sn,an,pn],Pn=Ln.get=e=>Ln.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function _n(){if(Tn){const e=new p(document.head);p.root=e,e.observe(document.documentElement)}}Ln.extend=(e,t,s=!0)=>{for(const s in t){const i=Pn(s);if(i){const r=t[s];i.extend(e,r)}}s&&p.refresh()},X.extend("colors",e.colors,!1),X.extend("breakpoints",t.breakpoints,!1),p.Styles.push(...Ln);Tn&&(window.initMasterStyles=_n,window.MasterStyles=Ln,window.MasterStylesManual||_n())})(),i})()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{"use strict";var e={955:(e,t,s)=>{s.d(t,{breakpoints:()=>i});const i={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},563:(e,t,s)=>{s.d(t,{colors:()=>i});const i={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{Style:()=>X,StyleSheet:()=>p,Styles:()=>Pn,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Zn,sheets:()=>Q});var e=s(563),t=s(955);function r(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}const n=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function a(e,t,s){let i="",r="",a="";if("number"==typeof e)i=e,r=t||"";else{if(s){const[t,n]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return i="rgb(var(--"+t+")"+(n?"/"+n:"")+")",{value:i,unit:r,unitToken:a}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:r,unitToken:a}}return i=+s[1],r=a=s[3]||"",r||("rem"!==t&&"em"!==t||(i/=16),r=t||""),{value:i,unit:r,unitToken:a}}}i=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:i,unit:r,unitToken:a}}const c=[":disabled",":active",":focus",":hover"],l=[",",".","#","[","!","*",">","+","~",":","@"],o="undefined"!=typeof document;let d;o&&(d=document.createElement("style"),d.id="master-styles");const h="max-width",u="min-width",f="undefined"!=typeof window,m=f?window.MutationObserver:Object;class p extends m{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t,s)=>{for(let i=0;i<e.length;i++){const r=e[i];if(r.classList&&!s.includes(r)){s.push(r),r.classList.forEach((e=>{t?c(e):a(e)}));const e=r.children;e.length&&n(e,t,s)}}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1};for(let t=0;t<e.length;t++){const a=e[t],{addedNodes:c,removedNodes:l,type:o,target:d,oldValue:h}=a;if("attributes"===o){if(d.className===h||s.find((e=>e.target===d)))continue;s.push(a)}else c.length&&n(c,!1,i),l.length&&n(l,!0,r)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){if(i.includes(t)||r.includes(t))continue;const s=e?e.split(" "):[],n=t.classList;n.length&&n.forEach((e=>{s.includes(e)||a(e)}));for(const e of s)n.contains(e)||c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},o){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");let i;for(let t=e.length-1;t>=0;t--){const s=e[t];if("."===s[0]){i=s.slice(1);break}}let r="";for(let e=0;e<i.length;e++){const t=i[e],s=i[e+1];if("\\"===t){if(e++,"\\"!==s){r+=s;continue}}else if(l.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=p.findAndNew(r);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t)};e(t.sheet,void 0)}else this.element=d.cloneNode(),null==e||e.prepend(this.element)}Q.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in X.classes?X.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in X.classes?X.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Q)e.refresh()}refresh(){if(!this.element)return;const e=d.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Q.splice(Q.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features[h],o=r.features[u];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features[h],d=n.features[u];if(!o||!d){s++;break}const f=o.value-d.value;if(f===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features[h],n=t.features[u];if(!r||!n||r.value-n.value!==f)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]))}break}if(f>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features[h],f=r.features[u];if(d){if(f)break;continue}const m=null==f?void 0:f.value;if(m===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features[u];if(!i.features[h]){if(t.hasWhere!==c||r.value!==m||t.order>=n)break;s=e+1}}break}if(m>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features[h];if(o.features[u])continue;const f=null==d?void 0:d.value;if(!f||f>t.value){s++;break}if(f===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features[u],n=i.features[h];if(!(r||n&&n.value===f&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features[u]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features[h]||e.media.features[u]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features[h]||i.features[u])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in X.relations&&X.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in X.classes)for(const t of X.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=p.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}function x(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function b(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}p.Styles=[],f&&(window.MasterStyleSheet=p);const g={"(":")","'":"'","{":"}"},y="matches",k="semantics",v="symbol",w="max-width",O="min-width",j="motion",S="reduce",N="reduced-motion",R="::scrollbar",W="::slider-thumb",I="::slider-runnable-track",$="::search",z="::meter",A="::resizer",E="::progress",M="px",C=["!","*",">","+","~",":","[","@","_"],V=[...C,void 0,"."],q=new RegExp(R,"g"),T=new RegExp($,"g"),L=new RegExp(z,"g"),P=new RegExp(I,"g"),_=new RegExp(W,"g"),Z=new RegExp(A,"g"),F=new RegExp(E,"g"),Q=[];class X{constructor(e,t){this.name=e,this.matching=t,this.at={},this.prioritySelectorIndex=-1;const s=this.constructor;if(void 0===t&&!(t=s.match(e)))return;let i,n,{semantics:l,unit:o,colors:d,key:h,values:u,colorful:f,breakpoints:m,mediaQueries:p}=s,x=e;if(f||(d=null),t.origin===k)i=t.value,n=x.slice(t.value.length),this.value=l[t.value];else{if(t.origin===y){if("{"===x[0])i=x;else{const e=x.indexOf(":");this.prefix=x.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=x):i=x.slice(e+1)}}else t.origin===v&&(this.symbol=x[0],i=x.slice(1));let e,s="",r=[],c=0;!function t(n,l,h=""){let u,f=!1;for(n&&(")"===n&&"$"===s.slice(-1)?u=s.length-1:"'"===n&&(f=!0),s+=i[c++]);c<i.length;c++){const m=i[c];if(m===n){if(s+=m,f){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==u&&(s=s.slice(0,u)+s.slice(u).replace(/\$\((.*)\)/,"var(--$1)")),l||(f?r.push(s):(e=a(s,o,d),r.push(e.value+e.unit)),h="",s="");break}if(!f&&m in g)t(g[m],void 0===l?0:l+1,h);else if("|"!==m||f&&"path"!==h){if(!n){if("."===m){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===m){e=a(s,o,d),r.push(e.value+e.unit,","),s="";continue}if("#"===m&&(s||r.length&&"|"!==i[c-1])||C.includes(m))break}h+=m}s+=m}else n?s+=" ":(e=a(s,o,d),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,o,d),r.push(e.value+e.unit)),n=i.slice(c),1===r.length?e?(this.value=e.value,this.unit=e.unit):(this.value=r[0],this.unit=""):this.value=r.join(" ")}n.includes(R)&&(n=n.replace(q,"::-webkit-scrollbar")),n.includes($)&&(n=n.replace(T,"::-webkit-search")),n.includes(W)&&(n=n.replace(_,"::-webkit-slider-thumb")),n.includes(I)&&(n=n.replace(P,"::-webkit-slider-runnable-track")),n.includes(z)&&(n=n.replace(L,"::-webkit-meter")),n.includes(A)&&(n=n.replace(Z,"::-webkit-resizer")),n.includes(E)&&(n=n.replace(F,"::-webkit-progress")),n.includes(":first")&&(n=n.replace(/:first(?![a-z-])/g,":first-child")),n.includes(":last")&&(n=n.replace(/:last(?![a-z-])/g,":last-child")),n.includes(":even")&&(n=n.replace(/:even(?![a-z-])/g,":nth-child(2n)")),n.includes(":odd")&&(n=n.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),this.parseValue&&(this.value=this.parseValue),u&&this.value in u&&(this.value=u[this.value]),"!"===n[0]&&(this.important=!0,n=n.slice(1));const b=n.split("@");let V=b[0].replace(/\_/g," ");if(V){this.hasWhere=V.includes(":where(");for(let e=0;e<c.length;e++)if(V.includes(c[e])){this.prioritySelectorIndex=e;break}}this.selector=V;for(let e=1;e<b.length;e++){const t=b[e];if(t)if(t.startsWith("dark")||t.startsWith("light"))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===j||e===N)i.push("(prefers-reduced-motion:"+(e===j?"no-preference":S)+")");else if(e in p)i.push(p[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=w):e.startsWith(">=")||m[e]?(r=">=",s=O):e.startsWith(">")?(r=">",s=O,n=.02):e.startsWith("<")&&(r="<",s=w,n=-.02),s){case w:case O:const c=r?e.replace(r,""):e,l=m[c];l?Object.assign(t,a(l,M)):Object.assign(t,a(c,M)),t.unit===M&&(t.value+=n),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let Q="";this.colorScheme&&(Q+="."+this.colorScheme+" "),this.direction&&(Q+="[dir="+this.direction+"] "),this.text=Q+"."+CSS.escape(this.name)+V+(this.name in X.relations?X.relations[this.name].map((e=>", "+Q+"."+e+V)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((e=>r(e,Object.assign(Object.assign({},this),{unit:"",value:this.value[e]})))).join(";"):this.props?Object.keys(this.props).map((e=>r(e,this.props[e]))).join(";"):r(h,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&&V.includes(e[t.length]))return{origin:k,value:t};return this.matches&&this.matches.test(e)||this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:y}:this.symbol&&e.startsWith(this.symbol)?{origin:v}:this.key&&e.startsWith(this.key+":")?{origin:y}:void 0}static extend(e,t,s=!0){if(!t)return;const i=(e,s,i)=>{var r;for(const n in t){const a=t[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==s?void 0:s(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>{const s=this.colorNames.indexOf(e);-1!==s?null==B||B.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=x(t[""]).join(" "));let n=!1;for(const e in t)if(e&&+e>=100){n=!0;break}if(n)for(const e in t)i[e]=x(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?x(t[0]):[0,0,0];const a=[],c=()=>{const c=e-r,l=s.map(((e,t)=>(e-n[t])/c));for(const e of a){const s=e-r,a=n.map(((e,t)=>Math.round(e+l[t]*s)));i[e]=a.join(" "),t[e]=b.call(this,...a)}};for(let l=1;l<100;l++){const o=l%2==0;l in t?(a.length?(e=l,s=x(t[l]),c(),a.length=0,n=s):n=x(t[l]),r=l,o&&(i[l]=n.join(" "))):o&&a.push(l)}a.length&&(e=100,s="100"in t?x(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=x(e).join(" ")}return null==B||B.insertRule(function(e,t){let s=":root{";for(const i in t)s+="--"+e+(i?"-"+i:"")+":"+t[i]+";";return s+="}",s}(e,i),-1===s?Object.keys(this.colors).length:s),this.rgbColors[e]=i,t}),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1),null==B||B.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&p.refresh()}}let Y,B;if(X.unit="rem",X.rgbColors={},X.mediaQueries={},X.sheets=Q,X.colors={},X.classes={},X.colorNames=[],X.relations={},"undefined"!=typeof window&&(window.MasterStyle=X),"undefined"!=typeof document){const e=document.head.querySelector('[id="master-colors"]');if(e){const t=document.head.querySelector('[name="master:colors"]');if(t&&t.content){Y=e;const s={},i=t.content.split(",");for(let e=0;e<Y.sheet.cssRules.length;e++){const t=Y.sheet.cssRules[e].cssText.slice(8,-1).split(";").slice(0,-1);if(t.length){const r=i[e],n=r.length+2,a={};for(const e of t){let[t,s]=e.split(":");t=t.trim().slice(n),t&&(t=t.slice(1)),a[t]=b.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}X.extend("colors",s),B=Y.sheet}}Y||(Y=document.createElement("style"),Y.id="master-colors",document.head.prepend(Y),B=Y.sheet)}const U=(...e)=>e.join("-"),D="border",G="radius",H="margin",J="padding",K="font",ee="currentColor",te=",",se="flow",ie="template",re="column",ne="columns",ae="gap",ce="row",le="rows",oe="shadow",de="user",he="content",ue="image",fe="stroke",me="filter",pe="blend",xe="background",be="repeat",ge="color",ye="scroll",ke="animation",ve="direction",we="mode",Oe="behavior",je=U("overscroll",Oe),Se="y",Ne="x",Re="height",We="width",Ie="max",$e="min",ze="block",Ae="inline",Ee="flex",Me="grid",Ce="transition",Ve="origin",qe="delay",Te="rotate",Le="deg",Pe="timing-function",_e="duration",Ze="display",Fe="hidden",Qe="box",Xe="fill",Ye="clip",Be="none",Ue="text",De="align",Ge="transform",He="vertical",Je="word",Ke="space",et="decoration",tt="break",st="size",it="auto",rt="line",nt="object",at="position",ct="rem",lt="style",ot="smoothing",dt="antialiased",ht="spacing",ut=U("letter",ht),ft=U(Ie,We),mt=U($e,We),pt=U(Ie,Re),xt=U($e,Re),bt="table",gt="list",yt="span",kt="justify",vt="items",wt="self",Ot="place",jt="type",St="offset",Nt="outline",Rt="snap",Wt="shape",It="view",$t="area",zt="start",At="blur",Et="drop",Mt={full:"100%",fit:U("fit",he),max:U(Ie,he),min:U($e,he)};class Ct extends X{}Ct.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|extrabold|heavy)(?!\|)/,Ct.key=U(K,"weight"),Ct.unit="",Ct.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const Vt="var(--font-";class qt extends X{}qt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,qt.key=U(K,"family"),qt.values={mono:Vt+"mono)",sans:Vt+"sans)",serif:Vt+"serif)"};class Tt extends X{}Tt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Tt.key=U(K,st);const Lt="top",Pt="bottom",_t="left",Zt="right",Ft="l",Qt="r",Xt="t",Yt="b",Bt="x",Ut="y";class Dt extends X{get props(){const e="m"===this.prefix[0]?H:J,t=U(e,_t),s=U(e,Zt),i=U(e,Lt),r=U(e,Pt);switch(this.prefix[1]){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Dt.id="spacing",Dt.matches=/^[pm][xytblr]?:./;class Gt extends X{}Gt.matches=/^w:./,Gt.key=We,Gt.values=Mt;class Ht extends X{}Ht.matches=/^h:./,Ht.key=Re,Ht.values=Mt;class Jt extends X{}Jt.matches=/^min-w:./,Jt.key=mt,Jt.values=Mt;class Kt extends X{}Kt.matches=/^min-h:./,Kt.key=xt,Kt.values=Mt;class es extends X{}es.matches=/^ls:./,es.key=ut,es.unit="em";const ts=U("subpixel",dt),ss=U("-webkit-font",ot),is=U("-moz-osxfont",ot);class rs extends X{get props(){const e={};switch(this.value){case ts:e[ss]=e[is]=Object.assign(Object.assign({},this),{value:it});break;case dt:e[ss]=Object.assign(Object.assign({},this),{value:dt}),e[is]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}rs.id="fontSmoothing",rs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,rs.unit="";class ns extends X{}ns.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ns.key=U(K,lt),ns.unit="deg",ns.semantics={italic:"italic",oblique:"oblique"};class as extends X{}as.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,as.key=U(K,"variant","numeric");class cs extends X{}cs.matches=/^lh:./,cs.key=U(rt,Re),cs.unit="";class ls extends X{}ls.matches=/^(object|obj):(contain|cover|fill|scale-down)/,ls.key=U(nt,"fit");class os extends X{}os.matches=/^(object|obj):(top|bottom|right|left|center)/,os.key=U(nt,at);class ds extends X{}ds.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,ds.key=U(Ue,De);class hs extends X{constructor(){super(...arguments),this.order=-1}}hs.matches=/^t(ext)?:(underline|line-through|overline)/,hs.key=U(Ue,et),hs.colorful=!0;class us extends X{}us.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,us.key=U(Ue,Ge),us.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class fs extends X{}fs.matches=/^v:./,fs.key=U(He,De);class ms extends X{get props(){return{overflow:Object.assign(Object.assign({},this),{value:Fe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:U(tt,Je)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:He}),"-webkit-line-clamp":this}}}ms.id="lines",ms.matches=/^lines:./,ms.unit="";class ps extends X{}ps.matches=/^transform:((top|bottom|right|left|center)|\d)/,ps.key=U(Ge,Ve),ps.unit="px";class xs extends X{}xs.matches=/^transform:(flat|preserve-3d)(?!\|)/,xs.key=U(Ge,lt);class bs extends X{}bs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,bs.key=U(Ge,Qe),bs.values={content:U(he,Qe),border:U(D,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class gs extends X{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=ct;break;case"skew":r=Le;break;case Te:"3d"===s&&(n=!0),r=Le;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===ct?16:1)+r})).join(","))}))}}gs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,gs.key=Ge,gs.unit="";class ys extends X{constructor(){super(...arguments),this.order=-1}}ys.symbol="~",ys.key=Ce;class ks extends X{}ks.matches=/^~delay:./,ks.key=U(Ce,qe),ks.unit="ms";class vs extends X{}vs.matches=/^~duration:./,vs.key=U(Ce,_e),vs.unit="ms";class ws extends X{}ws.matches=/^~property:./,ws.key=U(Ce,"property");class Os extends X{}Os.matches=/^~easing:./,Os.key=U(Ce,Pe);class js extends X{}js.matches=/^max-h:./,js.key=pt,js.values=Mt;class Ss extends X{}Ss.matches=/^max-w:./,Ss.key=ft,Ss.values=Mt;class Ns extends X{}Ns.matches=/^d:./,Ns.key=Ze,Ns.semantics={hidden:Be,hide:Be,block:ze,table:bt,flex:Ee,grid:Me,contents:"contents","inline-block":U(Ae,ze),"inline-flex":U(Ae,Ee),"inline-grid":U(Ae,Me),"inline-table":U(Ae,bt)};class Rs extends X{}Rs.matches=/^box:(content|border)(?!\|)/,Rs.key=U(Qe,"sizing"),Rs.values={content:U(he,Qe),border:U(D,Qe)};class Ws extends X{}Ws.key="opacity",Ws.unit="";class Is extends X{}Is.key="visibility",Is.semantics={visible:"visible",invisible:Fe};class $s extends X{}$s.key="clear";class zs extends X{}zs.key="float";class As extends X{}As.key="isolation",As.semantics={isolate:"isolate"};class Es extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{"overflow-x":this};case Se:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case Ne:case Se:return 0;default:return-1}}}Es.id="overflow",Es.matches=/^(overflow|ovf)(-x|-y)?:./;class Ms extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{[U(je,Ne)]:this};case Se:return{[U(je,Se)]:this};default:return{[je]:this}}}}Ms.id="overscrollBehavior",Ms.matches=/^overscroll-behavior(?:-[xy])?:/;class Cs extends X{}Cs.matches=/^z:./,Cs.key="z-index",Cs.unit="";class Vs extends X{}Vs.matches=/^\@delay:./,Vs.key=U(ke,qe),Vs.unit="ms";class qs extends X{}qs.matches=/^\@direction:./,qs.key=U(ke,ve);class Ts extends X{}Ts.matches=/^\@fill-mode:./,Ts.key=U(ke,Xe,we);class Ls extends X{}Ls.matches=/^\@iteration-count:./,Ls.key=U(ke,"iteration","count"),Ls.unit="";class Ps extends X{}Ps.matches=/^\@name:./,Ps.key=U(ke,"name");class _s extends X{}_s.matches=/^\@play-state:./,_s.key=U(ke,"play-state");class Zs extends X{}Zs.matches=/^\@easing:./,Zs.key=U(ke,Pe);class Fs extends X{constructor(){super(...arguments),this.order=-1}}Fs.symbol="@",Fs.key=ke,Fs.unit="";function Qs(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Bt:return{[i]:t,[r]:t};case Ut:return{[n]:t,[a]:t};case Ft:return{[i]:t};case Qt:return{[r]:t};case Xt:return{[n]:t};case Yt:return{[a]:t};default:return{[D+s]:t}}}class Xs extends X{get props(){return Qs(this.prefix,this,ge)}get order(){return this.prefix===U(D,ge)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Xs.id="borderColor",Xs.matches=/^border(-(left|right|top|bottom))?-color:./,Xs.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Xs.colorful=!0,Xs.values={current:ee};const Ys=U(D,Lt,_t,G),Bs=U(D,Lt,Zt,G),Us=U(D,Pt,_t,G),Ds=U(D,Pt,Zt,G),Gs=U(D,G),Hs=[Ys,Bs,Us,Ds];class Js extends X{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Xt:return{[Ys]:this,[Bs]:this};case"tl":case"lt":return{[Ys]:this};case"rt":case"tr":return{[Bs]:this};case Yt:return{[Us]:this,[Ds]:this};case"bl":case"lb":return{[Us]:this};case"br":case"rb":return{[Ds]:this};case Ft:return{[Ys]:this,[Us]:this};case Qt:return{[Bs]:this,[Ds]:this};default:return{[Gs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Hs.includes(t)?t:Gs]:this}}get order(){return this.prefix===U(D,G)+":"||"r:"===this.prefix?-1:0}}Js.id="borderRadius",Js.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Js.semantics={rounded:"1e9em",round:"50%"};class Ks extends X{get props(){return Qs(this.prefix,this,lt)}get order(){return this.prefix===U(D,lt)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Ks.id="borderStyle",Ks.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class ei extends X{get props(){return Qs(this.prefix,this,We)}get order(){return this.prefix===U(D,We)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderWidth",ei.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class ti extends X{get props(){return Qs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ti.id="border",ti.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ti.colorful=!0;class si extends X{}si.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,si.key=U(xe,"attachment");class ii extends X{}ii.key=U(xe,pe,we);class ri extends X{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ri.matches=/^(bg|background):text(?!\|)/,ri.key=U(xe,Ye);class ni extends X{}ni.matches=/^(bg|background):transparent(?!\|)/,ni.colorStarts="(bg|background):",ni.key=U(xe,ge),ni.unit="",ni.colorful=!0,ni.values={current:ee};class ai extends X{}ai.matches=/^(bg|background):(content|border|padding)(?!\|)/,ai.key=U(xe,Ve),ai.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe)};class ci extends X{}ci.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,ci.key=U(xe,at),ci.unit="px";class li extends X{}li.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,li.key=U(xe,be);class oi extends X{}oi.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,oi.key=U(xe,st);class di extends X{}di.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,di.key=U(xe,ue);class hi extends X{constructor(){super(...arguments),this.order=-1}}hi.matches=/^bg:./,hi.key=xe,hi.colorful=!0;class ui extends X{}ui.matches=/^blend:./,ui.key=U("mix",pe,we);class fi extends X{}fi.key=at,fi.values={abs:"absolute",rel:"relative"},fi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class mi extends X{get props(){const e=this.prefix.slice(0,-1);switch(e){case Lt:case _t:case Zt:case Pt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function pi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===ct?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}mi.matches=/^(top|left|right|bottom|center|middle):./;class xi extends X{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",Te):return Le}return""}))}}xi.matches=/^bd:./,xi.key=U("backdrop",me);class bi extends X{}bi.key=Xe,bi.colorStarts="fill:",bi.colorful=!0,bi.values={current:ee};class gi extends X{}gi.key=fe,gi.colorful=!0;class yi extends X{}yi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,yi.key=U(fe,We);class ki extends X{get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",Te):return Le}return""}))}}ki.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,ki.key=me;class vi extends X{}vi.key="cursor";class wi extends X{}wi.key=U("pointer","events");class Oi extends X{}Oi.key="resize";class ji extends X{}ji.key=U("touch","action");class Si extends X{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Si.key=U(de,"drag");class Ni extends X{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ni.key=U(de,"select");class Ri extends X{}Ri.matches=/^s(?:hadow)?:./,Ri.key=U(Qe,oe),Ri.colorful=!0;class Wi extends X{}Wi.key=U(Ue,oe),Wi.colorful=!0;class Ii extends X{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===ct?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ii.id="textSize",Ii.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class $i extends X{}$i.key=U(Je,tt),$i.unit="",$i.semantics={"break-word":{"overflow-wrap":U(tt,Je),overflow:Fe}};class zi extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,ie,ne)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}zi.matches=/^grid-cols:./,zi.key=U(Me,ne),zi.unit="";class Ai extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,it,se)]:Object.assign(Object.assign({},this),{value:re}),[U(Me,ie,le)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}Ai.key=U(Me,le),Ai.unit="";class Ei extends X{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case Ne:return{[U(re,ae)]:this};case Se:return{[U(ce,ae)]:this};default:return{[ae]:this}}}}Ei.id="gap",Ei.matches=/^gap(-x|-y)?:./;class Mi extends X{}Mi.key=U(Je,ht);class Ci extends X{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Ci.id="variable",Ci.matches=/^\$.+:./,Ci.unit="";class Vi extends X{}Vi.matches=/^aspect:./,Vi.key=U("aspect","ratio"),Vi.unit="",Vi.semantics={square:"1/1",video:"16/9"};class qi extends X{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}qi.matches=/^box:(slice|clone)(?!\|)/,qi.key=U(Qe,et,tt);class Ti extends X{}Ti.key=U(tt,"after");class Li extends X{}Li.key=U(tt,"before");class Pi extends X{}Pi.key=U(tt,"inside");class _i extends X{}_i.key=U(Ee,"shrink"),_i.unit="";class Zi extends X{}Zi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Zi.key=U(Ee,ve),Zi.values={col:re,"col-reverse":U(re,"reverse")};class Fi extends X{}Fi.key=U(Ee,"grow"),Fi.unit="";class Qi extends X{}Qi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Qi.key=U(Ee,"wrap");class Xi extends X{}Xi.key=U(Ee,"basis"),Xi.values=Mt;class Yi extends X{constructor(){super(...arguments),this.order=-1}}Yi.key=Ee,Yi.unit="";const Bi="999999";class Ui extends X{}Ui.matches=/^o:./,Ui.key="order",Ui.values={first:"-999999",last:Bi},Ui.unit="";class Di extends X{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Di.matches=/^grid-col(-span)?:./,Di.key=U(Me,re),Di.unit="";class Gi extends X{}Gi.matches=/^col-span:./,Gi.key=U(re,yt);class Hi extends X{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Hi.matches=/^grid-row-span:./,Hi.key=U(Me,ce),Hi.unit="";class Ji extends X{}Ji.matches=/^(font-color:.|font:current)/,Ji.colorStarts="(?:f(ont)?|color):",Ji.colorful=!0,Ji.key=ge,Ji.unit="",Ji.values={current:ee};class Ki extends X{}Ki.matches=/^ac:./,Ki.key=U(De,he);class er extends X{}er.matches=/^ai:./,er.key=U(De,vt);class tr extends X{}tr.matches=/^as:./,tr.key=U(De,wt);class sr extends X{}sr.matches=/^grid-auto-cols:./,sr.key=U(Me,it,ne),sr.values={min:U($e,he),max:U(Ie,he)};class ir extends X{}ir.matches=/^grid-flow:./,ir.key=U(Me,it,se);class rr extends X{}rr.key=U(Me,it,le),rr.values={min:U($e,he),max:U(Ie,he)};class nr extends X{}nr.matches=/^jc:./,nr.key=U(kt,he);class ar extends X{}ar.matches=/^ji:./,ar.key=U(kt,vt);class cr extends X{}cr.matches=/^js:./,cr.key=U(kt,wt);class lr extends X{constructor(){super(...arguments),this.order=-1}}lr.key=U(Ot,he);class or extends X{constructor(){super(...arguments),this.order=-1}}or.key=U(Ot,vt);class dr extends X{constructor(){super(...arguments),this.order=-1}}dr.key=U(Ot,wt);class hr extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}hr.id="padding",hr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class ur extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}ur.id="margin",ur.matches=/^margin(-(left|right|top|bottom))?:./;class fr extends X{}fr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,fr.key=U(Ue,"overflow");class mr extends X{}mr.matches=/^list-style:(inside|outside)(?!\|)/,mr.key=U(gt,lt,at);class pr extends X{}pr.matches=/^list-style:(none|disc|decimal)(?!\|)/,pr.key=U(gt,lt,jt);class xr extends X{constructor(){super(...arguments),this.order=-1}}xr.key=U(gt,lt);class br extends X{}br.key=U(Ue,et,ge),br.colorStarts="text-decoration:",br.colorful=!0,br.values={current:ee};class gr extends X{}gr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,gr.key=U(Ue,et,lt);class yr extends X{}yr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,yr.key=U(Ue,et,"thickness"),yr.unit="em";class kr extends X{}kr.key=U(Ue,"indent");class vr extends X{}vr.key=he;class wr extends X{}wr.key=U(Nt,ge),wr.colorStarts="outline:",wr.colorful=!0,wr.values={current:ee};class Or extends X{}Or.key=U(Nt,St);class jr extends X{}jr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,jr.key=U(Nt,lt);class Sr extends X{}Sr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Sr.key=U(Nt,We);class Nr extends X{constructor(){super(...arguments),this.order=-1}}Nr.key=Nt,Nr.colorful=!0;class Rr extends X{}Rr.matches=/^b(order)?:(collapse|separate)(?!\|)/,Rr.key=U(D,"collapse");class Wr extends X{}Wr.key=U(D,ht);class Ir extends X{}Ir.key=U(bt,"layout");class $r extends X{}$r.key=U("accent",ge),$r.colorStarts="accent:",$r.colorful=!0;class zr extends X{}zr.key="appearance";class Ar extends X{}Ar.key=U("caret",ge),Ar.matches=/^caret:transparent(?!\|)/,Ar.colorStarts="caret:",Ar.colorful=!0,Ar.values={current:ee};class Er extends X{}Er.key=U(ye,Oe);class Mr extends X{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=U(ye,H)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,H)+":"||this.prefix===U(ye,"m:")?-1:0}}Mr.id="scrollMargin",Mr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Cr extends X{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=U(ye,J)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,J)+":"||this.prefix===U(ye,"p:")?-1:0}}Cr.id="scrollPadding",Cr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class Vr extends X{}Vr.matches=/^scroll-snap:(start|end|center)/,Vr.key=U(ye,Rt,De);class qr extends X{}qr.matches=/^scroll-snap:(normal|always)(?!\|)/,qr.key=U(ye,Rt,"stop");class Tr extends X{}Tr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,Tr.key=U(ye,Rt,jt);class Lr extends X{}Lr.key="will-change";class Pr extends X{}Pr.key=U(Ue,"underline",St);class _r extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}}_r.matches=/^(?:top|bottom|left|right):./,_r.key="inset",_r.semantics={center:{left:0,right:0,"margin-left":it,"margin-right":it},middle:{top:0,bottom:0,"margin-top":it,"margin-bottom":it}};class Zr extends X{constructor(){super(...arguments),this.order=-1}}Zr.matches=/^(columns|cols):./,Zr.key=ne,Zr.unit="";class Fr extends X{}Fr.key=U("white",Ke),Fr.unit="",Fr.semantics={"break-spaces":{"white-space":U(tt,Ke)+"s"}};class Qr extends X{}Qr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Qr.key=U(Ue,"orientation");class Xr extends X{}Xr.key=U("writing",we);class Yr extends X{}Yr.key="contain";class Br extends X{}Br.matches=/^\@duration:./,Br.key=U(ke,_e),Br.unit="ms";class Ur extends X{}Ur.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Ur.key=U(Ue,"rendering");class Dr extends X{}Dr.key=ve;class Gr extends X{}Gr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Gr.key=U(Ue,et,rt);class Hr extends X{}Hr.matches=/^grid-col-start:./,Hr.key=U(Me,re,zt),Hr.unit="";class Jr extends X{}Jr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Jr.key=U(gt,lt,ue);class Kr extends X{}Kr.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,Kr.key=U(Wt,"outside"),Kr.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe)};class en extends X{}en.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,en.key=U(Wt,H);class tn extends X{}tn.key=U(Wt,ue,"threshold"),tn.unit="";class sn extends X{}sn.matches=/^clip:./,sn.key=U(Ye,"path"),sn.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class rn extends X{constructor(){super(...arguments),this.order=-1}}rn.key=Me;class nn extends X{constructor(){super(...arguments),this.order=-1}}nn.matches=/^f:./,nn.key=K,nn.unit="",nn.colorful=!0;class an extends X{}an.key="quotes";class cn extends X{constructor(){super(...arguments),this.order=-1}}cn.key=U(Me,ie);class ln extends X{}ln.key=U(Me,ce,zt),ln.unit="";class on extends X{}on.key=U(Me,ie,$t)+"s";class dn extends X{}dn.matches=/^grid-template-cols:./,dn.key=U(Me,ie,ne),dn.values={min:U($e,he),max:U(Ie,he)};class hn extends X{}hn.key=U(Me,ie,le),hn.values={min:U($e,he),max:U(Ie,he)};class un extends X{constructor(){super(...arguments),this.order=-1}}un.key=U(Me,$t),un.unit="";class fn extends X{}fn.matches=/^grid-col-end:./,fn.key=U(Me,re,"end"),fn.unit="";class mn extends X{}mn.key=U(Me,ce,"end"),mn.unit="";class pn extends X{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}pn.key=U("mask",ue);class xn extends X{get props(){return{"-webkit-text-fill-color":this}}}xn.id="textFillColor",xn.matches=/^text-fill-color:./,xn.colorStarts="text-fill:",xn.colorful=!0,xn.values={current:ee};class bn extends X{get props(){return{"-webkit-text-stroke":this}}}bn.id="textStroke",bn.matches=/^text-stroke:./;class gn extends X{get props(){return{"-webkit-text-stroke-width":this}}}gn.id="textStrokeWidth",gn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class yn extends X{get props(){return{"-webkit-text-stroke-color":this}}}yn.id="textStrokeColor",yn.matches=/^text-stroke-color:./,yn.colorStarts="text-stroke:",yn.colorful=!0,yn.values={current:ee};class kn extends X{}kn.key=U(fe,"dasharray");class vn extends X{}vn.key=U(fe,"dash")+St;class wn extends X{}wn.key="x",wn.unit="";class On extends X{}On.key="y",On.unit="";class jn extends X{}jn.key="cx",jn.unit="";class Sn extends X{}Sn.key="cy",Sn.unit="";class Nn extends X{}Nn.key="rx",Nn.unit="";class Rn extends X{}Rn.key="ry",Rn.unit="";class Wn extends X{}Wn.key=U(D,ue,"outset");class In extends X{}In.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,In.key=U(D,ue,be);class $n extends X{}$n.key=U(D,ue,"slice"),$n.unit="";class zn extends X{}zn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,zn.key=U(D,ue,"source");class An extends X{}An.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,An.key=U(D,ue,We);class En extends X{}En.key=U(D,ue),En.unit="";const Mn=/\{(.*)\}/;class Cn extends X{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Mn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.name.length;a++){const t=this.name[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in g&&"'"!==e&&(a++,c(g[t]))}};c(void 0),n();for(const e of i){const i=p.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Cn.id="group",Cn.matches=/^{/,Cn.unit="";class Vn extends X{}Vn.key="counter-increment",Vn.unit="";class qn extends X{}qn.semantics={full:{width:"100%",height:"100%"}};class Tn extends X{}Tn.semantics={"sr-only":{position:"absolute",width:"1",height:"1",padding:"0",margin:"-1",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"}};const Ln="undefined"!=typeof window,Pn=[Cn,Ci,Ct,qt,Ji,Dt,ur,hr,Tt,Xi,Qi,Fi,_i,Zi,Yi,Ns,qn,Gt,Ht,Jt,Kt,Yr,vr,Vn,es,rs,ns,as,nn,cs,ls,os,ds,br,gr,yr,Gr,hs,Pr,fr,Qr,us,Ur,kr,fs,Zr,Fr,_r,ms,js,Ss,Rs,Ws,Is,$s,zs,As,Es,Ms,Cs,fi,mi,vi,wi,Oi,ji,$i,Mi,Si,Ni,Wi,Ii,xn,gn,yn,bn,Ri,Ir,bs,xs,ps,gs,ws,Os,vs,ks,ys,Vs,qs,Br,Ts,Ls,Ps,_s,Zs,Fs,Xs,Js,Ks,ei,Rr,Wr,ti,Wn,In,$n,zn,An,En,si,ii,ri,ni,ai,ci,li,oi,di,hi,ui,xi,ki,bi,kn,vn,yi,gi,wn,On,jn,Sn,Nn,Rn,Hr,fn,Di,zi,ln,mn,Hi,Ai,sr,ir,rr,on,dn,hn,cn,un,rn,Ei,Ui,Pi,Li,Ti,qi,Vi,Gi,Ki,er,tr,nr,ar,cr,lr,or,dr,mr,pr,Jr,xr,wr,Or,jr,Sr,Nr,$r,zr,Ar,Er,Mr,Cr,Vr,qr,Tr,Lr,Xr,Dr,Kr,en,tn,sn,an,pn,Tn],_n=Pn.get=e=>Pn.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function Zn(){if(Ln){const e=new p(document.head);p.root=e,e.observe(document.documentElement)}}Pn.extend=(e,t,s=!0)=>{for(const s in t){const i=_n(s);if(i){const r=t[s];i.extend(e,r)}}s&&p.refresh()},X.extend("colors",e.colors,!1),X.extend("breakpoints",t.breakpoints,!1),p.Styles.push(...Pn);Ln&&(window.initMasterStyles=Zn,window.MasterStyles=Pn,window.MasterStylesManual||Zn())})(),i})()})); |
@@ -28,3 +28,3 @@ { | ||
}, | ||
"version": "1.23.0" | ||
"version": "1.24.0" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111825
224
2000