@master/css
Advanced tools
Comparing version 1.30.0 to 1.30.1
@@ -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:()=>Ct,StyleSheet:()=>m,Styles:()=>Zn,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Qn,sheets:()=>Mt});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,i){let r=i?i[e]:"",a="",c="";if(r)return{value:r,unit:a,unitToken:c};if("number"==typeof e)r=e,a=t||"";else{if(s){const[t,i]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return r="rgb(var(--"+t+")"+(i?"/"+i:"")+")",{value:r,unit:a,unitToken:c}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:a,unitToken:c}}return r=+s[1],a=c=s[3]||"",a||("rem"!==t&&"em"!==t||(r/=16),a=t||""),{value:r,unit:a,unitToken:c}}}r=(-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:r,unit:a,unitToken:c}}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,p=f?window.MutationObserver:Object;class m extends p{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=m.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)}Mt.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 Ct.classes?Ct.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 Ct.classes?Ct.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Mt)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(),Mt.splice(Mt.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 p=null==f?void 0:f.value;if(p===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!==p||t.order>=n)break;s=e+1}}break}if(p>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 Ct.relations&&Ct.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 Ct.classes)for(const t of Ct.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=m.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)}m.Styles=[],f&&(window.MasterStyleSheet=m);const g={"(":")","'":"'","{":"}"},y=(...e)=>e.join("-"),k="border",v="radius",w="margin",O="padding",j="font",S="currentColor",N=",",R="flow",W="template",I="column",$="columns",z="gap",A="row",E="rows",M="shadow",C="user",T="content",V="image",q="stroke",_="filter",L="blend",P="background",Z="repeat",F="color",Q="scroll",X="animation",Y="direction",B="mode",U="behavior",D=y("overscroll",U),G="y",H="x",J="height",K="width",ee="max",te="min",se="block",ie="inline",re="flex",ne="grid",ae="transition",ce="origin",le="delay",oe="rotate",de="deg",he="timing-function",ue="duration",fe="display",pe="hidden",me="box",xe="fill",be="clip",ge="none",ye="text",ke="align",ve="transform",we="vertical",Oe="word",je="space",Se="decoration",Ne="break",Re="size",We="auto",Ie="line",$e="object",ze="position",Ae="rem",Ee="style",Me="smoothing",Ce="antialiased",Te="spacing",Ve=y("letter",Te),qe=y(ee,K),_e=y(te,K),Le=y(ee,J),Pe=y(te,J),Ze="table",Fe="group",Qe="list",Xe="span",Ye="justify",Be="items",Ue="self",De="place",Ge="type",He="offset",Je="outline",Ke="snap",et="shape",tt="view",st="area",it="start",rt="blur",nt="drop",at={full:"100%",fit:y("fit",T),max:y(ee,T),min:y(te,T)};for(const e in t.breakpoints)at[e]=t.breakpoints[e]/16+"rem";const ct="matches",lt="semantics",ot="symbol",dt="max-width",ht="min-width",ut="motion",ft="reduce",pt="reduced-motion",mt="::scrollbar",xt="::slider-thumb",bt="::slider-runnable-track",gt="::search",yt="::meter",kt="::resizer",vt="::progress",wt="px",Ot=["!","*",">","+","~",":","[","@","_"],jt=[...Ot,void 0,"."],St=new RegExp(mt,"g"),Nt=new RegExp(gt,"g"),Rt=new RegExp(yt,"g"),Wt=new RegExp(bt,"g"),It=new RegExp(xt,"g"),$t=new RegExp(kt,"g"),zt=new RegExp(vt,"g"),At=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,Et=e=>e.split(At).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Mt=[];class Ct{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,l,{id:o,semantics:d,unit:h,colors:u,key:f,values:p,colorful:m,breakpoints:x,mediaQueries:b}=s,y=e;if(m||(u=null),t.origin===lt)i=t.value,l=y.slice(t.value.length),this.value=d[t.value];else{if(t.origin===ct)if(o===Fe){let e=0;for(;e<y.length&&("{"!==y[e]||"\\"===y[e-1]);e++);n=y.slice(0,e),i=y.slice(e)}else{const e=y.indexOf(":");this.prefix=y.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=y):i=y.slice(e+1)}else t.origin===ot&&(this.symbol=y[0],i=y.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let d,f=!1;for(n&&(")"===n&&"$"===s.slice(-1)?d=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!==d&&(s=s.slice(0,d)+s.slice(d).replace(/\$\((.*)\)/,"var(--$1)")),l||(f?r.push(s):(e=a(s,h,u,p),r.push(e.value+e.unit)),o="",s="");break}if(!f&&m in g)t(g[m],void 0===l?0:l+1,o);else if("|"!==m||f&&"path"!==o){if(!n){if("."===m){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===m){e=a(s,h,u,p),r.push(e.value+e.unit,","),s="";continue}if("#"===m&&(s||r.length&&"|"!==i[c-1])||Ot.includes(m))break}o+=m}s+=m}else n?s+=" ":(e=a(s,h,u,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,h,u,p),r.push(e.value+e.unit)),l=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(" ")}l.includes(mt)&&(l=l.replace(St,"::-webkit-scrollbar")),l.includes(gt)&&(l=l.replace(Nt,"::-webkit-search")),l.includes(xt)&&(l=l.replace(It,"::-webkit-slider-thumb")),l.includes(bt)&&(l=l.replace(Wt,"::-webkit-slider-runnable-track")),l.includes(yt)&&(l=l.replace(Rt,"::-webkit-meter")),l.includes(kt)&&(l=l.replace($t,"::-webkit-resizer")),l.includes(vt)&&(l=l.replace(zt,"::-webkit-progress")),l.includes(":first")&&(l=l.replace(/:first(?![a-z-])/g,":first-child")),l.includes(":last")&&(l=l.replace(/:last(?![a-z-])/g,":last-child")),l.includes(":even")&&(l=l.replace(/:even(?![a-z-])/g,":nth-child(2n)")),l.includes(":odd")&&(l=l.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),l.includes(":nth(")&&(l=l.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.prefixSelector=n?Et(n):"";const k=l.split("@");let v=k[0];if(v){v=Et(v),this.hasWhere=v.includes(":where(");for(let e=0;e<c.length;e++)if(v.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=v;for(let e=1;e<k.length;e++){const t=k[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===ut||e===pt)i.push("(prefers-reduced-motion:"+(e===ut?"no-preference":ft)+")");else if(e in b)i.push(b[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=dt):e.startsWith(">=")||x[e]?(r=">=",s=ht):e.startsWith(">")?(r=">",s=ht,n=.02):e.startsWith("<")&&(r="<",s=dt,n=-.02),s){case dt:case ht:const c=r?e.replace(r,""):e,l=x[c];l?Object.assign(t,a(l,wt)):Object.assign(t,a(c,wt)),t.unit===wt&&(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 w="";this.colorScheme&&(w+="."+this.colorScheme+" "),this.prefixSelector&&(w+=this.prefixSelector),this.direction&&(w+="[dir="+this.direction+"] "),this.text=w+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Ct.relations?Ct.relations[this.name].map((e=>", "+w+"."+e+this.suffixSelector)).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(f,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)&&jt.includes(e[t.length]))return{origin:lt,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:ct}:this.symbol&&e.startsWith(this.symbol)?{origin:ot}:this.key&&e.startsWith(this.key+":")?{origin:ct}: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==Vt||Vt.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==Vt||Vt.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==Vt||Vt.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&m.refresh()}}let Tt,Vt;if(Ct.unit="rem",Ct.rgbColors={},Ct.mediaQueries={},Ct.sheets=Mt,Ct.colors={},Ct.classes={},Ct.colorNames=[],Ct.relations={},"undefined"!=typeof window&&(window.MasterStyle=Ct),"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){Tt=e;const s={},i=t.content.split(",");for(let e=0;e<Tt.sheet.cssRules.length;e++){const t=Tt.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}}Ct.extend("colors",s),Vt=Tt.sheet}}Tt||(Tt=document.createElement("style"),Tt.id="master-colors",document.head.prepend(Tt),Vt=Tt.sheet)}class qt extends Ct{}qt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,qt.key=y(j,"weight"),qt.unit="",qt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const _t="var(--font-";class Lt extends Ct{}Lt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Lt.key=y(j,"family"),Lt.values={mono:_t+"mono)",sans:_t+"sans)",serif:_t+"serif)"};class Pt extends Ct{}Pt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Pt.key=y(j,Re);const Zt="top",Ft="bottom",Qt="left",Xt="right",Yt="l",Bt="r",Ut="t",Dt="b",Gt="x",Ht="y";class Jt extends Ct{get props(){const e="m"===this.prefix[0]?w:O,t=y(e,Qt),s=y(e,Xt),i=y(e,Zt),r=y(e,Ft);switch(this.prefix[1]){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Jt.id="spacing",Jt.matches=/^[pm][xytblr]?:./;class Kt extends Ct{}Kt.matches=/^w:./,Kt.key=K,Kt.values=at;class es extends Ct{}es.matches=/^h:./,es.key=J,es.values=at;class ts extends Ct{}ts.matches=/^min-w:./,ts.key=_e,ts.values=at;class ss extends Ct{}ss.matches=/^min-h:./,ss.key=Pe,ss.values=at;class is extends Ct{}is.matches=/^ls:./,is.key=Ve,is.unit="em";const rs=y("subpixel",Ce),ns=y("-webkit-font",Me),as=y("-moz-osxfont",Me);class cs extends Ct{get props(){const e={};switch(this.value){case rs:e[ns]=e[as]=Object.assign(Object.assign({},this),{value:We});break;case Ce:e[ns]=Object.assign(Object.assign({},this),{value:Ce}),e[as]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}cs.id="fontSmoothing",cs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,cs.unit="";class ls extends Ct{}ls.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ls.key=y(j,Ee),ls.unit="deg",ls.semantics={italic:"italic",oblique:"oblique"};class os extends Ct{}os.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,os.key=y(j,"variant","numeric");class ds extends Ct{}ds.matches=/^lh:./,ds.key=y(Ie,J),ds.unit="";class hs extends Ct{}hs.matches=/^(object|obj):(contain|cover|fill|scale-down)/,hs.key=y($e,"fit");class us extends Ct{}us.matches=/^(object|obj):(top|bottom|right|left|center)/,us.key=y($e,ze);class fs extends Ct{}fs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,fs.key=y(ye,ke);class ps extends Ct{constructor(){super(...arguments),this.order=-1}}ps.matches=/^t(ext)?:(underline|line-through|overline)/,ps.key=y(ye,Se),ps.colorful=!0;class ms extends Ct{}ms.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,ms.key=y(ye,ve),ms.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class xs extends Ct{}xs.matches=/^v:./,xs.key=y(we,ke);class bs extends Ct{get props(){return{overflow:Object.assign(Object.assign({},this),{value:pe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:y(Ne,Oe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:we}),"-webkit-line-clamp":this}}}bs.id="lines",bs.matches=/^lines:./,bs.unit="";class gs extends Ct{}gs.matches=/^transform:((top|bottom|right|left|center)|\d)/,gs.key=y(ve,ce),gs.unit="px";class ys extends Ct{}ys.matches=/^transform:(flat|preserve-3d)(?!\|)/,ys.key=y(ve,Ee);class ks extends Ct{}ks.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,ks.key=y(ve,me),ks.values={content:y(T,me),border:y(k,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class vs extends Ct{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=Ae;break;case"skew":r=de;break;case oe:"3d"===s&&(n=!0),r=de;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===Ae?16:1)+r})).join(","))}))}}vs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,vs.key=ve,vs.unit="";class ws extends Ct{constructor(){super(...arguments),this.order=-1}}ws.symbol="~",ws.key=ae;class Os extends Ct{}Os.matches=/^~delay:./,Os.key=y(ae,le),Os.unit="ms";class js extends Ct{}js.matches=/^~duration:./,js.key=y(ae,ue),js.unit="ms";class Ss extends Ct{}Ss.matches=/^~property:./,Ss.key=y(ae,"property");class Ns extends Ct{}Ns.matches=/^~easing:./,Ns.key=y(ae,he);class Rs extends Ct{}Rs.matches=/^max-h:./,Rs.key=Le,Rs.values=at;class Ws extends Ct{}Ws.matches=/^max-w:./,Ws.key=qe,Ws.values=at;class Is extends Ct{}Is.matches=/^d:./,Is.key=fe,Is.semantics={hidden:ge,hide:ge,block:se,table:Ze,flex:re,grid:ne,contents:"contents","inline-block":y(ie,se),"inline-flex":y(ie,re),"inline-grid":y(ie,ne),"inline-table":y(ie,Ze)};class $s extends Ct{}$s.matches=/^box:(content|border)(?!\|)/,$s.key=y(me,"sizing"),$s.values={content:y(T,me),border:y(k,me)};class zs extends Ct{}zs.key="opacity",zs.unit="";class As extends Ct{}As.key="visibility",As.semantics={visible:"visible",invisible:pe};class Es extends Ct{}Es.key="clear";class Ms extends Ct{}Ms.key="float";class Cs extends Ct{}Cs.key="isolation",Cs.semantics={isolate:"isolate"};class Ts extends Ct{get props(){switch(this.prefix.slice(-2,-1)){case H:return{"overflow-x":this};case G:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case H:case G:return 0;default:return-1}}}Ts.id="overflow",Ts.matches=/^(overflow|ovf)(-x|-y)?:./;class Vs extends Ct{get props(){switch(this.prefix.slice(-2,-1)){case H:return{[y(D,H)]:this};case G:return{[y(D,G)]:this};default:return{[D]:this}}}}Vs.id="overscrollBehavior",Vs.matches=/^overscroll-behavior(?:-[xy])?:/;class qs extends Ct{}qs.matches=/^z:./,qs.key="z-index",qs.unit="";class _s extends Ct{}_s.matches=/^\@delay:./,_s.key=y(X,le),_s.unit="ms";class Ls extends Ct{}Ls.matches=/^\@direction:./,Ls.key=y(X,Y);class Ps extends Ct{}Ps.matches=/^\@fill-mode:./,Ps.key=y(X,xe,B);class Zs extends Ct{}Zs.matches=/^\@iteration-count:./,Zs.key=y(X,"iteration","count"),Zs.unit="";class Fs extends Ct{}Fs.matches=/^\@name:./,Fs.key=y(X,"name");class Qs extends Ct{}Qs.matches=/^\@play-state:./,Qs.key=y(X,"play-state");class Xs extends Ct{}Xs.matches=/^\@easing:./,Xs.key=y(X,he);class Ys extends Ct{constructor(){super(...arguments),this.order=-1}}Ys.symbol="@",Ys.key=X,Ys.unit="";function Bs(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 Gt:return{[i]:t,[r]:t};case Ht:return{[n]:t,[a]:t};case Yt:return{[i]:t};case Bt:return{[r]:t};case Ut:return{[n]:t};case Dt:return{[a]:t};default:return{[k+s]:t}}}class Us extends Ct{get props(){return Bs(this.prefix,this,F)}get order(){return this.prefix===y(k,F)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Us.id="borderColor",Us.matches=/^border(-(left|right|top|bottom))?-color:./,Us.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Us.colorful=!0,Us.values={current:S};const Ds=y(k,Zt,Qt,v),Gs=y(k,Zt,Xt,v),Hs=y(k,Ft,Qt,v),Js=y(k,Ft,Xt,v),Ks=y(k,v),ei=[Ds,Gs,Hs,Js];class ti extends Ct{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 Ut:return{[Ds]:this,[Gs]:this};case"tl":case"lt":return{[Ds]:this};case"rt":case"tr":return{[Gs]:this};case Dt:return{[Hs]:this,[Js]:this};case"bl":case"lb":return{[Hs]:this};case"br":case"rb":return{[Js]:this};case Yt:return{[Ds]:this,[Hs]:this};case Bt:return{[Gs]:this,[Js]:this};default:return{[Ks]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[ei.includes(t)?t:Ks]:this}}get order(){return this.prefix===y(k,v)+":"||"r:"===this.prefix?-1:0}}ti.id="borderRadius",ti.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,ti.semantics={rounded:"1e9em",round:"50%"};class si extends Ct{get props(){return Bs(this.prefix,this,Ee)}get order(){return this.prefix===y(k,Ee)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}si.id="borderStyle",si.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 ii extends Ct{get props(){return Bs(this.prefix,this,K)}get order(){return this.prefix===y(k,K)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ii.id="borderWidth",ii.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 ri extends Ct{get props(){return Bs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ri.id="border",ri.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ri.colorful=!0;class ni extends Ct{}ni.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ni.key=y(P,"attachment");class ai extends Ct{}ai.key=y(P,L,B);class ci extends Ct{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ci.matches=/^(bg|background):text(?!\|)/,ci.key=y(P,be);class li extends Ct{}li.matches=/^(bg|background):transparent(?!\|)/,li.colorStarts="(bg|background):",li.key=y(P,F),li.unit="",li.colorful=!0,li.values={current:S};class oi extends Ct{}oi.matches=/^(bg|background):(content|border|padding)(?!\|)/,oi.key=y(P,ce),oi.values={content:y(T,me),border:y(k,me),padding:y(O,me)};class di extends Ct{}di.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,di.key=y(P,ze),di.unit="px";class hi extends Ct{}hi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,hi.key=y(P,Z);class ui extends Ct{}ui.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,ui.key=y(P,Re);class fi extends Ct{}fi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,fi.key=y(P,V);class pi extends Ct{constructor(){super(...arguments),this.order=-1}}pi.matches=/^bg:./,pi.key=P,pi.colorful=!0;class mi extends Ct{}mi.matches=/^blend:./,mi.key=y("mix",L,B);class xi extends Ct{}xi.key=ze,xi.values={abs:"absolute",rel:"relative"},xi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class bi extends Ct{get props(){const e=this.prefix.slice(0,-1);switch(e){case Zt:case Qt:case Xt:case Ft: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 gi(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===Ae?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}bi.matches=/^(top|left|right|bottom|center|middle):./;class yi extends Ct{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,M):return Ae;case y("hue",oe):return de}return""}))}}yi.matches=/^bd:./,yi.key=y("backdrop",_);class ki extends Ct{}ki.key=xe,ki.colorStarts="fill:",ki.colorful=!0,ki.values={current:S};class vi extends Ct{}vi.key=q,vi.colorful=!0;class wi extends Ct{}wi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,wi.key=y(q,K);class Oi extends Ct{get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,M):return Ae;case y("hue",oe):return de}return""}))}}Oi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,Oi.key=_;class ji extends Ct{}ji.key="cursor";class Si extends Ct{}Si.key=y("pointer","events"),Si.semantics={untouchable:"none"};class Ni extends Ct{}Ni.key="resize";class Ri extends Ct{}Ri.key=y("touch","action");class Wi extends Ct{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Wi.key=y(C,"drag");class Ii extends Ct{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ii.key=y(C,"select");class $i extends Ct{}$i.matches=/^s(?:hadow)?:./,$i.key=y(me,M),$i.colorful=!0;class zi extends Ct{}zi.key=y(ye,M),zi.colorful=!0;class Ai extends Ct{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===Ae?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ai.id="textSize",Ai.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class Ei extends Ct{}Ei.key=y(Oe,Ne),Ei.unit="";class Mi extends Ct{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,W,$)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Mi.matches=/^grid-cols:./,Mi.key=y(ne,$),Mi.unit="";class Ci extends Ct{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,We,R)]:Object.assign(Object.assign({},this),{value:I}),[y(ne,W,E)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Ci.key=y(ne,E),Ci.unit="";class Ti extends Ct{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case H:return{[y(I,z)]:this};case G:return{[y(A,z)]:this};default:return{[z]:this}}}}Ti.id="gap",Ti.matches=/^gap(-x|-y)?:./;class Vi extends Ct{}Vi.key=y(Oe,Te);class qi extends Ct{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}qi.id="variable",qi.matches=/^\$.+:./,qi.unit="";class _i extends Ct{}_i.matches=/^aspect:./,_i.key=y("aspect","ratio"),_i.unit="",_i.semantics={square:"1/1",video:"16/9"};class Li extends Ct{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Li.matches=/^box:(slice|clone)(?!\|)/,Li.key=y(me,Se,Ne);class Pi extends Ct{}Pi.key=y(Ne,"after");class Zi extends Ct{}Zi.key=y(Ne,"before");class Fi extends Ct{}Fi.key=y(Ne,"inside");class Qi extends Ct{}Qi.key=y(re,"shrink"),Qi.unit="";class Xi extends Ct{}Xi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Xi.key=y(re,Y),Xi.values={col:I,"col-reverse":y(I,"reverse")};class Yi extends Ct{}Yi.key=y(re,"grow"),Yi.unit="";class Bi extends Ct{}Bi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Bi.key=y(re,"wrap");class Ui extends Ct{}Ui.key=y(re,"basis"),Ui.values=at;class Di extends Ct{constructor(){super(...arguments),this.order=-1}}Di.key=re,Di.unit="";const Gi="999999";class Hi extends Ct{}Hi.matches=/^o:./,Hi.key="order",Hi.values={first:"-999999",last:Gi},Hi.unit="";class Ji extends Ct{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}}Ji.matches=/^grid-col(-span)?:./,Ji.key=y(ne,I),Ji.unit="";class Ki extends Ct{}Ki.matches=/^col-span:./,Ki.key=y(I,Xe);class er extends Ct{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}}er.matches=/^grid-row-span:./,er.key=y(ne,A),er.unit="";class tr extends Ct{}tr.matches=/^(font-color:.|font:current)/,tr.colorStarts="(?:f(ont)?|color):",tr.colorful=!0,tr.key=F,tr.unit="",tr.values={current:S};class sr extends Ct{}sr.matches=/^ac:./,sr.key=y(ke,T);class ir extends Ct{}ir.matches=/^ai:./,ir.key=y(ke,Be);class rr extends Ct{}rr.matches=/^as:./,rr.key=y(ke,Ue);class nr extends Ct{}nr.matches=/^grid-auto-cols:./,nr.key=y(ne,We,$),nr.values={min:y(te,T),max:y(ee,T)};class ar extends Ct{}ar.matches=/^grid-flow:./,ar.key=y(ne,We,R);class cr extends Ct{}cr.key=y(ne,We,E),cr.values={min:y(te,T),max:y(ee,T)};class lr extends Ct{}lr.matches=/^jc:./,lr.key=y(Ye,T);class or extends Ct{}or.matches=/^ji:./,or.key=y(Ye,Be);class dr extends Ct{}dr.matches=/^js:./,dr.key=y(Ye,Ue);class hr extends Ct{constructor(){super(...arguments),this.order=-1}}hr.key=y(De,T);class ur extends Ct{constructor(){super(...arguments),this.order=-1}}ur.key=y(De,Be);class fr extends Ct{constructor(){super(...arguments),this.order=-1}}fr.key=y(De,Ue);class pr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}pr.id="padding",pr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class mr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}mr.id="margin",mr.matches=/^margin(-(left|right|top|bottom))?:./;class xr extends Ct{}xr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,xr.key=y(ye,"overflow");class br extends Ct{}br.matches=/^list-style:(inside|outside)(?!\|)/,br.key=y(Qe,Ee,ze);class gr extends Ct{}gr.matches=/^list-style:(none|disc|decimal)(?!\|)/,gr.key=y(Qe,Ee,Ge);class yr extends Ct{constructor(){super(...arguments),this.order=-1}}yr.key=y(Qe,Ee);class kr extends Ct{}kr.key=y(ye,Se,F),kr.colorStarts="text-decoration:",kr.colorful=!0,kr.values={current:S};class vr extends Ct{}vr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,vr.key=y(ye,Se,Ee);class wr extends Ct{}wr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,wr.key=y(ye,Se,"thickness"),wr.unit="em";class Or extends Ct{}Or.key=y(ye,"indent");class jr extends Ct{}jr.key=T;class Sr extends Ct{}Sr.key=y(Je,F),Sr.colorStarts="outline:",Sr.colorful=!0,Sr.values={current:S};class Nr extends Ct{}Nr.key=y(Je,He);class Rr extends Ct{}Rr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Rr.key=y(Je,Ee);class Wr extends Ct{}Wr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Wr.key=y(Je,K);class Ir extends Ct{constructor(){super(...arguments),this.order=-1}}Ir.key=Je,Ir.colorful=!0;class $r extends Ct{}$r.matches=/^b(order)?:(collapse|separate)(?!\|)/,$r.key=y(k,"collapse");class zr extends Ct{}zr.key=y(k,Te);class Ar extends Ct{}Ar.key=y(Ze,"layout");class Er extends Ct{}Er.key=y("accent",F),Er.colorStarts="accent:",Er.colorful=!0;class Mr extends Ct{}Mr.key="appearance";class Cr extends Ct{}Cr.key=y("caret",F),Cr.matches=/^caret:transparent(?!\|)/,Cr.colorStarts="caret:",Cr.colorful=!0,Cr.values={current:S};class Tr extends Ct{}Tr.key=y(Q,U);class Vr extends Ct{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=y(Q,w)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,w)+":"||this.prefix===y(Q,"m:")?-1:0}}Vr.id="scrollMargin",Vr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class qr extends Ct{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=y(Q,O)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,O)+":"||this.prefix===y(Q,"p:")?-1:0}}qr.id="scrollPadding",qr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class _r extends Ct{}_r.matches=/^scroll-snap:(start|end|center)/,_r.key=y(Q,Ke,ke);class Lr extends Ct{}Lr.matches=/^scroll-snap:(normal|always)(?!\|)/,Lr.key=y(Q,Ke,"stop");class Pr extends Ct{}Pr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,Pr.key=y(Q,Ke,Ge);class Zr extends Ct{}Zr.key="will-change";class Fr extends Ct{}Fr.key=y(ye,"underline",He);class Qr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}}Qr.matches=/^(?:top|bottom|left|right):./,Qr.key="inset";class Xr extends Ct{constructor(){super(...arguments),this.order=-1}}Xr.matches=/^(columns|cols):./,Xr.key=$,Xr.unit="";class Yr extends Ct{}Yr.key=y("white",je),Yr.unit="";class Br extends Ct{}Br.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Br.key=y(ye,"orientation");class Ur extends Ct{}Ur.key=y("writing",B);class Dr extends Ct{}Dr.key="contain";class Gr extends Ct{}Gr.matches=/^\@duration:./,Gr.key=y(X,ue),Gr.unit="ms";class Hr extends Ct{}Hr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Hr.key=y(ye,"rendering");class Jr extends Ct{}Jr.key=Y;class Kr extends Ct{}Kr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Kr.key=y(ye,Se,Ie);class en extends Ct{}en.matches=/^grid-col-start:./,en.key=y(ne,I,it),en.unit="";class tn extends Ct{}tn.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,tn.key=y(Qe,Ee,V);class sn extends Ct{}sn.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,sn.key=y(et,"outside"),sn.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me)};class rn extends Ct{}rn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,rn.key=y(et,w);class nn extends Ct{}nn.key=y(et,V,"threshold"),nn.unit="";class an extends Ct{}an.matches=/^clip:./,an.key=y(be,"path"),an.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class cn extends Ct{constructor(){super(...arguments),this.order=-1}}cn.key=ne;class ln extends Ct{constructor(){super(...arguments),this.order=-1}}ln.matches=/^f:./,ln.key=j,ln.unit="",ln.colorful=!0;class on extends Ct{}on.key="quotes";class dn extends Ct{constructor(){super(...arguments),this.order=-1}}dn.key=y(ne,W);class hn extends Ct{}hn.key=y(ne,A,it),hn.unit="";class un extends Ct{}un.key=y(ne,W,st)+"s";class fn extends Ct{}fn.matches=/^grid-template-cols:./,fn.key=y(ne,W,$),fn.values={min:y(te,T),max:y(ee,T)};class pn extends Ct{}pn.key=y(ne,W,E),pn.values={min:y(te,T),max:y(ee,T)};class mn extends Ct{constructor(){super(...arguments),this.order=-1}}mn.key=y(ne,st),mn.unit="";class xn extends Ct{}xn.matches=/^grid-col-end:./,xn.key=y(ne,I,"end"),xn.unit="";class bn extends Ct{}bn.key=y(ne,A,"end"),bn.unit="";class gn extends Ct{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}gn.key=y("mask",V);class yn extends Ct{get props(){return{"-webkit-text-fill-color":this}}}yn.id="textFillColor",yn.matches=/^text-fill-color:./,yn.colorStarts="text-fill:",yn.colorful=!0,yn.values={current:S};class kn extends Ct{get props(){return{"-webkit-text-stroke":this}}}kn.id="textStroke",kn.matches=/^text-stroke:./;class vn extends Ct{get props(){return{"-webkit-text-stroke-width":this}}}vn.id="textStrokeWidth",vn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class wn extends Ct{get props(){return{"-webkit-text-stroke-color":this}}}wn.id="textStrokeColor",wn.matches=/^text-stroke-color:./,wn.colorStarts="text-stroke:",wn.colorful=!0,wn.values={current:S};class On extends Ct{}On.key=y(q,"dasharray");class jn extends Ct{}jn.key=y(q,"dash")+He;class Sn extends Ct{}Sn.key="x",Sn.unit="";class Nn extends Ct{}Nn.key="y",Nn.unit="";class Rn extends Ct{}Rn.key="cx",Rn.unit="";class Wn extends Ct{}Wn.key="cy",Wn.unit="";class In extends Ct{}In.key="rx",In.unit="";class $n extends Ct{}$n.key="ry",$n.unit="";class zn extends Ct{}zn.key=y(k,V,"outset");class An extends Ct{}An.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,An.key=y(k,V,Z);class En extends Ct{}En.key=y(k,V,"slice"),En.unit="";class Mn extends Ct{}Mn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,Mn.key=y(k,V,"source");class Cn extends Ct{}Cn.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,Cn.key=y(k,V,K);class Tn extends Ct{}Tn.key=y(k,V),Tn.unit="";const Vn=/\{(.*)\}/;class qn extends Ct{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(Vn)[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.value.length;a++){const t=this.value[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=m.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}qn.id=Fe,qn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,qn.unit="";class _n extends Ct{}_n.key="counter-increment",_n.unit="";class Ln extends Ct{}Ln.semantics={"center-content":{"justify-content":"center","align-items":"center"},"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"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":We,"margin-right":We},middle:{top:0,bottom:0,"margin-top":We,"margin-bottom":We},"break-spaces":{"white-space":y(Ne,je)+"s"},"break-word":{"overflow-wrap":y(Ne,Oe),overflow:pe}};const Pn="undefined"!=typeof window,Zn=[Ln,qn,qi,qt,Lt,tr,Jt,mr,pr,Pt,Ui,Bi,Yi,Qi,Xi,Di,Is,Kt,es,ts,ss,Dr,jr,_n,is,cs,ls,os,ln,ds,hs,us,fs,kr,vr,wr,Kr,ps,Fr,xr,Br,ms,Hr,Or,xs,Xr,Yr,Qr,bs,Rs,Ws,$s,zs,As,Es,Ms,Cs,Ts,Vs,qs,xi,bi,ji,Si,Ni,Ri,Ei,Vi,Wi,Ii,zi,Ai,yn,vn,wn,kn,$i,Ar,ks,ys,gs,vs,Ss,Ns,js,Os,ws,_s,Ls,Gr,Ps,Zs,Fs,Qs,Xs,Ys,Us,ti,si,ii,$r,zr,ri,zn,An,En,Mn,Cn,Tn,ni,ai,ci,li,oi,di,hi,ui,fi,pi,mi,yi,Oi,ki,On,jn,wi,vi,Sn,Nn,Rn,Wn,In,$n,en,xn,Ji,Mi,hn,bn,er,Ci,nr,ar,cr,un,fn,pn,dn,mn,cn,Ti,Hi,Fi,Zi,Pi,Li,_i,Ki,sr,ir,rr,lr,or,dr,hr,ur,fr,br,gr,tn,yr,Sr,Nr,Rr,Wr,Ir,Er,Mr,Cr,Tr,Vr,qr,_r,Lr,Pr,Zr,Ur,Jr,sn,rn,nn,an,on,gn],Fn=Zn.get=e=>Zn.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 Qn(){if(Pn){const e=new m(document.head);m.root=e,e.observe(document.documentElement)}}Zn.extend=(e,t,s=!0)=>{for(const s in t){const i=Fn(s);if(i){const r=t[s];i.extend(e,r)}}s&&m.refresh()},Ct.extend("colors",e.colors,!1),Ct.extend("breakpoints",t.breakpoints,!1),m.Styles.push(...Zn);Pn&&(window.initMasterStyles=Qn,window.MasterStyles=Zn,window.MasterStylesManual||Qn())})(),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:()=>Mt,StyleSheet:()=>m,Styles:()=>Zn,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Qn,sheets:()=>Ct});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,i){let r=i?i[e]:"",a="",c="";if(r)return{value:r,unit:a,unitToken:c};if("number"==typeof e)r=e,a=t||"";else{if(s){const[t,i]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return r="rgb(var(--"+t+")"+(i?"/"+i:"")+")",{value:r,unit:a,unitToken:c}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:a,unitToken:c}}return r=+s[1],a=c=s[3]||"",a||("rem"!==t&&"em"!==t||(r/=16),a=t||""),{value:r,unit:a,unitToken:c}}}r=(-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:r,unit:a,unitToken:c}}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,p=f?window.MutationObserver:Object;class m extends p{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=m.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)}Ct.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 Mt.classes?Mt.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 Mt.classes?Mt.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Ct)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(),Ct.splice(Ct.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 p=null==f?void 0:f.value;if(p===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!==p||t.order>=n)break;s=e+1}}break}if(p>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 Mt.relations&&Mt.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 Mt.classes)for(const t of Mt.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=m.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)}m.Styles=[],f&&(window.MasterStyleSheet=m);const g={"(":")","'":"'","{":"}"},y=(...e)=>e.join("-"),k="border",v="radius",w="margin",O="padding",j="font",S="currentColor",N=",",R="flow",W="template",I="column",$="columns",z="gap",A="row",E="rows",C="shadow",M="user",T="content",V="image",q="stroke",_="filter",L="blend",P="background",Z="repeat",F="color",Q="scroll",X="animation",Y="direction",B="mode",U="behavior",D=y("overscroll",U),G="y",H="x",J="height",K="width",ee="max",te="min",se="block",ie="inline",re="flex",ne="grid",ae="transition",ce="origin",le="delay",oe="rotate",de="deg",he="timing-function",ue="duration",fe="display",pe="hidden",me="box",xe="fill",be="clip",ge="none",ye="text",ke="align",ve="transform",we="vertical",Oe="word",je="space",Se="decoration",Ne="break",Re="size",We="auto",Ie="line",$e="object",ze="position",Ae="rem",Ee="style",Ce="smoothing",Me="antialiased",Te="spacing",Ve=y("letter",Te),qe=y(ee,K),_e=y(te,K),Le=y(ee,J),Pe=y(te,J),Ze="table",Fe="group",Qe="list",Xe="span",Ye="justify",Be="items",Ue="self",De="place",Ge="type",He="offset",Je="outline",Ke="snap",et="shape",tt="view",st="area",it="start",rt="blur",nt="drop",at={full:"100%",fit:y("fit",T),max:y(ee,T),min:y(te,T)};for(const e in t.breakpoints)at[e]=t.breakpoints[e]/16+"rem";const ct="matches",lt="semantics",ot="symbol",dt="max-width",ht="min-width",ut="motion",ft="reduce",pt="reduced-motion",mt="::scrollbar",xt="::slider-thumb",bt="::slider-runnable-track",gt="::search",yt="::meter",kt="::resizer",vt="::progress",wt="px",Ot=["!","*",">","+","~",":","[","@","_"],jt=[...Ot,void 0,"."],St=new RegExp(mt,"g"),Nt=new RegExp(gt,"g"),Rt=new RegExp(yt,"g"),Wt=new RegExp(bt,"g"),It=new RegExp(xt,"g"),$t=new RegExp(kt,"g"),zt=new RegExp(vt,"g"),At=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,Et=e=>e.split(At).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Ct=[];class Mt{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,l,{id:o,semantics:d,unit:h,colors:u,key:f,values:p,colorful:m,breakpoints:x,mediaQueries:b}=s,y=e;if(m||(u=null),t.origin===lt)i=t.value,l=y.slice(t.value.length),this.value=d[t.value];else{if(t.origin===ct)if(o===Fe){let e=0;for(;e<y.length&&("{"!==y[e]||"\\"===y[e-1]);e++);n=y.slice(0,e),i=y.slice(e)}else{const e=y.indexOf(":");this.prefix=y.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=y):i=y.slice(e+1)}else t.origin===ot&&(this.symbol=y[0],i=y.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let d,f=!1;for(n&&(")"===n&&"$"===s.slice(-1)?d=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!==d&&(s=s.slice(0,d)+s.slice(d).replace(/\$\((.*)\)/,"var(--$1)")),l||(f?r.push(s):(e=a(s,h,u,p),r.push(e.value+e.unit)),o="",s="");break}if(!f&&m in g)t(g[m],void 0===l?0:l+1,o);else if("|"!==m||f&&"path"!==o){if(!n){if("."===m){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===m){e=a(s,h,u,p),r.push(e.value+e.unit,","),s="";continue}if("#"===m&&(s||r.length&&"|"!==i[c-1])||Ot.includes(m))break}o+=m}s+=m}else n?s+=" ":(e=a(s,h,u,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,h,u,p),r.push(e.value+e.unit)),l=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(" ")}l.includes(mt)&&(l=l.replace(St,"::-webkit-scrollbar")),l.includes(gt)&&(l=l.replace(Nt,"::-webkit-search")),l.includes(xt)&&(l=l.replace(It,"::-webkit-slider-thumb")),l.includes(bt)&&(l=l.replace(Wt,"::-webkit-slider-runnable-track")),l.includes(yt)&&(l=l.replace(Rt,"::-webkit-meter")),l.includes(kt)&&(l=l.replace($t,"::-webkit-resizer")),l.includes(vt)&&(l=l.replace(zt,"::-webkit-progress")),l.includes(":first")&&(l=l.replace(/:first(?![a-z-])/g,":first-child")),l.includes(":last")&&(l=l.replace(/:last(?![a-z-])/g,":last-child")),l.includes(":even")&&(l=l.replace(/:even(?![a-z-])/g,":nth-child(2n)")),l.includes(":odd")&&(l=l.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),l.includes(":nth(")&&(l=l.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.prefixSelector=n?Et(n):"";const k=l.split("@");let v=k[0];if(v){v=Et(v),this.hasWhere=v.includes(":where(");for(let e=0;e<c.length;e++)if(v.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=v;for(let e=1;e<k.length;e++){const t=k[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===ut||e===pt)i.push("(prefers-reduced-motion:"+(e===ut?"no-preference":ft)+")");else if(e in b)i.push(b[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=dt):e.startsWith(">=")||x[e]?(r=">=",s=ht):e.startsWith(">")?(r=">",s=ht,n=.02):e.startsWith("<")&&(r="<",s=dt,n=-.02),s){case dt:case ht:const c=r?e.replace(r,""):e,l=x[c];l?Object.assign(t,a(l,wt)):Object.assign(t,a(c,wt)),t.unit===wt&&(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 w="";this.colorScheme&&(w+="."+this.colorScheme+" "),this.prefixSelector&&(w+=this.prefixSelector),this.direction&&(w+="[dir="+this.direction+"] "),this.text=w+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Mt.relations?Mt.relations[this.name].map((e=>", "+w+"."+e+this.suffixSelector)).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(f,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)&&jt.includes(e[t.length]))return{origin:lt,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:ct}:this.symbol&&e.startsWith(this.symbol)?{origin:ot}:this.key&&e.startsWith(this.key+":")?{origin:ct}: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==Vt||Vt.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==Vt||Vt.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==Vt||Vt.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&m.refresh()}}let Tt,Vt;if(Mt.unit="rem",Mt.rgbColors={},Mt.mediaQueries={},Mt.sheets=Ct,Mt.colors={},Mt.classes={},Mt.colorNames=[],Mt.relations={},"undefined"!=typeof window&&(window.MasterStyle=Mt),"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){Tt=e;const s={},i=t.content.split(",");for(let e=0;e<Tt.sheet.cssRules.length;e++){const t=Tt.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}}Mt.extend("colors",s),Vt=Tt.sheet}}Tt||(Tt=document.createElement("style"),Tt.id="master-colors",document.head.prepend(Tt),Vt=Tt.sheet)}class qt extends Mt{}qt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,qt.key=y(j,"weight"),qt.unit="",qt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const _t="var(--font-";class Lt extends Mt{}Lt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Lt.key=y(j,"family"),Lt.values={mono:_t+"mono)",sans:_t+"sans)",serif:_t+"serif)"};class Pt extends Mt{}Pt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Pt.key=y(j,Re);const Zt="top",Ft="bottom",Qt="left",Xt="right",Yt="l",Bt="r",Ut="t",Dt="b",Gt="x",Ht="y";class Jt extends Mt{get props(){const e="m"===this.prefix[0]?w:O,t=y(e,Qt),s=y(e,Xt),i=y(e,Zt),r=y(e,Ft);switch(this.prefix[1]){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Jt.id="spacing",Jt.matches=/^[pm][xytblr]?:./;class Kt extends Mt{}Kt.matches=/^w:./,Kt.key=K,Kt.values=at;class es extends Mt{}es.matches=/^h:./,es.key=J,es.values=at;class ts extends Mt{}ts.matches=/^min-w:./,ts.key=_e,ts.values=at;class ss extends Mt{}ss.matches=/^min-h:./,ss.key=Pe,ss.values=at;class is extends Mt{}is.matches=/^ls:./,is.key=Ve,is.unit="em";const rs=y("subpixel",Me),ns=y("-webkit-font",Ce),as=y("-moz-osxfont",Ce);class cs extends Mt{get props(){const e={};switch(this.value){case rs:e[ns]=e[as]=Object.assign(Object.assign({},this),{value:We});break;case Me:e[ns]=Object.assign(Object.assign({},this),{value:Me}),e[as]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}cs.id="fontSmoothing",cs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,cs.unit="";class ls extends Mt{}ls.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ls.key=y(j,Ee),ls.unit="deg",ls.semantics={italic:"italic",oblique:"oblique"};class os extends Mt{}os.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,os.key=y(j,"variant","numeric");class ds extends Mt{}ds.matches=/^lh:./,ds.key=y(Ie,J),ds.unit="";class hs extends Mt{}hs.matches=/^(object|obj):(contain|cover|fill|scale-down)/,hs.key=y($e,"fit");class us extends Mt{}us.matches=/^(object|obj):(top|bottom|right|left|center)/,us.key=y($e,ze);class fs extends Mt{}fs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,fs.key=y(ye,ke);class ps extends Mt{constructor(){super(...arguments),this.order=-1}}ps.matches=/^t(ext)?:(underline|line-through|overline)/,ps.key=y(ye,Se),ps.colorful=!0;class ms extends Mt{}ms.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,ms.key=y(ye,ve),ms.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class xs extends Mt{}xs.matches=/^v:./,xs.key=y(we,ke);class bs extends Mt{get props(){return{overflow:Object.assign(Object.assign({},this),{value:pe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:y(Ne,Oe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:we}),"-webkit-line-clamp":this}}}bs.id="lines",bs.matches=/^lines:./,bs.unit="";class gs extends Mt{}gs.matches=/^transform:((top|bottom|right|left|center)|\d)/,gs.key=y(ve,ce),gs.unit="px";class ys extends Mt{}ys.matches=/^transform:(flat|preserve-3d)(?!\|)/,ys.key=y(ve,Ee);class ks extends Mt{}ks.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,ks.key=y(ve,me),ks.values={content:y(T,me),border:y(k,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class vs extends Mt{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=Ae;break;case"skew":r=de;break;case oe:"3d"===s&&(n=!0),r=de;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===Ae?16:1)+r})).join(","))}))}}vs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,vs.key=ve,vs.unit="";class ws extends Mt{constructor(){super(...arguments),this.order=-1}}ws.symbol="~",ws.key=ae;class Os extends Mt{}Os.matches=/^~delay:./,Os.key=y(ae,le),Os.unit="ms";class js extends Mt{}js.matches=/^~duration:./,js.key=y(ae,ue),js.unit="ms";class Ss extends Mt{}Ss.matches=/^~property:./,Ss.key=y(ae,"property");class Ns extends Mt{}Ns.matches=/^~easing:./,Ns.key=y(ae,he);class Rs extends Mt{}Rs.matches=/^max-h:./,Rs.key=Le,Rs.values=at;class Ws extends Mt{}Ws.matches=/^max-w:./,Ws.key=qe,Ws.values=at;class Is extends Mt{}Is.matches=/^d:./,Is.key=fe,Is.semantics={hidden:ge,hide:ge,block:se,table:Ze,flex:re,grid:ne,contents:"contents","inline-block":y(ie,se),"inline-flex":y(ie,re),"inline-grid":y(ie,ne),"inline-table":y(ie,Ze)};class $s extends Mt{}$s.matches=/^box:(content|border)(?!\|)/,$s.key=y(me,"sizing"),$s.values={content:y(T,me),border:y(k,me)};class zs extends Mt{}zs.key="opacity",zs.unit="";class As extends Mt{}As.key="visibility",As.semantics={visible:"visible",invisible:pe};class Es extends Mt{}Es.key="clear";class Cs extends Mt{}Cs.key="float";class Ms extends Mt{}Ms.key="isolation",Ms.semantics={isolate:"isolate"};class Ts extends Mt{get props(){switch(this.prefix.slice(-2,-1)){case H:return{"overflow-x":this};case G:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case H:case G:return 0;default:return-1}}}Ts.id="overflow",Ts.matches=/^(overflow|ovf)(-x|-y)?:./;class Vs extends Mt{get props(){switch(this.prefix.slice(-2,-1)){case H:return{[y(D,H)]:this};case G:return{[y(D,G)]:this};default:return{[D]:this}}}}Vs.id="overscrollBehavior",Vs.matches=/^overscroll-behavior(?:-[xy])?:/;class qs extends Mt{}qs.matches=/^z:./,qs.key="z-index",qs.unit="";class _s extends Mt{}_s.matches=/^\@delay:./,_s.key=y(X,le),_s.unit="ms";class Ls extends Mt{}Ls.matches=/^\@direction:./,Ls.key=y(X,Y);class Ps extends Mt{}Ps.matches=/^\@fill-mode:./,Ps.key=y(X,xe,B);class Zs extends Mt{}Zs.matches=/^\@iteration-count:./,Zs.key=y(X,"iteration","count"),Zs.unit="";class Fs extends Mt{}Fs.matches=/^\@name:./,Fs.key=y(X,"name");class Qs extends Mt{}Qs.matches=/^\@play-state:./,Qs.key=y(X,"play-state");class Xs extends Mt{}Xs.matches=/^\@easing:./,Xs.key=y(X,he);class Ys extends Mt{constructor(){super(...arguments),this.order=-1}}Ys.symbol="@",Ys.key=X,Ys.unit="";function Bs(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 Gt:return{[i]:t,[r]:t};case Ht:return{[n]:t,[a]:t};case Yt:return{[i]:t};case Bt:return{[r]:t};case Ut:return{[n]:t};case Dt:return{[a]:t};default:return{[k+s]:t}}}class Us extends Mt{get props(){return Bs(this.prefix,this,F)}get order(){return this.prefix===y(k,F)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Us.id="borderColor",Us.matches=/^border(-(left|right|top|bottom))?-color:./,Us.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Us.colorful=!0,Us.values={current:S};const Ds=y(k,Zt,Qt,v),Gs=y(k,Zt,Xt,v),Hs=y(k,Ft,Qt,v),Js=y(k,Ft,Xt,v),Ks=y(k,v),ei=[Ds,Gs,Hs,Js];class ti extends Mt{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 Ut:return{[Ds]:this,[Gs]:this};case"tl":case"lt":return{[Ds]:this};case"rt":case"tr":return{[Gs]:this};case Dt:return{[Hs]:this,[Js]:this};case"bl":case"lb":return{[Hs]:this};case"br":case"rb":return{[Js]:this};case Yt:return{[Ds]:this,[Hs]:this};case Bt:return{[Gs]:this,[Js]:this};default:return{[Ks]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[ei.includes(t)?t:Ks]:this}}get order(){return this.prefix===y(k,v)+":"||"r:"===this.prefix?-1:0}}ti.id="borderRadius",ti.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,ti.semantics={rounded:"1e9em",round:"50%"};class si extends Mt{get props(){return Bs(this.prefix,this,Ee)}get order(){return this.prefix===y(k,Ee)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}si.id="borderStyle",si.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 ii extends Mt{get props(){return Bs(this.prefix,this,K)}get order(){return this.prefix===y(k,K)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ii.id="borderWidth",ii.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 ri extends Mt{get props(){return Bs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ri.id="border",ri.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ri.colorful=!0;class ni extends Mt{}ni.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ni.key=y(P,"attachment");class ai extends Mt{}ai.key=y(P,L,B);class ci extends Mt{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ci.matches=/^(bg|background):text(?!\|)/,ci.key=y(P,be);class li extends Mt{}li.matches=/^(bg|background):transparent(?!\|)/,li.colorStarts="(bg|background):",li.key=y(P,F),li.unit="",li.colorful=!0,li.values={current:S};class oi extends Mt{}oi.matches=/^(bg|background):(content|border|padding)(?!\|)/,oi.key=y(P,ce),oi.values={content:y(T,me),border:y(k,me),padding:y(O,me)};class di extends Mt{}di.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,di.key=y(P,ze),di.unit="px";class hi extends Mt{}hi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,hi.key=y(P,Z);class ui extends Mt{}ui.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,ui.key=y(P,Re);class fi extends Mt{}fi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,fi.key=y(P,V);class pi extends Mt{constructor(){super(...arguments),this.order=-1}}pi.matches=/^bg:./,pi.key=P,pi.colorful=!0;class mi extends Mt{}mi.matches=/^blend:./,mi.key=y("mix",L,B);class xi extends Mt{}xi.key=ze,xi.values={abs:"absolute",rel:"relative"},xi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class bi extends Mt{get props(){const e=this.prefix.slice(0,-1);switch(e){case Zt:case Qt:case Xt:case Ft: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 gi(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===Ae?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}bi.matches=/^(top|left|right|bottom|center|middle):./;class yi extends Mt{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,C):return Ae;case y("hue",oe):return de}return""}))}}yi.matches=/^bd:./,yi.key=y("backdrop",_);class ki extends Mt{}ki.key=xe,ki.colorStarts="fill:",ki.colorful=!0,ki.values={current:S};class vi extends Mt{}vi.key=q,vi.colorful=!0;class wi extends Mt{}wi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,wi.key=y(q,K);class Oi extends Mt{get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,C):return Ae;case y("hue",oe):return de}return""}))}}Oi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,Oi.key=_;class ji extends Mt{}ji.key="cursor";class Si extends Mt{}Si.key=y("pointer","events"),Si.semantics={untouchable:"none"};class Ni extends Mt{}Ni.key="resize";class Ri extends Mt{}Ri.key=y("touch","action");class Wi extends Mt{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Wi.key=y(M,"drag");class Ii extends Mt{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ii.key=y(M,"select");class $i extends Mt{}$i.matches=/^s(?:hadow)?:./,$i.key=y(me,C),$i.colorful=!0;class zi extends Mt{}zi.key=y(ye,C),zi.colorful=!0;class Ai extends Mt{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===Ae?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ai.id="textSize",Ai.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class Ei extends Mt{}Ei.key=y(Oe,Ne),Ei.unit="";class Ci extends Mt{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,W,$)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Ci.matches=/^grid-cols:./,Ci.key=y(ne,$),Ci.unit="";class Mi extends Mt{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,We,R)]:Object.assign(Object.assign({},this),{value:I}),[y(ne,W,E)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Mi.key=y(ne,E),Mi.unit="";class Ti extends Mt{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case H:return{[y(I,z)]:this};case G:return{[y(A,z)]:this};default:return{[z]:this}}}}Ti.id="gap",Ti.matches=/^gap(-x|-y)?:./;class Vi extends Mt{}Vi.key=y(Oe,Te);class qi extends Mt{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}qi.id="variable",qi.matches=/^\$.+:./,qi.unit="";class _i extends Mt{}_i.matches=/^aspect:./,_i.key=y("aspect","ratio"),_i.unit="",_i.semantics={square:"1/1",video:"16/9"};class Li extends Mt{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Li.matches=/^box:(slice|clone)(?!\|)/,Li.key=y(me,Se,Ne);class Pi extends Mt{}Pi.key=y(Ne,"after");class Zi extends Mt{}Zi.key=y(Ne,"before");class Fi extends Mt{}Fi.key=y(Ne,"inside");class Qi extends Mt{}Qi.key=y(re,"shrink"),Qi.unit="";class Xi extends Mt{}Xi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Xi.key=y(re,Y),Xi.values={col:I,"col-reverse":y(I,"reverse")};class Yi extends Mt{}Yi.key=y(re,"grow"),Yi.unit="";class Bi extends Mt{}Bi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Bi.key=y(re,"wrap");class Ui extends Mt{}Ui.key=y(re,"basis"),Ui.values=at;class Di extends Mt{constructor(){super(...arguments),this.order=-1}}Di.key=re,Di.unit="";const Gi="999999";class Hi extends Mt{}Hi.matches=/^o:./,Hi.key="order",Hi.values={first:"-999999",last:Gi},Hi.unit="";class Ji extends Mt{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}}Ji.matches=/^grid-col(-span)?:./,Ji.key=y(ne,I),Ji.unit="";class Ki extends Mt{}Ki.matches=/^col-span:./,Ki.key=y(I,Xe);class er extends Mt{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}}er.matches=/^grid-row-span:./,er.key=y(ne,A),er.unit="";class tr extends Mt{}tr.matches=/^(font-color:.|font:current)/,tr.colorStarts="(?:f(ont)?|color):",tr.colorful=!0,tr.key=F,tr.unit="",tr.values={current:S};class sr extends Mt{}sr.matches=/^ac:./,sr.key=y(ke,T);class ir extends Mt{}ir.matches=/^ai:./,ir.key=y(ke,Be);class rr extends Mt{}rr.matches=/^as:./,rr.key=y(ke,Ue);class nr extends Mt{}nr.matches=/^grid-auto-cols:./,nr.key=y(ne,We,$),nr.values={min:y(te,T),max:y(ee,T)};class ar extends Mt{}ar.matches=/^grid-flow:./,ar.key=y(ne,We,R);class cr extends Mt{}cr.key=y(ne,We,E),cr.values={min:y(te,T),max:y(ee,T)};class lr extends Mt{}lr.matches=/^jc:./,lr.key=y(Ye,T);class or extends Mt{}or.matches=/^ji:./,or.key=y(Ye,Be);class dr extends Mt{}dr.matches=/^js:./,dr.key=y(Ye,Ue);class hr extends Mt{constructor(){super(...arguments),this.order=-1}}hr.key=y(De,T);class ur extends Mt{constructor(){super(...arguments),this.order=-1}}ur.key=y(De,Be);class fr extends Mt{constructor(){super(...arguments),this.order=-1}}fr.key=y(De,Ue);class pr extends Mt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}pr.id="padding",pr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class mr extends Mt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}mr.id="margin",mr.matches=/^margin(-(left|right|top|bottom))?:./;class xr extends Mt{}xr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,xr.key=y(ye,"overflow");class br extends Mt{}br.matches=/^list-style:(inside|outside)(?!\|)/,br.key=y(Qe,Ee,ze);class gr extends Mt{}gr.matches=/^list-style:(none|disc|decimal)(?!\|)/,gr.key=y(Qe,Ee,Ge);class yr extends Mt{constructor(){super(...arguments),this.order=-1}}yr.key=y(Qe,Ee);class kr extends Mt{}kr.key=y(ye,Se,F),kr.colorStarts="text-decoration:",kr.colorful=!0,kr.values={current:S};class vr extends Mt{}vr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,vr.key=y(ye,Se,Ee);class wr extends Mt{}wr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,wr.key=y(ye,Se,"thickness"),wr.unit="em";class Or extends Mt{}Or.key=y(ye,"indent");class jr extends Mt{}jr.key=T;class Sr extends Mt{}Sr.key=y(Je,F),Sr.colorStarts="outline:",Sr.colorful=!0,Sr.values={current:S};class Nr extends Mt{}Nr.key=y(Je,He);class Rr extends Mt{}Rr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Rr.key=y(Je,Ee);class Wr extends Mt{}Wr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Wr.key=y(Je,K);class Ir extends Mt{constructor(){super(...arguments),this.order=-1}}Ir.key=Je,Ir.colorful=!0;class $r extends Mt{}$r.matches=/^b(order)?:(collapse|separate)(?!\|)/,$r.key=y(k,"collapse");class zr extends Mt{}zr.key=y(k,Te);class Ar extends Mt{}Ar.key=y(Ze,"layout");class Er extends Mt{}Er.key=y("accent",F),Er.colorStarts="accent:",Er.colorful=!0;class Cr extends Mt{}Cr.key="appearance";class Mr extends Mt{}Mr.key=y("caret",F),Mr.matches=/^caret:transparent(?!\|)/,Mr.colorStarts="caret:",Mr.colorful=!0,Mr.values={current:S};class Tr extends Mt{}Tr.key=y(Q,U);class Vr extends Mt{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=y(Q,w)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,w)+":"||this.prefix===y(Q,"m:")?-1:0}}Vr.id="scrollMargin",Vr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class qr extends Mt{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=y(Q,O)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,O)+":"||this.prefix===y(Q,"p:")?-1:0}}qr.id="scrollPadding",qr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class _r extends Mt{}_r.matches=/^scroll-snap:(start|end|center)/,_r.key=y(Q,Ke,ke);class Lr extends Mt{}Lr.matches=/^scroll-snap:(normal|always)(?!\|)/,Lr.key=y(Q,Ke,"stop");class Pr extends Mt{}Pr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,Pr.key=y(Q,Ke,Ge);class Zr extends Mt{}Zr.key="will-change";class Fr extends Mt{}Fr.key=y(ye,"underline",He);class Qr extends Mt{get props(){return{[this.prefix.slice(0,-1)]:this}}}Qr.matches=/^(?:top|bottom|left|right):./,Qr.key="inset";class Xr extends Mt{constructor(){super(...arguments),this.order=-1}}Xr.matches=/^(columns|cols):./,Xr.key=$,Xr.unit="";class Yr extends Mt{}Yr.key=y("white",je),Yr.unit="";class Br extends Mt{}Br.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Br.key=y(ye,"orientation");class Ur extends Mt{}Ur.key=y("writing",B);class Dr extends Mt{}Dr.key="contain";class Gr extends Mt{}Gr.matches=/^\@duration:./,Gr.key=y(X,ue),Gr.unit="ms";class Hr extends Mt{}Hr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Hr.key=y(ye,"rendering");class Jr extends Mt{}Jr.key=Y;class Kr extends Mt{}Kr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Kr.key=y(ye,Se,Ie);class en extends Mt{}en.matches=/^grid-col-start:./,en.key=y(ne,I,it),en.unit="";class tn extends Mt{}tn.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,tn.key=y(Qe,Ee,V);class sn extends Mt{}sn.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,sn.key=y(et,"outside"),sn.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me)};class rn extends Mt{}rn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,rn.key=y(et,w);class nn extends Mt{}nn.key=y(et,V,"threshold"),nn.unit="";class an extends Mt{}an.matches=/^clip:./,an.key=y(be,"path"),an.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class cn extends Mt{constructor(){super(...arguments),this.order=-1}}cn.key=ne;class ln extends Mt{constructor(){super(...arguments),this.order=-1}}ln.matches=/^f:./,ln.key=j,ln.unit="",ln.colorful=!0;class on extends Mt{}on.key="quotes";class dn extends Mt{constructor(){super(...arguments),this.order=-1}}dn.key=y(ne,W);class hn extends Mt{}hn.key=y(ne,A,it),hn.unit="";class un extends Mt{}un.key=y(ne,W,st)+"s";class fn extends Mt{}fn.matches=/^grid-template-cols:./,fn.key=y(ne,W,$),fn.values={min:y(te,T),max:y(ee,T)};class pn extends Mt{}pn.key=y(ne,W,E),pn.values={min:y(te,T),max:y(ee,T)};class mn extends Mt{constructor(){super(...arguments),this.order=-1}}mn.key=y(ne,st),mn.unit="";class xn extends Mt{}xn.matches=/^grid-col-end:./,xn.key=y(ne,I,"end"),xn.unit="";class bn extends Mt{}bn.key=y(ne,A,"end"),bn.unit="";class gn extends Mt{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}gn.key=y("mask",V);class yn extends Mt{get props(){return{"-webkit-text-fill-color":this}}}yn.id="textFillColor",yn.matches=/^text-fill-color:./,yn.colorStarts="text-fill:",yn.colorful=!0,yn.values={current:S};class kn extends Mt{get props(){return{"-webkit-text-stroke":this}}}kn.id="textStroke",kn.matches=/^text-stroke:./;class vn extends Mt{get props(){return{"-webkit-text-stroke-width":this}}}vn.id="textStrokeWidth",vn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class wn extends Mt{get props(){return{"-webkit-text-stroke-color":this}}}wn.id="textStrokeColor",wn.matches=/^text-stroke-color:./,wn.colorStarts="text-stroke:",wn.colorful=!0,wn.values={current:S};class On extends Mt{}On.key=y(q,"dasharray");class jn extends Mt{}jn.key=y(q,"dash")+He;class Sn extends Mt{}Sn.key="x",Sn.unit="";class Nn extends Mt{}Nn.key="y",Nn.unit="";class Rn extends Mt{}Rn.key="cx",Rn.unit="";class Wn extends Mt{}Wn.key="cy",Wn.unit="";class In extends Mt{}In.key="rx",In.unit="";class $n extends Mt{}$n.key="ry",$n.unit="";class zn extends Mt{}zn.key=y(k,V,"outset");class An extends Mt{}An.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,An.key=y(k,V,Z);class En extends Mt{}En.key=y(k,V,"slice"),En.unit="";class Cn extends Mt{}Cn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,Cn.key=y(k,V,"source");class Mn extends Mt{}Mn.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,Mn.key=y(k,V,K);class Tn extends Mt{}Tn.key=y(k,V),Tn.unit="";const Vn=/\{(.*)\}/;class qn extends Mt{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(Vn)[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.value.length;a++){const t=this.value[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=m.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}qn.id=Fe,qn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,qn.unit="";class _n extends Mt{}_n.key="counter-increment",_n.unit="";class Ln extends Mt{}Ln.semantics={"center-content":{"justify-content":"center","align-items":"center"},"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"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":We,"margin-right":We},middle:{top:0,bottom:0,"margin-top":We,"margin-bottom":We},"break-spaces":{"white-space":y(Ne,je)+"s"},"break-word":{"overflow-wrap":y(Ne,Oe),overflow:pe}};const Pn="undefined"!=typeof window,Zn=[Ln,qn,qi,qt,Lt,tr,Jt,mr,pr,Pt,Ui,Bi,Yi,Qi,Xi,Di,Is,Kt,es,ts,ss,Dr,jr,_n,is,cs,ls,os,ln,ds,hs,us,fs,kr,vr,wr,Kr,ps,Fr,xr,Br,ms,Hr,Or,xs,Xr,Yr,Qr,bs,Rs,Ws,$s,zs,As,Es,Cs,Ms,Ts,Vs,qs,xi,bi,ji,Si,Ni,Ri,Ei,Vi,Wi,Ii,zi,Ai,yn,vn,wn,kn,$i,Ar,ks,ys,gs,vs,Ss,Ns,js,Os,ws,_s,Ls,Gr,Ps,Zs,Fs,Qs,Xs,Ys,Us,ti,si,ii,$r,zr,ri,zn,An,En,Cn,Mn,Tn,ni,ai,ci,li,oi,di,hi,ui,fi,pi,mi,yi,Oi,ki,On,jn,wi,vi,Sn,Nn,Rn,Wn,In,$n,en,xn,Ji,Ci,hn,bn,er,Mi,nr,ar,cr,un,fn,pn,dn,mn,cn,Ti,Hi,Fi,Zi,Pi,Li,_i,Ki,sr,ir,rr,lr,or,dr,hr,ur,fr,br,gr,tn,yr,Sr,Nr,Rr,Wr,Ir,Er,Cr,Mr,Tr,Vr,qr,_r,Lr,Pr,Zr,Ur,Jr,sn,rn,nn,an,on,gn],Fn=Zn.get=e=>Zn.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 Qn(){if(Pn){const e=new m(document.head);m.root=e,e.observe(document.documentElement)}}Zn.extend=(e,t,s=!0)=>{for(const s in t){const i=Fn(s);if(i){const r=t[s];i.extend(e,r)}}s&&m.refresh()},Mt.extend("colors",e.colors,!1),Mt.extend("breakpoints",t.breakpoints,!1),m.Styles.push(...Zn);Pn&&(window.initMasterCSS=Qn,window.MasterStyles=Zn,window.MasterCSSManual||Qn())})(),i})()})); |
@@ -28,3 +28,3 @@ { | ||
}, | ||
"version": "1.30.0" | ||
"version": "1.30.1" | ||
} |
@@ -7,3 +7,3 @@ import { Style } from '../style'; | ||
MasterStyles: typeof Styles; | ||
MasterStylesManual: boolean; | ||
MasterCSSManual: boolean; | ||
} | ||
@@ -10,0 +10,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
112529