satori 0.7.4 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.wasm.cjs +6 -6
- package/dist/index.wasm.cjs.map +1 -1
- package/dist/index.wasm.js +6 -6
- package/dist/index.wasm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.wasm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var dl=Object.create;var vr=Object.defineProperty;var pl=Object.getOwnPropertyDescriptor;var hl=Object.getOwnPropertyNames;var Dl=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty;var yr=(e,t)=>()=>(e&&(t=e(e=0)),t);var P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fn=(e,t)=>{for(var n in t)vr(e,n,{get:t[n],enumerable:!0})},Po=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of hl(t))!ml.call(e,i)&&i!==n&&vr(e,i,{get:()=>t[i],enumerable:!(r=pl(t,i))||r.enumerable});return e};var gl=(e,t,n)=>(n=e!=null?dl(Dl(e)):{},Po(t||!e||!e.__esModule?vr(n,"default",{value:e,enumerable:!0}):n,e)),xr=e=>Po(vr({},"__esModule",{value:!0}),e);var c=yr(()=>{});var Bo={};fn(Bo,{getYogaModule:()=>bl});async function bl(){return{}}var Ro=yr(()=>{c()});var Ln=P(In=>{"use strict";c();Object.defineProperty(In,"__esModule",{value:!0});Object.defineProperty(In,"default",{enumerable:!0,get:()=>vf});function vf(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,t=>t==="-"?"":"-");if(e.includes("var(")||e.includes("calc("))return`calc(${e} * -1)`}});var _u=P(Mn=>{"use strict";c();Object.defineProperty(Mn,"__esModule",{value:!0});Object.defineProperty(Mn,"default",{enumerable:!0,get:()=>yf});var yf=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]});var Su=P(Nn=>{"use strict";c();Object.defineProperty(Nn,"__esModule",{value:!0});Object.defineProperty(Nn,"default",{enumerable:!0,get:()=>xf});function xf(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(r=>e!==!1&&e[r]!==!1).concat(Object.keys(e).filter(r=>e[r]!==!1)))]}});var Wn=P((pg,ku)=>{c();ku.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),caretColor:({theme:e})=>e("colors"),accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),stroke:({theme:e})=>e("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}});var Lr={};fn(Lr,{default:()=>Ff});var Ff,Mr=yr(()=>{c();Ff={info(e,t){console.info(...Array.isArray(e)?[e]:[t,e])},warn(e,t){console.warn(...Array.isArray(e)?[e]:[t,e])},risk(e,t){console.error(...Array.isArray(e)?[e]:[t,e])}}});var Tu=P($n=>{"use strict";c();Object.defineProperty($n,"__esModule",{value:!0});Object.defineProperty($n,"default",{enumerable:!0,get:()=>Cf});var wf=Ef((Mr(),xr(Lr)));function Ef(e){return e&&e.__esModule?e:{default:e}}function Bt({version:e,from:t,to:n}){wf.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var Cf={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return Bt({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Bt({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Bt({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Bt({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Bt({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var Ou=P(qn=>{"use strict";c();Object.defineProperty(qn,"__esModule",{value:!0});Object.defineProperty(qn,"defaults",{enumerable:!0,get:()=>_f});function _f(e,...t){for(let i of t){for(let u in i){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,u)||(e[u]=i[u])}for(let u of Object.getOwnPropertySymbols(i)){var r;!(e==null||(r=e.hasOwnProperty)===null||r===void 0)&&r.call(e,u)||(e[u]=i[u])}}return e}});var Au=P(Un=>{"use strict";c();Object.defineProperty(Un,"__esModule",{value:!0});Object.defineProperty(Un,"toPath",{enumerable:!0,get:()=>Sf});function Sf(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var Bu=P(zn=>{"use strict";c();Object.defineProperty(zn,"__esModule",{value:!0});Object.defineProperty(zn,"normalizeConfig",{enumerable:!0,get:()=>Tf});var Rt=kf((Mr(),xr(Lr)));function Pu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Pu=function(r){return r?n:t})(e)}function kf(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Pu(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var o=i?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(r,u,o):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r}function Tf(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(r=>!["files","extract","transform"].includes(r)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let r of Object.values(e.content.extract))if(typeof r!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let r of Object.values(e.content.transform))if(typeof r!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1}return!0}return!1})()||Rt.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var r;let{content:i,purge:u,safelist:o}=e;return Array.isArray(o)?o:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(u==null?void 0:u.safelist)?u.safelist:Array.isArray(u==null||(r=u.options)===null||r===void 0?void 0:r.safelist)?u.options.safelist:[]})(),typeof e.prefix=="function")Rt.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={files:(()=>{let{content:r,purge:i}=e;return Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(r)?r:Array.isArray(r==null?void 0:r.content)?r.content:Array.isArray(r==null?void 0:r.files)?r.files:[]})(),extract:(()=>{let r=(()=>{var o,s,a,l,f,d,h,D,p,m;return!((o=e.purge)===null||o===void 0)&&o.extract?e.purge.extract:!((s=e.content)===null||s===void 0)&&s.extract?e.content.extract:!((a=e.purge)===null||a===void 0||(l=a.extract)===null||l===void 0)&&l.DEFAULT?e.purge.extract.DEFAULT:!((f=e.content)===null||f===void 0||(d=f.extract)===null||d===void 0)&&d.DEFAULT?e.content.extract.DEFAULT:!((h=e.purge)===null||h===void 0||(D=h.options)===null||D===void 0)&&D.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(m=p.options)===null||m===void 0)&&m.extractors?e.content.options.extractors:{}})(),i={},u=(()=>{var o,s,a,l;if(!((o=e.purge)===null||o===void 0||(s=o.options)===null||s===void 0)&&s.defaultExtractor)return e.purge.options.defaultExtractor;if(!((a=e.content)===null||a===void 0||(l=a.options)===null||l===void 0)&&l.defaultExtractor)return e.content.options.defaultExtractor})();if(u!==void 0&&(i.DEFAULT=u),typeof r=="function")i.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:o,extractor:s}of r??[])for(let a of o)i[a]=s;else typeof r=="object"&&r!==null&&Object.assign(i,r);return i})(),transform:(()=>{let r=(()=>{var u,o,s,a,l,f;return!((u=e.purge)===null||u===void 0)&&u.transform?e.purge.transform:!((o=e.content)===null||o===void 0)&&o.transform?e.content.transform:!((s=e.purge)===null||s===void 0||(a=s.transform)===null||a===void 0)&&a.DEFAULT?e.purge.transform.DEFAULT:!((l=e.content)===null||l===void 0||(f=l.transform)===null||f===void 0)&&f.DEFAULT?e.content.transform.DEFAULT:{}})(),i={};return typeof r=="function"&&(i.DEFAULT=r),typeof r=="object"&&r!==null&&Object.assign(i,r),i})()};for(let r of e.content.files)if(typeof r=="string"&&/{([^,]*?)}/g.test(r)){Rt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Rt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Rt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Ru=P(Gn=>{"use strict";c();Object.defineProperty(Gn,"__esModule",{value:!0});Object.defineProperty(Gn,"default",{enumerable:!0,get:()=>Of});function Of(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Iu=P(Hn=>{"use strict";c();Object.defineProperty(Hn,"__esModule",{value:!0});Object.defineProperty(Hn,"cloneDeep",{enumerable:!0,get:()=>jn});function jn(e){return Array.isArray(e)?e.map(t=>jn(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,jn(n)])):e}});var Vn=P((Nr,Lu)=>{"use strict";c();Nr.__esModule=!0;Nr.default=Bf;function Af(e){for(var t=e.toLowerCase(),n="",r=!1,i=0;i<6&&t[i]!==void 0;i++){var u=t.charCodeAt(i),o=u>=97&&u<=102||u>=48&&u<=57;if(r=u===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16),a=s>=55296&&s<=57343;return a||s===0||s>1114111?["\uFFFD",n.length+(r?1:0)]:[String.fromCodePoint(s),n.length+(r?1:0)]}}var Pf=/\\/;function Bf(e){var t=Pf.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=Af(e.slice(r+1,r+7));if(i!==void 0){n+=i[0],r+=i[1];continue}if(e[r+1]==="\\"){n+="\\",r++;continue}e.length===r+1&&(n+=e[r]);continue}n+=e[r]}return n}Lu.exports=Nr.default});var Nu=P((Wr,Mu)=>{"use strict";c();Wr.__esModule=!0;Wr.default=Rf;function Rf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e}Mu.exports=Wr.default});var $u=P(($r,Wu)=>{"use strict";c();$r.__esModule=!0;$r.default=If;function If(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}}Wu.exports=$r.default});var Uu=P((qr,qu)=>{"use strict";c();qr.__esModule=!0;qr.default=Lf;function Lf(e){for(var t="",n=e.indexOf("/*"),r=0;n>=0;){t=t+e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t=t+e.slice(r),t}qu.exports=qr.default});var It=P(Pe=>{"use strict";c();Pe.__esModule=!0;Pe.stripComments=Pe.ensureObject=Pe.getProp=Pe.unesc=void 0;var Mf=Ur(Vn());Pe.unesc=Mf.default;var Nf=Ur(Nu());Pe.getProp=Nf.default;var Wf=Ur($u());Pe.ensureObject=Wf.default;var $f=Ur(Uu());Pe.stripComments=$f.default;function Ur(e){return e&&e.__esModule?e:{default:e}}});var We=P((Lt,ju)=>{"use strict";c();Lt.__esModule=!0;Lt.default=void 0;var zu=It();function Gu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qf(e,t,n){return t&&Gu(e.prototype,t),n&&Gu(e,n),e}var Uf=function e(t,n){if(typeof t!="object"||t===null)return t;var r=new t.constructor;for(var i in t)if(!!t.hasOwnProperty(i)){var u=t[i],o=typeof u;i==="parent"&&o==="object"?n&&(r[i]=n):u instanceof Array?r[i]=u.map(function(s){return e(s,r)}):r[i]=e(u,r)}return r},zf=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var r in arguments)this.parent.insertBefore(this,arguments[r]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(r){r===void 0&&(r={});var i=Uf(this);for(var u in r)i[u]=r[u];return i},t.appendToPropertyAndEscape=function(r,i,u){this.raws||(this.raws={});var o=this[r],s=this.raws[r];this[r]=o+i,s||u!==i?this.raws[r]=(s||o)+u:delete this.raws[r]},t.setPropertyAndEscape=function(r,i,u){this.raws||(this.raws={}),this[r]=i,this.raws[r]=u},t.setPropertyWithoutEscape=function(r,i){this[r]=i,this.raws&&delete this.raws[r]},t.isAtPosition=function(r,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>r||this.source.end.line<r||this.source.start.line===r&&this.source.start.column>i||this.source.end.line===r&&this.source.end.column<i)},t.stringifyProperty=function(r){return this.raws&&this.raws[r]||this[r]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},qf(e,[{key:"rawSpaceBefore",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.before;return r===void 0&&(r=this.spaces&&this.spaces.before),r||""},set:function(r){(0,zu.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=r}},{key:"rawSpaceAfter",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.after;return r===void 0&&(r=this.spaces.after),r||""},set:function(r){(0,zu.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Lt.default=zf;ju.exports=Lt.default});var ce=P(K=>{"use strict";c();K.__esModule=!0;K.UNIVERSAL=K.ATTRIBUTE=K.CLASS=K.COMBINATOR=K.COMMENT=K.ID=K.NESTING=K.PSEUDO=K.ROOT=K.SELECTOR=K.STRING=K.TAG=void 0;var Gf="tag";K.TAG=Gf;var jf="string";K.STRING=jf;var Hf="selector";K.SELECTOR=Hf;var Vf="root";K.ROOT=Vf;var Yf="pseudo";K.PSEUDO=Yf;var Xf="nesting";K.NESTING=Xf;var Qf="id";K.ID=Qf;var Kf="comment";K.COMMENT=Kf;var Jf="combinator";K.COMBINATOR=Jf;var Zf="class";K.CLASS=Zf;var ec="attribute";K.ATTRIBUTE=ec;var tc="universal";K.UNIVERSAL=tc});var zr=P((Mt,Xu)=>{"use strict";c();Mt.__esModule=!0;Mt.default=void 0;var rc=ic(We()),$e=nc(ce());function Yu(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Yu=function(){return e},e}function nc(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Yu();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function ic(e){return e&&e.__esModule?e:{default:e}}function oc(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=uc(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function uc(e,t){if(!!e){if(typeof e=="string")return Hu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hu(e,t)}}function Hu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sc(e,t,n){return t&&Vu(e.prototype,t),n&&Vu(e,n),e}function ac(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yn(e,t)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Yn(e,t)}var lc=function(e){ac(t,e);function t(r){var i;return i=e.call(this,r)||this,i.nodes||(i.nodes=[]),i}var n=t.prototype;return n.append=function(i){return i.parent=this,this.nodes.push(i),this},n.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},n.at=function(i){return this.nodes[i]},n.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},n.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var u;for(var o in this.indexes)u=this.indexes[o],u>=i&&(this.indexes[o]=u-1);return this},n.removeAll=function(){for(var i=oc(this.nodes),u;!(u=i()).done;){var o=u.value;o.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(i,u){u.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,u),u.parent=this;var s;for(var a in this.indexes)s=this.indexes[a],o<=s&&(this.indexes[a]=s+1);return this},n.insertBefore=function(i,u){u.parent=this;var o=this.index(i);this.nodes.splice(o,0,u),u.parent=this;var s;for(var a in this.indexes)s=this.indexes[a],s<=o&&(this.indexes[a]=s+1);return this},n._findChildAtPosition=function(i,u){var o=void 0;return this.each(function(s){if(s.atPosition){var a=s.atPosition(i,u);if(a)return o=a,!1}else if(s.isAtPosition(i,u))return o=s,!1}),o},n.atPosition=function(i,u){if(this.isAtPosition(i,u))return this._findChildAtPosition(i,u)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var u=this.lastEach;if(this.indexes[u]=0,!!this.length){for(var o,s;this.indexes[u]<this.length&&(o=this.indexes[u],s=i(this.at(o),o),s!==!1);)this.indexes[u]+=1;if(delete this.indexes[u],s===!1)return!1}},n.walk=function(i){return this.each(function(u,o){var s=i(u,o);if(s!==!1&&u.length&&(s=u.walk(i)),s===!1)return!1})},n.walkAttributes=function(i){var u=this;return this.walk(function(o){if(o.type===$e.ATTRIBUTE)return i.call(u,o)})},n.walkClasses=function(i){var u=this;return this.walk(function(o){if(o.type===$e.CLASS)return i.call(u,o)})},n.walkCombinators=function(i){var u=this;return this.walk(function(o){if(o.type===$e.COMBINATOR)return i.call(u,o)})},n.walkComments=function(i){var u=this;return this.walk(function(o){if(o.type===$e.COMMENT)return i.call(u,o)})},n.walkIds=function(i){var u=this;return this.walk(function(o){if(o.type===$e.ID)return i.call(u,o)})},n.walkNesting=function(i){var u=this;return this.walk(function(o){if(o.type===$e.NESTING)return i.call(u,o)})},n.walkPseudos=function(i){var u=this;return this.walk(function(o){if(o.type===$e.PSEUDO)return i.call(u,o)})},n.walkTags=function(i){var u=this;return this.walk(function(o){if(o.type===$e.TAG)return i.call(u,o)})},n.walkUniversals=function(i){var u=this;return this.walk(function(o){if(o.type===$e.UNIVERSAL)return i.call(u,o)})},n.split=function(i){var u=this,o=[];return this.reduce(function(s,a,l){var f=i.call(u,a);return o.push(a),f?(s.push(o),o=[]):l===u.length-1&&s.push(o),s},[])},n.map=function(i){return this.nodes.map(i)},n.reduce=function(i,u){return this.nodes.reduce(i,u)},n.every=function(i){return this.nodes.every(i)},n.some=function(i){return this.nodes.some(i)},n.filter=function(i){return this.nodes.filter(i)},n.sort=function(i){return this.nodes.sort(i)},n.toString=function(){return this.map(String).join("")},sc(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(rc.default);Mt.default=lc;Xu.exports=Mt.default});var Qn=P((Nt,Ku)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var fc=dc(zr()),cc=ce();function dc(e){return e&&e.__esModule?e:{default:e}}function Qu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pc(e,t,n){return t&&Qu(e.prototype,t),n&&Qu(e,n),e}function hc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xn(e,t)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Xn(e,t)}var Dc=function(e){hc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=cc.ROOT,i}var n=t.prototype;return n.toString=function(){var i=this.reduce(function(u,o){return u.push(String(o)),u},[]).join(",");return this.trailingComma?i+",":i},n.error=function(i,u){return this._error?this._error(i,u):new Error(i)},pc(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(fc.default);Nt.default=Dc;Ku.exports=Nt.default});var Jn=P((Wt,Ju)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var mc=bc(zr()),gc=ce();function bc(e){return e&&e.__esModule?e:{default:e}}function vc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Kn(e,t)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Kn(e,t)}var yc=function(e){vc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=gc.SELECTOR,r}return t}(mc.default);Wt.default=yc;Ju.exports=Wt.default});var Gr=P((Fg,Zu)=>{"use strict";c();var xc={},Fc=xc.hasOwnProperty,wc=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=Fc.call(t,i)?t[i]:n[i];return r},Ec=/[ -,\.\/:-@\[-\^`\{-~]/,Cc=/[ -,\.\/:-@\[\]\^`\{-~]/,_c=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Zn=function e(t,n){n=wc(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var r=n.quotes=="double"?'"':"'",i=n.isIdentifier,u=t.charAt(0),o="",s=0,a=t.length;s<a;){var l=t.charAt(s++),f=l.charCodeAt(),d=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&s<a){var h=t.charCodeAt(s++);(h&64512)==56320?f=((f&1023)<<10)+(h&1023)+65536:s--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?Ec.test(l)?d="\\"+l:d="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?d="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&r==l||l=="'"&&r==l)||i&&Cc.test(l)?d="\\"+l:d=l;o+=d}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(u)&&(o="\\3"+u+" "+o.slice(1))),o=o.replace(_c,function(D,p,m){return p&&p.length%2?D:(p||"")+m}),!i&&n.wrap?r+o+r:o};Zn.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Zn.version="3.0.0";Zu.exports=Zn});var ti=P(($t,rs)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var Sc=ts(Gr()),kc=It(),Tc=ts(We()),Oc=ce();function ts(e){return e&&e.__esModule?e:{default:e}}function es(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ac(e,t,n){return t&&es(e.prototype,t),n&&es(e,n),e}function Pc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ei(e,t)}function ei(e,t){return ei=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ei(e,t)}var Bc=function(e){Pc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Oc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},Ac(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var u=(0,Sc.default)(i,{isIdentifier:!0});u!==i?((0,kc.ensureObject)(this,"raws"),this.raws.value=u):this.raws&&delete this.raws.value}this._value=i}}]),t}(Tc.default);$t.default=Bc;rs.exports=$t.default});var ni=P((qt,ns)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var Rc=Lc(We()),Ic=ce();function Lc(e){return e&&e.__esModule?e:{default:e}}function Mc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ri(e,t)}function ri(e,t){return ri=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ri(e,t)}var Nc=function(e){Mc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Ic.COMMENT,r}return t}(Rc.default);qt.default=Nc;ns.exports=qt.default});var oi=P((Ut,is)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Wc=qc(We()),$c=ce();function qc(e){return e&&e.__esModule?e:{default:e}}function Uc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ii(e,t)}function ii(e,t){return ii=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ii(e,t)}var zc=function(e){Uc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=$c.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Wc.default);Ut.default=zc;is.exports=Ut.default});var jr=P((zt,ss)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var Gc=us(Gr()),jc=It(),Hc=us(We());function us(e){return e&&e.__esModule?e:{default:e}}function os(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vc(e,t,n){return t&&os(e.prototype,t),n&&os(e,n),e}function Yc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ui(e,t)}function ui(e,t){return ui=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ui(e,t)}var Xc=function(e){Yc(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},Vc(t,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var u=(0,Gc.default)(i,{isIdentifier:!0});this._namespace=i,u!==i?((0,jc.ensureObject)(this,"raws"),this.raws.namespace=u):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),t}(Hc.default);zt.default=Xc;ss.exports=zt.default});var ai=P((Gt,as)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var Qc=Jc(jr()),Kc=ce();function Jc(e){return e&&e.__esModule?e:{default:e}}function Zc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,si(e,t)}function si(e,t){return si=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},si(e,t)}var ed=function(e){Zc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Kc.TAG,r}return t}(Qc.default);Gt.default=ed;as.exports=Gt.default});var fi=P((jt,ls)=>{"use strict";c();jt.__esModule=!0;jt.default=void 0;var td=nd(We()),rd=ce();function nd(e){return e&&e.__esModule?e:{default:e}}function id(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,li(e,t)}function li(e,t){return li=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},li(e,t)}var od=function(e){id(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=rd.STRING,r}return t}(td.default);jt.default=od;ls.exports=jt.default});var di=P((Ht,fs)=>{"use strict";c();Ht.__esModule=!0;Ht.default=void 0;var ud=ad(zr()),sd=ce();function ad(e){return e&&e.__esModule?e:{default:e}}function ld(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ci(e,t)}function ci(e,t){return ci=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ci(e,t)}var fd=function(e){ld(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=sd.PSEUDO,i}var n=t.prototype;return n.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},t}(ud.default);Ht.default=fd;fs.exports=Ht.default});var ds=P((wg,cs)=>{c();cs.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var bi=P(Xt=>{"use strict";c();Xt.__esModule=!0;Xt.unescapeValue=gi;Xt.default=void 0;var Vt=mi(Gr()),cd=mi(Vn()),dd=mi(jr()),pd=ce(),pi;function mi(e){return e&&e.__esModule?e:{default:e}}function ps(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hd(e,t,n){return t&&ps(e.prototype,t),n&&ps(e,n),e}function Dd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Di(e,t)}function Di(e,t){return Di=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Di(e,t)}var Yt=ds(),md=/^('|")([^]*)\1$/,gd=Yt(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),bd=Yt(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),vd=Yt(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function gi(e){var t=!1,n=null,r=e,i=r.match(md);return i&&(n=i[1],r=i[2]),r=(0,cd.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function yd(e){if(e.quoteMark!==void 0||e.value===void 0)return e;vd();var t=gi(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var Hr=function(e){Dd(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,yd(r))||this,i.type=pd.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Yt(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Yt(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var n=t.prototype;return n.getQuotedValue=function(i){i===void 0&&(i={});var u=this._determineQuoteMark(i),o=hi[u],s=(0,Vt.default)(this._value,o);return s},n._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},n.setValue=function(i,u){u===void 0&&(u={}),this._value=i,this._quoteMark=this._determineQuoteMark(u),this._syncRawValue()},n.smartQuoteMark=function(i){var u=this.value,o=u.replace(/[^']/g,"").length,s=u.replace(/[^"]/g,"").length;if(o+s===0){var a=(0,Vt.default)(u,{isIdentifier:!0});if(a===u)return t.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,d=hi[f],h=(0,Vt.default)(u,d);if(h.length<a.length)return f}return l}else return s===o?this.preferredQuoteMark(i):s<o?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(i){var u=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return u===void 0&&(u=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),u===void 0&&(u=t.DOUBLE_QUOTE),u},n._syncRawValue=function(){var i=(0,Vt.default)(this._value,hi[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},n._handleEscapes=function(i,u){if(this._constructed){var o=(0,Vt.default)(u,{isIdentifier:!0});o!==u?this.raws[i]=o:delete this.raws[i]}},n._spacesFor=function(i){var u={before:"",after:""},o=this.spaces[i]||{},s=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(u,o,s)},n._stringFor=function(i,u,o){u===void 0&&(u=i),o===void 0&&(o=hs);var s=this._spacesFor(u);return o(this.stringifyProperty(i),s)},n.offsetOf=function(i){var u=1,o=this._spacesFor("attribute");if(u+=o.before.length,i==="namespace"||i==="ns")return this.namespace?u:-1;if(i==="attributeNS"||(u+=this.namespaceString.length,this.namespace&&(u+=1),i==="attribute"))return u;u+=this.stringifyProperty("attribute").length,u+=o.after.length;var s=this._spacesFor("operator");u+=s.before.length;var a=this.stringifyProperty("operator");if(i==="operator")return a?u:-1;u+=a.length,u+=s.after.length;var l=this._spacesFor("value");u+=l.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?u:-1;u+=f.length,u+=l.after.length;var d=this._spacesFor("insensitive");return u+=d.before.length,i==="insensitive"&&this.insensitive?u:-1},n.toString=function(){var i=this,u=[this.rawSpaceBefore,"["];return u.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(u.push(this._stringFor("operator")),u.push(this._stringFor("value")),u.push(this._stringFor("insensitiveFlag","insensitive",function(o,s){return o.length>0&&!i.quoted&&s.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(s.before=" "),hs(o,s)}))),u.push("]"),u.push(this.rawSpaceAfter),u.join("")},hd(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){bd()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var u=gi(i),o=u.deprecatedUsage,s=u.unescaped,a=u.quoteMark;if(o&&gd(),s===this._value&&a===this._quoteMark)return;this._value=s,this._quoteMark=a,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(dd.default);Xt.default=Hr;Hr.NO_QUOTE=null;Hr.SINGLE_QUOTE="'";Hr.DOUBLE_QUOTE='"';var hi=(pi={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},pi[null]={isIdentifier:!0},pi);function hs(e,t){return""+t.before+e+t.after}});var yi=P((Qt,Ds)=>{"use strict";c();Qt.__esModule=!0;Qt.default=void 0;var xd=wd(jr()),Fd=ce();function wd(e){return e&&e.__esModule?e:{default:e}}function Ed(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vi(e,t)}function vi(e,t){return vi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},vi(e,t)}var Cd=function(e){Ed(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Fd.UNIVERSAL,r.value="*",r}return t}(xd.default);Qt.default=Cd;Ds.exports=Qt.default});var Fi=P((Kt,ms)=>{"use strict";c();Kt.__esModule=!0;Kt.default=void 0;var _d=kd(We()),Sd=ce();function kd(e){return e&&e.__esModule?e:{default:e}}function Td(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xi(e,t)}function xi(e,t){return xi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},xi(e,t)}var Od=function(e){Td(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Sd.COMBINATOR,r}return t}(_d.default);Kt.default=Od;ms.exports=Kt.default});var Ei=P((Jt,gs)=>{"use strict";c();Jt.__esModule=!0;Jt.default=void 0;var Ad=Bd(We()),Pd=ce();function Bd(e){return e&&e.__esModule?e:{default:e}}function Rd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wi(e,t)}function wi(e,t){return wi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},wi(e,t)}var Id=function(e){Rd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Pd.NESTING,r.value="&",r}return t}(Ad.default);Jt.default=Id;gs.exports=Jt.default});var vs=P((Vr,bs)=>{"use strict";c();Vr.__esModule=!0;Vr.default=Ld;function Ld(e){return e.sort(function(t,n){return t-n})}bs.exports=Vr.default});var Ci=P(O=>{"use strict";c();O.__esModule=!0;O.combinator=O.word=O.comment=O.str=O.tab=O.newline=O.feed=O.cr=O.backslash=O.bang=O.slash=O.doubleQuote=O.singleQuote=O.space=O.greaterThan=O.pipe=O.equals=O.plus=O.caret=O.tilde=O.dollar=O.closeSquare=O.openSquare=O.closeParenthesis=O.openParenthesis=O.semicolon=O.colon=O.comma=O.at=O.asterisk=O.ampersand=void 0;var Md=38;O.ampersand=Md;var Nd=42;O.asterisk=Nd;var Wd=64;O.at=Wd;var $d=44;O.comma=$d;var qd=58;O.colon=qd;var Ud=59;O.semicolon=Ud;var zd=40;O.openParenthesis=zd;var Gd=41;O.closeParenthesis=Gd;var jd=91;O.openSquare=jd;var Hd=93;O.closeSquare=Hd;var Vd=36;O.dollar=Vd;var Yd=126;O.tilde=Yd;var Xd=94;O.caret=Xd;var Qd=43;O.plus=Qd;var Kd=61;O.equals=Kd;var Jd=124;O.pipe=Jd;var Zd=62;O.greaterThan=Zd;var ep=32;O.space=ep;var ys=39;O.singleQuote=ys;var tp=34;O.doubleQuote=tp;var rp=47;O.slash=rp;var np=33;O.bang=np;var ip=92;O.backslash=ip;var op=13;O.cr=op;var up=12;O.feed=up;var sp=10;O.newline=sp;var ap=9;O.tab=ap;var lp=ys;O.str=lp;var fp=-1;O.comment=fp;var cp=-2;O.word=cp;var dp=-3;O.combinator=dp});var ws=P(Zt=>{"use strict";c();Zt.__esModule=!0;Zt.default=vp;Zt.FIELDS=void 0;var S=pp(Ci()),ht,Y;function Fs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Fs=function(){return e},e}function pp(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Fs();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var hp=(ht={},ht[S.tab]=!0,ht[S.newline]=!0,ht[S.cr]=!0,ht[S.feed]=!0,ht),Dp=(Y={},Y[S.space]=!0,Y[S.tab]=!0,Y[S.newline]=!0,Y[S.cr]=!0,Y[S.feed]=!0,Y[S.ampersand]=!0,Y[S.asterisk]=!0,Y[S.bang]=!0,Y[S.comma]=!0,Y[S.colon]=!0,Y[S.semicolon]=!0,Y[S.openParenthesis]=!0,Y[S.closeParenthesis]=!0,Y[S.openSquare]=!0,Y[S.closeSquare]=!0,Y[S.singleQuote]=!0,Y[S.doubleQuote]=!0,Y[S.plus]=!0,Y[S.pipe]=!0,Y[S.tilde]=!0,Y[S.greaterThan]=!0,Y[S.equals]=!0,Y[S.dollar]=!0,Y[S.caret]=!0,Y[S.slash]=!0,Y),_i={},xs="0123456789abcdefABCDEF";for(Yr=0;Yr<xs.length;Yr++)_i[xs.charCodeAt(Yr)]=!0;var Yr;function mp(e,t){var n=t,r;do{if(r=e.charCodeAt(n),Dp[r])return n-1;r===S.backslash?n=gp(e,n)+1:n++}while(n<e.length);return n-1}function gp(e,t){var n=t,r=e.charCodeAt(n+1);if(!hp[r])if(_i[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(_i[r]&&i<6);i<6&&r===S.space&&n++}else n++;return n}var bp={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Zt.FIELDS=bp;function vp(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,u=-1,o=1,s=0,a=0,l,f,d,h,D,p,m,F,b,v,w,E,C;function R(I,M){if(e.safe)n+=M,b=n.length-1;else throw e.error("Unclosed "+I,o,s-u,s)}for(;s<i;){switch(l=n.charCodeAt(s),l===S.newline&&(u=s,o+=1),l){case S.space:case S.tab:case S.newline:case S.cr:case S.feed:b=s;do b+=1,l=n.charCodeAt(b),l===S.newline&&(u=b,o+=1);while(l===S.space||l===S.newline||l===S.tab||l===S.cr||l===S.feed);C=S.space,h=o,d=b-u-1,a=b;break;case S.plus:case S.greaterThan:case S.tilde:case S.pipe:b=s;do b+=1,l=n.charCodeAt(b);while(l===S.plus||l===S.greaterThan||l===S.tilde||l===S.pipe);C=S.combinator,h=o,d=s-u,a=b;break;case S.asterisk:case S.ampersand:case S.bang:case S.comma:case S.equals:case S.dollar:case S.caret:case S.openSquare:case S.closeSquare:case S.colon:case S.semicolon:case S.openParenthesis:case S.closeParenthesis:b=s,C=l,h=o,d=s-u,a=b+1;break;case S.singleQuote:case S.doubleQuote:E=l===S.singleQuote?"'":'"',b=s;do for(D=!1,b=n.indexOf(E,b+1),b===-1&&R("quote",E),p=b;n.charCodeAt(p-1)===S.backslash;)p-=1,D=!D;while(D);C=S.str,h=o,d=s-u,a=b+1;break;default:l===S.slash&&n.charCodeAt(s+1)===S.asterisk?(b=n.indexOf("*/",s+2)+1,b===0&&R("comment","*/"),f=n.slice(s,b+1),F=f.split(`
|
|
3
|
-
`),m=F.length-1,m>0?(v=o+m,w=b-F[m].length):(v=o,w=u),C=S.comment,o=v,h=v,d=b-w):l===S.slash?(b=s,C=l,h=o,d=s-u,a=b+1):(b=mp(n,s),C=S.word,h=o,d=b-u),a=b+1;break}t.push([C,o,s-u,h,d,s,a]),w&&(u=w,w=null),s=a}return t}});var As=P((er,Os)=>{"use strict";c();er.__esModule=!0;er.default=void 0;var yp=_e(Qn()),Si=_e(Jn()),xp=_e(ti()),Es=_e(ni()),Fp=_e(oi()),wp=_e(ai()),ki=_e(fi()),Ep=_e(di()),Cs=Xr(bi()),Cp=_e(yi()),Ti=_e(Fi()),_p=_e(Ei()),Sp=_e(vs()),_=Xr(ws()),k=Xr(Ci()),kp=Xr(ce()),re=It(),nt,Oi;function Ts(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Ts=function(){return e},e}function Xr(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Ts();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function _e(e){return e&&e.__esModule?e:{default:e}}function _s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tp(e,t,n){return t&&_s(e.prototype,t),n&&_s(e,n),e}var Bi=(nt={},nt[k.space]=!0,nt[k.cr]=!0,nt[k.feed]=!0,nt[k.newline]=!0,nt[k.tab]=!0,nt),Op=Object.assign({},Bi,(Oi={},Oi[k.comment]=!0,Oi));function Ss(e){return{line:e[_.FIELDS.START_LINE],column:e[_.FIELDS.START_COL]}}function ks(e){return{line:e[_.FIELDS.END_LINE],column:e[_.FIELDS.END_COL]}}function it(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function Dt(e){return it(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],e[_.FIELDS.END_LINE],e[_.FIELDS.END_COL])}function Ai(e,t){if(!!e)return it(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],t[_.FIELDS.END_LINE],t[_.FIELDS.END_COL])}function mt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,re.ensureObject)(e,"raws"),e[t]=(0,re.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Pi(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function Ap(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var Pp=function(){function e(n,r){r===void 0&&(r={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},r),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Ai(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new yp.default({source:i}),this.root.errorGenerator=this._errorGenerator();var u=new Si.default({source:{start:{line:1,column:1}}});this.root.append(u),this.current=u,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var r=this;return function(i,u){return typeof r.rule=="string"?new Error(i):r.rule.error(i,u)}},t.attribute=function(){var r=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[_.FIELDS.TYPE]!==k.closeSquare;)r.push(this.currToken),this.position++;if(this.currToken[_.FIELDS.TYPE]!==k.closeSquare)return this.expected("closing square bracket",this.currToken[_.FIELDS.START_POS]);var u=r.length,o={source:it(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[_.FIELDS.START_POS]};if(u===1&&!~[k.word].indexOf(r[0][_.FIELDS.TYPE]))return this.expected("attribute",r[0][_.FIELDS.START_POS]);for(var s=0,a="",l="",f=null,d=!1;s<u;){var h=r[s],D=this.content(h),p=r[s+1];switch(h[_.FIELDS.TYPE]){case k.space:if(d=!0,this.options.lossy)break;if(f){(0,re.ensureObject)(o,"spaces",f);var m=o.spaces[f].after||"";o.spaces[f].after=m+D;var F=(0,re.getProp)(o,"raws","spaces",f,"after")||null;F&&(o.raws.spaces[f].after=F+D)}else a=a+D,l=l+D;break;case k.asterisk:if(p[_.FIELDS.TYPE]===k.equals)o.operator=D,f="operator";else if((!o.namespace||f==="namespace"&&!d)&&p){a&&((0,re.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=a,a=""),l&&((0,re.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=a,l=""),o.namespace=(o.namespace||"")+D;var b=(0,re.getProp)(o,"raws","namespace")||null;b&&(o.raws.namespace+=D),f="namespace"}d=!1;break;case k.dollar:if(f==="value"){var v=(0,re.getProp)(o,"raws","value");o.value+="$",v&&(o.raws.value=v+"$");break}case k.caret:p[_.FIELDS.TYPE]===k.equals&&(o.operator=D,f="operator"),d=!1;break;case k.combinator:if(D==="~"&&p[_.FIELDS.TYPE]===k.equals&&(o.operator=D,f="operator"),D!=="|"){d=!1;break}p[_.FIELDS.TYPE]===k.equals?(o.operator=D,f="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),d=!1;break;case k.word:if(p&&this.content(p)==="|"&&r[s+2]&&r[s+2][_.FIELDS.TYPE]!==k.equals&&!o.operator&&!o.namespace)o.namespace=D,f="namespace";else if(!o.attribute||f==="attribute"&&!d){a&&((0,re.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=a,a=""),l&&((0,re.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+D;var w=(0,re.getProp)(o,"raws","attribute")||null;w&&(o.raws.attribute+=D),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!d){var E=(0,re.unesc)(D),C=(0,re.getProp)(o,"raws","value")||"",R=o.value||"";o.value=R+E,o.quoteMark=null,(E!==D||C)&&((0,re.ensureObject)(o,"raws"),o.raws.value=(C||R)+D),f="value"}else{var I=D==="i"||D==="I";(o.value||o.value==="")&&(o.quoteMark||d)?(o.insensitive=I,(!I||D==="I")&&((0,re.ensureObject)(o,"raws"),o.raws.insensitiveFlag=D),f="insensitive",a&&((0,re.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=a,a=""),l&&((0,re.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=l,l="")):(o.value||o.value==="")&&(f="value",o.value+=D,o.raws.value&&(o.raws.value+=D))}d=!1;break;case k.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[_.FIELDS.START_POS]});var M=(0,Cs.unescapeValue)(D),X=M.unescaped,Z=M.quoteMark;o.value=X,o.quoteMark=Z,f="value",(0,re.ensureObject)(o,"raws"),o.raws.value=D,d=!1;break;case k.equals:if(!o.attribute)return this.expected("attribute",h[_.FIELDS.START_POS],D);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[_.FIELDS.START_POS]});o.operator=o.operator?o.operator+D:D,f="operator",d=!1;break;case k.comment:if(f)if(d||p&&p[_.FIELDS.TYPE]===k.space||f==="insensitive"){var ie=(0,re.getProp)(o,"spaces",f,"after")||"",z=(0,re.getProp)(o,"raws","spaces",f,"after")||ie;(0,re.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=z+D}else{var N=o[f]||"",ee=(0,re.getProp)(o,"raws",f)||N;(0,re.ensureObject)(o,"raws"),o.raws[f]=ee+D}else l=l+D;break;default:return this.error('Unexpected "'+D+'" found.',{index:h[_.FIELDS.START_POS]})}s++}mt(o,"attribute"),mt(o,"namespace"),this.newNode(new Cs.default(o)),this.position++},t.parseWhitespaceEquivalentTokens=function(r){r<0&&(r=this.tokens.length);var i=this.position,u=[],o="",s=void 0;do if(Bi[this.currToken[_.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[_.FIELDS.TYPE]===k.comment){var a={};o&&(a.before=o,o=""),s=new Es.default({value:this.content(),source:Dt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS],spaces:a}),u.push(s)}while(++this.position<r);if(o){if(s)s.spaces.after=o;else if(!this.options.lossy){var l=this.tokens[i],f=this.tokens[this.position-1];u.push(new ki.default({value:"",source:it(l[_.FIELDS.START_LINE],l[_.FIELDS.START_COL],f[_.FIELDS.END_LINE],f[_.FIELDS.END_COL]),sourceIndex:l[_.FIELDS.START_POS],spaces:{before:o,after:""}}))}}return u},t.convertWhitespaceNodesToSpace=function(r,i){var u=this;i===void 0&&(i=!1);var o="",s="";r.forEach(function(l){var f=u.lossySpace(l.spaces.before,i),d=u.lossySpace(l.rawSpaceBefore,i);o+=f+u.lossySpace(l.spaces.after,i&&f.length===0),s+=f+l.value+u.lossySpace(l.rawSpaceAfter,i&&d.length===0)}),s===o&&(s=void 0);var a={space:o,rawSpace:s};return a},t.isNamedCombinator=function(r){return r===void 0&&(r=this.position),this.tokens[r+0]&&this.tokens[r+0][_.FIELDS.TYPE]===k.slash&&this.tokens[r+1]&&this.tokens[r+1][_.FIELDS.TYPE]===k.word&&this.tokens[r+2]&&this.tokens[r+2][_.FIELDS.TYPE]===k.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var r=this.content(this.tokens[this.position+1]),i=(0,re.unesc)(r).toLowerCase(),u={};i!==r&&(u.value="/"+r+"/");var o=new Ti.default({value:"/"+i+"/",source:it(this.currToken[_.FIELDS.START_LINE],this.currToken[_.FIELDS.START_COL],this.tokens[this.position+2][_.FIELDS.END_LINE],this.tokens[this.position+2][_.FIELDS.END_COL]),sourceIndex:this.currToken[_.FIELDS.START_POS],raws:u});return this.position=this.position+3,o}else this.unexpected()},t.combinator=function(){var r=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][_.FIELDS.TYPE]===k.comma){var u=this.parseWhitespaceEquivalentTokens(i);if(u.length>0){var o=this.current.last;if(o){var s=this.convertWhitespaceNodesToSpace(u),a=s.space,l=s.rawSpace;l!==void 0&&(o.rawSpaceAfter+=l),o.spaces.after+=a}else u.forEach(function(C){return r.newNode(C)})}return}var f=this.currToken,d=void 0;i>this.position&&(d=this.parseWhitespaceEquivalentTokens(i));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===k.combinator?(h=new Ti.default({value:this.content(),source:Dt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):Bi[this.currToken[_.FIELDS.TYPE]]||d||this.unexpected(),h){if(d){var D=this.convertWhitespaceNodesToSpace(d),p=D.space,m=D.rawSpace;h.spaces.before=p,h.rawSpaceBefore=m}}else{var F=this.convertWhitespaceNodesToSpace(d,!0),b=F.space,v=F.rawSpace;v||(v=b);var w={},E={spaces:{}};b.endsWith(" ")&&v.endsWith(" ")?(w.before=b.slice(0,b.length-1),E.spaces.before=v.slice(0,v.length-1)):b.startsWith(" ")&&v.startsWith(" ")?(w.after=b.slice(1),E.spaces.after=v.slice(1)):E.value=v,h=new Ti.default({value:" ",source:Ai(f,this.tokens[this.position-1]),sourceIndex:f[_.FIELDS.START_POS],spaces:w,raws:E})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===k.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var r=new Si.default({source:{start:Ss(this.tokens[this.position+1])}});this.current.parent.append(r),this.current=r,this.position++},t.comment=function(){var r=this.currToken;this.newNode(new Es.default({value:this.content(),source:Dt(r),sourceIndex:r[_.FIELDS.START_POS]})),this.position++},t.error=function(r,i){throw this.root.error(r,i)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])},t.namespace=function(){var r=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[_.FIELDS.TYPE]===k.word)return this.position++,this.word(r);if(this.nextToken[_.FIELDS.TYPE]===k.asterisk)return this.position++,this.universal(r)},t.nesting=function(){if(this.nextToken){var r=this.content(this.nextToken);if(r==="|"){this.position++;return}}var i=this.currToken;this.newNode(new _p.default({value:this.content(),source:Dt(i),sourceIndex:i[_.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===kp.PSEUDO){var u=new Si.default({source:{start:Ss(this.tokens[this.position-1])}}),o=this.current;for(r.append(u),this.current=u;this.position<this.tokens.length&&i;)this.currToken[_.FIELDS.TYPE]===k.openParenthesis&&i++,this.currToken[_.FIELDS.TYPE]===k.closeParenthesis&&i--,i?this.parse():(this.current.source.end=ks(this.currToken),this.current.parent.source.end=ks(this.currToken),this.position++);this.current=o}else{for(var s=this.currToken,a="(",l;this.position<this.tokens.length&&i;)this.currToken[_.FIELDS.TYPE]===k.openParenthesis&&i++,this.currToken[_.FIELDS.TYPE]===k.closeParenthesis&&i--,l=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",a,a):this.newNode(new ki.default({value:a,source:it(s[_.FIELDS.START_LINE],s[_.FIELDS.START_COL],l[_.FIELDS.END_LINE],l[_.FIELDS.END_COL]),sourceIndex:s[_.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[_.FIELDS.START_POS])},t.pseudo=function(){for(var r=this,i="",u=this.currToken;this.currToken&&this.currToken[_.FIELDS.TYPE]===k.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[_.FIELDS.TYPE]===k.word)this.splitWord(!1,function(o,s){i+=o,r.newNode(new Ep.default({value:i,source:Ai(u,r.currToken),sourceIndex:u[_.FIELDS.START_POS]})),s>1&&r.nextToken&&r.nextToken[_.FIELDS.TYPE]===k.openParenthesis&&r.error("Misplaced parenthesis.",{index:r.nextToken[_.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])},t.space=function(){var r=this.content();this.position===0||this.prevToken[_.FIELDS.TYPE]===k.comma||this.prevToken[_.FIELDS.TYPE]===k.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(r),this.position++):this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===k.comma||this.nextToken[_.FIELDS.TYPE]===k.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(r),this.position++):this.combinator()},t.string=function(){var r=this.currToken;this.newNode(new ki.default({value:this.content(),source:Dt(r),sourceIndex:r[_.FIELDS.START_POS]})),this.position++},t.universal=function(r){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var u=this.currToken;this.newNode(new Cp.default({value:this.content(),source:Dt(u),sourceIndex:u[_.FIELDS.START_POS]}),r),this.position++},t.splitWord=function(r,i){for(var u=this,o=this.nextToken,s=this.content();o&&~[k.dollar,k.caret,k.equals,k.word].indexOf(o[_.FIELDS.TYPE]);){this.position++;var a=this.content();if(s+=a,a.lastIndexOf("\\")===a.length-1){var l=this.nextToken;l&&l[_.FIELDS.TYPE]===k.space&&(s+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var f=Pi(s,".").filter(function(p){var m=s[p-1]==="\\",F=/^\d+\.\d+%$/.test(s);return!m&&!F}),d=Pi(s,"#").filter(function(p){return s[p-1]!=="\\"}),h=Pi(s,"#{");h.length&&(d=d.filter(function(p){return!~h.indexOf(p)}));var D=(0,Sp.default)(Ap([0].concat(f,d)));D.forEach(function(p,m){var F=D[m+1]||s.length,b=s.slice(p,F);if(m===0&&i)return i.call(u,b,D.length);var v,w=u.currToken,E=w[_.FIELDS.START_POS]+D[m],C=it(w[1],w[2]+p,w[3],w[2]+(F-1));if(~f.indexOf(p)){var R={value:b.slice(1),source:C,sourceIndex:E};v=new xp.default(mt(R,"value"))}else if(~d.indexOf(p)){var I={value:b.slice(1),source:C,sourceIndex:E};v=new Fp.default(mt(I,"value"))}else{var M={value:b,source:C,sourceIndex:E};mt(M,"value"),v=new wp.default(M)}u.newNode(v,r),r=null}),this.position++},t.word=function(r){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(r)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(r){switch(this.currToken[_.FIELDS.TYPE]){case k.space:this.space();break;case k.comment:this.comment();break;case k.openParenthesis:this.parentheses();break;case k.closeParenthesis:r&&this.missingParenthesis();break;case k.openSquare:this.attribute();break;case k.dollar:case k.caret:case k.equals:case k.word:this.word();break;case k.colon:this.pseudo();break;case k.comma:this.comma();break;case k.asterisk:this.universal();break;case k.ampersand:this.nesting();break;case k.slash:case k.combinator:this.combinator();break;case k.str:this.string();break;case k.closeSquare:this.missingSquareBracket();case k.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(r,i,u){if(Array.isArray(r)){var o=r.pop();r=r.join(", ")+" or "+o}var s=/^[aeiou]/.test(r[0])?"an":"a";return u?this.error("Expected "+s+" "+r+', found "'+u+'" instead.',{index:i}):this.error("Expected "+s+" "+r+".",{index:i})},t.requiredSpace=function(r){return this.options.lossy?" ":r},t.optionalSpace=function(r){return this.options.lossy?"":r},t.lossySpace=function(r,i){return this.options.lossy?i?" ":"":r},t.parseParenthesisToken=function(r){var i=this.content(r);return r[_.FIELDS.TYPE]===k.space?this.requiredSpace(i):i},t.newNode=function(r,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),r.namespace=i,mt(r,"namespace")),this.spaces&&(r.spaces.before=this.spaces,this.spaces=""),this.current.append(r)},t.content=function(r){return r===void 0&&(r=this.currToken),this.css.slice(r[_.FIELDS.START_POS],r[_.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(r){r===void 0&&(r=this.position+1);for(var i=r;i<this.tokens.length;)if(Op[this.tokens[i][_.FIELDS.TYPE]]){i++;continue}else return i;return-1},Tp(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();er.default=Pp;Os.exports=er.default});var Bs=P((tr,Ps)=>{"use strict";c();tr.__esModule=!0;tr.default=void 0;var Bp=Rp(As());function Rp(e){return e&&e.__esModule?e:{default:e}}var Ip=function(){function e(n,r){this.func=n||function(){},this.funcRes=null,this.options=r}var t=e.prototype;return t._shouldUpdateSelector=function(r,i){i===void 0&&(i={});var u=Object.assign({},this.options,i);return u.updateSelector===!1?!1:typeof r!="string"},t._isLossy=function(r){r===void 0&&(r={});var i=Object.assign({},this.options,r);return i.lossless===!1},t._root=function(r,i){i===void 0&&(i={});var u=new Bp.default(r,this._parseOptions(i));return u.root},t._parseOptions=function(r){return{lossy:this._isLossy(r)}},t._run=function(r,i){var u=this;return i===void 0&&(i={}),new Promise(function(o,s){try{var a=u._root(r,i);Promise.resolve(u.func(a)).then(function(l){var f=void 0;return u._shouldUpdateSelector(r,i)&&(f=a.toString(),r.selector=f),{transform:l,root:a,string:f}}).then(o,s)}catch(l){s(l);return}})},t._runSync=function(r,i){i===void 0&&(i={});var u=this._root(r,i),o=this.func(u);if(o&&typeof o.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var s=void 0;return i.updateSelector&&typeof r!="string"&&(s=u.toString(),r.selector=s),{transform:o,root:u,string:s}},t.ast=function(r,i){return this._run(r,i).then(function(u){return u.root})},t.astSync=function(r,i){return this._runSync(r,i).root},t.transform=function(r,i){return this._run(r,i).then(function(u){return u.transform})},t.transformSync=function(r,i){return this._runSync(r,i).transform},t.process=function(r,i){return this._run(r,i).then(function(u){return u.string||u.root.toString()})},t.processSync=function(r,i){var u=this._runSync(r,i);return u.string||u.root.toString()},e}();tr.default=Ip;Ps.exports=tr.default});var Rs=P(J=>{"use strict";c();J.__esModule=!0;J.universal=J.tag=J.string=J.selector=J.root=J.pseudo=J.nesting=J.id=J.comment=J.combinator=J.className=J.attribute=void 0;var Lp=Se(bi()),Mp=Se(ti()),Np=Se(Fi()),Wp=Se(ni()),$p=Se(oi()),qp=Se(Ei()),Up=Se(di()),zp=Se(Qn()),Gp=Se(Jn()),jp=Se(fi()),Hp=Se(ai()),Vp=Se(yi());function Se(e){return e&&e.__esModule?e:{default:e}}var Yp=function(t){return new Lp.default(t)};J.attribute=Yp;var Xp=function(t){return new Mp.default(t)};J.className=Xp;var Qp=function(t){return new Np.default(t)};J.combinator=Qp;var Kp=function(t){return new Wp.default(t)};J.comment=Kp;var Jp=function(t){return new $p.default(t)};J.id=Jp;var Zp=function(t){return new qp.default(t)};J.nesting=Zp;var e0=function(t){return new Up.default(t)};J.pseudo=e0;var t0=function(t){return new zp.default(t)};J.root=t0;var r0=function(t){return new Gp.default(t)};J.selector=r0;var n0=function(t){return new jp.default(t)};J.string=n0;var i0=function(t){return new Hp.default(t)};J.tag=i0;var o0=function(t){return new Vp.default(t)};J.universal=o0});var Ns=P(G=>{"use strict";c();G.__esModule=!0;G.isNode=Ri;G.isPseudoElement=Ms;G.isPseudoClass=m0;G.isContainer=g0;G.isNamespace=b0;G.isUniversal=G.isTag=G.isString=G.isSelector=G.isRoot=G.isPseudo=G.isNesting=G.isIdentifier=G.isComment=G.isCombinator=G.isClassName=G.isAttribute=void 0;var ne=ce(),be,u0=(be={},be[ne.ATTRIBUTE]=!0,be[ne.CLASS]=!0,be[ne.COMBINATOR]=!0,be[ne.COMMENT]=!0,be[ne.ID]=!0,be[ne.NESTING]=!0,be[ne.PSEUDO]=!0,be[ne.ROOT]=!0,be[ne.SELECTOR]=!0,be[ne.STRING]=!0,be[ne.TAG]=!0,be[ne.UNIVERSAL]=!0,be);function Ri(e){return typeof e=="object"&&u0[e.type]}function ke(e,t){return Ri(t)&&t.type===e}var Is=ke.bind(null,ne.ATTRIBUTE);G.isAttribute=Is;var s0=ke.bind(null,ne.CLASS);G.isClassName=s0;var a0=ke.bind(null,ne.COMBINATOR);G.isCombinator=a0;var l0=ke.bind(null,ne.COMMENT);G.isComment=l0;var f0=ke.bind(null,ne.ID);G.isIdentifier=f0;var c0=ke.bind(null,ne.NESTING);G.isNesting=c0;var Ii=ke.bind(null,ne.PSEUDO);G.isPseudo=Ii;var d0=ke.bind(null,ne.ROOT);G.isRoot=d0;var p0=ke.bind(null,ne.SELECTOR);G.isSelector=p0;var h0=ke.bind(null,ne.STRING);G.isString=h0;var Ls=ke.bind(null,ne.TAG);G.isTag=Ls;var D0=ke.bind(null,ne.UNIVERSAL);G.isUniversal=D0;function Ms(e){return Ii(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function m0(e){return Ii(e)&&!Ms(e)}function g0(e){return!!(Ri(e)&&e.walk)}function b0(e){return Is(e)||Ls(e)}});var Ws=P(Ae=>{"use strict";c();Ae.__esModule=!0;var Li=ce();Object.keys(Li).forEach(function(e){e==="default"||e==="__esModule"||e in Ae&&Ae[e]===Li[e]||(Ae[e]=Li[e])});var Mi=Rs();Object.keys(Mi).forEach(function(e){e==="default"||e==="__esModule"||e in Ae&&Ae[e]===Mi[e]||(Ae[e]=Mi[e])});var Ni=Ns();Object.keys(Ni).forEach(function(e){e==="default"||e==="__esModule"||e in Ae&&Ae[e]===Ni[e]||(Ae[e]=Ni[e])})});var Us=P((rr,qs)=>{"use strict";c();rr.__esModule=!0;rr.default=void 0;var v0=F0(Bs()),y0=x0(Ws());function $s(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return $s=function(){return e},e}function x0(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=$s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function F0(e){return e&&e.__esModule?e:{default:e}}var Wi=function(t){return new v0.default(t)};Object.assign(Wi,y0);delete Wi.__esModule;var w0=Wi;rr.default=w0;qs.exports=rr.default});var zs=P($i=>{"use strict";c();Object.defineProperty($i,"__esModule",{value:!0});Object.defineProperty($i,"default",{enumerable:!0,get:()=>E0});function E0(e){return e.replace(/\\,/g,"\\2c ")}});var js=P((Ag,Gs)=>{"use strict";c();Gs.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Ui=P(qi=>{"use strict";c();Object.defineProperty(qi,"__esModule",{value:!0});function C0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}C0(qi,{parseColor:()=>A0,formatColor:()=>P0});var Hs=_0(js());function _0(e){return e&&e.__esModule?e:{default:e}}var S0=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,k0=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Qe=/(?:\d+|\d*\.\d+)%?/,Qr=/(?:\s*,\s*|\s+)/,Vs=/\s*[,/]\s*/,Ke=/var\(--(?:[^ )]*?)\)/,T0=new RegExp(`^(rgb)a?\\(\\s*(${Qe.source}|${Ke.source})(?:${Qr.source}(${Qe.source}|${Ke.source}))?(?:${Qr.source}(${Qe.source}|${Ke.source}))?(?:${Vs.source}(${Qe.source}|${Ke.source}))?\\s*\\)$`),O0=new RegExp(`^(hsl)a?\\(\\s*((?:${Qe.source})(?:deg|rad|grad|turn)?|${Ke.source})(?:${Qr.source}(${Qe.source}|${Ke.source}))?(?:${Qr.source}(${Qe.source}|${Ke.source}))?(?:${Vs.source}(${Qe.source}|${Ke.source}))?\\s*\\)$`);function A0(e,{loose:t=!1}={}){var n,r;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in Hs.default)return{mode:"rgb",color:Hs.default[e].map(a=>a.toString())};let i=e.replace(k0,(a,l,f,d,h)=>["#",l,l,f,f,d,d,h?h+h:""].join("")).match(S0);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(a=>a.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var u;let o=(u=e.match(T0))!==null&&u!==void 0?u:e.match(O0);if(o===null)return null;let s=[o[2],o[3],o[4]].filter(Boolean).map(a=>a.toString());return!t&&s.length!==3||s.length<3&&!s.some(a=>/^var\(.*?\)$/.test(a))?null:{mode:o[1],color:s,alpha:(n=o[5])===null||n===void 0||(r=n.toString)===null||r===void 0?void 0:r.call(n)}}function P0({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var Gi=P(zi=>{"use strict";c();Object.defineProperty(zi,"__esModule",{value:!0});function B0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}B0(zi,{withAlphaValue:()=>R0,default:()=>I0});var Kr=Ui();function R0(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Kr.parseColor)(e,{loose:!0});return r===null?n:(0,Kr.formatColor)({...r,alpha:t})}function I0({color:e,property:t,variable:n}){let r=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(r.map(u=>[u,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,Kr.parseColor)(e);return i===null?Object.fromEntries(r.map(u=>[u,e])):i.alpha!==void 0?Object.fromEntries(r.map(u=>[u,e])):{[n]:"1",...Object.fromEntries(r.map(u=>[u,(0,Kr.formatColor)({...i,alpha:`var(${n})`})]))}}});var Js=P(ji=>{"use strict";c();Object.defineProperty(ji,"__esModule",{value:!0});function L0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}L0(ji,{pattern:()=>N0,withoutCapturing:()=>Xs,any:()=>Qs,optional:()=>W0,zeroOrMore:()=>$0,nestedBrackets:()=>Ks,escape:()=>ot});var Ys=/[\\^$.*+?()[\]{}|]/g,M0=RegExp(Ys.source);function nr(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function N0(e){return new RegExp(nr(e),"g")}function Xs(e){return new RegExp(`(?:${nr(e)})`,"g")}function Qs(e){return`(?:${e.map(nr).join("|")})`}function W0(e){return`(?:${nr(e)})?`}function $0(e){return`(?:${nr(e)})*`}function Ks(e,t,n=1){return Xs([ot(e),/[^\s]*/,n===1?`[^${ot(e)}${ot(t)}s]*`:Qs([`[^${ot(e)}${ot(t)}s]*`,Ks(e,t,n-1)]),/[^\s]*/,ot(t)])}function ot(e){return e&&M0.test(e)?e.replace(Ys,"\\$&"):e||""}});var ea=P(Hi=>{"use strict";c();Object.defineProperty(Hi,"__esModule",{value:!0});Object.defineProperty(Hi,"splitAtTopLevelOnly",{enumerable:!0,get:()=>z0});var q0=U0(Js());function Zs(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Zs=function(r){return r?n:t})(e)}function U0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Zs(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var o=i?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(r,u,o):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r}function*z0(e,t){let n=new RegExp(`[(){}\\[\\]${q0.escape(t)}]`,"g"),r=0,i=0,u=!1,o=0,s=0,a=t.length;for(let l of e.matchAll(n)){let f=l[0]===t[o],d=o===a-1,h=f&&d;l[0]==="("&&r++,l[0]===")"&&r--,l[0]==="["&&r++,l[0]==="]"&&r--,l[0]==="{"&&r++,l[0]==="}"&&r--,f&&r===0&&(s===0&&(s=l.index),o++),h&&r===0&&(u=!0,yield e.substring(i,s),i=s+a),o===a&&(o=0,s=0)}u?yield e.substring(i):yield e}});var ra=P(Vi=>{"use strict";c();Object.defineProperty(Vi,"__esModule",{value:!0});function G0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}G0(Vi,{parseBoxShadowValue:()=>Y0,formatBoxShadowValue:()=>X0});var j0=ea(),H0=new Set(["inset","inherit","initial","revert","unset"]),V0=/\ +(?![^(]*\))/g,ta=/^-?(\d+|\.\d+)(.*?)$/g;function Y0(e){return Array.from((0,j0.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},u=r.split(V0),o=new Set;for(let s of u)ta.lastIndex=0,!o.has("KEYWORD")&&H0.has(s)?(i.keyword=s,o.add("KEYWORD")):ta.test(s)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(i.spread=s,o.add("SPREAD")):(i.blur=s,o.add("BLUR")):(i.y=s,o.add("Y")):(i.x=s,o.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(s)):i.color=s;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function X0(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var la=P(Xi=>{"use strict";c();Object.defineProperty(Xi,"__esModule",{value:!0});function Q0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Q0(Xi,{normalize:()=>Je,url:()=>oa,number:()=>Z0,percentage:()=>ua,length:()=>sa,lineWidth:()=>rh,shadow:()=>nh,color:()=>ih,image:()=>oh,gradient:()=>aa,position:()=>ah,familyName:()=>lh,genericName:()=>ch,absoluteSize:()=>ph,relativeSize:()=>Dh});var K0=Ui(),J0=ra(),Yi=["min","max","clamp","calc"],ia=/,(?![^(]*\))/g,Jr=/_(?![^(]*\))/g;function Je(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:Je(n,!1)).join(""):(e=e.replace(/([^\\])_+/g,(n,r)=>r+" ".repeat(n.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e=e.replace(/(calc|min|max|clamp)\(.+\)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),e)}function oa(e){return e.startsWith("url(")}function Z0(e){return!isNaN(Number(e))||Yi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function ua(e){return e.split(Jr).every(t=>/%$/g.test(t)||Yi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var eh=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],na=`(?:${eh.join("|")})`;function sa(e){return e.split(Jr).every(t=>t==="0"||new RegExp(`${na}$`).test(t)||Yi.some(n=>new RegExp(`^${n}\\(.+?${na}`).test(t)))}var th=new Set(["thin","medium","thick"]);function rh(e){return th.has(e)}function nh(e){let t=(0,J0.parseBoxShadowValue)(Je(e));for(let n of t)if(!n.valid)return!1;return!0}function ih(e){let t=0;return e.split(Jr).every(r=>(r=Je(r),r.startsWith("var(")?!0:(0,K0.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function oh(e){let t=0;return e.split(ia).every(r=>(r=Je(r),r.startsWith("var(")?!0:oa(r)||aa(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var uh=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function aa(e){e=Je(e);for(let t of uh)if(e.startsWith(`${t}(`))return!0;return!1}var sh=new Set(["center","top","right","bottom","left"]);function ah(e){let t=0;return e.split(Jr).every(r=>(r=Je(r),r.startsWith("var(")?!0:sh.has(r)||sa(r)||ua(r)?(t++,!0):!1))?t>0:!1}function lh(e){let t=0;return e.split(ia).every(r=>(r=Je(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var fh=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function ch(e){return fh.has(e)}var dh=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function ph(e){return dh.has(e)}var hh=new Set(["larger","smaller"]);function Dh(e){return hh.has(e)}});var ga=P(Ji=>{"use strict";c();Object.defineProperty(Ji,"__esModule",{value:!0});function mh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}mh(Ji,{updateAllClasses:()=>vh,asValue:()=>or,parseColorFormat:()=>Qi,asColor:()=>ha,asLookupValue:()=>Da,coerceValue:()=>wh});var gh=Ki(Us()),bh=Ki(zs()),fa=Gi(),ve=la(),ca=Ki(Ln());function Ki(e){return e&&e.__esModule?e:{default:e}}function vh(e,t){return(0,gh.default)(i=>{i.walkClasses(u=>{let o=t(u.value);u.value=o,u.raws&&u.raws.value&&(u.raws.value=(0,bh.default)(u.raws.value))})}).processSync(e)}function pa(e,t){if(!ir(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,ve.normalize)(n)}function yh(e,t={},n){let r=t[e];if(r!==void 0)return(0,ca.default)(r);if(ir(e)){let i=pa(e,n);return i===void 0?void 0:(0,ca.default)(i)}}function or(e,t={},{validate:n=()=>!0}={}){var r;let i=(r=t.values)===null||r===void 0?void 0:r[e];return i!==void 0?i:t.supportsNegativeValues&&e.startsWith("-")?yh(e.slice(1),t.values,n):pa(e,n)}function ir(e){return e.startsWith("[")&&e.endsWith("]")}function xh(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function Qi(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function ha(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return Qi((i=t.values)===null||i===void 0?void 0:i[e])}let[u,o]=xh(e);if(o!==void 0){var s,a,l,f;let d=(f=(s=t.values)===null||s===void 0?void 0:s[u])!==null&&f!==void 0?f:ir(u)?u.slice(1,-1):void 0;return d===void 0?void 0:(d=Qi(d),ir(o)?(0,fa.withAlphaValue)(d,o.slice(1,-1)):((a=n.theme)===null||a===void 0||(l=a.opacity)===null||l===void 0?void 0:l[o])===void 0?void 0:(0,fa.withAlphaValue)(d,n.theme.opacity[o]))}return or(e,t,{validate:ve.color})}function Da(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Te(e){return(t,n)=>or(t,n,{validate:e})}var ma={any:or,color:ha,url:Te(ve.url),image:Te(ve.image),length:Te(ve.length),percentage:Te(ve.percentage),position:Te(ve.position),lookup:Da,"generic-name":Te(ve.genericName),"family-name":Te(ve.familyName),number:Te(ve.number),"line-width":Te(ve.lineWidth),"absolute-size":Te(ve.absoluteSize),"relative-size":Te(ve.relativeSize),shadow:Te(ve.shadow)},da=Object.keys(ma);function Fh(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function wh(e,t,n,r){if(ir(t)){let i=t.slice(1,-1),[u,o]=Fh(i,":");if(!/^[\w-_]+$/g.test(u))o=i;else if(u!==void 0&&!da.includes(u))return[];if(o.length>0&&da.includes(u))return[or(`[${o}]`,n),u]}for(let i of[].concat(e)){let u=ma[i](t,n,{tailwindConfig:r});if(u!==void 0)return[u,i]}return[]}});var ba=P(Zi=>{"use strict";c();Object.defineProperty(Zi,"__esModule",{value:!0});Object.defineProperty(Zi,"default",{enumerable:!0,get:()=>Eh});function Eh(e){return typeof e=="function"?e({}):e}});var wa=P(to=>{"use strict";c();Object.defineProperty(to,"__esModule",{value:!0});Object.defineProperty(to,"default",{enumerable:!0,get:()=>Gh});var Ch=ut(Ln()),_h=ut(_u()),Sh=ut(Su()),kh=ut(Wn()),Th=ut(Tu()),xa=Ou(),va=Au(),Oh=Bu(),Ah=ut(Ru()),Ph=Iu(),Bh=ga(),Rh=Gi(),Ih=ut(ba());function ut(e){return e&&e.__esModule?e:{default:e}}function gt(e){return typeof e=="function"}function ur(e){return typeof e=="object"&&e!==null}function sr(e,...t){let n=t.pop();for(let r of t)for(let i in r){let u=n(e[i],r[i]);u===void 0?ur(e[i])&&ur(r[i])?e[i]=sr(e[i],r[i],n):e[i]=r[i]:e[i]=u}return e}var eo={colors:Th.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,Ch.default)(e[n]);return r!==void 0&&(t[`-${n}`]=r),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function Lh(e,...t){return gt(e)?e(...t):e}function Mh(e){return e.reduce((t,{extend:n})=>sr(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function Nh(e){return{...e.reduce((t,n)=>(0,xa.defaults)(t,n),{}),extend:Mh(e)}}function ya(e,t){if(Array.isArray(e)&&ur(e[0]))return e.concat(t);if(Array.isArray(t)&&ur(t[0])&&ur(e))return[e,...t];if(Array.isArray(t))return t}function Wh({extend:e,...t}){return sr(t,e,(n,r)=>!gt(n)&&!r.some(gt)?sr({},n,...r,ya):(i,u)=>sr({},...[n,...r].map(o=>Lh(o,i,u)),ya))}function*$h(e){let t=(0,va.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,r=e.match(n);if(r!==null){let[,i,u]=r,o=(0,va.toPath)(i);o.alpha=u,yield o}}function qh(e){let t=(n,r)=>{for(let i of $h(n)){let u=0,o=e;for(;o!=null&&u<i.length;)o=o[i[u++]],o=gt(o)&&(i.alpha===void 0||u<=i.length-1)?o(t,eo):o;if(o!==void 0){if(i.alpha!==void 0){let s=(0,Bh.parseColorFormat)(o);return(0,Rh.withAlphaValue)(s,i.alpha,(0,Ih.default)(s))}return(0,Ah.default)(o)?(0,Ph.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...eo}),Object.keys(e).reduce((n,r)=>(n[r]=gt(e[r])?e[r](t,eo):e[r],n),{})}function Fa(e){let t=[];return e.forEach(n=>{t=[...t,n];var r;let i=(r=n==null?void 0:n.plugins)!==null&&r!==void 0?r:[];i.length!==0&&i.forEach(u=>{u.__isOptionsFunction&&(u=u());var o;t=[...t,...Fa([(o=u==null?void 0:u.config)!==null&&o!==void 0?o:{}])]})}),t}function Uh(e){return[...e].reduceRight((n,r)=>gt(r)?r({corePlugins:n}):(0,Sh.default)(r,n),_h.default)}function zh(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function Gh(e){let t=[...Fa(e),{prefix:"",important:!1,separator:":",variantOrder:kh.default.variantOrder}];var n,r;return(0,Oh.normalizeConfig)((0,xa.defaults)({theme:qh(Wh(Nh(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:Uh(t.map(i=>i.corePlugins)),plugins:zh(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var Ea={};fn(Ea,{default:()=>jh});var jh,Ca=yr(()=>{c();jh={yellow:e=>e}});var Ta=P(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});function Hh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Hh(ro,{flagEnabled:()=>Xh,issueFlagNotices:()=>Qh,default:()=>Kh});var Vh=ka((Ca(),xr(Ea))),Yh=ka((Mr(),xr(Lr)));function ka(e){return e&&e.__esModule?e:{default:e}}var _a={optimizeUniversalDefaults:!1},ar={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function Xh(e,t){if(ar.future.includes(t)){var n,r,i;return e.future==="all"||((i=(r=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:_a[t])!==null&&i!==void 0?i:!1)}if(ar.experimental.includes(t)){var u,o,s;return e.experimental==="all"||((s=(o=e==null||(u=e.experimental)===null||u===void 0?void 0:u[t])!==null&&o!==void 0?o:_a[t])!==null&&s!==void 0?s:!1)}return!1}function Sa(e){if(e.experimental==="all")return ar.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>ar.experimental.includes(n)&&e.experimental[n])}function Qh(e){if(process.env.JEST_WORKER_ID===void 0&&Sa(e).length>0){let t=Sa(e).map(n=>Vh.default.yellow(n)).join(", ");Yh.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var Kh=ar});var Aa=P(no=>{"use strict";c();Object.defineProperty(no,"__esModule",{value:!0});Object.defineProperty(no,"default",{enumerable:!0,get:()=>Oa});var Jh=eD(Wn()),Zh=Ta();function eD(e){return e&&e.__esModule?e:{default:e}}function Oa(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[Jh.default]).slice().reverse().flatMap(u=>Oa(typeof u=="function"?u():u)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(u=>(0,Zh.flagEnabled)(e,u)).map(u=>r[u]);return[e,...i,...n]}});var Ba=P(io=>{"use strict";c();Object.defineProperty(io,"__esModule",{value:!0});Object.defineProperty(io,"default",{enumerable:!0,get:()=>nD});var tD=Pa(wa()),rD=Pa(Aa());function Pa(e){return e&&e.__esModule?e:{default:e}}function nD(...e){let[,...t]=(0,rD.default)(e[0]);return(0,tD.default)([...e,...t])}});var Ia=P((Gg,Ra)=>{c();var oo=Ba();Ra.exports=(oo.__esModule?oo:{default:oo}).default});c();c();c();var pt;function vl(e){pt=e}var Ft=null;async function Ne(){return pt||(Ft?(await Ft,pt):(Ft=Promise.resolve().then(()=>(Ro(),Bo)).then(e=>e.getYogaModule()).then(e=>pt=e),await Ft,Ft=null,pt))}c();c();c();var wt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yl=wt((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),xl=wt((e,t)=>{t.exports=["deg","grad","rad","turn"]}),Fl=wt((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),wl=wt((e,t)=>{t.exports=["Hz","kHz"]}),El=wt((e,t)=>{t.exports=["s","ms"]}),Cl=yl(),Io=xl(),Lo=Fl(),Mo=wl(),No=El();function dn(e){if(/\.\D?$/.test(e))throw new Error("The dot should be followed by a number");if(/^[+-]{2}/.test(e))throw new Error("Only one leading +/- is allowed");if(_l(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=cn(e),this.unit="%";return}var t=kl(e);if(!t){this.type="number",this.value=cn(e);return}this.type=Ol(t),this.value=cn(e.substr(0,e.length-t.length)),this.unit=t}dn.prototype.valueOf=function(){return this.value};dn.prototype.toString=function(){return this.value+(this.unit||"")};function Ve(e){return new dn(e)}function _l(e){var t=e.match(/\./g);return t?t.length:0}function cn(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var Sl=[].concat(Io,Mo,Cl,Lo,No);function kl(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&Sl.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var Tl=Object.assign(Fr(Io,"angle"),Fr(Mo,"frequency"),Fr(Lo,"resolution"),Fr(No,"time"));function Fr(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function Ol(e){return Tl[e]||"length"}import Al from"linebreak";function wr(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function Wo(e){return/^class\s/.test(e.toString())}function $o(e){return"dangerouslySetInnerHTML"in e}function qo(e){let t=typeof e>"u"?[]:[].concat(e).flat(1/0),n=[];for(let r=0;r<t.length;r++){let i=t[r];typeof i>"u"||typeof i=="boolean"||i===null||(typeof i=="number"&&(i=String(i)),typeof i=="string"&&n.length&&typeof n[n.length-1]=="string"?n[n.length-1]+=i:n.push(i))}return n}function H(e,t,n,r,i=!1){if(typeof e=="number")return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;if(e===String(+e))return+e;let u=new Ve(e);if(u.type==="length")switch(u.unit){case"em":return u.value*t;case"rem":return u.value*16;case"vw":return~~(u.value*r._viewportWidth/100);case"vh":return~~(u.value*r._viewportHeight/100);default:return u.value}else if(u.type==="angle")switch(u.unit){case"deg":return u.value;case"rad":return u.value*180/Math.PI;default:return u.value}else if(u.type==="percentage"&&i)return u.value/100*n}catch{}}function Et(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function ge(e,t,n,r){let i=t[e];if(typeof i>"u"){if(r&&typeof e<"u")throw new Error(`Invalid value for CSS property "${r}". Allowed values: ${Object.keys(t).map(u=>`"${u}"`).join(" | ")}. Received: "${e}".`);i=n}return i}var pn,hn,Uo=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function me(e,t,n){if(!pn||!hn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");pn=new Intl.Segmenter(n,{granularity:"word"}),hn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...hn.segment(e)].map(r=>r.segment);{let r=[...pn.segment(e)].map(o=>o.segment),i=[],u=0;for(;u<r.length;){let o=r[u];if(o=="\xA0"){let s=u===0?"":i.pop(),a=u===r.length-1?"":r[u+1];i.push(s+"\xA0"+a),u+=2}else i.push(o),u++}return i}}function T(e,t,n){let r="";for(let[i,u]of Object.entries(t))typeof u<"u"&&(r+=` ${i}="${u}"`);return n?`<${e}${r}>${n}</${e}>`:`<${e}${r}/>`}function zo(e=20){let t=new Map;function n(i,u){if(t.size>=e){let o=t.keys().next().value;t.delete(o)}t.set(i,u)}function r(i){if(!t.has(i))return;let o=t.get(i);return t.delete(i),t.set(i,o),o}return{set:n,get:r}}var Go={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space",xmlnsXlink:"xmlns:xlink"},Pl=/[\r\n%#()<>?[\\\]^`{|}"']/g;function Dn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(s=>Dn(s,t)).join("");if(typeof e!="object")return String(e);let n=e.type;if(n==="text")throw new Error("<text> nodes are not currently supported, please convert them to <path>");let{children:r,style:i,...u}=e.props||{},o=(i==null?void 0:i.color)||t;return`<${n}${Object.entries(u).map(([s,a])=>(typeof a=="string"&&a.toLowerCase()==="currentcolor"&&(a=o),` ${Go[s]||s}="${a}"`)).join("")}>${Dn(r,o)}</${n}>`}function Ct(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function jo(e,t){let{viewBox:n,viewbox:r,width:i,height:u,className:o,style:s,children:a,...l}=e.props||{};n||=r,l.xmlns="http://www.w3.org/2000/svg";let f=(s==null?void 0:s.color)||t,d=Ct(n),h=d?d[3]/d[2]:null;return i=i||h&&u?u/h:null,u=u||h&&i?i*h:null,l.width=i,l.height=u,n&&(l.viewBox=n),`data:image/svg+xml;utf8,${`<svg ${Object.entries(l).map(([D,p])=>(typeof p=="string"&&p.toLowerCase()==="currentcolor"&&(p=f),` ${Go[D]||D}="${p}"`)).join("")}>${Dn(a,f)}</svg>`.replace(Pl,encodeURIComponent)}`}function Bl(e){return Object.prototype.toString.call(e)}function Ho(e){return typeof e=="string"}function Vo(e){return Bl(e)==="[object Undefined]"}function Yo(e,t){if(t==="break-all")return{words:me(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:me(e,"word"),requiredBreaks:[]};let n=new Al(e),r=0,i=n.nextBreak(),u=[],o=[!1];for(;i;){let s=e.slice(r,i.position);u.push(s),i.required?o.push(!0):o.push(!1),r=i.position,i=n.nextBreak()}return{words:u,requiredBreaks:o}}c();c();var Ce="flex",Xo={p:{display:Ce,marginTop:"1em",marginBottom:"1em"},div:{display:Ce},blockquote:{display:Ce,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:Ce,textAlign:"center"},hr:{display:Ce,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:Ce,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:Ce,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:Ce,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:Ce,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:Ce,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:Ce,fontSize:"0.67em",marginTop:"2.33em",marginBottom:"2.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},u:{textDecoration:"underline"},strong:{fontWeight:"bold"},b:{fontWeight:"bold"},i:{fontStyle:"italic"},em:{fontStyle:"italic"},code:{fontFamily:"monospace"},kbd:{fontFamily:"monospace"},pre:{display:Ce,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}};c();var Rl=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function mn(e){let t={};for(let n in e)Rl.has(n)&&(t[n]=e[n]);return t}c();import{getPropertyName as Ml,getStylesForProperty as Ye}from"css-to-react-native";import{parseElementStyle as Nl}from"css-background-parser";import{parse as Wl}from"css-box-shadow";import $l from"parse-css-color";c();import Il from"postcss-value-parser";function Ll(e,t){try{let n=new Ve(e);switch(n.unit){case"px":return{absolute:n.value};case"em":return{absolute:n.value*t};case"rem":return{absolute:n.value*16};case"%":return{relative:n.value};default:return{}}}catch{return{}}}function gn(e,t,n){switch(e){case"top":return{yRelative:0};case"left":return{xRelative:0};case"right":return{xRelative:100};case"bottom":return{yRelative:100};case"center":return{};default:{let r=Ll(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function bn(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=Il(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?gn(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...gn(n[0],t,!0),...gn(n[1],t,!1)}):{}}var ql=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),Ul=new Set(["lineHeight"]);function zl(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function _t(e,t){return typeof t=="number"?ql.has(e)?Ul.has(e)?t:String(t):t+"px":t}function Gl(e,t,n){if(e==="lineHeight")return{lineHeight:_t(e,t)};if(e==="fontFamily")return{fontFamily:t.split(",").map(r=>r.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if(e==="borderRadius"){if(typeof t!="string"||!t.includes("/"))return;let[r,i]=t.split("/"),u=Ye(e,r,!0),o=Ye(e,i,!0);for(let s in u)o[s]=_t(e,u[s])+" "+_t(e,o[s]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=Ye("border",t,!0);r.borderWidth===1&&!String(t).includes("1px")&&(r.borderWidth=3),r.borderColor==="black"&&!String(t).includes("black")&&(r.borderColor=n);let i={Width:_t(e+"Width",r.borderWidth),Style:ge(r.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:r.borderColor},u={};for(let o of e==="border"?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let s in i)u["border"+o+s]=i[s];return u}if(e==="boxShadow"){if(!t)throw new Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:typeof t=="string"?Wl(t):t}}if(e==="transform"){if(typeof t!="string")throw new Error("Invalid `transform` value.");let r={},i=t.replace(/(-?[\d.]+%)/g,(o,s)=>{let a=~~(Math.random()*1e9);return r[a]=s,a+"px"}),u=Ye("transform",i,!0);for(let o of u.transform)for(let s in o)r[o[s]]&&(o[s]=r[o[s]]);return u}if(e==="background")return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url)\(/.test(t)?Ye("backgroundImage",t,!0):Ye("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=jl(t),i={};for(let u of r){let o=Ye("textShadow",u,!0);for(let s in o)i[s]?i[s].push(o[s]):i[s]=[o[s]]}return i}}function jl(e){let t=[],n=!1,r=0,i=e.length;for(let u=0;u<i;++u){let o=e[u];o===")"&&(n=!1),!n&&(o==="("&&(n=!0),o===","&&(t.push(e.substring(r,u)),r=u+1))}return t.push(e.substring(r,i)),t.map(u=>u.trim())}function Qo(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var Ko=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function Zo(e){if(typeof e=="string"&&Ko.test(e.trim()))return e.trim().replace(Ko,(t,n,r,i,u)=>`rgba(${n}, ${r}, ${i}, ${u})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=Zo(e[t]);return e}return e}function Er(e,t){let n={};if(e){let i=Vl(e.color,t.color);n.color=i;for(let u in e){if(u.startsWith("_")){n[u]=e[u];continue}if(u==="color")continue;let o=Ml(u),s=Xl(e[u],i);try{let a=Gl(o,s,i)||zl(o,Ye(o,_t(o,s),!0),s,i);Object.assign(n,a)}catch(a){throw new Error(a.message+(a.message.includes(s)?`
|
|
4
|
-
`+
|
|
5
|
-
in CSS rule \`${o}: ${s}\`.${Qo(o)}`))}}}if(n.backgroundImage){let{backgrounds:i}=Nl(n);n.backgroundImage=i}let r=Hl(n.fontSize,t.fontSize);typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=bn(n.transformOrigin,r));for(let i in n){let u=n[i];if(i==="lineHeight")typeof u=="string"&&(u=n[i]=H(u,r,r,t,!0)/r);else{if(typeof u=="string"){let o=H(u,r,r,t);typeof o<"u"&&(n[i]=o),u=n[i]}if(typeof u=="string"||typeof u=="object"){let o=Zo(u);o&&(n[i]=o),u=n[i]}}if(i==="opacity"&&(u=n[i]=u*t.opacity),i==="transform"){let o=u;for(let s of o){let a=Object.keys(s)[0],l=s[a],f=typeof l=="string"?H(l,r,r,t)??l:l;s[a]=f}}}return n}function Hl(e,t){if(typeof e=="number")return e;try{let n=new Ve(e);switch(n.unit){case"em":return n.value*t;case"rem":return n.value*16}}catch{return t}}function Jo(e){if(e.startsWith("hsl")){let t=$l(e),[n,r,i]=t.values;return`hsl(${[n,`${r}%`,`${i}%`].concat(t.alpha===1?[]:[t.alpha]).join(",")})`}return e}function Vl(e,t){return e&&e.toLowerCase()!=="currentcolor"?Jo(e):Jo(t)}function Yl(e,t){return e.replace(/currentcolor/gi,t)}function Xl(e,t){return Ho(e)&&(e=Yl(e,t)),e}c();var Ql="image/avif",Kl="image/webp",Cr="image/png",_r="image/jpeg",Sr="image/gif",yn="image/svg+xml";function nu(e){let t=new DataView(e),n=4,r=t.byteLength;for(;n<r;){let i=t.getUint16(n,!1);if(i>r)throw new TypeError("Invalid JPEG");let u=t.getUint8(i+1+n);if(u===192||u===193||u===194)return[t.getUint16(i+7+n,!1),t.getUint16(i+5+n,!1)];n+=i+2}throw new TypeError("Invalid JPEG")}function iu(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function ou(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var eu=zo(100),vn=new Map,Jl=[Cr,_r,Sr,yn];function Zl(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function ef(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}function tu(e,t){let n=t.match(/<svg[^>]*>/)[0],r=n.match(/viewBox=['"](.+)['"]/),i=r?Ct(r[1]):null,u=n.match(/width=['"](\d*\.\d+|\d+)['"]/),o=n.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!i&&(!u||!o))throw new Error(`Failed to parse SVG from ${e}: missing "viewBox"`);let s=i?[i[2],i[3]]:[+u[1],+o[1]],a=s[0]/s[1];return u&&o?[+u[1],+o[1]]:u?[+u[1],+u[1]/a]:o?[+o[1]*a,+o[1]]:[s[0],s[1]]}function ru(e){let t,n=tf(new Uint8Array(e));switch(n){case Cr:t=ou(e);break;case Sr:t=iu(e);break;case _r:t=nu(e);break}if(!Jl.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${Zl(e)}`,t]}async function kr(e){if(!e)throw new Error("Image source is not provided.");if(typeof e=="object"){let[i,u]=ru(e);return[i,...u]}if((e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),typeof window>"u"&&!e.startsWith("http")&&!e.startsWith("data:"))throw new Error(`Image source must be an absolute URL: ${e}`);if(e.startsWith("data:")){let i;try{i=/data:(?<imageType>[a-z/+]+)(;(?<encodingType>base64|utf8))?,(?<dataString>.*)/g.exec(e).groups}catch{return console.warn("Image data URI resolved without size:"+e),[e]}let{imageType:u,encodingType:o,dataString:s}=i;if(u===yn){let a=o==="base64"?atob(s):decodeURIComponent(s.replace(/ /g,"%20")),l=o==="base64"?e:`data:image/svg+xml;base64,${btoa(a)}`,f=tu(e,a);return[l,...f]}else if(o==="base64"){let a,l=ef(s);switch(u){case Cr:a=ou(l);break;case Sr:a=iu(l);break;case _r:a=nu(l);break}return[e,...a]}else return console.warn("Image data URI resolved without size:"+e),[e]}if(!globalThis.fetch)throw new Error("`fetch` is required to be polyfilled to load images.");if(vn.has(e))return vn.get(e);let t=eu.get(e);if(t)return t;let n=e,r=fetch(n).then(i=>{let u=i.headers.get("content-type");return u==="image/svg+xml"||u==="application/svg+xml"?i.text():i.arrayBuffer()}).then(i=>{if(typeof i=="string")try{let s=`data:image/svg+xml;base64,${btoa(i)}`,a=tu(n,i);return[s,...a]}catch(s){throw new Error(`Failed to parse SVG image: ${s.message}`)}let[u,o]=ru(i);return[u,...o]}).then(i=>(eu.set(n,i),i)).catch(i=>(console.error(`Can't load image ${n}: `+i.message),[]));return vn.set(n,r),r}function tf(e){return[255,216,255].every((t,n)=>e[n]===t)?_r:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Cr:[71,73,70,56].every((t,n)=>e[n]===t)?Sr:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?Kl:[60,63,120,109,108].every((t,n)=>e[n]===t)?yn:[0,0,0,0,102,116,121,112,97,118,105,102].every((t,n)=>!t||e[n]===t)?Ql:null}async function xn(e,t,n,r,i){let u=await Ne(),o={...n,...Er(Xo[t],n),...Er(r,n)};if(t==="img"){let[s,a,l]=await kr(i.src);if(a===void 0&&l===void 0){if(i.width===void 0||i.height===void 0)throw new Error("Image size cannot be determined. Please provide the width and height of the image.");a=parseInt(i.width),l=parseInt(i.height)}let f=l/a,d=(o.borderLeftWidth||0)+(o.borderRightWidth||0)+(o.paddingLeft||0)+(o.paddingRight||0),h=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),D=o.width||i.width,p=o.height||i.height,m=typeof D=="number"&&typeof p=="number";m&&(D-=d,p-=h),D===void 0&&p===void 0?(D="100%",e.setAspectRatio(1/f)):D===void 0?typeof p=="number"?D=p/f:e.setAspectRatio(1/f):p===void 0&&(typeof D=="number"?p=D*f:e.setAspectRatio(1/f)),o.width=m?D+d:D,o.height=m?p+h:p,o.__src=s}if(t==="svg"){let s=i.viewBox||i.viewbox,a=Ct(s),l=a?a[3]/a[2]:null,{width:f,height:d}=i;typeof f>"u"&&d?l==null?f=0:typeof d=="string"&&d.endsWith("%")?f=parseInt(d)/l+"%":(d=H(d,n.fontSize,1,n),f=d/l):typeof d>"u"&&f?l==null?f=0:typeof f=="string"&&f.endsWith("%")?d=parseInt(f)*l+"%":(f=H(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=H(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=H(d,n.fontSize,1,n)||d),f||=a==null?void 0:a[2],d||=a==null?void 0:a[3]),!o.width&&f&&(o.width=f),!o.height&&d&&(o.height=d)}return e.setDisplay(ge(o.display,{flex:u.DISPLAY_FLEX,none:u.DISPLAY_NONE},u.DISPLAY_FLEX,"display")),e.setAlignContent(ge(o.alignContent,{stretch:u.ALIGN_STRETCH,center:u.ALIGN_CENTER,"flex-start":u.ALIGN_FLEX_START,"flex-end":u.ALIGN_FLEX_END,"space-between":u.ALIGN_SPACE_BETWEEN,"space-around":u.ALIGN_SPACE_AROUND,baseline:u.ALIGN_BASELINE,normal:u.ALIGN_AUTO},u.ALIGN_AUTO,"alignContent")),e.setAlignItems(ge(o.alignItems,{stretch:u.ALIGN_STRETCH,center:u.ALIGN_CENTER,"flex-start":u.ALIGN_FLEX_START,"flex-end":u.ALIGN_FLEX_END,baseline:u.ALIGN_BASELINE,normal:u.ALIGN_AUTO},u.ALIGN_STRETCH,"alignItems")),e.setAlignSelf(ge(o.alignSelf,{stretch:u.ALIGN_STRETCH,center:u.ALIGN_CENTER,"flex-start":u.ALIGN_FLEX_START,"flex-end":u.ALIGN_FLEX_END,baseline:u.ALIGN_BASELINE,normal:u.ALIGN_AUTO},u.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(ge(o.justifyContent,{center:u.JUSTIFY_CENTER,"flex-start":u.JUSTIFY_FLEX_START,"flex-end":u.JUSTIFY_FLEX_END,"space-between":u.JUSTIFY_SPACE_BETWEEN,"space-around":u.JUSTIFY_SPACE_AROUND},u.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(ge(o.flexDirection,{row:u.FLEX_DIRECTION_ROW,column:u.FLEX_DIRECTION_COLUMN,"row-reverse":u.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":u.FLEX_DIRECTION_COLUMN_REVERSE},u.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(ge(o.flexWrap,{wrap:u.WRAP_WRAP,nowrap:u.WRAP_NO_WRAP,"wrap-reverse":u.WRAP_WRAP_REVERSE},u.WRAP_NO_WRAP,"flexWrap")),typeof o.gap<"u"&&e.setGap(u.GUTTER_ALL,o.gap),typeof o.rowGap<"u"&&e.setGap(u.GUTTER_ROW,o.rowGap),typeof o.columnGap<"u"&&e.setGap(u.GUTTER_COLUMN,o.columnGap),typeof o.flexBasis<"u"&&e.setFlexBasis(o.flexBasis),e.setFlexGrow(typeof o.flexGrow>"u"?0:o.flexGrow),e.setFlexShrink(typeof o.flexShrink>"u"?0:o.flexShrink),typeof o.maxHeight<"u"&&e.setMaxHeight(o.maxHeight),typeof o.maxWidth<"u"&&e.setMaxWidth(o.maxWidth),typeof o.minHeight<"u"&&e.setMinHeight(o.minHeight),typeof o.minWidth<"u"&&e.setMinWidth(o.minWidth),e.setOverflow(ge(o.overflow,{visible:u.OVERFLOW_VISIBLE,hidden:u.OVERFLOW_HIDDEN},u.OVERFLOW_VISIBLE,"overflow")),e.setMargin(u.EDGE_TOP,o.marginTop||0),e.setMargin(u.EDGE_BOTTOM,o.marginBottom||0),e.setMargin(u.EDGE_LEFT,o.marginLeft||0),e.setMargin(u.EDGE_RIGHT,o.marginRight||0),e.setBorder(u.EDGE_TOP,o.borderTopWidth||0),e.setBorder(u.EDGE_BOTTOM,o.borderBottomWidth||0),e.setBorder(u.EDGE_LEFT,o.borderLeftWidth||0),e.setBorder(u.EDGE_RIGHT,o.borderRightWidth||0),e.setPadding(u.EDGE_TOP,o.paddingTop||0),e.setPadding(u.EDGE_BOTTOM,o.paddingBottom||0),e.setPadding(u.EDGE_LEFT,o.paddingLeft||0),e.setPadding(u.EDGE_RIGHT,o.paddingRight||0),e.setPositionType(ge(o.position,{absolute:u.POSITION_TYPE_ABSOLUTE,relative:u.POSITION_TYPE_RELATIVE},u.POSITION_TYPE_RELATIVE,"position")),typeof o.top<"u"&&e.setPosition(u.EDGE_TOP,o.top),typeof o.bottom<"u"&&e.setPosition(u.EDGE_BOTTOM,o.bottom),typeof o.left<"u"&&e.setPosition(u.EDGE_LEFT,o.left),typeof o.right<"u"&&e.setPosition(u.EDGE_RIGHT,o.right),typeof o.height<"u"?e.setHeight(o.height):e.setHeightAuto(),typeof o.width<"u"?e.setWidth(o.width):e.setWidthAuto(),[o,mn(o)]}c();c();c();var uu=[1,0,0,1,0,0];function rf(e,t,n){let r=[...uu];for(let i of e){let u=Object.keys(i)[0],o=i[u];if(typeof o=="string")if(u==="translateX")o=parseFloat(o)/100*t,i[u]=o;else if(u==="translateY")o=parseFloat(o)/100*n,i[u]=o;else throw new Error(`Invalid transform: "${u}: ${o}".`);let s=o,a=[...uu];switch(u){case"translateX":a[4]=s;break;case"translateY":a[5]=s;break;case"scale":a[0]=s,a[3]=s;break;case"scaleX":a[0]=s;break;case"scaleY":a[3]=s;break;case"rotate":{let l=s*Math.PI/180,f=Math.cos(l),d=Math.sin(l);a[0]=f,a[1]=d,a[2]=-d,a[3]=f;break}case"skewX":a[2]=Math.tan(s*Math.PI/180);break;case"skewY":a[1]=Math.tan(s*Math.PI/180);break}r=Et(a,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function St({left:e,top:t,width:n,height:r},i,u,o){let s;i.__resolved||rf(i,n,r);let a=i;if(u)s=a;else{let l=(o==null?void 0:o.xAbsolute)??((o==null?void 0:o.xRelative)??50)*n/100,f=(o==null?void 0:o.yAbsolute)??((o==null?void 0:o.yRelative)??50)*r/100,d=e+l,h=t+f;s=Et([1,0,0,1,d,h],Et(a,[1,0,0,1,-d,-h])),a.__parent&&(s=Et(a.__parent,s)),a.splice(0,6,...s)}return`matrix(${s.map(l=>l.toFixed(2)).join(",")})`}function su({left:e,top:t,width:n,height:r,isInheritingTransform:i},u){let o="",s=1;return u.transform&&(o=St({left:e,top:t,width:n,height:r},u.transform,i,u.transformOrigin)),u.opacity!==void 0&&(s=+u.opacity),{matrix:o,opacity:s}}function Fn({id:e,content:t,filter:n,left:r,top:i,width:u,height:o,matrix:s,opacity:a,image:l,clipPathId:f,debug:d,shape:h,decorationShape:D},p){let m="";if(d&&(m=T("rect",{x:r,y:i-o,width:u,height:o,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0})),l){let b={href:l,x:r,y:i,width:u,height:o,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+T("image",{...b,opacity:a!==1?a:void 0})+(D||"")+(n?"</g>":"")+m,""]}let F={x:r,y:i,width:u,height:o,"font-weight":p.fontWeight,"font-style":p.fontStyle,"font-size":p.fontSize,"font-family":p.fontFamily,"letter-spacing":p.letterSpacing||void 0,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+T("text",{...F,fill:p.color,opacity:a!==1?a:void 0},t)+(D||"")+(n?"</g>":"")+m,h?T("text",F,t):""]}c();function nf(e,t,n){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(r,i,u,o){return i+(parseFloat(u)+t)+","+(parseFloat(o)+n)})}var Tr=1.1;function au({id:e,width:t,height:n},r){if(!r.shadowColor||!r.shadowOffset||typeof r.shadowRadius>"u")return"";let i=r.shadowColor.length,u="",o="",s=0,a=t,l=0,f=n;for(let d=0;d<i;d++){let h=r.shadowRadius[d]*r.shadowRadius[d]/4;s=Math.min(r.shadowOffset[d].width-h,s),a=Math.max(r.shadowOffset[d].width+h+t,a),l=Math.min(r.shadowOffset[d].height-h,l),f=Math.max(r.shadowOffset[d].height+h+n,f),u+=T("feDropShadow",{dx:r.shadowOffset[d].width,dy:r.shadowOffset[d].height,stdDeviation:r.shadowRadius[d]/2,"flood-color":r.shadowColor[d],"flood-opacity":1,...i>1?{in:"SourceGraphic",result:`satori_s-${e}-result-${d}`}:{}}),i>1&&(o=T("feMergeNode",{in:`satori_s-${e}-result-${d}`})+o)}return T("filter",{id:`satori_s-${e}`,x:(s/t*100*Tr).toFixed(2)+"%",y:(l/n*100*Tr).toFixed(2)+"%",width:((a-s)/t*100*Tr).toFixed(2)+"%",height:((f-l)/n*100*Tr).toFixed(2)+"%"},u+(o?T("feMerge",{},o):""))}function lu({width:e,height:t,shape:n,opacity:r,id:i},u){if(!u.boxShadow)return null;let o="",s="";for(let a=u.boxShadow.length-1;a>=0;a--){let l="",f=u.boxShadow[a];f.spreadRadius&&f.inset&&(f.spreadRadius=-f.spreadRadius);let d=f.blurRadius*f.blurRadius/4+(f.spreadRadius||0),h=Math.min(-d-(f.inset?f.offsetX:0),0),D=Math.max(d+e-(f.inset?f.offsetX:0),e),p=Math.min(-d-(f.inset?f.offsetY:0),0),m=Math.max(d+t-(f.inset?f.offsetY:0),t),F=`satori_s-${i}-${a}`,b=`satori_ms-${i}-${a}`,v=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=T("mask",{id:b,maskUnits:"userSpaceOnUse"},T("rect",{x:0,y:0,width:u._viewportWidth||"100%",height:u._viewportHeight||"100%",fill:f.inset?"#000":"#fff"})+v.replace('fill="#fff"',f.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let w=v.replace(/d="([^"]+)"/,(E,C)=>'d="'+nf(C,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(E,C)=>'x="'+(parseFloat(C)+f.offsetX)+'"').replace(/y="([^"]+)"/,(E,C)=>'y="'+(parseFloat(C)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=T("mask",{id:b+"-neg",maskUnits:"userSpaceOnUse"},w.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(w=T("g",{mask:`url(#${b}-neg)`},w)),l+=T("defs",{},T("filter",{id:F,x:`${h/e*100}%`,y:`${p/t*100}%`,width:`${(D-h)/e*100}%`,height:`${(m-p)/t*100}%`},T("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+T("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+T("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+T("g",{mask:`url(#${b})`,filter:`url(#${F})`,opacity:r},w),f.inset?s+=l:o+=l}return[o,s]}c();function wn({width:e,left:t,top:n,ascender:r,clipPathId:i},u){let{textDecorationColor:o,textDecorationStyle:s,textDecorationLine:a,fontSize:l}=u;if(!a||a==="none")return"";let f=Math.max(1,l*.1),d=a==="line-through"?n+r*.5:a==="underline"?n+r*1.1:n,h=s==="dashed"?`${f*1.2} ${f*2}`:s==="dotted"?`0 ${f*2}`:void 0;return T("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:o,"stroke-width":f,"stroke-dasharray":h,"stroke-linecap":s==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}async function*En(e,t){var Oo;let n=await Ne(),{parentStyle:r,inheritedStyle:i,parent:u,font:o,id:s,isInheritingTransform:a,debug:l,embedFont:f,graphemeImages:d,locale:h,canLoadAdditionalAssets:D}=t,{textAlign:p,textOverflow:m,whiteSpace:F,wordBreak:b,lineHeight:v,textTransform:w,textWrap:E,fontSize:C,filter:R,_inheritedBackgroundClipTextPath:I}=r;e=of(e,w,h);let{content:M,shouldCollapseWhitespace:X,allowSoftWrap:Z}=sf(e,F),{words:ie,requiredBreaks:z,allowBreakWord:N}=uf(M,b),ee=af(n,p);u.insertChild(ee,u.getChildCount()),Vo(r.flexShrink)&&u.setFlexShrink(1);let V=o.getEngine(C,v,r,h),de=D?me(e,"grapheme").filter(q=>!V.has(q)):[];yield de.map(q=>({word:q,locale:h})),de.length&&(V=o.getEngine(C,v,r,h));let we=lf(V,r);function oe(q){return!!(d&&d[q])}function te(q){let U=0;for(let W of q)oe(W)?U+=C:U+=we(W);return U}let Ie=q=>{if(q.length===0)return{originWidth:0,endingSpacesWidth:0};let U=te(me(q,"grapheme")),W=q.trimEnd()===q?U:te(me(q.trimEnd(),"grapheme"));return{originWidth:U,endingSpacesWidth:U-W}},A=[],B=[],$=[],L=[],ue=[];function xe(q){let U=0,W=0,Fe=0,he=-1,De=0,se=0,le=0;A=[],$=[0],L=[],ue=[];let Me=0;for(;Me<ie.length;){let Q=ie[Me],et=z[Me],Ee=0,je=0,{originWidth:xt,endingSpacesWidth:tt}=Ie(Q);Ee=xt,je=tt,et&&se===0&&(se=V.height(Q));let fe=",.!?:-@)>]}%#".indexOf(Q[0])<0,pe=!W,He=Me&&fe&&W+Ee>q+je&&Z;if(N&&Ee>q&&(!W||He||et)){let rt=me(Q,"grapheme");ie.splice(Me,1,...rt),W>0&&(A.push(W),B.push(le),U++,De+=se,W=0,se=0,le=0,$.push(1),he=-1);continue}if(et||He)X&&Q===" "&&(Ee=0),A.push(W),B.push(le),U++,De+=se,W=Ee,se=Ee?V.height(Q):0,le=Ee?V.baseline(Q):0,$.push(1),he=-1,et||(Fe=Math.max(Fe,q));else{W+=Ee;let rt=V.height(Q);rt>se&&(se=rt,le=V.baseline(Q)),pe&&$[$.length-1]++}pe&&he++,Fe=Math.max(Fe,W);let dt=W-Ee;if(Ee===0)ue.push({y:De,x:dt,width:0,line:U,lineIndex:he,isImage:!1});else{let rt=me(Q,"word");for(let an=0;an<rt.length;an++){let ln=rt[an],br=0,Ao=!1;oe(ln)?(br=C,Ao=!0):br=we(ln),L.push(ln),ue.push({y:De,x:dt,width:br,line:U,lineIndex:he,isImage:Ao}),dt+=br}}Me++}return W&&(U++,A.push(W),B.push(le),De+=se),{width:Fe,height:De}}let Ue={width:0,height:0};ee.setMeasureFunc(q=>{let{width:U,height:W}=xe(q);if(E==="balance"){let Fe=U/2,he=U,De=U;for(;Fe+1<he;){De=(Fe+he)/2;let{height:se}=xe(De);se>W?Fe=De:he=De}return xe(he),Ue={width:he,height:W},{width:he,height:W}}return Ue={width:U,height:W},{width:U,height:W}});let[al,ll]=yield,rn="",hr="",ze=i._inheritedClipPathId,Eo=i._inheritedMaskId,{left:Co,top:_o,width:nn,height:fl}=ee.getComputedLayout(),on=u.getComputedWidth()-u.getComputedPadding(n.EDGE_LEFT)-u.getComputedPadding(n.EDGE_RIGHT)-u.getComputedBorder(n.EDGE_LEFT)-u.getComputedBorder(n.EDGE_RIGHT),lt=al+Co,ft=ll+_o,{matrix:Le,opacity:Dr}=su({left:Co,top:_o,width:nn,height:fl,isInheritingTransform:a},r),ct="";if(r.textShadowOffset){let{textShadowColor:q,textShadowOffset:U,textShadowRadius:W}=r;Array.isArray(r.textShadowOffset)||(q=[q],U=[U],W=[W]),ct=au({width:Ue.width,height:Ue.height,id:s},{shadowColor:q,shadowOffset:U,shadowRadius:W}),ct=T("defs",{},ct)}let yt="",mr="",So="",un=-1,ko=m==="ellipsis"?te(["\u2026"]):0,cl=m==="ellipsis"?te([" "]):0,gr={},Ge=null,To=0;for(let q=0;q<L.length;q++){let U=ue[q];if(!U)continue;let W=L[q],Fe=null,he=!1,De=d?d[W]:null,se=U.y,le=U.x,Me=U.width,Q=U.line;if(Q===un)continue;let et=!1;if(A.length>1){let fe=nn-A[Q];if(p==="right"||p==="end")le+=fe;else if(p==="center")le+=fe/2;else if(p==="justify"&&Q<A.length-1){let pe=$[Q];le+=(pe>1?fe/(pe-1):0)*U.lineIndex,et=!0}}if(gr[Q]||(gr[Q]=[le,et?nn:A[Q]]),m==="ellipsis"&&A[Q]>on&&U.x+Me+ko+cl>on){let fe=me(W,"grapheme",h),pe="",He=0;for(let sn of fe){let dt=U.x+te([pe+sn]);if(pe&&dt+ko>on)break;pe+=sn,He=dt}W=pe+"\u2026",un=Q,gr[Q][1]=He,he=!0}let Ee=B[Q],je=V.baseline(W),xt=V.height(W),tt=Ee-je;if(De)se+=0;else if(f){if(!Uo.includes(W)&&L[q+1]&&ue[q+1]&&!ue[q+1].isImage&&se===ue[q+1].y&&!he){Ge===null&&(To=le),Ge=Ge===null?W:Ge+W;continue}let fe=Ge===null?W:Ge+W,pe=Ge===null?le:To,He=U.width+le-pe;Fe=V.getSVG(fe,{...r,left:lt+pe,top:ft+se+je+tt,letterSpacing:r.letterSpacing}),Ge=null,l&&(So+=T("rect",{x:lt+pe,y:ft+se+tt,width:He,height:xt,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Le||void 0,"clip-path":ze?`url(#${ze})`:void 0})+T("line",{x1:lt+le,x2:lt+le+U.width,y1:ft+se+tt+je,y2:ft+se+tt+je,stroke:"#14c000","stroke-width":1,transform:Le||void 0,"clip-path":ze?`url(#${ze})`:void 0}))}else se+=je+tt;if(r.textDecorationLine&&(Q!==((Oo=ue[q+1])==null?void 0:Oo.line)||un===Q)){let fe=gr[Q];fe&&!fe[2]&&(yt+=wn({left:lt+fe[0],top:ft+xt*+Q,width:fe[1],ascender:V.baseline(W),clipPathId:ze},r),fe[2]=1)}if(Fe!==null)mr+=Fe+" ";else{let[fe,pe]=Fn({content:W,filter:ct,id:s,left:lt+le,top:ft+se,width:Me,height:xt,matrix:Le,opacity:Dr,image:De,clipPathId:ze,debug:l,shape:!!I,decorationShape:yt},r);rn+=fe,hr+=pe,yt=""}}if(mr){let q=r.color!=="transparent"&&Dr!==0?T("path",{fill:r.color,d:mr,transform:Le||void 0,opacity:Dr!==1?Dr:void 0,"clip-path":ze?`url(#${ze})`:void 0,mask:Eo?`url(#${Eo})`:void 0,style:R?`filter:${R}`:void 0}):"";I&&(hr=T("path",{d:mr,transform:Le||void 0})),rn+=(ct?ct+T("g",{filter:`url(#satori_s-${s})`},q+yt):q+yt)+So}return hr&&(r._inheritedBackgroundClipTextPath.value+=hr),rn}function of(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=me(e,"word",n).map(r=>me(r,"grapheme",n).map((i,u)=>u===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function uf(e,t){let n=["break-all","break-word"].includes(t),{words:r,requiredBreaks:i}=Yo(e,t);return{words:r,requiredBreaks:i,allowBreakWord:n}}function sf(e,t){let n=["pre","pre-wrap","pre-line"].includes(t),r=!["pre","pre-wrap"].includes(t),i=!["pre","nowrap"].includes(t);return n||(e=e.replace(/\n/g," ")),r&&(e=e.replace(/[ ]+/g," "),e=e.trim()),{content:e,shouldCollapseWhitespace:r,allowSoftWrap:i}}function af(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(ge(t,{left:e.JUSTIFY_FLEX_START,right:e.JUSTIFY_FLEX_END,center:e.JUSTIFY_CENTER,justify:e.JUSTIFY_SPACE_BETWEEN,start:e.JUSTIFY_FLEX_START,end:e.JUSTIFY_FLEX_END},e.JUSTIFY_FLEX_START,"textAlign")),n}function lf(e,t){let n=new Map;return function(i){if(n.has(i))return n.get(i);let u=e.measure(i,t);return n.set(i,u),u}}c();c();c();var Cn=Cn||{},fu={type:"directional",value:"bottom"};Cn.parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emLikeValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))(r?em|vw|vh)/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,zeroValue:/[0]/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(A){var B=new Error(t+": "+A);throw B.source=t,B}function r(){var A=i();return t.length>0&&n("Invalid input not EOF"),A}function i(){return R(u)}function u(){return s("linear-gradient",e.linearGradient,l,fu)||s("repeating-linear-gradient",e.repeatingLinearGradient,l,fu)||s("radial-gradient",e.radialGradient,D)||s("repeating-radial-gradient",e.repeatingRadialGradient,D)}function o(A={}){var $,L,ue,xe;let B={...A};return Object.assign(B,{style:(B.style||[]).length>0?B.style:[{type:"extent-keyword",value:"farthest-corner"}],at:{type:"position",value:{x:{type:"position-keyword",value:"center",...((L=($=B.at)==null?void 0:$.value)==null?void 0:L.x)||{}},y:{type:"position-keyword",value:"center",...((xe=(ue=B.at)==null?void 0:ue.value)==null?void 0:xe.y)||{}}}}}),A.value||Object.assign(B,{type:"shape",value:B.style.some(Ue=>["%","extent-keyword"].includes(Ue.type))?"ellipse":"circle"}),B}function s(A,B,$,L){return a(B,function(ue){var xe=$();return xe?te(e.comma)||n("Missing comma before color stops"):xe=L,{type:A,orientation:A.endsWith("radial-gradient")?(xe==null?void 0:xe.map(Ue=>o(Ue)))??[o()]:xe,colorStops:R(I)}})}function a(A,B){var $=te(A);if($){te(e.startCall)||n("Missing (");var L=B($);return te(e.endCall)||n("Missing )"),L}}function l(){return f()||d()||h()}function f(){return oe("directional",e.sideOrCorner,1)}function d(){return oe("angular",e.angleValue,1)}function h(){return oe("directional",e.zeroValue,0)}function D(){var A,B=p(),$;return B&&(A=[],A.push(B),$=t,te(e.comma)&&(B=p(),B?A.push(B):t=$)),A}function p(){let A=m(),B=w();if(!(!A&&!B))return{...A,at:B}}function m(){let A=F()||b(),B=v()||de()||ee(),$=oe("%",e.percentageValue,1);if(A)return{...A,style:[B,$].filter(L=>L)};if(B)return{style:[B,$].filter(L=>L),...F()||b()}}function F(){return oe("shape",/^(circle)/i,0)}function b(){return oe("shape",/^(ellipse)/i,0)}function v(){return oe("extent-keyword",e.extentKeywords,1)}function w(){if(oe("position",/^at/,0)){var A=E();return A||n("Missing positioning value"),A}}function E(){var A=C();if(A.x||A.y)return{type:"position",value:A}}function C(){return{x:ee(),y:ee()}}function R(A){var B=A(),$=[];if(B)for($.push(B);te(e.comma);)B=A(),B?$.push(B):n("One extra comma");return $}function I(){var A=M();return A||n("Expected color definition"),A.length=ee(),A}function M(){return Z()||z()||ie()||X()}function X(){return oe("literal",e.literalColor,0)}function Z(){return oe("hex",e.hexColor,1)}function ie(){return a(e.rgbColor,function(){return{type:"rgb",value:R(N)}})}function z(){return a(e.rgbaColor,function(){return{type:"rgba",value:R(N)}})}function N(){return te(e.number)[1]}function ee(){return oe("%",e.percentageValue,1)||V()||de()}function V(){return oe("position-keyword",e.positionKeywords,1)}function de(){return oe("px",e.pixelValue,1)||we(e.emLikeValue,1)}function we(A,B){var $=te(A);if($)return{type:$[5],value:$[B]}}function oe(A,B,$){var L=te(B);if(L)return{type:A,value:L[$]}}function te(A){var B,$;return $=/^[\n\r\t\s]+/.exec(t),$&&Ie($[0].length),B=A.exec(t),B&&Ie(B[0].length),B}function Ie(A){t=t.substr(A)}return function(A){return t=A.toString(),r()}}();var _n=Cn;function ff(e){return e.type==="literal"?e.value:e.type==="hex"?`#${e.value}`:e.type==="rgb"?`rgb(${e.value.join(",")})`:e.type==="rgba"?`rgba(${e.value.join(",")})`:"transparent"}function cf(e){let t=0,n=0,r=0,i=0;return e.includes("top")?n=1:e.includes("bottom")&&(i=1),e.includes("left")?t=1:e.includes("right")&&(r=1),!t&&!r&&!n&&!i&&(n=1),[t,n,r,i]}function df(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function Sn(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(u=>{try{let o=new Ve(u);return o.type==="length"||o.type==="number"?o.value:o.value+o.unit}catch{return null}}).filter(u=>u!==null):[r,i]).map((u,o)=>df(u,[t,n][o]))}function cu(e,t){let n=[];for(let o of t){let s=ff(o);if(!n.length&&(n.push({offset:0,color:s}),typeof o.length>"u"||o.length.value==="0"))continue;let a=typeof o.length>"u"?void 0:o.length.type==="%"?o.length.value/100:o.length.value/e;n.push({offset:a,color:s})}n.length||n.push({offset:0,color:"transparent"});let r=n[n.length-1];r.offset!==1&&(typeof r.offset>"u"?r.offset=1:n.push({offset:1,color:r.color}));let i=0,u=1;for(let o=0;o<n.length;o++)if(typeof n[o].offset>"u"){for(u<o&&(u=o);typeof n[u].offset>"u";)u++;n[o].offset=(n[u].offset-n[i].offset)/(u-i)*(o-i)+n[i].offset}else i=o;return n}async function kn({id:e,width:t,height:n,left:r,top:i},{image:u,size:o,position:s,repeat:a},l){a=a||"repeat";let f=a==="repeat-x"||a==="repeat",d=a==="repeat-y"||a==="repeat",h=Sn(o,{x:t,y:n,defaultX:t,defaultY:n}),D=Sn(s,{x:t,y:n,defaultX:0,defaultY:0});if(u.startsWith("linear-gradient(")){let p=_n.parse(u)[0],[m,F]=h,b,v,w,E,C;if(p.orientation.type==="directional")[b,v,w,E]=cf(p.orientation.value),C=Math.sqrt(Math.pow((w-b)*m,2)+Math.pow((E-v)*F,2));else if(p.orientation.type==="angular"){let z=function(N){if(N=(N%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs(N-Math.PI/2)<1e-6){b=0,v=0,w=1,E=0,C=m;return}else if(Math.abs(N)<1e-6){b=0,v=1,w=0,E=0,C=F;return}if(N>=Math.PI/2&&N<Math.PI){z(Math.PI-N),v=1-v,E=1-E;return}else if(N>=Math.PI){z(N-Math.PI);let B=b;b=w,w=B,B=v,v=E,E=B;return}let ee=Math.tan(N),V=ee*ie,de=Math.atan(V),we=Math.sqrt(2)*Math.cos(Math.PI/4-de);b=0,v=1,w=Math.sin(de)*we,E=1-Math.cos(de)*we;let oe=1,te=1/ee,Ie=Math.abs((oe*ie+te)/Math.sqrt(oe*oe+te*te)/Math.sqrt(ie*ie+1));C=Math.sqrt(m*m+F*F)*Ie},ie=m/F;z(+p.orientation.value/180*Math.PI)}let R=cu(C,p.colorStops),I=`satori_bi${e}`,M=`satori_pattern_${e}`,X=T("pattern",{id:M,x:D[0]/t,y:D[1]/n,width:f?m/t:"1",height:d?F/n:"1",patternUnits:"objectBoundingBox"},T("linearGradient",{id:I,x1:b,y1:v,x2:w,y2:E},R.map(Z=>T("stop",{offset:Z.offset*100+"%","stop-color":Z.color})).join(""))+T("rect",{x:0,y:0,width:m,height:F,fill:`url(#${I})`}));return[M,X]}if(u.startsWith("radial-gradient(")){let p=_n.parse(u)[0],m=p.orientation[0],[F,b]=h,v="circle",w=F/2,E=b/2;if(m.type==="shape"){if(v=m.value,m.at)if(m.at.type==="position"){let z=pf(m.at.value.x,m.at.value.y,F,b,l.fontSize,l);w=z.x,E=z.y}else throw new Error("orientation.at.type not implemented: "+m.at.type)}else throw new Error("orientation.type not implemented: "+m.type);let C=cu(t,p.colorStops),R=`satori_radial_${e}`,I=`satori_pattern_${e}`,M=`satori_mask_${e}`,X=hf(v,m.style,l.fontSize,{x:w,y:E},[F,b],l),Z=T("pattern",{id:I,x:D[0]/t,y:D[1]/n,width:f?F/t:"1",height:d?b/n:"1",patternUnits:"objectBoundingBox"},T("radialGradient",{id:R},C.map(z=>T("stop",{offset:z.offset,"stop-color":z.color})).join(""))+T("mask",{id:M},T("rect",{x:0,y:0,width:F,height:b,fill:"#fff"}))+T("rect",{x:0,y:0,width:F,height:b,fill:C.at(-1).color})+T(v,{cx:w,cy:E,width:F,height:b,...X,fill:`url(#${R})`,mask:`url(#${M})`}));return[I,Z]}if(u.startsWith("url(")){let p=Sn(o,{x:t,y:n,defaultX:0,defaultY:0}),[m,F,b]=await kr(u.slice(4,-1)),v=p[0]||F,w=p[1]||b;return[`satori_bi${e}`,T("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:D[0]+r,y:D[1]+i,width:f?v:"100%",height:d?w:"100%"},T("image",{x:0,y:0,width:v,height:w,preserveAspectRatio:"none",href:m}))]}throw new Error(`Invalid background image: "${u}"`)}function pf(e,t,n,r,i,u){let o={x:n/2,y:r/2};return e.type==="position-keyword"?Object.assign(o,du(e.value,n,r,"x")):o.x=H(`${e.value}${e.type}`,i,n,u,!0),t.type==="position-keyword"?Object.assign(o,du(t.value,n,r,"y")):o.y=H(`${t.value}${t.type}`,i,r,u,!0),o}function du(e,t,n,r){switch(e){case"center":return{[r]:r==="x"?t/2:n/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:t};case"bottom":return{y:n}}}function hf(e,t,n,r,i,u){let[o,s]=i,{x:a,y:l}=r,f={},d=0,h=0;if(!t.some(p=>p.type==="extent-keyword")){if(t.some(p=>p.value.startsWith("-")))throw new Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return e==="circle"?{r:H(`${t[0].value}${t[0].type}`,n,o,u,!0)}:{rx:H(`${t[0].value}${t[0].type}`,n,o,u,!0),ry:H(`${t[1].value}${t[1].type}`,n,s,u,!0)}}switch(t[0].value){case"farthest-corner":d=Math.max(Math.abs(o-a),Math.abs(a)),h=Math.max(Math.abs(s-l),Math.abs(l));break;case"closest-corner":d=Math.min(Math.abs(o-a),Math.abs(a)),h=Math.min(Math.abs(s-l),Math.abs(l));break;case"farthest-side":return e==="circle"?f.r=Math.max(Math.abs(o-a),Math.abs(a),Math.abs(s-l),Math.abs(l)):(f.rx=Math.max(Math.abs(o-a),Math.abs(a)),f.ry=Math.max(Math.abs(s-l),Math.abs(l))),f;case"closest-side":return e==="circle"?f.r=Math.min(Math.abs(o-a),Math.abs(a),Math.abs(s-l),Math.abs(l)):(f.rx=Math.min(Math.abs(o-a),Math.abs(a)),f.ry=Math.min(Math.abs(s-l),Math.abs(l))),f}if(e==="circle")f.r=Math.sqrt(d*d+h*h);else{let p=h!==0?d/h:1;d===0?(f.rx=0,f.ry=0):(f.ry=Math.sqrt(d*d+h*h*p*p)/p,f.rx=f.ry*p)}return f}c();function Df([e,t]){return Math.round(e*1e3)===0&&Math.round(t*1e3)===0?0:Math.round(e*t/Math.sqrt(e*e+t*t)*1e3)/1e3}function Or(e,t,n){return n<e+t&&(n/2<e&&n/2<t?e=t=n/2:n/2<e?e=n-t:n/2<t&&(t=n-e)),[e,t]}function Ar(e){e[0]=e[1]=Math.min(e[0],e[1])}function Pr(e,t,n,r,i){if(typeof e=="string"){let u=e.split(" ").map(s=>s.trim()),o=!u[1]&&!u[0].endsWith("%");return u[1]=u[1]||u[0],[o,[Math.min(H(u[0],r,t,i,!0),t),Math.min(H(u[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Br=e=>e&&e[0]!==0&&e[1]!==0;function Xe({left:e,top:t,width:n,height:r},i,u){let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:a,borderBottomRightRadius:l,fontSize:f}=i,d,h,D,p;if([d,o]=Pr(o,n,r,f,i),[h,s]=Pr(s,n,r,f,i),[D,a]=Pr(a,n,r,f,i),[p,l]=Pr(l,n,r,f,i),!u&&!Br(o)&&!Br(s)&&!Br(a)&&!Br(l))return"";o||=[0,0],s||=[0,0],a||=[0,0],l||=[0,0],[o[0],s[0]]=Or(o[0],s[0],n),[a[0],l[0]]=Or(a[0],l[0],n),[o[1],a[1]]=Or(o[1],a[1],r),[s[1],l[1]]=Or(s[1],l[1],r),d&&Ar(o),h&&Ar(s),D&&Ar(a),p&&Ar(l);let m=[];m[0]=[s,s],m[1]=[l,[-l[0],l[1]]],m[2]=[a,[-a[0],-a[1]]],m[3]=[o,[o[0],-o[1]]];let F=`h${n-o[0]-s[0]} a${m[0][0]} 0 0 1 ${m[0][1]}`,b=`v${r-s[1]-l[1]} a${m[1][0]} 0 0 1 ${m[1][1]}`,v=`h${l[0]+a[0]-n} a${m[2][0]} 0 0 1 ${m[2][1]}`,w=`v${a[1]+o[1]-r} a${m[3][0]} 0 0 1 ${m[3][1]}`;if(u){let C=function(z){let N=Df([o,s,l,a][z]);return z===0?[[e+o[0]-N,t+o[1]-N],[e+o[0],t]]:z===1?[[e+n-s[0]+N,t+s[1]-N],[e+n,t+s[1]]]:z===2?[[e+n-l[0]+N,t+r-l[1]+N],[e+n-l[0],t+r]]:[[e+a[0]-N,t+r-a[1]+N],[e,t+r-a[1]]]},E=u.indexOf(!1);if(!u.includes(!0))throw new Error("Invalid `partialSides`.");if(E===-1)E=0;else for(;!u[E];)E=(E+1)%4;let R="",I=C(E),M=`M${I[0]} A${m[(E+3)%4][0]} 0 0 1 ${I[1]}`,X=0;for(;X<4&&u[(E+X)%4];X++)R+=M+" ",M=[F,b,v,w][(E+X)%4];let Z=(E+X)%4;R+=M.split(" ")[0];let ie=C(Z);return R+=` A${m[(Z+3)%4][0]} 0 0 1 ${ie[0]}`,R}return`M${e+o[0]},${t} ${F} ${b} ${v} ${w}`}c();c();c();function pu(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function hu({id:e,currentClipPathId:t,borderPath:n,borderType:r,left:i,top:u,width:o,height:s},a){if(!(a.borderTopWidth||a.borderRightWidth||a.borderBottomWidth||a.borderLeftWidth))return null;let f=`satori_bc-${e}`;return[T("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},T(r,{x:i,y:u,width:o,height:s,d:n||void 0})),f]}function kt({left:e,top:t,width:n,height:r,props:i,asContentMask:u,maskBorderOnly:o},s){let a=["borderTop","borderRight","borderBottom","borderLeft"];if(!u&&!a.some(D=>s[D+"Width"]))return"";let l="",f=0;for(;f>0&&pu(a[f],a[(f+3)%4],s);)f=(f+3)%4;let d=[!1,!1,!1,!1],h=[];for(let D=0;D<4;D++){let p=(f+D)%4,m=(f+D+1)%4,F=a[p],b=a[m];if(d[p]=!0,h=[s[F+"Width"],s[F+"Style"],s[F+"Color"],F],!pu(F,b,s)){let v=(h[0]||0)+(u&&!o&&s[F.replace("border","padding")]||0);v&&(l+=T("path",{width:n,height:r,...i,fill:"none",stroke:u?"#000":h[2],"stroke-width":v*2,"stroke-dasharray":!u&&h[1]==="dashed"?v*2+" "+v:void 0,d:Xe({left:e,top:t,width:n,height:r},s,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let D=(h[0]||0)+(u&&!o&&s[h[3].replace("border","padding")]||0);D&&(l+=T("path",{width:n,height:r,...i,fill:"none",stroke:u?"#000":h[2],"stroke-width":D*2,"stroke-dasharray":!u&&h[1]==="dashed"?D*2+" "+D:void 0,d:Xe({left:e,top:t,width:n,height:r},s,d)}))}return l}function Tn({id:e,left:t,top:n,width:r,height:i,matrix:u,borderOnly:o},s){let a=(s.borderLeftWidth||0)+(o?0:s.paddingLeft||0),l=(s.borderTopWidth||0)+(o?0:s.paddingTop||0),f=(s.borderRightWidth||0)+(o?0:s.paddingRight||0),d=(s.borderBottomWidth||0)+(o?0:s.paddingBottom||0),h={x:t+a,y:n+l,width:r-a-f,height:i-l-d};return T("mask",{id:e},T("rect",{...h,fill:"#fff",mask:s._inheritedMaskId?`url(#${s._inheritedMaskId})`:void 0})+kt({left:t,top:n,width:r,height:i,props:{transform:u||void 0},asContentMask:!0,maskBorderOnly:o},s))}c();c();import{getStylesForProperty as Du}from"css-to-react-native";var Tt={circle:/circle\((.+)\)/,ellipse:/ellipse\((.+)\)/,path:/path\((.+)\)/,polygon:/polygon\((.+)\)/,inset:/inset\((.+)\)/};function bu({width:e,height:t},n,r){function i(l){let f=l.match(Tt.circle);if(!f)return null;let[,d]=f,[h,D=""]=d.split("at").map(F=>F.trim()),{x:p,y:m}=gu(D,e,t);return{type:"circle",r:H(h,r.fontSize,Math.sqrt(Math.pow(e,2)+Math.pow(t,2))/Math.sqrt(2),r,!0),cx:H(p,r.fontSize,e,r,!0),cy:H(m,r.fontSize,t,r,!0)}}function u(l){let f=l.match(Tt.ellipse);if(!f)return null;let[,d]=f,[h,D=""]=d.split("at").map(v=>v.trim()),[p,m]=h.split(" "),{x:F,y:b}=gu(D,e,t);return{type:"ellipse",rx:H(p||"50%",r.fontSize,e,r,!0),ry:H(m||"50%",r.fontSize,t,r,!0),cx:H(F,r.fontSize,e,r,!0),cy:H(b,r.fontSize,t,r,!0)}}function o(l){let f=l.match(Tt.path);if(!f)return null;let[d,h]=mu(f[1]);return{type:"path",d:h,"fill-rule":d}}function s(l){let f=l.match(Tt.polygon);if(!f)return null;let[d,h]=mu(f[1]);return{type:"polygon","fill-rule":d,points:h.split(",").map(D=>D.split(" ").map((p,m)=>H(p,r.fontSize,m===0?e:t,r,!0)).join(" ")).join(",")}}function a(l){let f=l.match(Tt.inset);if(!f)return null;let[d,h]=(f[1].includes("round")?f[1]:`${f[1].trim()} round 0`).split("round"),D=Du("borderRadius",h,!0),p=Object.values(D).map(E=>String(E)).map((E,C)=>H(E,r.fontSize,C===0||C===2?t:e,r,!0)||0),m=Object.values(Du("margin",d,!0)).map(E=>String(E)).map((E,C)=>H(E,r.fontSize,C===0||C===2?t:e,r,!0)||0),F=m[3],b=m[0],v=e-(m[1]+m[3]),w=t-(m[0]+m[2]);if(p.some(E=>E>0)){let E=Xe({left:F,top:b,width:v,height:w},{...n,...D});return{type:"path",d:E}}return{type:"rect",x:F,y:b,width:v,height:w}}return{parseCircle:i,parseEllipse:u,parsePath:o,parsePolygon:s,parseInset:a}}function mu(e){let[,t="nonzero",n]=e.replace(/('|")/g,"").match(/^(nonzero|evenodd)?,?(.+)/)||[];return[t,n]}function gu(e,t,n){let r=e.split(" "),i={x:r[0]||"50%",y:r[1]||"50%"};return r.forEach(u=>{u==="top"?i.y=0:u==="bottom"?i.y=n:u==="left"?i.x=0:u==="right"?i.x=t:u==="center"&&(i.x=t/2,i.y=n/2)}),i}function Rr(e){return`satori_cp-${e}`}function vu(e){return`url(#${Rr(e)})`}function yu(e,t,n){if(t.clipPath==="none")return"";let r=bu(e,t,n),i=t.clipPath,u={type:""};for(let o of Object.keys(r))if(u=r[o](i),u)break;if(u){let{type:o,...s}=u;return T("clipPath",{id:Rr(e.id),"clip-path":e.currentClipPath,transform:`translate(${e.left}, ${e.top})`},T(o,s))}return""}function On({left:e,top:t,width:n,height:r,path:i,matrix:u,id:o,currentClipPath:s,src:a},l,f){let d="",h=l.clipPath&&l.clipPath!=="none"?yu({left:e,top:t,width:n,height:r,path:i,id:o,matrix:u,currentClipPath:s,src:a},l,f):"";if(l.overflow!=="hidden"&&!a)d="";else{let p=h?`satori_ocp-${o}`:Rr(o);d=T("clipPath",{id:p,"clip-path":s},T(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))}let D=Tn({id:`satori_om-${o}`,left:e,top:t,width:n,height:r,matrix:u,borderOnly:!a},l);return h+d+D}async function Ot({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:u,src:o,debug:s},a,l){if(a.display==="none")return"";let f=!!o,d="rect",h="",D="",p=[],m=1,F="";a.backgroundColor&&p.push(a.backgroundColor),a.opacity!==void 0&&(m=+a.opacity),a.transform&&(h=St({left:t,top:n,width:r,height:i},a.transform,u,a.transformOrigin));let b="";if(a.backgroundImage){let z=[];for(let N=0;N<a.backgroundImage.length;N++){let ee=a.backgroundImage[N],V=await kn({id:e+"_"+N,width:r,height:i,left:t,top:n},ee,l);V&&z.unshift(V)}for(let N of z)p.push(`url(#${N[0]})`),D+=N[1],N[2]&&(b+=N[2])}let v=Xe({left:t,top:n,width:r,height:i},a);v&&(d="path");let w=a._inheritedClipPathId,E=a._inheritedMaskId;s&&(F=T("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:h||void 0,"clip-path":w?`url(#${w})`:void 0}));let{backgroundClip:C,filter:R}=a,I=C==="text"?`url(#satori_bct-${e})`:w?`url(#${w})`:a.clipPath?vu(e):void 0,M=On({left:t,top:n,width:r,height:i,path:v,id:e,matrix:h,currentClipPath:I,src:o},a,l),X=p.map(z=>T(d,{x:t,y:n,width:r,height:i,fill:z,d:v||void 0,transform:h||void 0,"clip-path":I,style:R?`filter:${R}`:void 0,mask:E?`url(#${E})`:void 0})).join(""),Z=hu({id:e,left:t,top:n,width:r,height:i,currentClipPathId:w,borderPath:v,borderType:d},a);if(f){let z=(a.borderLeftWidth||0)+(a.paddingLeft||0),N=(a.borderTopWidth||0)+(a.paddingTop||0),ee=(a.borderRightWidth||0)+(a.paddingRight||0),V=(a.borderBottomWidth||0)+(a.paddingBottom||0),de=a.objectFit==="contain"?"xMidYMid":a.objectFit==="cover"?"xMidYMid slice":"none";X+=T("image",{x:t+z,y:n+N,width:r-z-ee,height:i-N-V,href:o,preserveAspectRatio:de,transform:h||void 0,style:R?`filter:${R}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(Z){D+=Z[0];let z=Z[1];X+=kt({left:t,top:n,width:r,height:i,props:{transform:h||void 0,"clip-path":`url(#${z})`}},a)}let ie=lu({width:r,height:i,id:e,opacity:m,shape:T(d,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:v||void 0,transform:h||void 0,"clip-path":I,mask:E?`url(#${E})`:void 0})},a);return(D?T("defs",{},D):"")+(ie?ie[0]:"")+M+(m!==1?`<g opacity="${m}">`:"")+(b||X)+(m!==1?"</g>":"")+(ie?ie[1]:"")+F}c();c();var xu=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var mf=new RegExp(xu(),""),An={emoji:mf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},Pn={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},Ir=Object.keys({...Pn,...An});function Fu(e){return Ir.includes(e)}function wu(e,t){for(let r of Object.keys(An))if(An[r].test(e))return[r];let n=Object.keys(Pn).filter(r=>Pn[r].test(e));if(n.length===0)return["unknown"];if(t){let r=n.findIndex(i=>i===t);r!==-1&&(n.splice(r,1),n.unshift(t))}return n}function Eu(e){if(e)return Ir.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*At(e,t){var $;let n=await Ne(),{id:r,inheritedStyle:i,parent:u,font:o,debug:s,locale:a,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:h}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!wr(e)||typeof e.type=="function"){let L;if(!wr(e))L=En(String(e),t),yield(await L.next()).value;else{if(Wo(e.type))throw new Error("Class component is not supported.");L=At(e.type(e.props),t),yield(await L.next()).value}await L.next();let ue=yield;return(await L.next(ue)).value}let{type:D,props:p}=e;if(p&&$o(p))throw new Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:m,children:F,tw:b,lang:v=a}=p||{},w=Eu(v);if(b){let L=h(b,m);m=Object.assign(L,m)}let E=n.Node.create();u.insertChild(E,u.getChildCount());let[C,R]=await xn(E,D,i,m,p),I=C.transform===i.transform;if(I||(C.transform.__parent=i.transform),(C.overflow==="hidden"||C.clipPath&&C.clipPath!=="none")&&(R._inheritedClipPathId=`satori_cp-${r}`,R._inheritedMaskId=`satori_om-${r}`),C.backgroundClip==="text"){let L={value:""};R._inheritedBackgroundClipTextPath=L,C._inheritedBackgroundClipTextPath=L}let M=qo(F),X=[],Z=0,ie=[];for(let L of M){let ue=At(L,{id:r+"-"+Z++,parentStyle:C,inheritedStyle:R,isInheritingTransform:!0,parent:E,font:o,embedFont:l,debug:s,graphemeImages:f,canLoadAdditionalAssets:d,locale:w,getTwStyles:h,onNodeDetected:t.onNodeDetected});d?ie.push(...(await ue.next()).value||[]):await ue.next(),X.push(ue)}yield ie;for(let L of X)await L.next();let[z,N]=yield,{left:ee,top:V,width:de,height:we}=E.getComputedLayout();ee+=z,V+=N;let oe="",te="",Ie="",{children:A,...B}=p;if(($=t.onNodeDetected)==null||$.call(t,{left:ee,top:V,width:de,height:we,type:D,props:B,key:e.key,textContent:wr(A)?void 0:A}),D==="img"){let L=C.__src;te=await Ot({id:r,left:ee,top:V,width:de,height:we,src:L,isInheritingTransform:I,debug:s},C,R)}else if(D==="svg"){let L=C.color,ue=jo(e,L);te=await Ot({id:r,left:ee,top:V,width:de,height:we,src:ue,isInheritingTransform:I,debug:s},C,R)}else{let L=m==null?void 0:m.display;if(D==="div"&&F&&typeof F!="string"&&L!=="flex"&&L!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');te=await Ot({id:r,left:ee,top:V,width:de,height:we,isInheritingTransform:I,debug:s},C,R)}for(let L of X)oe+=(await L.next([ee,V])).value;return C._inheritedBackgroundClipTextPath&&(Ie+=T("clipPath",{id:`satori_bct-${r}`,"clip-path":C._inheritedClipPathId?`url(#${C._inheritedClipPathId})`:void 0},C._inheritedBackgroundClipTextPath.value)),Ie+te+oe}c();import Bn from"@shuding/opentype.js";var Cu="unknown";function gf(e,t,[n,r],[i,u]){if(n!==i)return n?!i||n===e?-1:i===e?1:e===400&&n===500||e===500&&n===400?-1:e===400&&i===500||e===500&&i===400?1:e<400?n<e&&i<e?i-n:n<e?-1:i<e?1:n-i:e<n&&e<i?n-i:e<n?-1:e<i?1:i-n:1;if(r!==u){if(r===t)return-1;if(u===t)return 1}return-1}var Pt=class{constructor(t){this.fonts=new Map;this.addFonts(t)}get({name:t,weight:n,style:r}){if(!this.fonts.has(t))return null;n==="normal"&&(n=400),n==="bold"&&(n=700),typeof n=="string"&&(n=Number.parseInt(n,10));let i=[...this.fonts.get(t)],u=i[0];for(let o=1;o<i.length;o++){let[,s,a]=u,[,l,f]=i[o];gf(n,r,[s,a],[l,f])>0&&(u=i[o])}return u[0]}addFonts(t){for(let n of t){let{name:r,data:i,lang:u}=n;if(u&&!Fu(u))throw new Error(`Invalid value for props \`lang\`: "${u}". The value must be one of the following: ${Ir.join(", ")}.`);let o=u??Cu,s=Bn.parse("buffer"in i?i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength):i,{lowMemory:!0}),a=s.charToGlyphIndex;s.charToGlyphIndex=f=>{let d=a.call(s,f);return d===0&&s._trackBrokenChars&&s._trackBrokenChars.push(f),d},this.defaultFont||(this.defaultFont=s);let l=`${r.toLowerCase()}_${o}`;this.fonts.has(l)||this.fonts.set(l,[]),this.fonts.get(l).push([s,n.weight,n.style])}}getEngine(t=16,n=1.2,{fontFamily:r="sans-serif",fontWeight:i=400,fontStyle:u="normal"},o){if(!this.fonts.size)throw new Error("No fonts are loaded. At least one font is required to calculate the layout.");r=(Array.isArray(r)?r:[r]).map(v=>v.toLowerCase());let s=[];r.forEach(v=>{let w=this.get({name:v,weight:i,style:u});if(w){s.push(w);return}let E=this.get({name:v+"_unknown",weight:i,style:u});if(E){s.push(E);return}});let a=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let v of a)if(!r.includes(v))if(o){let w=bf(v);w?w===o?l.push(this.get({name:v,weight:i,style:u})):f.push(this.get({name:v,weight:i,style:u})):d.push(this.get({name:v,weight:i,style:u}))}else d.push(this.get({name:v,weight:i,style:u}));let h=new Map,D=(v,w=!0)=>{let E=[...s,...d,...l,...w?f:[]];if(typeof v>"u")return w?E[E.length-1]:void 0;let C=v.charCodeAt(0);if(h.has(C))return h.get(C);let R=E.find((I,M)=>!!I.charToGlyphIndex(v)||w&&M===E.length-1);return R&&h.set(C,R),R},p=(v,w=!1)=>{var C,R;return((w?(R=(C=v.tables)==null?void 0:C.os2)==null?void 0:R.sTypoAscender:0)||v.ascender)/v.unitsPerEm*t},m=(v,w=!1)=>{var C,R;return((w?(R=(C=v.tables)==null?void 0:C.os2)==null?void 0:R.sTypoDescender:0)||v.descender)/v.unitsPerEm*t},F=v=>D(v,!1),b={has:v=>{if(v===`
|
|
6
|
-
`)return!0;let w=F(v);return w?(w._trackBrokenChars=[],w.stringToGlyphs(v),w._trackBrokenChars.length?(w._trackBrokenChars=void 0,!1):!0):!1},baseline:(v,w=typeof v>"u"?s[0]:D(v))=>{let E=p(w,!0),C=m(w,!0),R=b.height(v,w),{yMax:I,yMin:M}=w.tables.head,X=E-C,Z=(I/(I-M)-1)*X;return R*((1.2/n+1)/2)+Z},height:(v,w=typeof v>"u"?s[0]:D(v))=>(p(w)-m(w))*(n/1.2),measure:(v,w)=>this.measure(D,v,w),getSVG:(v,w)=>this.getSVG(D,v,w)};return b}patchFontFallbackResolver(t,n){let r=[];t._trackBrokenChars=r;let i=t.stringToGlyphs;return t.stringToGlyphs=(u,...o)=>{let s=i.call(t,u,...o);for(let a=0;a<s.length;a++)if(s[a].unicode===void 0){let l=r.shift(),f=n(l);if(f!==t){let d=f.charToGlyph(l),h=t.unitsPerEm/f.unitsPerEm,D=new Bn.Path;D.unitsPerEm=t.unitsPerEm,D.commands=d.path.commands.map(m=>{let F={...m};for(let b in F)typeof F[b]=="number"&&(F[b]*=h);return F});let p=new Bn.Glyph({...d,advanceWidth:d.advanceWidth*h,xMin:d.xMin*h,xMax:d.xMax*h,yMin:d.yMin*h,yMax:d.yMax*h,path:D});s[a]=p}}return s},()=>{t.stringToGlyphs=i,t._trackBrokenChars=void 0}}measure(t,n,{fontSize:r,letterSpacing:i=0}){let u=t(n),o=this.patchFontFallbackResolver(u,t);try{return u.getAdvanceWidth(n,r,{letterSpacing:i/r})}finally{o()}}getSVG(t,n,{fontSize:r,top:i,left:u,letterSpacing:o=0}){let s=t(n),a=this.patchFontFallbackResolver(s,t);try{return r===0?"":s.getPath(n.replace(/\n/g,""),u,i,r,{letterSpacing:o/r}).toPathData(1)}finally{a()}}};function bf(e){let t=e.split("_"),n=t[t.length-1];return n===Cu?void 0:n}c();function Rn({width:e,height:t,content:n}){return T("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var il=gl(Ia());c();c();c();c();var iD=["ios","android","windows","macos","web"];function Ma(e){return iD.includes(e)}var oD=["portrait","landscape"];function Na(e){return oD.includes(e)}var La;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(La||(La={}));var j;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(j||(j={}));function uo(e){return typeof e=="string"}function so(e){return typeof e=="object"}var ao;function g(e){return{kind:"complete",style:e}}function ae(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[u="",o=""]=e.split("/",2),s=ae(u),a=ae(o);return!s||!a?null:[s[0]/a[0],a[1]]}let r=parseFloat(e);if(Number.isNaN(r))return null;let i=e.match(/(([a-z]{2,}|%))$/);if(!i)return[r,j.none];switch(i==null?void 0:i[1]){case"rem":return[r,j.rem];case"px":return[r,j.px];case"em":return[r,j.em];case"%":return[r,j.percent];case"vw":return[r,j.vw];case"vh":return[r,j.vh];default:return null}}function qe(e,t,n={}){let r=Be(t,n);return r===null?null:g({[e]:r})}function Zr(e,t,n){let r=Be(t);return r!==null&&(n[e]=r),n}function $a(e,t){let n=Be(t);return n===null?null:{[e]:n}}function Be(e,t={}){if(e===void 0)return null;let n=ae(String(e),t);return n?Ze(...n,t):null}function Ze(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case j.rem:return e*16*(r?-1:1);case j.px:return e*(r?-1:1);case j.percent:return`${r?"-":""}${e}%`;case j.none:return e*(r?-1:1);case j.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(ye("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case j.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(ye("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function lo(e){let t=ae(e);if(!t)return null;let[n,r]=t;switch(r){case j.rem:return n*16;case j.px:return n;default:return null}}var uD={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function fo(e){return uD[e??""]||"All"}function co(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=fo(i),"")),t]}function st(e,t={}){if(e.includes("/")){let n=Wa(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Wa(e,t)}function Oe(e,t,n={}){let r=st(t,n);return r===null?null:g({[e]:r})}function Wa(e,t={}){if(e==="px")return 1;let n=ae(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=j.percent,r*=100),i===j.none&&(r=r/4,i=j.rem),Ze(r,i,t)}function sD(...e){console.warn(...e)}function aD(...e){}var ye=typeof process>"u"||((ao=process==null?void 0:process.env)===null||ao===void 0?void 0:ao.JEST_WORKER_ID)===void 0?sD:aD;var lD=[["aspect-square",g({aspectRatio:1})],["aspect-video",g({aspectRatio:16/9})],["items-center",g({alignItems:"center"})],["items-start",g({alignItems:"flex-start"})],["items-end",g({alignItems:"flex-end"})],["items-baseline",g({alignItems:"baseline"})],["items-stretch",g({alignItems:"stretch"})],["justify-start",g({justifyContent:"flex-start"})],["justify-end",g({justifyContent:"flex-end"})],["justify-center",g({justifyContent:"center"})],["justify-between",g({justifyContent:"space-between"})],["justify-around",g({justifyContent:"space-around"})],["justify-evenly",g({justifyContent:"space-evenly"})],["content-start",g({alignContent:"flex-start"})],["content-end",g({alignContent:"flex-end"})],["content-between",g({alignContent:"space-between"})],["content-around",g({alignContent:"space-around"})],["content-stretch",g({alignContent:"stretch"})],["content-center",g({alignContent:"center"})],["self-auto",g({alignSelf:"auto"})],["self-start",g({alignSelf:"flex-start"})],["self-end",g({alignSelf:"flex-end"})],["self-center",g({alignSelf:"center"})],["self-stretch",g({alignSelf:"stretch"})],["self-baseline",g({alignSelf:"baseline"})],["direction-inherit",g({direction:"inherit"})],["direction-ltr",g({direction:"ltr"})],["direction-rtl",g({direction:"rtl"})],["hidden",g({display:"none"})],["flex",g({display:"flex"})],["flex-row",g({flexDirection:"row"})],["flex-row-reverse",g({flexDirection:"row-reverse"})],["flex-col",g({flexDirection:"column"})],["flex-col-reverse",g({flexDirection:"column-reverse"})],["flex-wrap",g({flexWrap:"wrap"})],["flex-wrap-reverse",g({flexWrap:"wrap-reverse"})],["flex-nowrap",g({flexWrap:"nowrap"})],["flex-auto",g({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",g({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",g({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",g({overflow:"hidden"})],["overflow-visible",g({overflow:"visible"})],["overflow-scroll",g({overflow:"scroll"})],["absolute",g({position:"absolute"})],["relative",g({position:"relative"})],["italic",g({fontStyle:"italic"})],["not-italic",g({fontStyle:"normal"})],["oldstyle-nums",lr("oldstyle-nums")],["small-caps",lr("small-caps")],["lining-nums",lr("lining-nums")],["tabular-nums",lr("tabular-nums")],["proportional-nums",lr("proportional-nums")],["font-thin",g({fontWeight:"100"})],["font-100",g({fontWeight:"100"})],["font-extralight",g({fontWeight:"200"})],["font-200",g({fontWeight:"200"})],["font-light",g({fontWeight:"300"})],["font-300",g({fontWeight:"300"})],["font-normal",g({fontWeight:"normal"})],["font-400",g({fontWeight:"400"})],["font-medium",g({fontWeight:"500"})],["font-500",g({fontWeight:"500"})],["font-semibold",g({fontWeight:"600"})],["font-600",g({fontWeight:"600"})],["font-bold",g({fontWeight:"bold"})],["font-700",g({fontWeight:"700"})],["font-extrabold",g({fontWeight:"800"})],["font-800",g({fontWeight:"800"})],["font-black",g({fontWeight:"900"})],["font-900",g({fontWeight:"900"})],["include-font-padding",g({includeFontPadding:!0})],["remove-font-padding",g({includeFontPadding:!1})],["max-w-none",g({maxWidth:"99999%"})],["text-left",g({textAlign:"left"})],["text-center",g({textAlign:"center"})],["text-right",g({textAlign:"right"})],["text-justify",g({textAlign:"justify"})],["text-auto",g({textAlign:"auto"})],["underline",g({textDecorationLine:"underline"})],["line-through",g({textDecorationLine:"line-through"})],["no-underline",g({textDecorationLine:"none"})],["uppercase",g({textTransform:"uppercase"})],["lowercase",g({textTransform:"lowercase"})],["capitalize",g({textTransform:"capitalize"})],["normal-case",g({textTransform:"none"})],["w-auto",g({width:"auto"})],["h-auto",g({height:"auto"})],["shadow-sm",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",g({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],po=lD;function lr(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var fr=class{constructor(t){this.ir=new Map(po),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...po,...t??[]])}getStyle(t){return this.styles.get(t)}setStyle(t,n){this.styles.set(t,n)}getIr(t){return this.ir.get(t)}setIr(t,n){this.ir.set(t,n)}getPrefixMatch(t){return this.prefixes.get(t)}setPrefixMatch(t,n){this.prefixes.set(t,n)}};c();c();function ho(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return Oe("fontSize",e,n);if(typeof r=="string")return qe("fontSize",r);let i={},[u,o]=r,s=$a("fontSize",u);if(s&&(i=s),typeof o=="string")return g(Zr("lineHeight",qa(o,i),i));let{lineHeight:a,letterSpacing:l}=o;return a&&Zr("lineHeight",qa(a,i),i),l&&Zr("letterSpacing",l,i),g(i)}function qa(e,t){let n=ae(e);if(n){let[r,i]=n;if((i===j.none||i===j.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function Do(e,t){var n;let r=(n=t==null?void 0:t[e])!==null&&n!==void 0?n:e.startsWith("[")?e.slice(1,-1):e,i=ae(r);if(!i)return null;let[u,o]=i;if(o===j.none)return{kind:"dependent",complete(a){if(typeof a.fontSize!="number")return"relative line-height utilities require that font-size be set";a.lineHeight=a.fontSize*u}};let s=Ze(u,o);return s!==null?g({lineHeight:s}):null}c();function mo(e,t,n,r,i){let u="";if(r[0]==="[")u=r.slice(1,-1);else{let l=i==null?void 0:i[r];if(l)u=l;else{let f=st(r);return f&&typeof f=="number"?Ua(f,j.px,t,e):null}}if(u==="auto")return za(t,e,"auto");let o=ae(u);if(!o)return null;let[s,a]=o;return n&&(s=-s),Ua(s,a,t,e)}function Ua(e,t,n,r){let i=Ze(e,t);return i===null?null:za(n,r,i)}function za(e,t,n){switch(e){case"All":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Right`]:n,[`${t}Bottom`]:n,[`${t}Left`]:n}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${t}${e}`]:n}};case"Vertical":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Bottom`]:n}};case"Horizontal":return{kind:"complete",style:{[`${t}Left`]:n,[`${t}Right`]:n}};default:return null}}c();function go(e){if(!e)return{};let t=Object.entries(e).reduce((i,[u,o])=>{let s=[0,1/0,0],a=typeof o=="string"?{min:o}:o,l=a.min?lo(a.min):0;l===null?ye(`invalid screen config value: ${u}->min: ${a.min}`):s[0]=l;let f=a.max?lo(a.max):1/0;return f===null?ye(`invalid screen config value: ${u}->max: ${a.max}`):s[1]=f,i[u]=s,i},{}),n=Object.values(t);n.sort((i,u)=>{let[o,s]=i,[a,l]=u;return s===1/0||l===1/0?o-a:s-l});let r=0;return n.forEach(i=>i[2]=r++),t}c();function bo(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return g({fontFamily:n});let r=n[0];return r?g({fontFamily:r}):null}c();function at(e,t,n){if(!n)return null;let r;t.includes("/")&&([t="",r]=t.split("/",2));let i="";if(t.startsWith("[#")||t.startsWith("[rgb")?i=t.slice(1,-1):i=Ha(t,n),!i)return null;if(r){let u=Number(r);if(!Number.isNaN(u))return i=Ga(i,u/100),g({[en[e].color]:i})}return{kind:"dependent",complete(u){let o=en[e].opacity,s=u[o];typeof s=="number"&&(i=Ga(i,s)),u[en[e].color]=i}}}function cr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[en[e].opacity]:r};return{kind:"complete",style:i}}function Ga(e,t){return e.startsWith("#")?e=fD(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function ja(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var en={bg:{opacity:"__opacity_bg",color:"backgroundColor"},text:{opacity:"__opacity_text",color:"color"},border:{opacity:"__opacity_border",color:"borderColor"},borderTop:{opacity:"__opacity_border",color:"borderTopColor"},borderBottom:{opacity:"__opacity_border",color:"borderBottomColor"},borderLeft:{opacity:"__opacity_border",color:"borderLeftColor"},borderRight:{opacity:"__opacity_border",color:"borderRightColor"},shadow:{opacity:"__opacity_shadow",color:"shadowColor"},tint:{opacity:"__opacity_tint",color:"tintColor"}};function fD(e){let t=e;e=e.replace(cD,(o,s,a,l)=>s+s+a+a+l+l);let n=dD.exec(e);if(!n)return ye(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let r=parseInt(n[1],16),i=parseInt(n[2],16),u=parseInt(n[3],16);return`rgba(${r}, ${i}, ${u}, 1)`}function Ha(e,t){let n=t[e];if(uo(n))return n;if(so(n)&&uo(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let u=t[r];if(so(u))return Ha(i.join("-"),u);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var cD=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,dD=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function Ya(e,t){let[n,r]=co(e);if(n.match(/^(-?(\d)+)?$/))return pD(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return g({borderStyle:n});let u="border";switch(r){case"Bottom":u="borderBottom";break;case"Top":u="borderTop";break;case"Left":u="borderLeft";break;case"Right":u="borderRight";break}let o=at(u,n,t==null?void 0:t.borderColor);if(o)return o;let s=`border${r==="All"?"":r}Width`;n=n.replace(/^-/,"");let a=n.slice(1,-1),l=Oe(s,a);return typeof(l==null?void 0:l.style[s])!="number"?null:l}function pD(e,t,n){if(!n)return null;e=e.replace(/^-/,"");let i=n[e===""?"DEFAULT":e];if(i===void 0)return null;let u=`border${t==="All"?"":t}Width`;return qe(u,i)}function Xa(e,t){if(!t)return null;let[n,r]=co(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,u=t[n];if(u)return Va(qe(i,u));let o=Oe(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:Va(o)}function Va(e){if((e==null?void 0:e.kind)!=="complete")return e;let t=e.style.borderTopRadius;t!==void 0&&(e.style.borderTopLeftRadius=t,e.style.borderTopRightRadius=t,delete e.style.borderTopRadius);let n=e.style.borderBottomRadius;n!==void 0&&(e.style.borderBottomLeftRadius=n,e.style.borderBottomRightRadius=n,delete e.style.borderBottomRadius);let r=e.style.borderLeftRadius;r!==void 0&&(e.style.borderBottomLeftRadius=r,e.style.borderTopLeftRadius=r,delete e.style.borderLeftRadius);let i=e.style.borderRightRadius;return i!==void 0&&(e.style.borderBottomRightRadius=i,e.style.borderTopRightRadius=i,delete e.style.borderRightRadius),e}c();function bt(e,t,n,r){let i=null;e==="inset"&&(t=t.replace(/^(x|y)-/,(s,a)=>(i=a==="x"?"x":"y","")));let u=r==null?void 0:r[t];if(u){let s=Be(u,{isNegative:n});if(s!==null)return Qa(e,i,s)}let o=st(t,{isNegative:n});return o!==null?Qa(e,i,o):null}function Qa(e,t,n){if(e!=="inset")return g({[e]:n});switch(t){case null:return g({top:n,left:n,right:n,bottom:n});case"y":return g({top:n,bottom:n});case"x":return g({left:n,right:n})}}c();function dr(e,t,n){var r;t=t.replace(/^-/,"");let i=t===""?"DEFAULT":t,u=Number((r=n==null?void 0:n[i])!==null&&r!==void 0?r:t);return Number.isNaN(u)?null:g({[`flex${e}`]:u})}function Ka(e,t){var n,r;if(e=(t==null?void 0:t[e])||e,["min-content","revert","unset"].includes(e))return null;if(e.match(/^\d+(\.\d+)?$/))return g({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return g({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let u=Be((n=i[2])!==null&&n!==void 0?n:"");return u?g({flexGrow:Number(i[1]),flexBasis:u}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let u=Be((r=i[3])!==null&&r!==void 0?r:"");return u?g({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:u}):null}return null}c();function vo(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?qe(e,i,n):Oe(e,t,n)}function pr(e,t,n={},r){let i=Be(r==null?void 0:r[t],n);return i?g({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Oe(e,t,n))}c();function Ja(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ae(r,{isNegative:t});if(!i)return null;let[u,o]=i;if(o===j.em)return hD(u);if(o===j.percent)return ye("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."),null;let s=Ze(u,o,{isNegative:t});return s!==null?g({letterSpacing:s}):null}return Oe("letterSpacing",e,{isNegative:t})}function hD(e){return{kind:"dependent",complete(t){let n=t.fontSize;if(typeof n!="number"||Number.isNaN(n))return"tracking-X relative letter spacing classes require font-size to be set";t.letterSpacing=Math.round((e*n+Number.EPSILON)*100)/100}}}c();function Za(e,t){let n=t==null?void 0:t[e];if(n){let i=ae(String(n));if(i)return g({opacity:i[0]})}let r=ae(e);return r?g({opacity:r[0]/100}):null}c();function el(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function tl(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=yo(n),u=yo(r);return i===null||u===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:u}}}}let t=yo(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function yo(e){let t=st(e);return typeof t=="number"?t:null}var vt=class{constructor(t,n={},r,i,u){var o,s,a,l,f,d;this.config=n,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=i;let h=t.trim().split(":"),D=[];h.length===1?this.string=t:(this.string=(o=h.pop())!==null&&o!==void 0?o:"",D=h),this.char=this.string[0];let p=go((s=this.config.theme)===null||s===void 0?void 0:s.screens);for(let m of D)if(p[m]){let F=(a=p[m])===null||a===void 0?void 0:a[2];F!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+F);let b=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(b){let[v,w]=(d=p[m])!==null&&d!==void 0?d:[0,0];(b<=v||b>w)&&(this.isNull=!0)}else this.isNull=!0}else Ma(m)?this.isNull=m!==u:Na(m)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==m?this.isNull=!0:this.incrementOrder():this.isNull=!0:m==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:m==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(m)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let t=this.cache.getIr(this.rest);if(t)return t;this.parseIsNegative();let n=this.parseUtility();return n?this.order!==void 0?{kind:"ordered",order:this.order,styleIr:n}:n:{kind:"null"}}parseUtility(){var t,n,r,i,u;let o=this.config.theme,s=null;switch(this.char){case"m":case"p":{let a=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(a){let l=this.char==="m"?"margin":"padding";this.advance(((n=(t=a[0])===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+1);let f=fo(a[1]),d=mo(l,f,this.isNegative,this.rest,(r=this.config.theme)===null||r===void 0?void 0:r[l]);if(d)return d}}}if(this.consumePeeked("h-")&&(s=vo("height",this.rest,this.context,o==null?void 0:o.height),s)||this.consumePeeked("w-")&&(s=vo("width",this.rest,this.context,o==null?void 0:o.width),s)||this.consumePeeked("min-w-")&&(s=pr("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),s)||this.consumePeeked("min-h-")&&(s=pr("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),s)||this.consumePeeked("max-w-")&&(s=pr("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),s)||this.consumePeeked("max-h-")&&(s=pr("maxHeight",this.rest,this.context,o==null?void 0:o.maxHeight),s)||this.consumePeeked("leading-")&&(s=Do(this.rest,o==null?void 0:o.lineHeight),s)||this.consumePeeked("text-")&&(s=ho(this.rest,o==null?void 0:o.fontSize,this.context),s||(s=at("text",this.rest,o==null?void 0:o.textColor),s)||this.consumePeeked("opacity-")&&(s=cr("text",this.rest),s))||this.consumePeeked("font-")&&(s=bo(this.rest,o==null?void 0:o.fontFamily),s)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&ye("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),s=qe("aspectRatio",this.rest,{fractions:!0}),s)||this.consumePeeked("tint-")&&(s=at("tint",this.rest,o==null?void 0:o.colors),s)||this.consumePeeked("bg-")&&(s=at("bg",this.rest,o==null?void 0:o.backgroundColor),s||this.consumePeeked("opacity-")&&(s=cr("bg",this.rest),s))||this.consumePeeked("border")&&(s=Ya(this.rest,o),s||this.consumePeeked("-opacity-")&&(s=cr("border",this.rest),s))||this.consumePeeked("rounded")&&(s=Xa(this.rest,o==null?void 0:o.borderRadius),s)||this.consumePeeked("bottom-")&&(s=bt("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("top-")&&(s=bt("top",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("left-")&&(s=bt("left",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("right-")&&(s=bt("right",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("inset-")&&(s=bt("inset",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?s=dr("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?s=dr("Shrink",this.rest,o==null?void 0:o.flexShrink):s=Ka(this.rest,o==null?void 0:o.flex),s)||this.consumePeeked("grow")&&(s=dr("Grow",this.rest,o==null?void 0:o.flexGrow),s)||this.consumePeeked("shrink")&&(s=dr("Shrink",this.rest,o==null?void 0:o.flexShrink),s)||this.consumePeeked("shadow-color-opacity-")&&(s=cr("shadow",this.rest),s)||this.consumePeeked("shadow-opacity-")&&(s=el(this.rest),s)||this.consumePeeked("shadow-offset-")&&(s=tl(this.rest),s)||this.consumePeeked("shadow-radius-")&&(s=Oe("shadowRadius",this.rest),s)||this.consumePeeked("shadow-")&&(s=at("shadow",this.rest,o==null?void 0:o.colors),s))return s;if(this.consumePeeked("elevation-")){let a=parseInt(this.rest,10);if(!Number.isNaN(a))return g({elevation:a})}if(this.consumePeeked("opacity-")&&(s=Za(this.rest,o==null?void 0:o.opacity),s)||this.consumePeeked("tracking-")&&(s=Ja(this.rest,this.isNegative,o==null?void 0:o.letterSpacing),s))return s;if(this.consumePeeked("z-")){let a=Number((u=(i=o==null?void 0:o.zIndex)===null||i===void 0?void 0:i[this.rest])!==null&&u!==void 0?u:this.rest);if(!Number.isNaN(a))return g({zIndex:a})}return ye(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(t){var n;if(t[0]!=="m")return!1;let r=t.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!r)return!1;if(!(!((n=this.context.device)===null||n===void 0)&&n.windowDimensions))return this.isNull=!0,!0;let i=this.context.device.windowDimensions,[,u="",o="",s=""]=r,a=o==="w"?i.width:i.height,l=ae(s,this.context);if(l===null)return this.isNull=!0,!0;let[f,d]=l;return d!=="px"&&(this.isNull=!0),(u==="min"?a>=f:a<=f)?this.incrementOrder():this.isNull=!0,!0}advance(t=1){this.position+=t,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(t,n){return this.string.slice(this.position+t,this.position+n)}consumePeeked(t){return this.peekSlice(0,t.length)===t?(this.advance(t.length),!0):!1}parseIsNegative(){this.char==="-"&&(this.advance(),this.isNegative=!0,this.context.isNegative=!0)}incrementOrder(){var t;this.order=((t=this.order)!==null&&t!==void 0?t:0)+1}};c();function rl(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,...xo(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(xo)];else if(typeof r=="object"&&r!==null)for(let[i,u]of Object.entries(r))typeof u=="boolean"?t=[...t,...u?xo(i):[]]:n?n[i]=u:n={[i]:u}}),[t.filter(Boolean).filter(DD),n]}function xo(e){return e.trim().split(/\s+/)}function DD(e,t,n){return n.indexOf(e)===t}c();function nl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...mD(r.handler)}),{}))!==null&&t!==void 0?t:{}}function mD(e){let t={};return e({addUtilities:n=>{t=n},...gD}),t}function Re(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var gD={addComponents:Re,addBase:Re,addVariant:Re,e:Re,prefix:Re,theme:Re,variants:Re,config:Re,corePlugins:Re,matchUtilities:Re,postcss:null};function ol(e,t){let n=(0,il.default)(bD(e)),r={},i=nl(n.plugins),u={},o=Object.entries(i).map(([p,m])=>typeof m=="string"?(u[p]=m,[p,{kind:"null"}]):[p,g(m)]).filter(([,p])=>p.kind!=="null");function s(){return[r.windowDimensions?`w${r.windowDimensions.width}`:!1,r.windowDimensions?`h${r.windowDimensions.height}`:!1,r.fontScale?`fs${r.fontScale}`:!1,r.colorScheme==="dark"?"dark":!1,r.pixelDensity===2?"retina":!1].filter(Boolean).join("--")||"default"}let a=s(),l={};function f(){let p=l[a];if(p)return p;let m=new fr(o);return l[a]=m,m}function d(...p){let m=f(),F={},b=[],v=[],[w,E]=rl(p),C=w.join(" "),R=m.getStyle(C);if(R)return{...R,...E||{}};for(let I of w){let M=m.getIr(I);if(!M&&I in u){let Z=d(u[I]);m.setIr(I,g(Z)),F={...F,...Z};continue}switch(M=new vt(I,n,m,r,t).parse(),M.kind){case"complete":F={...F,...M.style},m.setIr(I,M);break;case"dependent":b.push(M);break;case"ordered":v.push(M);break;case"null":m.setIr(I,M);break}}if(v.length>0){v.sort((I,M)=>I.order-M.order);for(let I of v)switch(I.styleIr.kind){case"complete":F={...F,...I.styleIr.style};break;case"dependent":b.push(I.styleIr);break}}if(b.length>0){for(let I of b){let M=I.complete(F);M&&ye(M)}ja(F)}return C!==""&&m.setStyle(C,F),E&&(F={...F,...E}),F}function h(p){let m=d(p.split(/\s+/g).map(F=>F.replace(/^(bg|text|border)-/,"")).map(F=>`bg-${F}`).join(" "));return typeof m.backgroundColor=="string"?m.backgroundColor:void 0}let D=(p,...m)=>{let F="";return p.forEach((b,v)=>{var w;F+=b+((w=m[v])!==null&&w!==void 0?w:"")}),d(F)};return D.style=d,D.color=h,D.prefixMatch=(...p)=>{let m=p.sort().join(":"),F=f(),b=F.getPrefixMatch(m);if(b!==void 0)return b;let E=new vt(`${m}:flex`,n,F,r,t).parse().kind!=="null";return F.setPrefixMatch(m,E),E},D.setWindowDimensions=p=>{r.windowDimensions=p,a=s()},D.setFontScale=p=>{r.fontScale=p,a=s()},D.setPixelDensity=p=>{r.pixelDensity=p,a=s()},D.setColorScheme=p=>{r.colorScheme=p,a=s()},D}function bD(e){return{...e,content:["_no_warnings_please"]}}var yD={handler:({addUtilities:e})=>{e({"shadow-sm":{boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},shadow:{boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},"shadow-md":{boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},"shadow-lg":{boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},"shadow-xl":{boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"shadow-2xl":{boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},"shadow-inner":{boxShadow:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},"shadow-none":{boxShadow:"0 0 #0000"}})}};function xD(e){return ol({...e,plugins:[...(e==null?void 0:e.plugins)??[],yD]},"web")}var tn;function Fo({width:e,height:t,config:n}){return tn||(tn=xD(n)),tn.setWindowDimensions({width:+e,height:+t}),tn}var wo=new WeakMap;async function sl(e,t){let n=await Ne();if(!n||!n.Node)throw new Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[];let r;wo.has(t.fonts)?r=wo.get(t.fonts):wo.set(t.fonts,r=new Pt(t.fonts));let i="width"in t?t.width:void 0,u="height"in t?t.height:void 0,o=n.Node.create();i&&o.setWidth(i),u&&o.setHeight(u),o.setFlexDirection(n.FLEX_DIRECTION_ROW),o.setFlexWrap(n.WRAP_WRAP),o.setAlignContent(n.ALIGN_AUTO),o.setAlignItems(n.ALIGN_FLEX_START),o.setJustifyContent(n.JUSTIFY_FLEX_START),o.setOverflow(n.OVERFLOW_HIDDEN);let s={...t.graphemeImages},a=new Set,l=At(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:1.2,color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:i,_viewportHeight:u},parent:o,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:s,canLoadAdditionalAssets:!!t.loadAdditionalAsset,onNodeDetected:t.onNodeDetected,getTwStyles:(p,m)=>{let b={...Fo({width:i,height:u,config:t.tailwindConfig})([p])};return typeof b.lineHeight=="number"&&(b.lineHeight=b.lineHeight/(+b.fontSize||m.fontSize||16)),b.shadowColor&&b.boxShadow&&(b.boxShadow=b.boxShadow.replace(/rgba?\([^)]+\)/,b.shadowColor)),b}}),f=(await l.next()).value;if(t.loadAdditionalAsset&&f.length){let p=FD(f),m=[],F={};await Promise.all(Object.entries(p).flatMap(([b,v])=>v.map(w=>{let E=`${b}_${w}`;return a.has(E)?null:(a.add(E),t.loadAdditionalAsset(b,w).then(C=>{typeof C=="string"?F[w]=C:C&&(Array.isArray(C)?m.push(...C):m.push(C))}))}))),r.addFonts(m),Object.assign(s,F)}await l.next(),o.calculateLayout(i,u,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,h=o.getComputedWidth(),D=o.getComputedHeight();return o.freeRecursive(),Rn({width:h,height:D,content:d})}function FD(e){let t={},n={};for(let{word:r,locale:i}of e){let u=wu(r,i).join("|");n[u]=n[u]||"",n[u]+=r}return Object.keys(n).forEach(r=>{t[r]=t[r]||[],r==="emoji"?t[r].push(...ul(me(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=ul(me(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function ul(e){return Array.from(new Set(e))}export{sl as default,vl as init};
|
|
1
|
+
var xl=Object.create;var Er=Object.defineProperty;var Fl=Object.getOwnPropertyDescriptor;var wl=Object.getOwnPropertyNames;var El=Object.getPrototypeOf,Cl=Object.prototype.hasOwnProperty;var Cr=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),gn=(e,t)=>{for(var n in t)Er(e,n,{get:t[n],enumerable:!0})},qo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of wl(t))!Cl.call(e,i)&&i!==n&&Er(e,i,{get:()=>t[i],enumerable:!(r=Fl(t,i))||r.enumerable});return e};var _l=(e,t,n)=>(n=e!=null?xl(El(e)):{},qo(t||!e||!e.__esModule?Er(n,"default",{value:e,enumerable:!0}):n,e)),_r=e=>qo(Er({},"__esModule",{value:!0}),e);var c=Cr(()=>{});var Uo={};gn(Uo,{getYogaModule:()=>Sl});async function Sl(){return{}}var zo=Cr(()=>{c()});var jn=O(Gn=>{"use strict";c();Object.defineProperty(Gn,"__esModule",{value:!0});Object.defineProperty(Gn,"default",{enumerable:!0,get:()=>Of});function Of(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,t=>t==="-"?"":"-");if(e.includes("var(")||e.includes("calc("))return`calc(${e} * -1)`}});var Iu=O(Vn=>{"use strict";c();Object.defineProperty(Vn,"__esModule",{value:!0});Object.defineProperty(Vn,"default",{enumerable:!0,get:()=>Pf});var Pf=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]});var Lu=O(Hn=>{"use strict";c();Object.defineProperty(Hn,"__esModule",{value:!0});Object.defineProperty(Hn,"default",{enumerable:!0,get:()=>Bf});function Bf(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(r=>e!==!1&&e[r]!==!1).concat(Object.keys(e).filter(r=>e[r]!==!1)))]}});var Yn=O((Og,Mu)=>{c();Mu.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),caretColor:({theme:e})=>e("colors"),accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),stroke:({theme:e})=>e("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}});var qr={};gn(qr,{default:()=>Rf});var Rf,Ur=Cr(()=>{c();Rf={info(e,t){console.info(...Array.isArray(e)?[e]:[t,e])},warn(e,t){console.warn(...Array.isArray(e)?[e]:[t,e])},risk(e,t){console.error(...Array.isArray(e)?[e]:[t,e])}}});var Nu=O(Xn=>{"use strict";c();Object.defineProperty(Xn,"__esModule",{value:!0});Object.defineProperty(Xn,"default",{enumerable:!0,get:()=>Mf});var If=Lf((Ur(),_r(qr)));function Lf(e){return e&&e.__esModule?e:{default:e}}function Mt({version:e,from:t,to:n}){If.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var Mf={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return Mt({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Mt({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Mt({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Mt({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Mt({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var $u=O(Qn=>{"use strict";c();Object.defineProperty(Qn,"__esModule",{value:!0});Object.defineProperty(Qn,"defaults",{enumerable:!0,get:()=>Nf});function Nf(e,...t){for(let i of t){for(let o in i){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,o)||(e[o]=i[o])}for(let o of Object.getOwnPropertySymbols(i)){var r;!(e==null||(r=e.hasOwnProperty)===null||r===void 0)&&r.call(e,o)||(e[o]=i[o])}}return e}});var Wu=O(Kn=>{"use strict";c();Object.defineProperty(Kn,"__esModule",{value:!0});Object.defineProperty(Kn,"toPath",{enumerable:!0,get:()=>$f});function $f(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var Uu=O(Jn=>{"use strict";c();Object.defineProperty(Jn,"__esModule",{value:!0});Object.defineProperty(Jn,"normalizeConfig",{enumerable:!0,get:()=>qf});var Nt=Wf((Ur(),_r(qr)));function qu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(qu=function(r){return r?n:t})(e)}function Wf(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=qu(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var u=i?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function qf(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(r=>!["files","extract","transform"].includes(r)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(r=>typeof r=="string"?!0:!(typeof(r==null?void 0:r.raw)!="string"||(r==null?void 0:r.extension)&&typeof(r==null?void 0:r.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let r of Object.values(e.content.extract))if(typeof r!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let r of Object.values(e.content.transform))if(typeof r!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1}return!0}return!1})()||Nt.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var r;let{content:i,purge:o,safelist:u}=e;return Array.isArray(u)?u:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(o==null?void 0:o.safelist)?o.safelist:Array.isArray(o==null||(r=o.options)===null||r===void 0?void 0:r.safelist)?o.options.safelist:[]})(),typeof e.prefix=="function")Nt.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={files:(()=>{let{content:r,purge:i}=e;return Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(r)?r:Array.isArray(r==null?void 0:r.content)?r.content:Array.isArray(r==null?void 0:r.files)?r.files:[]})(),extract:(()=>{let r=(()=>{var u,s,a,l,f,d,h,D,p,m;return!((u=e.purge)===null||u===void 0)&&u.extract?e.purge.extract:!((s=e.content)===null||s===void 0)&&s.extract?e.content.extract:!((a=e.purge)===null||a===void 0||(l=a.extract)===null||l===void 0)&&l.DEFAULT?e.purge.extract.DEFAULT:!((f=e.content)===null||f===void 0||(d=f.extract)===null||d===void 0)&&d.DEFAULT?e.content.extract.DEFAULT:!((h=e.purge)===null||h===void 0||(D=h.options)===null||D===void 0)&&D.extractors?e.purge.options.extractors:!((p=e.content)===null||p===void 0||(m=p.options)===null||m===void 0)&&m.extractors?e.content.options.extractors:{}})(),i={},o=(()=>{var u,s,a,l;if(!((u=e.purge)===null||u===void 0||(s=u.options)===null||s===void 0)&&s.defaultExtractor)return e.purge.options.defaultExtractor;if(!((a=e.content)===null||a===void 0||(l=a.options)===null||l===void 0)&&l.defaultExtractor)return e.content.options.defaultExtractor})();if(o!==void 0&&(i.DEFAULT=o),typeof r=="function")i.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:u,extractor:s}of r??[])for(let a of u)i[a]=s;else typeof r=="object"&&r!==null&&Object.assign(i,r);return i})(),transform:(()=>{let r=(()=>{var o,u,s,a,l,f;return!((o=e.purge)===null||o===void 0)&&o.transform?e.purge.transform:!((u=e.content)===null||u===void 0)&&u.transform?e.content.transform:!((s=e.purge)===null||s===void 0||(a=s.transform)===null||a===void 0)&&a.DEFAULT?e.purge.transform.DEFAULT:!((l=e.content)===null||l===void 0||(f=l.transform)===null||f===void 0)&&f.DEFAULT?e.content.transform.DEFAULT:{}})(),i={};return typeof r=="function"&&(i.DEFAULT=r),typeof r=="object"&&r!==null&&Object.assign(i,r),i})()};for(let r of e.content.files)if(typeof r=="string"&&/{([^,]*?)}/g.test(r)){Nt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Nt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Nt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var zu=O(Zn=>{"use strict";c();Object.defineProperty(Zn,"__esModule",{value:!0});Object.defineProperty(Zn,"default",{enumerable:!0,get:()=>Uf});function Uf(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Gu=O(ti=>{"use strict";c();Object.defineProperty(ti,"__esModule",{value:!0});Object.defineProperty(ti,"cloneDeep",{enumerable:!0,get:()=>ei});function ei(e){return Array.isArray(e)?e.map(t=>ei(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,ei(n)])):e}});var ri=O((zr,ju)=>{"use strict";c();zr.__esModule=!0;zr.default=jf;function zf(e){for(var t=e.toLowerCase(),n="",r=!1,i=0;i<6&&t[i]!==void 0;i++){var o=t.charCodeAt(i),u=o>=97&&o<=102||o>=48&&o<=57;if(r=o===32,!u)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16),a=s>=55296&&s<=57343;return a||s===0||s>1114111?["\uFFFD",n.length+(r?1:0)]:[String.fromCodePoint(s),n.length+(r?1:0)]}}var Gf=/\\/;function jf(e){var t=Gf.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=zf(e.slice(r+1,r+7));if(i!==void 0){n+=i[0],r+=i[1];continue}if(e[r+1]==="\\"){n+="\\",r++;continue}e.length===r+1&&(n+=e[r]);continue}n+=e[r]}return n}ju.exports=zr.default});var Hu=O((Gr,Vu)=>{"use strict";c();Gr.__esModule=!0;Gr.default=Vf;function Vf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e}Vu.exports=Gr.default});var Xu=O((jr,Yu)=>{"use strict";c();jr.__esModule=!0;jr.default=Hf;function Hf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}}Yu.exports=jr.default});var Ku=O((Vr,Qu)=>{"use strict";c();Vr.__esModule=!0;Vr.default=Yf;function Yf(e){for(var t="",n=e.indexOf("/*"),r=0;n>=0;){t=t+e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t=t+e.slice(r),t}Qu.exports=Vr.default});var $t=O(Ie=>{"use strict";c();Ie.__esModule=!0;Ie.stripComments=Ie.ensureObject=Ie.getProp=Ie.unesc=void 0;var Xf=Hr(ri());Ie.unesc=Xf.default;var Qf=Hr(Hu());Ie.getProp=Qf.default;var Kf=Hr(Xu());Ie.ensureObject=Kf.default;var Jf=Hr(Ku());Ie.stripComments=Jf.default;function Hr(e){return e&&e.__esModule?e:{default:e}}});var qe=O((Wt,es)=>{"use strict";c();Wt.__esModule=!0;Wt.default=void 0;var Ju=$t();function Zu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zf(e,t,n){return t&&Zu(e.prototype,t),n&&Zu(e,n),e}var ec=function e(t,n){if(typeof t!="object"||t===null)return t;var r=new t.constructor;for(var i in t)if(!!t.hasOwnProperty(i)){var o=t[i],u=typeof o;i==="parent"&&u==="object"?n&&(r[i]=n):o instanceof Array?r[i]=o.map(function(s){return e(s,r)}):r[i]=e(o,r)}return r},tc=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var r in arguments)this.parent.insertBefore(this,arguments[r]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(r){r===void 0&&(r={});var i=ec(this);for(var o in r)i[o]=r[o];return i},t.appendToPropertyAndEscape=function(r,i,o){this.raws||(this.raws={});var u=this[r],s=this.raws[r];this[r]=u+i,s||o!==i?this.raws[r]=(s||u)+o:delete this.raws[r]},t.setPropertyAndEscape=function(r,i,o){this.raws||(this.raws={}),this[r]=i,this.raws[r]=o},t.setPropertyWithoutEscape=function(r,i){this[r]=i,this.raws&&delete this.raws[r]},t.isAtPosition=function(r,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>r||this.source.end.line<r||this.source.start.line===r&&this.source.start.column>i||this.source.end.line===r&&this.source.end.column<i)},t.stringifyProperty=function(r){return this.raws&&this.raws[r]||this[r]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},Zf(e,[{key:"rawSpaceBefore",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.before;return r===void 0&&(r=this.spaces&&this.spaces.before),r||""},set:function(r){(0,Ju.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=r}},{key:"rawSpaceAfter",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.after;return r===void 0&&(r=this.spaces.after),r||""},set:function(r){(0,Ju.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();Wt.default=tc;es.exports=Wt.default});var he=O(K=>{"use strict";c();K.__esModule=!0;K.UNIVERSAL=K.ATTRIBUTE=K.CLASS=K.COMBINATOR=K.COMMENT=K.ID=K.NESTING=K.PSEUDO=K.ROOT=K.SELECTOR=K.STRING=K.TAG=void 0;var rc="tag";K.TAG=rc;var nc="string";K.STRING=nc;var ic="selector";K.SELECTOR=ic;var oc="root";K.ROOT=oc;var uc="pseudo";K.PSEUDO=uc;var sc="nesting";K.NESTING=sc;var ac="id";K.ID=ac;var lc="comment";K.COMMENT=lc;var fc="combinator";K.COMBINATOR=fc;var cc="class";K.CLASS=cc;var dc="attribute";K.ATTRIBUTE=dc;var pc="universal";K.UNIVERSAL=pc});var Yr=O((qt,is)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var hc=mc(qe()),Ue=Dc(he());function ns(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ns=function(){return e},e}function Dc(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=ns();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function mc(e){return e&&e.__esModule?e:{default:e}}function gc(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=bc(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function bc(e,t){if(!!e){if(typeof e=="string")return ts(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ts(e,t)}}function ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vc(e,t,n){return t&&rs(e.prototype,t),n&&rs(e,n),e}function yc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ni(e,t)}function ni(e,t){return ni=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ni(e,t)}var xc=function(e){yc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.nodes||(i.nodes=[]),i}var n=t.prototype;return n.append=function(i){return i.parent=this,this.nodes.push(i),this},n.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},n.at=function(i){return this.nodes[i]},n.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},n.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var o;for(var u in this.indexes)o=this.indexes[u],o>=i&&(this.indexes[u]=o-1);return this},n.removeAll=function(){for(var i=gc(this.nodes),o;!(o=i()).done;){var u=o.value;u.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(i,o){o.parent=this;var u=this.index(i);this.nodes.splice(u+1,0,o),o.parent=this;var s;for(var a in this.indexes)s=this.indexes[a],u<=s&&(this.indexes[a]=s+1);return this},n.insertBefore=function(i,o){o.parent=this;var u=this.index(i);this.nodes.splice(u,0,o),o.parent=this;var s;for(var a in this.indexes)s=this.indexes[a],s<=u&&(this.indexes[a]=s+1);return this},n._findChildAtPosition=function(i,o){var u=void 0;return this.each(function(s){if(s.atPosition){var a=s.atPosition(i,o);if(a)return u=a,!1}else if(s.isAtPosition(i,o))return u=s,!1}),u},n.atPosition=function(i,o){if(this.isAtPosition(i,o))return this._findChildAtPosition(i,o)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var u,s;this.indexes[o]<this.length&&(u=this.indexes[o],s=i(this.at(u),u),s!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],s===!1)return!1}},n.walk=function(i){return this.each(function(o,u){var s=i(o,u);if(s!==!1&&o.length&&(s=o.walk(i)),s===!1)return!1})},n.walkAttributes=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.ATTRIBUTE)return i.call(o,u)})},n.walkClasses=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.CLASS)return i.call(o,u)})},n.walkCombinators=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.COMBINATOR)return i.call(o,u)})},n.walkComments=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.COMMENT)return i.call(o,u)})},n.walkIds=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.ID)return i.call(o,u)})},n.walkNesting=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.NESTING)return i.call(o,u)})},n.walkPseudos=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.PSEUDO)return i.call(o,u)})},n.walkTags=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.TAG)return i.call(o,u)})},n.walkUniversals=function(i){var o=this;return this.walk(function(u){if(u.type===Ue.UNIVERSAL)return i.call(o,u)})},n.split=function(i){var o=this,u=[];return this.reduce(function(s,a,l){var f=i.call(o,a);return u.push(a),f?(s.push(u),u=[]):l===o.length-1&&s.push(u),s},[])},n.map=function(i){return this.nodes.map(i)},n.reduce=function(i,o){return this.nodes.reduce(i,o)},n.every=function(i){return this.nodes.every(i)},n.some=function(i){return this.nodes.some(i)},n.filter=function(i){return this.nodes.filter(i)},n.sort=function(i){return this.nodes.sort(i)},n.toString=function(){return this.map(String).join("")},vc(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(hc.default);qt.default=xc;is.exports=qt.default});var oi=O((Ut,us)=>{"use strict";c();Ut.__esModule=!0;Ut.default=void 0;var Fc=Ec(Yr()),wc=he();function Ec(e){return e&&e.__esModule?e:{default:e}}function os(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cc(e,t,n){return t&&os(e.prototype,t),n&&os(e,n),e}function _c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ii(e,t)}function ii(e,t){return ii=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ii(e,t)}var Sc=function(e){_c(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=wc.ROOT,i}var n=t.prototype;return n.toString=function(){var i=this.reduce(function(o,u){return o.push(String(u)),o},[]).join(",");return this.trailingComma?i+",":i},n.error=function(i,o){return this._error?this._error(i,o):new Error(i)},Cc(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(Fc.default);Ut.default=Sc;us.exports=Ut.default});var si=O((zt,ss)=>{"use strict";c();zt.__esModule=!0;zt.default=void 0;var kc=Ac(Yr()),Tc=he();function Ac(e){return e&&e.__esModule?e:{default:e}}function Oc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ui(e,t)}function ui(e,t){return ui=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ui(e,t)}var Pc=function(e){Oc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Tc.SELECTOR,r}return t}(kc.default);zt.default=Pc;ss.exports=zt.default});var Xr=O((Wg,as)=>{"use strict";c();var Bc={},Rc=Bc.hasOwnProperty,Ic=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=Rc.call(t,i)?t[i]:n[i];return r},Lc=/[ -,\.\/:-@\[-\^`\{-~]/,Mc=/[ -,\.\/:-@\[\]\^`\{-~]/,Nc=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,ai=function e(t,n){n=Ic(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var r=n.quotes=="double"?'"':"'",i=n.isIdentifier,o=t.charAt(0),u="",s=0,a=t.length;s<a;){var l=t.charAt(s++),f=l.charCodeAt(),d=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&s<a){var h=t.charCodeAt(s++);(h&64512)==56320?f=((f&1023)<<10)+(h&1023)+65536:s--}d="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?Lc.test(l)?d="\\"+l:d="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?d="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&r==l||l=="'"&&r==l)||i&&Mc.test(l)?d="\\"+l:d=l;u+=d}return i&&(/^-[-\d]/.test(u)?u="\\-"+u.slice(1):/\d/.test(o)&&(u="\\3"+o+" "+u.slice(1))),u=u.replace(Nc,function(D,p,m){return p&&p.length%2?D:(p||"")+m}),!i&&n.wrap?r+u+r:u};ai.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};ai.version="3.0.0";as.exports=ai});var fi=O((Gt,cs)=>{"use strict";c();Gt.__esModule=!0;Gt.default=void 0;var $c=fs(Xr()),Wc=$t(),qc=fs(qe()),Uc=he();function fs(e){return e&&e.__esModule?e:{default:e}}function ls(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zc(e,t,n){return t&&ls(e.prototype,t),n&&ls(e,n),e}function Gc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,li(e,t)}function li(e,t){return li=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},li(e,t)}var jc=function(e){Gc(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Uc.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},zc(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var o=(0,$c.default)(i,{isIdentifier:!0});o!==i?((0,Wc.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=i}}]),t}(qc.default);Gt.default=jc;cs.exports=Gt.default});var di=O((jt,ds)=>{"use strict";c();jt.__esModule=!0;jt.default=void 0;var Vc=Yc(qe()),Hc=he();function Yc(e){return e&&e.__esModule?e:{default:e}}function Xc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ci(e,t)}function ci(e,t){return ci=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ci(e,t)}var Qc=function(e){Xc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Hc.COMMENT,r}return t}(Vc.default);jt.default=Qc;ds.exports=jt.default});var hi=O((Vt,ps)=>{"use strict";c();Vt.__esModule=!0;Vt.default=void 0;var Kc=Zc(qe()),Jc=he();function Zc(e){return e&&e.__esModule?e:{default:e}}function ed(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pi(e,t)}function pi(e,t){return pi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},pi(e,t)}var td=function(e){ed(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Jc.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Kc.default);Vt.default=td;ps.exports=Vt.default});var Qr=O((Ht,ms)=>{"use strict";c();Ht.__esModule=!0;Ht.default=void 0;var rd=Ds(Xr()),nd=$t(),id=Ds(qe());function Ds(e){return e&&e.__esModule?e:{default:e}}function hs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function od(e,t,n){return t&&hs(e.prototype,t),n&&hs(e,n),e}function ud(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Di(e,t)}function Di(e,t){return Di=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Di(e,t)}var sd=function(e){ud(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},od(t,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var o=(0,rd.default)(i,{isIdentifier:!0});this._namespace=i,o!==i?((0,nd.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),t}(id.default);Ht.default=sd;ms.exports=Ht.default});var gi=O((Yt,gs)=>{"use strict";c();Yt.__esModule=!0;Yt.default=void 0;var ad=fd(Qr()),ld=he();function fd(e){return e&&e.__esModule?e:{default:e}}function cd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mi(e,t)}function mi(e,t){return mi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},mi(e,t)}var dd=function(e){cd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=ld.TAG,r}return t}(ad.default);Yt.default=dd;gs.exports=Yt.default});var vi=O((Xt,bs)=>{"use strict";c();Xt.__esModule=!0;Xt.default=void 0;var pd=Dd(qe()),hd=he();function Dd(e){return e&&e.__esModule?e:{default:e}}function md(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bi(e,t)}function bi(e,t){return bi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},bi(e,t)}var gd=function(e){md(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=hd.STRING,r}return t}(pd.default);Xt.default=gd;bs.exports=Xt.default});var xi=O((Qt,vs)=>{"use strict";c();Qt.__esModule=!0;Qt.default=void 0;var bd=yd(Yr()),vd=he();function yd(e){return e&&e.__esModule?e:{default:e}}function xd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,yi(e,t)}function yi(e,t){return yi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},yi(e,t)}var Fd=function(e){xd(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=vd.PSEUDO,i}var n=t.prototype;return n.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},t}(bd.default);Qt.default=Fd;vs.exports=Qt.default});var xs=O((qg,ys)=>{c();ys.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var Si=O(Zt=>{"use strict";c();Zt.__esModule=!0;Zt.unescapeValue=_i;Zt.default=void 0;var Kt=Ci(Xr()),wd=Ci(ri()),Ed=Ci(Qr()),Cd=he(),Fi;function Ci(e){return e&&e.__esModule?e:{default:e}}function Fs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _d(e,t,n){return t&&Fs(e.prototype,t),n&&Fs(e,n),e}function Sd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ei(e,t)}function Ei(e,t){return Ei=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ei(e,t)}var Jt=xs(),kd=/^('|")([^]*)\1$/,Td=Jt(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),Ad=Jt(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),Od=Jt(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function _i(e){var t=!1,n=null,r=e,i=r.match(kd);return i&&(n=i[1],r=i[2]),r=(0,wd.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function Pd(e){if(e.quoteMark!==void 0||e.value===void 0)return e;Od();var t=_i(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var Kr=function(e){Sd(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,Pd(r))||this,i.type=Cd.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Jt(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Jt(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var n=t.prototype;return n.getQuotedValue=function(i){i===void 0&&(i={});var o=this._determineQuoteMark(i),u=wi[o],s=(0,Kt.default)(this._value,u);return s},n._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},n.setValue=function(i,o){o===void 0&&(o={}),this._value=i,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},n.smartQuoteMark=function(i){var o=this.value,u=o.replace(/[^']/g,"").length,s=o.replace(/[^"]/g,"").length;if(u+s===0){var a=(0,Kt.default)(o,{isIdentifier:!0});if(a===o)return t.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,d=wi[f],h=(0,Kt.default)(o,d);if(h.length<a.length)return f}return l}else return s===u?this.preferredQuoteMark(i):s<u?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(i){var o=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return o===void 0&&(o=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),o===void 0&&(o=t.DOUBLE_QUOTE),o},n._syncRawValue=function(){var i=(0,Kt.default)(this._value,wi[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},n._handleEscapes=function(i,o){if(this._constructed){var u=(0,Kt.default)(o,{isIdentifier:!0});u!==o?this.raws[i]=u:delete this.raws[i]}},n._spacesFor=function(i){var o={before:"",after:""},u=this.spaces[i]||{},s=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(o,u,s)},n._stringFor=function(i,o,u){o===void 0&&(o=i),u===void 0&&(u=ws);var s=this._spacesFor(o);return u(this.stringifyProperty(i),s)},n.offsetOf=function(i){var o=1,u=this._spacesFor("attribute");if(o+=u.before.length,i==="namespace"||i==="ns")return this.namespace?o:-1;if(i==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),i==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=u.after.length;var s=this._spacesFor("operator");o+=s.before.length;var a=this.stringifyProperty("operator");if(i==="operator")return a?o:-1;o+=a.length,o+=s.after.length;var l=this._spacesFor("value");o+=l.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?o:-1;o+=f.length,o+=l.after.length;var d=this._spacesFor("insensitive");return o+=d.before.length,i==="insensitive"&&this.insensitive?o:-1},n.toString=function(){var i=this,o=[this.rawSpaceBefore,"["];return o.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(o.push(this._stringFor("operator")),o.push(this._stringFor("value")),o.push(this._stringFor("insensitiveFlag","insensitive",function(u,s){return u.length>0&&!i.quoted&&s.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(s.before=" "),ws(u,s)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},_d(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){Ad()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var o=_i(i),u=o.deprecatedUsage,s=o.unescaped,a=o.quoteMark;if(u&&Td(),s===this._value&&a===this._quoteMark)return;this._value=s,this._quoteMark=a,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(Ed.default);Zt.default=Kr;Kr.NO_QUOTE=null;Kr.SINGLE_QUOTE="'";Kr.DOUBLE_QUOTE='"';var wi=(Fi={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Fi[null]={isIdentifier:!0},Fi);function ws(e,t){return""+t.before+e+t.after}});var Ti=O((er,Es)=>{"use strict";c();er.__esModule=!0;er.default=void 0;var Bd=Id(Qr()),Rd=he();function Id(e){return e&&e.__esModule?e:{default:e}}function Ld(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ki(e,t)}function ki(e,t){return ki=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ki(e,t)}var Md=function(e){Ld(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Rd.UNIVERSAL,r.value="*",r}return t}(Bd.default);er.default=Md;Es.exports=er.default});var Oi=O((tr,Cs)=>{"use strict";c();tr.__esModule=!0;tr.default=void 0;var Nd=Wd(qe()),$d=he();function Wd(e){return e&&e.__esModule?e:{default:e}}function qd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ai(e,t)}function Ai(e,t){return Ai=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ai(e,t)}var Ud=function(e){qd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=$d.COMBINATOR,r}return t}(Nd.default);tr.default=Ud;Cs.exports=tr.default});var Bi=O((rr,_s)=>{"use strict";c();rr.__esModule=!0;rr.default=void 0;var zd=jd(qe()),Gd=he();function jd(e){return e&&e.__esModule?e:{default:e}}function Vd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pi(e,t)}function Pi(e,t){return Pi=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Pi(e,t)}var Hd=function(e){Vd(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Gd.NESTING,r.value="&",r}return t}(zd.default);rr.default=Hd;_s.exports=rr.default});var ks=O((Jr,Ss)=>{"use strict";c();Jr.__esModule=!0;Jr.default=Yd;function Yd(e){return e.sort(function(t,n){return t-n})}Ss.exports=Jr.default});var Ri=O(A=>{"use strict";c();A.__esModule=!0;A.combinator=A.word=A.comment=A.str=A.tab=A.newline=A.feed=A.cr=A.backslash=A.bang=A.slash=A.doubleQuote=A.singleQuote=A.space=A.greaterThan=A.pipe=A.equals=A.plus=A.caret=A.tilde=A.dollar=A.closeSquare=A.openSquare=A.closeParenthesis=A.openParenthesis=A.semicolon=A.colon=A.comma=A.at=A.asterisk=A.ampersand=void 0;var Xd=38;A.ampersand=Xd;var Qd=42;A.asterisk=Qd;var Kd=64;A.at=Kd;var Jd=44;A.comma=Jd;var Zd=58;A.colon=Zd;var ep=59;A.semicolon=ep;var tp=40;A.openParenthesis=tp;var rp=41;A.closeParenthesis=rp;var np=91;A.openSquare=np;var ip=93;A.closeSquare=ip;var op=36;A.dollar=op;var up=126;A.tilde=up;var sp=94;A.caret=sp;var ap=43;A.plus=ap;var lp=61;A.equals=lp;var fp=124;A.pipe=fp;var cp=62;A.greaterThan=cp;var dp=32;A.space=dp;var Ts=39;A.singleQuote=Ts;var pp=34;A.doubleQuote=pp;var hp=47;A.slash=hp;var Dp=33;A.bang=Dp;var mp=92;A.backslash=mp;var gp=13;A.cr=gp;var bp=12;A.feed=bp;var vp=10;A.newline=vp;var yp=9;A.tab=yp;var xp=Ts;A.str=xp;var Fp=-1;A.comment=Fp;var wp=-2;A.word=wp;var Ep=-3;A.combinator=Ep});var Ps=O(nr=>{"use strict";c();nr.__esModule=!0;nr.default=Op;nr.FIELDS=void 0;var S=Cp(Ri()),bt,X;function Os(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Os=function(){return e},e}function Cp(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Os();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var _p=(bt={},bt[S.tab]=!0,bt[S.newline]=!0,bt[S.cr]=!0,bt[S.feed]=!0,bt),Sp=(X={},X[S.space]=!0,X[S.tab]=!0,X[S.newline]=!0,X[S.cr]=!0,X[S.feed]=!0,X[S.ampersand]=!0,X[S.asterisk]=!0,X[S.bang]=!0,X[S.comma]=!0,X[S.colon]=!0,X[S.semicolon]=!0,X[S.openParenthesis]=!0,X[S.closeParenthesis]=!0,X[S.openSquare]=!0,X[S.closeSquare]=!0,X[S.singleQuote]=!0,X[S.doubleQuote]=!0,X[S.plus]=!0,X[S.pipe]=!0,X[S.tilde]=!0,X[S.greaterThan]=!0,X[S.equals]=!0,X[S.dollar]=!0,X[S.caret]=!0,X[S.slash]=!0,X),Ii={},As="0123456789abcdefABCDEF";for(Zr=0;Zr<As.length;Zr++)Ii[As.charCodeAt(Zr)]=!0;var Zr;function kp(e,t){var n=t,r;do{if(r=e.charCodeAt(n),Sp[r])return n-1;r===S.backslash?n=Tp(e,n)+1:n++}while(n<e.length);return n-1}function Tp(e,t){var n=t,r=e.charCodeAt(n+1);if(!_p[r])if(Ii[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(Ii[r]&&i<6);i<6&&r===S.space&&n++}else n++;return n}var Ap={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};nr.FIELDS=Ap;function Op(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,o=-1,u=1,s=0,a=0,l,f,d,h,D,p,m,F,b,v,w,E,C;function B(I,M){if(e.safe)n+=M,b=n.length-1;else throw e.error("Unclosed "+I,u,s-o,s)}for(;s<i;){switch(l=n.charCodeAt(s),l===S.newline&&(o=s,u+=1),l){case S.space:case S.tab:case S.newline:case S.cr:case S.feed:b=s;do b+=1,l=n.charCodeAt(b),l===S.newline&&(o=b,u+=1);while(l===S.space||l===S.newline||l===S.tab||l===S.cr||l===S.feed);C=S.space,h=u,d=b-o-1,a=b;break;case S.plus:case S.greaterThan:case S.tilde:case S.pipe:b=s;do b+=1,l=n.charCodeAt(b);while(l===S.plus||l===S.greaterThan||l===S.tilde||l===S.pipe);C=S.combinator,h=u,d=s-o,a=b;break;case S.asterisk:case S.ampersand:case S.bang:case S.comma:case S.equals:case S.dollar:case S.caret:case S.openSquare:case S.closeSquare:case S.colon:case S.semicolon:case S.openParenthesis:case S.closeParenthesis:b=s,C=l,h=u,d=s-o,a=b+1;break;case S.singleQuote:case S.doubleQuote:E=l===S.singleQuote?"'":'"',b=s;do for(D=!1,b=n.indexOf(E,b+1),b===-1&&B("quote",E),p=b;n.charCodeAt(p-1)===S.backslash;)p-=1,D=!D;while(D);C=S.str,h=u,d=s-o,a=b+1;break;default:l===S.slash&&n.charCodeAt(s+1)===S.asterisk?(b=n.indexOf("*/",s+2)+1,b===0&&B("comment","*/"),f=n.slice(s,b+1),F=f.split(`
|
|
3
|
+
`),m=F.length-1,m>0?(v=u+m,w=b-F[m].length):(v=u,w=o),C=S.comment,u=v,h=v,d=b-w):l===S.slash?(b=s,C=l,h=u,d=s-o,a=b+1):(b=kp(n,s),C=S.word,h=u,d=b-o),a=b+1;break}t.push([C,u,s-o,h,d,s,a]),w&&(o=w,w=null),s=a}return t}});var Ws=O((ir,$s)=>{"use strict";c();ir.__esModule=!0;ir.default=void 0;var Pp=Se(oi()),Li=Se(si()),Bp=Se(fi()),Bs=Se(di()),Rp=Se(hi()),Ip=Se(gi()),Mi=Se(vi()),Lp=Se(xi()),Rs=en(Si()),Mp=Se(Ti()),Ni=Se(Oi()),Np=Se(Bi()),$p=Se(ks()),_=en(Ps()),k=en(Ri()),Wp=en(he()),re=$t(),ot,$i;function Ns(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Ns=function(){return e},e}function en(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Ns();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Se(e){return e&&e.__esModule?e:{default:e}}function Is(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qp(e,t,n){return t&&Is(e.prototype,t),n&&Is(e,n),e}var Ui=(ot={},ot[k.space]=!0,ot[k.cr]=!0,ot[k.feed]=!0,ot[k.newline]=!0,ot[k.tab]=!0,ot),Up=Object.assign({},Ui,($i={},$i[k.comment]=!0,$i));function Ls(e){return{line:e[_.FIELDS.START_LINE],column:e[_.FIELDS.START_COL]}}function Ms(e){return{line:e[_.FIELDS.END_LINE],column:e[_.FIELDS.END_COL]}}function ut(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function vt(e){return ut(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],e[_.FIELDS.END_LINE],e[_.FIELDS.END_COL])}function Wi(e,t){if(!!e)return ut(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],t[_.FIELDS.END_LINE],t[_.FIELDS.END_COL])}function yt(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,re.ensureObject)(e,"raws"),e[t]=(0,re.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function qi(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function zp(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var Gp=function(){function e(n,r){r===void 0&&(r={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},r),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Wi(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Pp.default({source:i}),this.root.errorGenerator=this._errorGenerator();var o=new Li.default({source:{start:{line:1,column:1}}});this.root.append(o),this.current=o,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var r=this;return function(i,o){return typeof r.rule=="string"?new Error(i):r.rule.error(i,o)}},t.attribute=function(){var r=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[_.FIELDS.TYPE]!==k.closeSquare;)r.push(this.currToken),this.position++;if(this.currToken[_.FIELDS.TYPE]!==k.closeSquare)return this.expected("closing square bracket",this.currToken[_.FIELDS.START_POS]);var o=r.length,u={source:ut(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[_.FIELDS.START_POS]};if(o===1&&!~[k.word].indexOf(r[0][_.FIELDS.TYPE]))return this.expected("attribute",r[0][_.FIELDS.START_POS]);for(var s=0,a="",l="",f=null,d=!1;s<o;){var h=r[s],D=this.content(h),p=r[s+1];switch(h[_.FIELDS.TYPE]){case k.space:if(d=!0,this.options.lossy)break;if(f){(0,re.ensureObject)(u,"spaces",f);var m=u.spaces[f].after||"";u.spaces[f].after=m+D;var F=(0,re.getProp)(u,"raws","spaces",f,"after")||null;F&&(u.raws.spaces[f].after=F+D)}else a=a+D,l=l+D;break;case k.asterisk:if(p[_.FIELDS.TYPE]===k.equals)u.operator=D,f="operator";else if((!u.namespace||f==="namespace"&&!d)&&p){a&&((0,re.ensureObject)(u,"spaces","attribute"),u.spaces.attribute.before=a,a=""),l&&((0,re.ensureObject)(u,"raws","spaces","attribute"),u.raws.spaces.attribute.before=a,l=""),u.namespace=(u.namespace||"")+D;var b=(0,re.getProp)(u,"raws","namespace")||null;b&&(u.raws.namespace+=D),f="namespace"}d=!1;break;case k.dollar:if(f==="value"){var v=(0,re.getProp)(u,"raws","value");u.value+="$",v&&(u.raws.value=v+"$");break}case k.caret:p[_.FIELDS.TYPE]===k.equals&&(u.operator=D,f="operator"),d=!1;break;case k.combinator:if(D==="~"&&p[_.FIELDS.TYPE]===k.equals&&(u.operator=D,f="operator"),D!=="|"){d=!1;break}p[_.FIELDS.TYPE]===k.equals?(u.operator=D,f="operator"):!u.namespace&&!u.attribute&&(u.namespace=!0),d=!1;break;case k.word:if(p&&this.content(p)==="|"&&r[s+2]&&r[s+2][_.FIELDS.TYPE]!==k.equals&&!u.operator&&!u.namespace)u.namespace=D,f="namespace";else if(!u.attribute||f==="attribute"&&!d){a&&((0,re.ensureObject)(u,"spaces","attribute"),u.spaces.attribute.before=a,a=""),l&&((0,re.ensureObject)(u,"raws","spaces","attribute"),u.raws.spaces.attribute.before=l,l=""),u.attribute=(u.attribute||"")+D;var w=(0,re.getProp)(u,"raws","attribute")||null;w&&(u.raws.attribute+=D),f="attribute"}else if(!u.value&&u.value!==""||f==="value"&&!d){var E=(0,re.unesc)(D),C=(0,re.getProp)(u,"raws","value")||"",B=u.value||"";u.value=B+E,u.quoteMark=null,(E!==D||C)&&((0,re.ensureObject)(u,"raws"),u.raws.value=(C||B)+D),f="value"}else{var I=D==="i"||D==="I";(u.value||u.value==="")&&(u.quoteMark||d)?(u.insensitive=I,(!I||D==="I")&&((0,re.ensureObject)(u,"raws"),u.raws.insensitiveFlag=D),f="insensitive",a&&((0,re.ensureObject)(u,"spaces","insensitive"),u.spaces.insensitive.before=a,a=""),l&&((0,re.ensureObject)(u,"raws","spaces","insensitive"),u.raws.spaces.insensitive.before=l,l="")):(u.value||u.value==="")&&(f="value",u.value+=D,u.raws.value&&(u.raws.value+=D))}d=!1;break;case k.str:if(!u.attribute||!u.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[_.FIELDS.START_POS]});var M=(0,Rs.unescapeValue)(D),Y=M.unescaped,Z=M.quoteMark;u.value=Y,u.quoteMark=Z,f="value",(0,re.ensureObject)(u,"raws"),u.raws.value=D,d=!1;break;case k.equals:if(!u.attribute)return this.expected("attribute",h[_.FIELDS.START_POS],D);if(u.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[_.FIELDS.START_POS]});u.operator=u.operator?u.operator+D:D,f="operator",d=!1;break;case k.comment:if(f)if(d||p&&p[_.FIELDS.TYPE]===k.space||f==="insensitive"){var ae=(0,re.getProp)(u,"spaces",f,"after")||"",q=(0,re.getProp)(u,"raws","spaces",f,"after")||ae;(0,re.ensureObject)(u,"raws","spaces",f),u.raws.spaces[f].after=q+D}else{var $=u[f]||"",oe=(0,re.getProp)(u,"raws",f)||$;(0,re.ensureObject)(u,"raws"),u.raws[f]=oe+D}else l=l+D;break;default:return this.error('Unexpected "'+D+'" found.',{index:h[_.FIELDS.START_POS]})}s++}yt(u,"attribute"),yt(u,"namespace"),this.newNode(new Rs.default(u)),this.position++},t.parseWhitespaceEquivalentTokens=function(r){r<0&&(r=this.tokens.length);var i=this.position,o=[],u="",s=void 0;do if(Ui[this.currToken[_.FIELDS.TYPE]])this.options.lossy||(u+=this.content());else if(this.currToken[_.FIELDS.TYPE]===k.comment){var a={};u&&(a.before=u,u=""),s=new Bs.default({value:this.content(),source:vt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS],spaces:a}),o.push(s)}while(++this.position<r);if(u){if(s)s.spaces.after=u;else if(!this.options.lossy){var l=this.tokens[i],f=this.tokens[this.position-1];o.push(new Mi.default({value:"",source:ut(l[_.FIELDS.START_LINE],l[_.FIELDS.START_COL],f[_.FIELDS.END_LINE],f[_.FIELDS.END_COL]),sourceIndex:l[_.FIELDS.START_POS],spaces:{before:u,after:""}}))}}return o},t.convertWhitespaceNodesToSpace=function(r,i){var o=this;i===void 0&&(i=!1);var u="",s="";r.forEach(function(l){var f=o.lossySpace(l.spaces.before,i),d=o.lossySpace(l.rawSpaceBefore,i);u+=f+o.lossySpace(l.spaces.after,i&&f.length===0),s+=f+l.value+o.lossySpace(l.rawSpaceAfter,i&&d.length===0)}),s===u&&(s=void 0);var a={space:u,rawSpace:s};return a},t.isNamedCombinator=function(r){return r===void 0&&(r=this.position),this.tokens[r+0]&&this.tokens[r+0][_.FIELDS.TYPE]===k.slash&&this.tokens[r+1]&&this.tokens[r+1][_.FIELDS.TYPE]===k.word&&this.tokens[r+2]&&this.tokens[r+2][_.FIELDS.TYPE]===k.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var r=this.content(this.tokens[this.position+1]),i=(0,re.unesc)(r).toLowerCase(),o={};i!==r&&(o.value="/"+r+"/");var u=new Ni.default({value:"/"+i+"/",source:ut(this.currToken[_.FIELDS.START_LINE],this.currToken[_.FIELDS.START_COL],this.tokens[this.position+2][_.FIELDS.END_LINE],this.tokens[this.position+2][_.FIELDS.END_COL]),sourceIndex:this.currToken[_.FIELDS.START_POS],raws:o});return this.position=this.position+3,u}else this.unexpected()},t.combinator=function(){var r=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][_.FIELDS.TYPE]===k.comma){var o=this.parseWhitespaceEquivalentTokens(i);if(o.length>0){var u=this.current.last;if(u){var s=this.convertWhitespaceNodesToSpace(o),a=s.space,l=s.rawSpace;l!==void 0&&(u.rawSpaceAfter+=l),u.spaces.after+=a}else o.forEach(function(C){return r.newNode(C)})}return}var f=this.currToken,d=void 0;i>this.position&&(d=this.parseWhitespaceEquivalentTokens(i));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===k.combinator?(h=new Ni.default({value:this.content(),source:vt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):Ui[this.currToken[_.FIELDS.TYPE]]||d||this.unexpected(),h){if(d){var D=this.convertWhitespaceNodesToSpace(d),p=D.space,m=D.rawSpace;h.spaces.before=p,h.rawSpaceBefore=m}}else{var F=this.convertWhitespaceNodesToSpace(d,!0),b=F.space,v=F.rawSpace;v||(v=b);var w={},E={spaces:{}};b.endsWith(" ")&&v.endsWith(" ")?(w.before=b.slice(0,b.length-1),E.spaces.before=v.slice(0,v.length-1)):b.startsWith(" ")&&v.startsWith(" ")?(w.after=b.slice(1),E.spaces.after=v.slice(1)):E.value=v,h=new Ni.default({value:" ",source:Wi(f,this.tokens[this.position-1]),sourceIndex:f[_.FIELDS.START_POS],spaces:w,raws:E})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===k.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var r=new Li.default({source:{start:Ls(this.tokens[this.position+1])}});this.current.parent.append(r),this.current=r,this.position++},t.comment=function(){var r=this.currToken;this.newNode(new Bs.default({value:this.content(),source:vt(r),sourceIndex:r[_.FIELDS.START_POS]})),this.position++},t.error=function(r,i){throw this.root.error(r,i)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])},t.namespace=function(){var r=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[_.FIELDS.TYPE]===k.word)return this.position++,this.word(r);if(this.nextToken[_.FIELDS.TYPE]===k.asterisk)return this.position++,this.universal(r)},t.nesting=function(){if(this.nextToken){var r=this.content(this.nextToken);if(r==="|"){this.position++;return}}var i=this.currToken;this.newNode(new Np.default({value:this.content(),source:vt(i),sourceIndex:i[_.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===Wp.PSEUDO){var o=new Li.default({source:{start:Ls(this.tokens[this.position-1])}}),u=this.current;for(r.append(o),this.current=o;this.position<this.tokens.length&&i;)this.currToken[_.FIELDS.TYPE]===k.openParenthesis&&i++,this.currToken[_.FIELDS.TYPE]===k.closeParenthesis&&i--,i?this.parse():(this.current.source.end=Ms(this.currToken),this.current.parent.source.end=Ms(this.currToken),this.position++);this.current=u}else{for(var s=this.currToken,a="(",l;this.position<this.tokens.length&&i;)this.currToken[_.FIELDS.TYPE]===k.openParenthesis&&i++,this.currToken[_.FIELDS.TYPE]===k.closeParenthesis&&i--,l=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",a,a):this.newNode(new Mi.default({value:a,source:ut(s[_.FIELDS.START_LINE],s[_.FIELDS.START_COL],l[_.FIELDS.END_LINE],l[_.FIELDS.END_COL]),sourceIndex:s[_.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[_.FIELDS.START_POS])},t.pseudo=function(){for(var r=this,i="",o=this.currToken;this.currToken&&this.currToken[_.FIELDS.TYPE]===k.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[_.FIELDS.TYPE]===k.word)this.splitWord(!1,function(u,s){i+=u,r.newNode(new Lp.default({value:i,source:Wi(o,r.currToken),sourceIndex:o[_.FIELDS.START_POS]})),s>1&&r.nextToken&&r.nextToken[_.FIELDS.TYPE]===k.openParenthesis&&r.error("Misplaced parenthesis.",{index:r.nextToken[_.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])},t.space=function(){var r=this.content();this.position===0||this.prevToken[_.FIELDS.TYPE]===k.comma||this.prevToken[_.FIELDS.TYPE]===k.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(r),this.position++):this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===k.comma||this.nextToken[_.FIELDS.TYPE]===k.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(r),this.position++):this.combinator()},t.string=function(){var r=this.currToken;this.newNode(new Mi.default({value:this.content(),source:vt(r),sourceIndex:r[_.FIELDS.START_POS]})),this.position++},t.universal=function(r){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new Mp.default({value:this.content(),source:vt(o),sourceIndex:o[_.FIELDS.START_POS]}),r),this.position++},t.splitWord=function(r,i){for(var o=this,u=this.nextToken,s=this.content();u&&~[k.dollar,k.caret,k.equals,k.word].indexOf(u[_.FIELDS.TYPE]);){this.position++;var a=this.content();if(s+=a,a.lastIndexOf("\\")===a.length-1){var l=this.nextToken;l&&l[_.FIELDS.TYPE]===k.space&&(s+=this.requiredSpace(this.content(l)),this.position++)}u=this.nextToken}var f=qi(s,".").filter(function(p){var m=s[p-1]==="\\",F=/^\d+\.\d+%$/.test(s);return!m&&!F}),d=qi(s,"#").filter(function(p){return s[p-1]!=="\\"}),h=qi(s,"#{");h.length&&(d=d.filter(function(p){return!~h.indexOf(p)}));var D=(0,$p.default)(zp([0].concat(f,d)));D.forEach(function(p,m){var F=D[m+1]||s.length,b=s.slice(p,F);if(m===0&&i)return i.call(o,b,D.length);var v,w=o.currToken,E=w[_.FIELDS.START_POS]+D[m],C=ut(w[1],w[2]+p,w[3],w[2]+(F-1));if(~f.indexOf(p)){var B={value:b.slice(1),source:C,sourceIndex:E};v=new Bp.default(yt(B,"value"))}else if(~d.indexOf(p)){var I={value:b.slice(1),source:C,sourceIndex:E};v=new Rp.default(yt(I,"value"))}else{var M={value:b,source:C,sourceIndex:E};yt(M,"value"),v=new Ip.default(M)}o.newNode(v,r),r=null}),this.position++},t.word=function(r){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(r)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(r){switch(this.currToken[_.FIELDS.TYPE]){case k.space:this.space();break;case k.comment:this.comment();break;case k.openParenthesis:this.parentheses();break;case k.closeParenthesis:r&&this.missingParenthesis();break;case k.openSquare:this.attribute();break;case k.dollar:case k.caret:case k.equals:case k.word:this.word();break;case k.colon:this.pseudo();break;case k.comma:this.comma();break;case k.asterisk:this.universal();break;case k.ampersand:this.nesting();break;case k.slash:case k.combinator:this.combinator();break;case k.str:this.string();break;case k.closeSquare:this.missingSquareBracket();case k.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(r,i,o){if(Array.isArray(r)){var u=r.pop();r=r.join(", ")+" or "+u}var s=/^[aeiou]/.test(r[0])?"an":"a";return o?this.error("Expected "+s+" "+r+', found "'+o+'" instead.',{index:i}):this.error("Expected "+s+" "+r+".",{index:i})},t.requiredSpace=function(r){return this.options.lossy?" ":r},t.optionalSpace=function(r){return this.options.lossy?"":r},t.lossySpace=function(r,i){return this.options.lossy?i?" ":"":r},t.parseParenthesisToken=function(r){var i=this.content(r);return r[_.FIELDS.TYPE]===k.space?this.requiredSpace(i):i},t.newNode=function(r,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),r.namespace=i,yt(r,"namespace")),this.spaces&&(r.spaces.before=this.spaces,this.spaces=""),this.current.append(r)},t.content=function(r){return r===void 0&&(r=this.currToken),this.css.slice(r[_.FIELDS.START_POS],r[_.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(r){r===void 0&&(r=this.position+1);for(var i=r;i<this.tokens.length;)if(Up[this.tokens[i][_.FIELDS.TYPE]]){i++;continue}else return i;return-1},qp(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();ir.default=Gp;$s.exports=ir.default});var Us=O((or,qs)=>{"use strict";c();or.__esModule=!0;or.default=void 0;var jp=Vp(Ws());function Vp(e){return e&&e.__esModule?e:{default:e}}var Hp=function(){function e(n,r){this.func=n||function(){},this.funcRes=null,this.options=r}var t=e.prototype;return t._shouldUpdateSelector=function(r,i){i===void 0&&(i={});var o=Object.assign({},this.options,i);return o.updateSelector===!1?!1:typeof r!="string"},t._isLossy=function(r){r===void 0&&(r={});var i=Object.assign({},this.options,r);return i.lossless===!1},t._root=function(r,i){i===void 0&&(i={});var o=new jp.default(r,this._parseOptions(i));return o.root},t._parseOptions=function(r){return{lossy:this._isLossy(r)}},t._run=function(r,i){var o=this;return i===void 0&&(i={}),new Promise(function(u,s){try{var a=o._root(r,i);Promise.resolve(o.func(a)).then(function(l){var f=void 0;return o._shouldUpdateSelector(r,i)&&(f=a.toString(),r.selector=f),{transform:l,root:a,string:f}}).then(u,s)}catch(l){s(l);return}})},t._runSync=function(r,i){i===void 0&&(i={});var o=this._root(r,i),u=this.func(o);if(u&&typeof u.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var s=void 0;return i.updateSelector&&typeof r!="string"&&(s=o.toString(),r.selector=s),{transform:u,root:o,string:s}},t.ast=function(r,i){return this._run(r,i).then(function(o){return o.root})},t.astSync=function(r,i){return this._runSync(r,i).root},t.transform=function(r,i){return this._run(r,i).then(function(o){return o.transform})},t.transformSync=function(r,i){return this._runSync(r,i).transform},t.process=function(r,i){return this._run(r,i).then(function(o){return o.string||o.root.toString()})},t.processSync=function(r,i){var o=this._runSync(r,i);return o.string||o.root.toString()},e}();or.default=Hp;qs.exports=or.default});var zs=O(J=>{"use strict";c();J.__esModule=!0;J.universal=J.tag=J.string=J.selector=J.root=J.pseudo=J.nesting=J.id=J.comment=J.combinator=J.className=J.attribute=void 0;var Yp=ke(Si()),Xp=ke(fi()),Qp=ke(Oi()),Kp=ke(di()),Jp=ke(hi()),Zp=ke(Bi()),e0=ke(xi()),t0=ke(oi()),r0=ke(si()),n0=ke(vi()),i0=ke(gi()),o0=ke(Ti());function ke(e){return e&&e.__esModule?e:{default:e}}var u0=function(t){return new Yp.default(t)};J.attribute=u0;var s0=function(t){return new Xp.default(t)};J.className=s0;var a0=function(t){return new Qp.default(t)};J.combinator=a0;var l0=function(t){return new Kp.default(t)};J.comment=l0;var f0=function(t){return new Jp.default(t)};J.id=f0;var c0=function(t){return new Zp.default(t)};J.nesting=c0;var d0=function(t){return new e0.default(t)};J.pseudo=d0;var p0=function(t){return new t0.default(t)};J.root=p0;var h0=function(t){return new r0.default(t)};J.selector=h0;var D0=function(t){return new n0.default(t)};J.string=D0;var m0=function(t){return new i0.default(t)};J.tag=m0;var g0=function(t){return new o0.default(t)};J.universal=g0});var Hs=O(j=>{"use strict";c();j.__esModule=!0;j.isNode=zi;j.isPseudoElement=Vs;j.isPseudoClass=k0;j.isContainer=T0;j.isNamespace=A0;j.isUniversal=j.isTag=j.isString=j.isSelector=j.isRoot=j.isPseudo=j.isNesting=j.isIdentifier=j.isComment=j.isCombinator=j.isClassName=j.isAttribute=void 0;var ne=he(),ve,b0=(ve={},ve[ne.ATTRIBUTE]=!0,ve[ne.CLASS]=!0,ve[ne.COMBINATOR]=!0,ve[ne.COMMENT]=!0,ve[ne.ID]=!0,ve[ne.NESTING]=!0,ve[ne.PSEUDO]=!0,ve[ne.ROOT]=!0,ve[ne.SELECTOR]=!0,ve[ne.STRING]=!0,ve[ne.TAG]=!0,ve[ne.UNIVERSAL]=!0,ve);function zi(e){return typeof e=="object"&&b0[e.type]}function Te(e,t){return zi(t)&&t.type===e}var Gs=Te.bind(null,ne.ATTRIBUTE);j.isAttribute=Gs;var v0=Te.bind(null,ne.CLASS);j.isClassName=v0;var y0=Te.bind(null,ne.COMBINATOR);j.isCombinator=y0;var x0=Te.bind(null,ne.COMMENT);j.isComment=x0;var F0=Te.bind(null,ne.ID);j.isIdentifier=F0;var w0=Te.bind(null,ne.NESTING);j.isNesting=w0;var Gi=Te.bind(null,ne.PSEUDO);j.isPseudo=Gi;var E0=Te.bind(null,ne.ROOT);j.isRoot=E0;var C0=Te.bind(null,ne.SELECTOR);j.isSelector=C0;var _0=Te.bind(null,ne.STRING);j.isString=_0;var js=Te.bind(null,ne.TAG);j.isTag=js;var S0=Te.bind(null,ne.UNIVERSAL);j.isUniversal=S0;function Vs(e){return Gi(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function k0(e){return Gi(e)&&!Vs(e)}function T0(e){return!!(zi(e)&&e.walk)}function A0(e){return Gs(e)||js(e)}});var Ys=O(Pe=>{"use strict";c();Pe.__esModule=!0;var ji=he();Object.keys(ji).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===ji[e]||(Pe[e]=ji[e])});var Vi=zs();Object.keys(Vi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Vi[e]||(Pe[e]=Vi[e])});var Hi=Hs();Object.keys(Hi).forEach(function(e){e==="default"||e==="__esModule"||e in Pe&&Pe[e]===Hi[e]||(Pe[e]=Hi[e])})});var Ks=O((ur,Qs)=>{"use strict";c();ur.__esModule=!0;ur.default=void 0;var O0=R0(Us()),P0=B0(Ys());function Xs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Xs=function(){return e},e}function B0(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Xs();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function R0(e){return e&&e.__esModule?e:{default:e}}var Yi=function(t){return new O0.default(t)};Object.assign(Yi,P0);delete Yi.__esModule;var I0=Yi;ur.default=I0;Qs.exports=ur.default});var Js=O(Xi=>{"use strict";c();Object.defineProperty(Xi,"__esModule",{value:!0});Object.defineProperty(Xi,"default",{enumerable:!0,get:()=>L0});function L0(e){return e.replace(/\\,/g,"\\2c ")}});var ea=O((Xg,Zs)=>{"use strict";c();Zs.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Ki=O(Qi=>{"use strict";c();Object.defineProperty(Qi,"__esModule",{value:!0});function M0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}M0(Qi,{parseColor:()=>z0,formatColor:()=>G0});var ta=N0(ea());function N0(e){return e&&e.__esModule?e:{default:e}}var $0=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,W0=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ze=/(?:\d+|\d*\.\d+)%?/,tn=/(?:\s*,\s*|\s+)/,ra=/\s*[,/]\s*/,et=/var\(--(?:[^ )]*?)\)/,q0=new RegExp(`^(rgb)a?\\(\\s*(${Ze.source}|${et.source})(?:${tn.source}(${Ze.source}|${et.source}))?(?:${tn.source}(${Ze.source}|${et.source}))?(?:${ra.source}(${Ze.source}|${et.source}))?\\s*\\)$`),U0=new RegExp(`^(hsl)a?\\(\\s*((?:${Ze.source})(?:deg|rad|grad|turn)?|${et.source})(?:${tn.source}(${Ze.source}|${et.source}))?(?:${tn.source}(${Ze.source}|${et.source}))?(?:${ra.source}(${Ze.source}|${et.source}))?\\s*\\)$`);function z0(e,{loose:t=!1}={}){var n,r;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in ta.default)return{mode:"rgb",color:ta.default[e].map(a=>a.toString())};let i=e.replace(W0,(a,l,f,d,h)=>["#",l,l,f,f,d,d,h?h+h:""].join("")).match($0);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(a=>a.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var o;let u=(o=e.match(q0))!==null&&o!==void 0?o:e.match(U0);if(u===null)return null;let s=[u[2],u[3],u[4]].filter(Boolean).map(a=>a.toString());return!t&&s.length!==3||s.length<3&&!s.some(a=>/^var\(.*?\)$/.test(a))?null:{mode:u[1],color:s,alpha:(n=u[5])===null||n===void 0||(r=n.toString)===null||r===void 0?void 0:r.call(n)}}function G0({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var Zi=O(Ji=>{"use strict";c();Object.defineProperty(Ji,"__esModule",{value:!0});function j0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}j0(Ji,{withAlphaValue:()=>V0,default:()=>H0});var rn=Ki();function V0(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,rn.parseColor)(e,{loose:!0});return r===null?n:(0,rn.formatColor)({...r,alpha:t})}function H0({color:e,property:t,variable:n}){let r=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(r.map(o=>[o,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,rn.parseColor)(e);return i===null?Object.fromEntries(r.map(o=>[o,e])):i.alpha!==void 0?Object.fromEntries(r.map(o=>[o,e])):{[n]:"1",...Object.fromEntries(r.map(o=>[o,(0,rn.formatColor)({...i,alpha:`var(${n})`})]))}}});var sa=O(eo=>{"use strict";c();Object.defineProperty(eo,"__esModule",{value:!0});function Y0(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Y0(eo,{pattern:()=>Q0,withoutCapturing:()=>ia,any:()=>oa,optional:()=>K0,zeroOrMore:()=>J0,nestedBrackets:()=>ua,escape:()=>st});var na=/[\\^$.*+?()[\]{}|]/g,X0=RegExp(na.source);function sr(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function Q0(e){return new RegExp(sr(e),"g")}function ia(e){return new RegExp(`(?:${sr(e)})`,"g")}function oa(e){return`(?:${e.map(sr).join("|")})`}function K0(e){return`(?:${sr(e)})?`}function J0(e){return`(?:${sr(e)})*`}function ua(e,t,n=1){return ia([st(e),/[^\s]*/,n===1?`[^${st(e)}${st(t)}s]*`:oa([`[^${st(e)}${st(t)}s]*`,ua(e,t,n-1)]),/[^\s]*/,st(t)])}function st(e){return e&&X0.test(e)?e.replace(na,"\\$&"):e||""}});var la=O(to=>{"use strict";c();Object.defineProperty(to,"__esModule",{value:!0});Object.defineProperty(to,"splitAtTopLevelOnly",{enumerable:!0,get:()=>th});var Z0=eh(sa());function aa(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(aa=function(r){return r?n:t})(e)}function eh(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=aa(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var u=i?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function*th(e,t){let n=new RegExp(`[(){}\\[\\]${Z0.escape(t)}]`,"g"),r=0,i=0,o=!1,u=0,s=0,a=t.length;for(let l of e.matchAll(n)){let f=l[0]===t[u],d=u===a-1,h=f&&d;l[0]==="("&&r++,l[0]===")"&&r--,l[0]==="["&&r++,l[0]==="]"&&r--,l[0]==="{"&&r++,l[0]==="}"&&r--,f&&r===0&&(s===0&&(s=l.index),u++),h&&r===0&&(o=!0,yield e.substring(i,s),i=s+a),u===a&&(u=0,s=0)}o?yield e.substring(i):yield e}});var ca=O(ro=>{"use strict";c();Object.defineProperty(ro,"__esModule",{value:!0});function rh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}rh(ro,{parseBoxShadowValue:()=>uh,formatBoxShadowValue:()=>sh});var nh=la(),ih=new Set(["inset","inherit","initial","revert","unset"]),oh=/\ +(?![^(]*\))/g,fa=/^-?(\d+|\.\d+)(.*?)$/g;function uh(e){return Array.from((0,nh.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},o=r.split(oh),u=new Set;for(let s of o)fa.lastIndex=0,!u.has("KEYWORD")&&ih.has(s)?(i.keyword=s,u.add("KEYWORD")):fa.test(s)?u.has("X")?u.has("Y")?u.has("BLUR")?u.has("SPREAD")||(i.spread=s,u.add("SPREAD")):(i.blur=s,u.add("BLUR")):(i.y=s,u.add("Y")):(i.x=s,u.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(s)):i.color=s;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function sh(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var ba=O(io=>{"use strict";c();Object.defineProperty(io,"__esModule",{value:!0});function ah(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}ah(io,{normalize:()=>tt,url:()=>ha,number:()=>ch,percentage:()=>Da,length:()=>ma,lineWidth:()=>hh,shadow:()=>Dh,color:()=>mh,image:()=>gh,gradient:()=>ga,position:()=>yh,familyName:()=>xh,genericName:()=>wh,absoluteSize:()=>Ch,relativeSize:()=>Sh});var lh=Ki(),fh=ca(),no=["min","max","clamp","calc"],pa=/,(?![^(]*\))/g,nn=/_(?![^(]*\))/g;function tt(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:tt(n,!1)).join(""):(e=e.replace(/([^\\])_+/g,(n,r)=>r+" ".repeat(n.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e=e.replace(/(calc|min|max|clamp)\(.+\)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),e)}function ha(e){return e.startsWith("url(")}function ch(e){return!isNaN(Number(e))||no.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function Da(e){return e.split(nn).every(t=>/%$/g.test(t)||no.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var dh=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],da=`(?:${dh.join("|")})`;function ma(e){return e.split(nn).every(t=>t==="0"||new RegExp(`${da}$`).test(t)||no.some(n=>new RegExp(`^${n}\\(.+?${da}`).test(t)))}var ph=new Set(["thin","medium","thick"]);function hh(e){return ph.has(e)}function Dh(e){let t=(0,fh.parseBoxShadowValue)(tt(e));for(let n of t)if(!n.valid)return!1;return!0}function mh(e){let t=0;return e.split(nn).every(r=>(r=tt(r),r.startsWith("var(")?!0:(0,lh.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function gh(e){let t=0;return e.split(pa).every(r=>(r=tt(r),r.startsWith("var(")?!0:ha(r)||ga(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var bh=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function ga(e){e=tt(e);for(let t of bh)if(e.startsWith(`${t}(`))return!0;return!1}var vh=new Set(["center","top","right","bottom","left"]);function yh(e){let t=0;return e.split(nn).every(r=>(r=tt(r),r.startsWith("var(")?!0:vh.has(r)||ma(r)||Da(r)?(t++,!0):!1))?t>0:!1}function xh(e){let t=0;return e.split(pa).every(r=>(r=tt(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var Fh=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function wh(e){return Fh.has(e)}var Eh=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function Ch(e){return Eh.has(e)}var _h=new Set(["larger","smaller"]);function Sh(e){return _h.has(e)}});var _a=O(so=>{"use strict";c();Object.defineProperty(so,"__esModule",{value:!0});function kh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}kh(so,{updateAllClasses:()=>Oh,asValue:()=>lr,parseColorFormat:()=>oo,asColor:()=>wa,asLookupValue:()=>Ea,coerceValue:()=>Ih});var Th=uo(Ks()),Ah=uo(Js()),va=Zi(),ye=ba(),ya=uo(jn());function uo(e){return e&&e.__esModule?e:{default:e}}function Oh(e,t){return(0,Th.default)(i=>{i.walkClasses(o=>{let u=t(o.value);o.value=u,o.raws&&o.raws.value&&(o.raws.value=(0,Ah.default)(o.raws.value))})}).processSync(e)}function Fa(e,t){if(!ar(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,ye.normalize)(n)}function Ph(e,t={},n){let r=t[e];if(r!==void 0)return(0,ya.default)(r);if(ar(e)){let i=Fa(e,n);return i===void 0?void 0:(0,ya.default)(i)}}function lr(e,t={},{validate:n=()=>!0}={}){var r;let i=(r=t.values)===null||r===void 0?void 0:r[e];return i!==void 0?i:t.supportsNegativeValues&&e.startsWith("-")?Ph(e.slice(1),t.values,n):Fa(e,n)}function ar(e){return e.startsWith("[")&&e.endsWith("]")}function Bh(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function oo(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function wa(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return oo((i=t.values)===null||i===void 0?void 0:i[e])}let[o,u]=Bh(e);if(u!==void 0){var s,a,l,f;let d=(f=(s=t.values)===null||s===void 0?void 0:s[o])!==null&&f!==void 0?f:ar(o)?o.slice(1,-1):void 0;return d===void 0?void 0:(d=oo(d),ar(u)?(0,va.withAlphaValue)(d,u.slice(1,-1)):((a=n.theme)===null||a===void 0||(l=a.opacity)===null||l===void 0?void 0:l[u])===void 0?void 0:(0,va.withAlphaValue)(d,n.theme.opacity[u]))}return lr(e,t,{validate:ye.color})}function Ea(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Ae(e){return(t,n)=>lr(t,n,{validate:e})}var Ca={any:lr,color:wa,url:Ae(ye.url),image:Ae(ye.image),length:Ae(ye.length),percentage:Ae(ye.percentage),position:Ae(ye.position),lookup:Ea,"generic-name":Ae(ye.genericName),"family-name":Ae(ye.familyName),number:Ae(ye.number),"line-width":Ae(ye.lineWidth),"absolute-size":Ae(ye.absoluteSize),"relative-size":Ae(ye.relativeSize),shadow:Ae(ye.shadow)},xa=Object.keys(Ca);function Rh(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function Ih(e,t,n,r){if(ar(t)){let i=t.slice(1,-1),[o,u]=Rh(i,":");if(!/^[\w-_]+$/g.test(o))u=i;else if(o!==void 0&&!xa.includes(o))return[];if(u.length>0&&xa.includes(o))return[lr(`[${u}]`,n),o]}for(let i of[].concat(e)){let o=Ca[i](t,n,{tailwindConfig:r});if(o!==void 0)return[o,i]}return[]}});var Sa=O(ao=>{"use strict";c();Object.defineProperty(ao,"__esModule",{value:!0});Object.defineProperty(ao,"default",{enumerable:!0,get:()=>Lh});function Lh(e){return typeof e=="function"?e({}):e}});var Pa=O(fo=>{"use strict";c();Object.defineProperty(fo,"__esModule",{value:!0});Object.defineProperty(fo,"default",{enumerable:!0,get:()=>rD});var Mh=at(jn()),Nh=at(Iu()),$h=at(Lu()),Wh=at(Yn()),qh=at(Nu()),Aa=$u(),ka=Wu(),Uh=Uu(),zh=at(zu()),Gh=Gu(),jh=_a(),Vh=Zi(),Hh=at(Sa());function at(e){return e&&e.__esModule?e:{default:e}}function xt(e){return typeof e=="function"}function fr(e){return typeof e=="object"&&e!==null}function cr(e,...t){let n=t.pop();for(let r of t)for(let i in r){let o=n(e[i],r[i]);o===void 0?fr(e[i])&&fr(r[i])?e[i]=cr(e[i],r[i],n):e[i]=r[i]:e[i]=o}return e}var lo={colors:qh.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let r=(0,Mh.default)(e[n]);return r!==void 0&&(t[`-${n}`]=r),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function Yh(e,...t){return xt(e)?e(...t):e}function Xh(e){return e.reduce((t,{extend:n})=>cr(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function Qh(e){return{...e.reduce((t,n)=>(0,Aa.defaults)(t,n),{}),extend:Xh(e)}}function Ta(e,t){if(Array.isArray(e)&&fr(e[0]))return e.concat(t);if(Array.isArray(t)&&fr(t[0])&&fr(e))return[e,...t];if(Array.isArray(t))return t}function Kh({extend:e,...t}){return cr(t,e,(n,r)=>!xt(n)&&!r.some(xt)?cr({},n,...r,Ta):(i,o)=>cr({},...[n,...r].map(u=>Yh(u,i,o)),Ta))}function*Jh(e){let t=(0,ka.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,r=e.match(n);if(r!==null){let[,i,o]=r,u=(0,ka.toPath)(i);u.alpha=o,yield u}}function Zh(e){let t=(n,r)=>{for(let i of Jh(n)){let o=0,u=e;for(;u!=null&&o<i.length;)u=u[i[o++]],u=xt(u)&&(i.alpha===void 0||o<=i.length-1)?u(t,lo):u;if(u!==void 0){if(i.alpha!==void 0){let s=(0,jh.parseColorFormat)(u);return(0,Vh.withAlphaValue)(s,i.alpha,(0,Hh.default)(s))}return(0,zh.default)(u)?(0,Gh.cloneDeep)(u):u}}return r};return Object.assign(t,{theme:t,...lo}),Object.keys(e).reduce((n,r)=>(n[r]=xt(e[r])?e[r](t,lo):e[r],n),{})}function Oa(e){let t=[];return e.forEach(n=>{t=[...t,n];var r;let i=(r=n==null?void 0:n.plugins)!==null&&r!==void 0?r:[];i.length!==0&&i.forEach(o=>{o.__isOptionsFunction&&(o=o());var u;t=[...t,...Oa([(u=o==null?void 0:o.config)!==null&&u!==void 0?u:{}])]})}),t}function eD(e){return[...e].reduceRight((n,r)=>xt(r)?r({corePlugins:n}):(0,$h.default)(r,n),Nh.default)}function tD(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function rD(e){let t=[...Oa(e),{prefix:"",important:!1,separator:":",variantOrder:Wh.default.variantOrder}];var n,r;return(0,Uh.normalizeConfig)((0,Aa.defaults)({theme:Zh(Kh(Qh(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:eD(t.map(i=>i.corePlugins)),plugins:tD(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var Ba={};gn(Ba,{default:()=>nD});var nD,Ra=Cr(()=>{c();nD={yellow:e=>e}});var Na=O(co=>{"use strict";c();Object.defineProperty(co,"__esModule",{value:!0});function iD(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}iD(co,{flagEnabled:()=>sD,issueFlagNotices:()=>aD,default:()=>lD});var oD=Ma((Ra(),_r(Ba))),uD=Ma((Ur(),_r(qr)));function Ma(e){return e&&e.__esModule?e:{default:e}}var Ia={optimizeUniversalDefaults:!1},dr={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function sD(e,t){if(dr.future.includes(t)){var n,r,i;return e.future==="all"||((i=(r=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:Ia[t])!==null&&i!==void 0?i:!1)}if(dr.experimental.includes(t)){var o,u,s;return e.experimental==="all"||((s=(u=e==null||(o=e.experimental)===null||o===void 0?void 0:o[t])!==null&&u!==void 0?u:Ia[t])!==null&&s!==void 0?s:!1)}return!1}function La(e){if(e.experimental==="all")return dr.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>dr.experimental.includes(n)&&e.experimental[n])}function aD(e){if(process.env.JEST_WORKER_ID===void 0&&La(e).length>0){let t=La(e).map(n=>oD.default.yellow(n)).join(", ");uD.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var lD=dr});var Wa=O(po=>{"use strict";c();Object.defineProperty(po,"__esModule",{value:!0});Object.defineProperty(po,"default",{enumerable:!0,get:()=>$a});var fD=dD(Yn()),cD=Na();function dD(e){return e&&e.__esModule?e:{default:e}}function $a(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[fD.default]).slice().reverse().flatMap(o=>$a(typeof o=="function"?o():o)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(o=>(0,cD.flagEnabled)(e,o)).map(o=>r[o]);return[e,...i,...n]}});var Ua=O(ho=>{"use strict";c();Object.defineProperty(ho,"__esModule",{value:!0});Object.defineProperty(ho,"default",{enumerable:!0,get:()=>DD});var pD=qa(Pa()),hD=qa(Wa());function qa(e){return e&&e.__esModule?e:{default:e}}function DD(...e){let[,...t]=(0,hD.default)(e[0]);return(0,pD.default)([...e,...t])}});var Ga=O((ab,za)=>{c();var Do=Ua();za.exports=(Do.__esModule?Do:{default:Do}).default});c();c();c();var ht;function kl(e){ht=e}var St=null;async function We(){return ht||(St?(await St,ht):(St=Promise.resolve().then(()=>(zo(),Uo)).then(e=>e.getYogaModule()).then(e=>ht=e),await St,St=null,ht))}c();c();c();var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tl=kt((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),Al=kt((e,t)=>{t.exports=["deg","grad","rad","turn"]}),Ol=kt((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),Pl=kt((e,t)=>{t.exports=["Hz","kHz"]}),Bl=kt((e,t)=>{t.exports=["s","ms"]}),Rl=Tl(),Go=Al(),jo=Ol(),Vo=Pl(),Ho=Bl();function vn(e){if(/\.\D?$/.test(e))throw new Error("The dot should be followed by a number");if(/^[+-]{2}/.test(e))throw new Error("Only one leading +/- is allowed");if(Il(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=bn(e),this.unit="%";return}var t=Ml(e);if(!t){this.type="number",this.value=bn(e);return}this.type=$l(t),this.value=bn(e.substr(0,e.length-t.length)),this.unit=t}vn.prototype.valueOf=function(){return this.value};vn.prototype.toString=function(){return this.value+(this.unit||"")};function Qe(e){return new vn(e)}function Il(e){var t=e.match(/\./g);return t?t.length:0}function bn(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var Ll=[].concat(Go,Vo,Rl,jo,Ho);function Ml(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&Ll.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var Nl=Object.assign(Sr(Go,"angle"),Sr(Vo,"frequency"),Sr(jo,"resolution"),Sr(Ho,"time"));function Sr(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function $l(e){return Nl[e]||"length"}import Wl from"linebreak";function Dt(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function Yo(e){return/^class\s/.test(e.toString())}function Xo(e){return"dangerouslySetInnerHTML"in e}function Qo(e){let t=typeof e>"u"?[]:[].concat(e).flat(1/0),n=[];for(let r=0;r<t.length;r++){let i=t[r];typeof i>"u"||typeof i=="boolean"||i===null||(typeof i=="number"&&(i=String(i)),typeof i=="string"&&n.length&&typeof n[n.length-1]=="string"?n[n.length-1]+=i:n.push(i))}return n}function G(e,t,n,r,i=!1){if(typeof e=="number")return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;if(e===String(+e))return+e;let o=new Qe(e);if(o.type==="length")switch(o.unit){case"em":return o.value*t;case"rem":return o.value*16;case"vw":return~~(o.value*r._viewportWidth/100);case"vh":return~~(o.value*r._viewportHeight/100);default:return o.value}else if(o.type==="angle")switch(o.unit){case"deg":return o.value;case"rad":return o.value*180/Math.PI;default:return o.value}else if(o.type==="percentage"&&i)return o.value/100*n}catch{}}function Tt(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function be(e,t,n,r){let i=t[e];if(typeof i>"u"){if(r&&typeof e<"u")throw new Error(`Invalid value for CSS property "${r}". Allowed values: ${Object.keys(t).map(o=>`"${o}"`).join(" | ")}. Received: "${e}".`);i=n}return i}var yn,xn,Ko=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function Fe(e,t,n){if(!yn||!xn){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");yn=new Intl.Segmenter(n,{granularity:"word"}),xn=new Intl.Segmenter(n,{granularity:"grapheme"})}if(t==="grapheme")return[...xn.segment(e)].map(r=>r.segment);{let r=[...yn.segment(e)].map(u=>u.segment),i=[],o=0;for(;o<r.length;){let u=r[o];if(u=="\xA0"){let s=o===0?"":i.pop(),a=o===r.length-1?"":r[o+1];i.push(s+"\xA0"+a),o+=2}else i.push(u),o++}return i}}function T(e,t,n){let r="";for(let[i,o]of Object.entries(t))typeof o<"u"&&(r+=` ${i}="${o}"`);return n?`<${e}${r}>${n}</${e}>`:`<${e}${r}/>`}function Jo(e=20){let t=new Map;function n(o,u){if(t.size>=e){let s=t.keys().next().value;t.delete(s)}t.set(o,u)}function r(o){if(!t.has(o))return;let s=t.get(o);return t.delete(o),t.set(o,s),s}function i(){t.clear()}return{set:n,get:r,clear:i}}function mt(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function ql(e){return Object.prototype.toString.call(e)}function kr(e){return typeof e=="string"}function Zo(e){return ql(e)==="[object Undefined]"}function eu(e,t){if(t==="break-all")return{words:Fe(e,"grapheme"),requiredBreaks:[]};if(t==="keep-all")return{words:Fe(e,"word"),requiredBreaks:[]};let n=new Wl(e),r=0,i=n.nextBreak(),o=[],u=[!1];for(;i;){let s=e.slice(r,i.position);o.push(s),i.required?u.push(!0):u.push(!1),r=i.position,i=n.nextBreak()}return{words:o,requiredBreaks:u}}var tu=e=>e.replaceAll(/([A-Z])/g,(t,n)=>`-${n.toLowerCase()}`);c();c();var Ul="image/avif",zl="image/webp",Tr="image/png",Ar="image/jpeg",Or="image/gif",wn="image/svg+xml";function iu(e){let t=new DataView(e),n=4,r=t.byteLength;for(;n<r;){let i=t.getUint16(n,!1);if(i>r)throw new TypeError("Invalid JPEG");let o=t.getUint8(i+1+n);if(o===192||o===193||o===194)return[t.getUint16(i+7+n,!1),t.getUint16(i+5+n,!1)];n+=i+2}throw new TypeError("Invalid JPEG")}function ou(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function uu(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var Re=Jo(100),Fn=new Map,Gl=[Tr,Ar,Or,wn];function jl(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function Vl(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}function ru(e,t){let n=t.match(/<svg[^>]*>/)[0],r=n.match(/viewBox=['"](.+)['"]/),i=r?mt(r[1]):null,o=n.match(/width=['"](\d*\.\d+|\d+)['"]/),u=n.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!i&&(!o||!u))throw new Error(`Failed to parse SVG from ${e}: missing "viewBox"`);let s=i?[i[2],i[3]]:[+o[1],+u[1]],a=s[0]/s[1];return o&&u?[+o[1],+u[1]]:o?[+o[1],+o[1]/a]:u?[+u[1]*a,+u[1]]:[s[0],s[1]]}function nu(e){let t,n=Hl(new Uint8Array(e));switch(n){case Tr:t=uu(e);break;case Or:t=ou(e);break;case Ar:t=iu(e);break}if(!Gl.includes(n))throw new Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${jl(e)}`,t]}async function gt(e){if(!e)throw new Error("Image source is not provided.");if(typeof e=="object"){let[i,o]=nu(e);return[i,...o]}if((e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),typeof window>"u"&&!e.startsWith("http")&&!e.startsWith("data:"))throw new Error(`Image source must be an absolute URL: ${e}`);if(e.startsWith("data:")){let i;try{i=/data:(?<imageType>[a-z/+]+)(;(?<encodingType>base64|utf8))?,(?<dataString>.*)/g.exec(e).groups}catch{return console.warn("Image data URI resolved without size:"+e),[e]}let{imageType:o,encodingType:u,dataString:s}=i;if(o===wn){let a=u==="base64"?atob(s):decodeURIComponent(s.replace(/ /g,"%20")),l=u==="base64"?e:`data:image/svg+xml;base64,${btoa(a)}`,f=ru(e,a);return Re.set(e,[l,...f]),[l,...f]}else if(u==="base64"){let a,l=Vl(s);switch(o){case Tr:a=uu(l);break;case Or:a=ou(l);break;case Ar:a=iu(l);break}return Re.set(e,[e,...a]),[e,...a]}else return console.warn("Image data URI resolved without size:"+e),Re.set(e,[e]),[e]}if(!globalThis.fetch)throw new Error("`fetch` is required to be polyfilled to load images.");if(Fn.has(e))return Fn.get(e);let t=Re.get(e);if(t)return t;let n=e,r=fetch(n).then(i=>{let o=i.headers.get("content-type");return o==="image/svg+xml"||o==="application/svg+xml"?i.text():i.arrayBuffer()}).then(i=>{if(typeof i=="string")try{let s=`data:image/svg+xml;base64,${btoa(i)}`,a=ru(n,i);return[s,...a]}catch(s){throw new Error(`Failed to parse SVG image: ${s.message}`)}let[o,u]=nu(i);return[o,...u]}).then(i=>(Re.set(n,i),i)).catch(i=>(console.error(`Can't load image ${n}: `+i.message),Re.set(n,[]),[]));return Fn.set(n,r),r}function Hl(e){return[255,216,255].every((t,n)=>e[n]===t)?Ar:[137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)?Tr:[71,73,70,56].every((t,n)=>e[n]===t)?Or:[82,73,70,70,0,0,0,0,87,69,66,80].every((t,n)=>!t||e[n]===t)?zl:[60,63,120,109,108].every((t,n)=>e[n]===t)?wn:[0,0,0,0,102,116,121,112,97,118,105,102].every((t,n)=>!t||e[n]===t)?Ul:null}var En={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",href:"href",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space",xmlnsXlink:"xmlns:xlink"},Yl=/[\r\n%#()<>?[\\\]^`{|}"']/g;function Cn(e,t){if(!e)return"";if(Array.isArray(e))return e.map(l=>Cn(l,t)).join("");if(typeof e!="object")return String(e);let n=e.type;if(n==="text")throw new Error("<text> nodes are not currently supported, please convert them to <path>");let{children:r,style:i,...o}=e.props||{},u=(i==null?void 0:i.color)||t,s=`${Object.entries(o).map(([l,f])=>(typeof f=="string"&&f.toLowerCase()==="currentcolor"&&(f=u),l==="href"&&n==="image"?` ${En[l]||l}="${Re.get(f)[0]}"`:` ${En[l]||l}="${f}"`)).join("")}`,a=i?` style="${Object.entries(i).map(([l,f])=>`${tu(l)}:${f}`).join(";")}"`:"";return`<${n}${s}${a}>${Cn(r,u)}</${n}>`}async function su(e){let t=new Set,n=r=>{if(!!r&&!!Dt(r)){if(Array.isArray(r)){r.forEach(i=>n(i));return}else typeof r=="object"&&(r.type==="image"?t.has(r.props.href)||t.add(r.props.href):r.type==="img"&&(t.has(r.props.src)||t.add(r.props.src)));Array.isArray(r.props.children)?r.props.children.map(i=>n(i)):n(r.props.children)}};return n(e),Promise.all(Array.from(t).map(r=>gt(r)))}async function au(e,t){let{viewBox:n,viewbox:r,width:i,height:o,className:u,style:s,children:a,...l}=e.props||{};n||=r,l.xmlns="http://www.w3.org/2000/svg";let f=(s==null?void 0:s.color)||t,d=mt(n),h=d?d[3]/d[2]:null;return i=i||h&&o?o/h:null,o=o||h&&i?i*h:null,l.width=i,l.height=o,n&&(l.viewBox=n),`data:image/svg+xml;utf8,${`<svg ${Object.entries(l).map(([D,p])=>(typeof p=="string"&&p.toLowerCase()==="currentcolor"&&(p=f),` ${En[D]||D}="${p}"`)).join("")}>${Cn(a,f)}</svg>`.replace(Yl,encodeURIComponent)}`}c();c();var _e="flex",lu={p:{display:_e,marginTop:"1em",marginBottom:"1em"},div:{display:_e},blockquote:{display:_e,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:_e,textAlign:"center"},hr:{display:_e,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:_e,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:_e,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:_e,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:_e,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:_e,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:_e,fontSize:"0.67em",marginTop:"2.33em",marginBottom:"2.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},u:{textDecoration:"underline"},strong:{fontWeight:"bold"},b:{fontWeight:"bold"},i:{fontStyle:"italic"},em:{fontStyle:"italic"},code:{fontFamily:"monospace"},kbd:{fontFamily:"monospace"},pre:{display:_e,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}};c();var Xl=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","tabSize","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function _n(e){let t={};for(let n in e)Xl.has(n)&&(t[n]=e[n]);return t}c();import{getPropertyName as Jl,getStylesForProperty as Ke}from"css-to-react-native";import{parseElementStyle as Zl}from"css-background-parser";import{parse as ef}from"css-box-shadow";import tf from"parse-css-color";c();import Ql from"postcss-value-parser";function Kl(e,t){try{let n=new Qe(e);switch(n.unit){case"px":return{absolute:n.value};case"em":return{absolute:n.value*t};case"rem":return{absolute:n.value*16};case"%":return{relative:n.value};default:return{}}}catch{return{}}}function Sn(e,t,n){switch(e){case"top":return{yRelative:0};case"left":return{xRelative:0};case"right":return{xRelative:100};case"bottom":return{yRelative:100};case"center":return{};default:{let r=Kl(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function kn(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=Ql(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?Sn(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...Sn(n[0],t,!0),...Sn(n[1],t,!1)}):{}}var rf=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),nf=new Set(["lineHeight"]);function of(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function At(e,t){return typeof t=="number"?rf.has(e)?nf.has(e)?t:String(t):t+"px":t}function uf(e,t,n){if(e==="lineHeight")return{lineHeight:At(e,t)};if(e==="fontFamily")return{fontFamily:t.split(",").map(r=>r.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if(e==="borderRadius"){if(typeof t!="string"||!t.includes("/"))return;let[r,i]=t.split("/"),o=Ke(e,r,!0),u=Ke(e,i,!0);for(let s in o)u[s]=At(e,o[s])+" "+At(e,u[s]);return u}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=Ke("border",t,!0);r.borderWidth===1&&!String(t).includes("1px")&&(r.borderWidth=3),r.borderColor==="black"&&!String(t).includes("black")&&(r.borderColor=n);let i={Width:At(e+"Width",r.borderWidth),Style:be(r.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:r.borderColor},o={};for(let u of e==="border"?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let s in i)o["border"+u+s]=i[s];return o}if(e==="boxShadow"){if(!t)throw new Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:typeof t=="string"?ef(t):t}}if(e==="transform"){if(typeof t!="string")throw new Error("Invalid `transform` value.");let r={},i=t.replace(/(-?[\d.]+%)/g,(u,s)=>{let a=~~(Math.random()*1e9);return r[a]=s,a+"px"}),o=Ke("transform",i,!0);for(let u of o.transform)for(let s in u)r[u[s]]&&(u[s]=r[u[s]]);return o}if(e==="background")return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url)\(/.test(t)?Ke("backgroundImage",t,!0):Ke("background",t,!0);if(e==="textShadow"&&(t=t.toString().trim(),t.includes(","))){let r=sf(t),i={};for(let o of r){let u=Ke("textShadow",o,!0);for(let s in u)i[s]?i[s].push(u[s]):i[s]=[u[s]]}return i}}function sf(e){let t=[],n=!1,r=0,i=e.length;for(let o=0;o<i;++o){let u=e[o];u===")"&&(n=!1),!n&&(u==="("&&(n=!0),u===","&&(t.push(e.substring(r,o)),r=o+1))}return t.push(e.substring(r,i)),t.map(o=>o.trim())}function fu(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var cu=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function pu(e){if(typeof e=="string"&&cu.test(e.trim()))return e.trim().replace(cu,(t,n,r,i,o)=>`rgba(${n}, ${r}, ${i}, ${o})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=pu(e[t]);return e}return e}function Pr(e,t){let n={};if(e){let i=lf(e.color,t.color);n.color=i;for(let o in e){if(o.startsWith("_")){n[o]=e[o];continue}if(o==="color")continue;let u=Jl(o),s=cf(e[o],i);try{let a=uf(u,s,i)||of(u,Ke(u,At(u,s),!0),s,i);Object.assign(n,a)}catch(a){throw new Error(a.message+(a.message.includes(s)?`
|
|
4
|
+
`+fu(u):`
|
|
5
|
+
in CSS rule \`${u}: ${s}\`.${fu(u)}`))}}}if(n.backgroundImage){let{backgrounds:i}=Zl(n);n.backgroundImage=i}let r=af(n.fontSize,t.fontSize);typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=kn(n.transformOrigin,r));for(let i in n){let o=n[i];if(i==="lineHeight")typeof o=="string"&&(o=n[i]=G(o,r,r,t,!0)/r);else{if(typeof o=="string"){let u=G(o,r,r,t);typeof u<"u"&&(n[i]=u),o=n[i]}if(typeof o=="string"||typeof o=="object"){let u=pu(o);u&&(n[i]=u),o=n[i]}}if(i==="opacity"&&(o=n[i]=o*t.opacity),i==="transform"){let u=o;for(let s of u){let a=Object.keys(s)[0],l=s[a],f=typeof l=="string"?G(l,r,r,t)??l:l;s[a]=f}}}return n}function af(e,t){if(typeof e=="number")return e;try{let n=new Qe(e);switch(n.unit){case"em":return n.value*t;case"rem":return n.value*16}}catch{return t}}function du(e){if(e.startsWith("hsl")){let t=tf(e),[n,r,i]=t.values;return`hsl(${[n,`${r}%`,`${i}%`].concat(t.alpha===1?[]:[t.alpha]).join(",")})`}return e}function lf(e,t){return e&&e.toLowerCase()!=="currentcolor"?du(e):du(t)}function ff(e,t){return e.replace(/currentcolor/gi,t)}function cf(e,t){return kr(e)&&(e=ff(e,t)),e}async function Tn(e,t,n,r,i){let o=await We(),u={...n,...Pr(lu[t],n),...Pr(r,n)};if(t==="img"){let[s,a,l]=await gt(i.src);if(a===void 0&&l===void 0){if(i.width===void 0||i.height===void 0)throw new Error("Image size cannot be determined. Please provide the width and height of the image.");a=parseInt(i.width),l=parseInt(i.height)}let f=l/a,d=(u.borderLeftWidth||0)+(u.borderRightWidth||0)+(u.paddingLeft||0)+(u.paddingRight||0),h=(u.borderTopWidth||0)+(u.borderBottomWidth||0)+(u.paddingTop||0)+(u.paddingBottom||0),D=u.width||i.width,p=u.height||i.height,m=typeof D=="number"&&typeof p=="number";m&&(D-=d,p-=h),D===void 0&&p===void 0?(D="100%",e.setAspectRatio(1/f)):D===void 0?typeof p=="number"?D=p/f:e.setAspectRatio(1/f):p===void 0&&(typeof D=="number"?p=D*f:e.setAspectRatio(1/f)),u.width=m?D+d:D,u.height=m?p+h:p,u.__src=s}if(t==="svg"){let s=i.viewBox||i.viewbox,a=mt(s),l=a?a[3]/a[2]:null,{width:f,height:d}=i;typeof f>"u"&&d?l==null?f=0:typeof d=="string"&&d.endsWith("%")?f=parseInt(d)/l+"%":(d=G(d,n.fontSize,1,n),f=d/l):typeof d>"u"&&f?l==null?f=0:typeof f=="string"&&f.endsWith("%")?d=parseInt(f)*l+"%":(f=G(f,n.fontSize,1,n),d=f*l):(typeof f<"u"&&(f=G(f,n.fontSize,1,n)||f),typeof d<"u"&&(d=G(d,n.fontSize,1,n)||d),f||=a==null?void 0:a[2],d||=a==null?void 0:a[3]),!u.width&&f&&(u.width=f),!u.height&&d&&(u.height=d)}return e.setDisplay(be(u.display,{flex:o.DISPLAY_FLEX,none:o.DISPLAY_NONE},o.DISPLAY_FLEX,"display")),e.setAlignContent(be(u.alignContent,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,"space-between":o.ALIGN_SPACE_BETWEEN,"space-around":o.ALIGN_SPACE_AROUND,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_AUTO,"alignContent")),e.setAlignItems(be(u.alignItems,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_STRETCH,"alignItems")),e.setAlignSelf(be(u.alignSelf,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(be(u.justifyContent,{center:o.JUSTIFY_CENTER,"flex-start":o.JUSTIFY_FLEX_START,"flex-end":o.JUSTIFY_FLEX_END,"space-between":o.JUSTIFY_SPACE_BETWEEN,"space-around":o.JUSTIFY_SPACE_AROUND},o.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(be(u.flexDirection,{row:o.FLEX_DIRECTION_ROW,column:o.FLEX_DIRECTION_COLUMN,"row-reverse":o.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":o.FLEX_DIRECTION_COLUMN_REVERSE},o.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(be(u.flexWrap,{wrap:o.WRAP_WRAP,nowrap:o.WRAP_NO_WRAP,"wrap-reverse":o.WRAP_WRAP_REVERSE},o.WRAP_NO_WRAP,"flexWrap")),typeof u.gap<"u"&&e.setGap(o.GUTTER_ALL,u.gap),typeof u.rowGap<"u"&&e.setGap(o.GUTTER_ROW,u.rowGap),typeof u.columnGap<"u"&&e.setGap(o.GUTTER_COLUMN,u.columnGap),typeof u.flexBasis<"u"&&e.setFlexBasis(u.flexBasis),e.setFlexGrow(typeof u.flexGrow>"u"?0:u.flexGrow),e.setFlexShrink(typeof u.flexShrink>"u"?0:u.flexShrink),typeof u.maxHeight<"u"&&e.setMaxHeight(u.maxHeight),typeof u.maxWidth<"u"&&e.setMaxWidth(u.maxWidth),typeof u.minHeight<"u"&&e.setMinHeight(u.minHeight),typeof u.minWidth<"u"&&e.setMinWidth(u.minWidth),e.setOverflow(be(u.overflow,{visible:o.OVERFLOW_VISIBLE,hidden:o.OVERFLOW_HIDDEN},o.OVERFLOW_VISIBLE,"overflow")),e.setMargin(o.EDGE_TOP,u.marginTop||0),e.setMargin(o.EDGE_BOTTOM,u.marginBottom||0),e.setMargin(o.EDGE_LEFT,u.marginLeft||0),e.setMargin(o.EDGE_RIGHT,u.marginRight||0),e.setBorder(o.EDGE_TOP,u.borderTopWidth||0),e.setBorder(o.EDGE_BOTTOM,u.borderBottomWidth||0),e.setBorder(o.EDGE_LEFT,u.borderLeftWidth||0),e.setBorder(o.EDGE_RIGHT,u.borderRightWidth||0),e.setPadding(o.EDGE_TOP,u.paddingTop||0),e.setPadding(o.EDGE_BOTTOM,u.paddingBottom||0),e.setPadding(o.EDGE_LEFT,u.paddingLeft||0),e.setPadding(o.EDGE_RIGHT,u.paddingRight||0),e.setPositionType(be(u.position,{absolute:o.POSITION_TYPE_ABSOLUTE,relative:o.POSITION_TYPE_RELATIVE},o.POSITION_TYPE_RELATIVE,"position")),typeof u.top<"u"&&e.setPosition(o.EDGE_TOP,u.top),typeof u.bottom<"u"&&e.setPosition(o.EDGE_BOTTOM,u.bottom),typeof u.left<"u"&&e.setPosition(o.EDGE_LEFT,u.left),typeof u.right<"u"&&e.setPosition(o.EDGE_RIGHT,u.right),typeof u.height<"u"?e.setHeight(u.height):e.setHeightAuto(),typeof u.width<"u"?e.setWidth(u.width):e.setWidthAuto(),[u,_n(u)]}c();c();c();var hu=[1,0,0,1,0,0];function df(e,t,n){let r=[...hu];for(let i of e){let o=Object.keys(i)[0],u=i[o];if(typeof u=="string")if(o==="translateX")u=parseFloat(u)/100*t,i[o]=u;else if(o==="translateY")u=parseFloat(u)/100*n,i[o]=u;else throw new Error(`Invalid transform: "${o}: ${u}".`);let s=u,a=[...hu];switch(o){case"translateX":a[4]=s;break;case"translateY":a[5]=s;break;case"scale":a[0]=s,a[3]=s;break;case"scaleX":a[0]=s;break;case"scaleY":a[3]=s;break;case"rotate":{let l=s*Math.PI/180,f=Math.cos(l),d=Math.sin(l);a[0]=f,a[1]=d,a[2]=-d,a[3]=f;break}case"skewX":a[2]=Math.tan(s*Math.PI/180);break;case"skewY":a[1]=Math.tan(s*Math.PI/180);break}r=Tt(a,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Ot({left:e,top:t,width:n,height:r},i,o,u){let s;i.__resolved||df(i,n,r);let a=i;if(o)s=a;else{let l=(u==null?void 0:u.xAbsolute)??((u==null?void 0:u.xRelative)??50)*n/100,f=(u==null?void 0:u.yAbsolute)??((u==null?void 0:u.yRelative)??50)*r/100,d=e+l,h=t+f;s=Tt([1,0,0,1,d,h],Tt(a,[1,0,0,1,-d,-h])),a.__parent&&(s=Tt(a.__parent,s)),a.splice(0,6,...s)}return`matrix(${s.map(l=>l.toFixed(2)).join(",")})`}function Du({left:e,top:t,width:n,height:r,isInheritingTransform:i},o){let u="",s=1;return o.transform&&(u=Ot({left:e,top:t,width:n,height:r},o.transform,i,o.transformOrigin)),o.opacity!==void 0&&(s=+o.opacity),{matrix:u,opacity:s}}function An({id:e,content:t,filter:n,left:r,top:i,width:o,height:u,matrix:s,opacity:a,image:l,clipPathId:f,debug:d,shape:h,decorationShape:D},p){let m="";if(d&&(m=T("rect",{x:r,y:i-u,width:o,height:u,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0})),l){let b={href:l,x:r,y:i,width:o,height:u,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+T("image",{...b,opacity:a!==1?a:void 0})+(D||"")+(n?"</g>":"")+m,""]}let F={x:r,y:i,width:o,height:u,"font-weight":p.fontWeight,"font-style":p.fontStyle,"font-size":p.fontSize,"font-family":p.fontFamily,"letter-spacing":p.letterSpacing||void 0,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:p.filter?`filter:${p.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+T("text",{...F,fill:p.color,opacity:a!==1?a:void 0},t)+(D||"")+(n?"</g>":"")+m,h?T("text",F,t):""]}c();function pf(e,t,n){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(r,i,o,u){return i+(parseFloat(o)+t)+","+(parseFloat(u)+n)})}var Br=1.1;function mu({id:e,width:t,height:n},r){if(!r.shadowColor||!r.shadowOffset||typeof r.shadowRadius>"u")return"";let i=r.shadowColor.length,o="",u="",s=0,a=t,l=0,f=n;for(let d=0;d<i;d++){let h=r.shadowRadius[d]*r.shadowRadius[d]/4;s=Math.min(r.shadowOffset[d].width-h,s),a=Math.max(r.shadowOffset[d].width+h+t,a),l=Math.min(r.shadowOffset[d].height-h,l),f=Math.max(r.shadowOffset[d].height+h+n,f),o+=T("feDropShadow",{dx:r.shadowOffset[d].width,dy:r.shadowOffset[d].height,stdDeviation:r.shadowRadius[d]/2,"flood-color":r.shadowColor[d],"flood-opacity":1,...i>1?{in:"SourceGraphic",result:`satori_s-${e}-result-${d}`}:{}}),i>1&&(u=T("feMergeNode",{in:`satori_s-${e}-result-${d}`})+u)}return T("filter",{id:`satori_s-${e}`,x:(s/t*100*Br).toFixed(2)+"%",y:(l/n*100*Br).toFixed(2)+"%",width:((a-s)/t*100*Br).toFixed(2)+"%",height:((f-l)/n*100*Br).toFixed(2)+"%"},o+(u?T("feMerge",{},u):""))}function gu({width:e,height:t,shape:n,opacity:r,id:i},o){if(!o.boxShadow)return null;let u="",s="";for(let a=o.boxShadow.length-1;a>=0;a--){let l="",f=o.boxShadow[a];f.spreadRadius&&f.inset&&(f.spreadRadius=-f.spreadRadius);let d=f.blurRadius*f.blurRadius/4+(f.spreadRadius||0),h=Math.min(-d-(f.inset?f.offsetX:0),0),D=Math.max(d+e-(f.inset?f.offsetX:0),e),p=Math.min(-d-(f.inset?f.offsetY:0),0),m=Math.max(d+t-(f.inset?f.offsetY:0),t),F=`satori_s-${i}-${a}`,b=`satori_ms-${i}-${a}`,v=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=T("mask",{id:b,maskUnits:"userSpaceOnUse"},T("rect",{x:0,y:0,width:o._viewportWidth||"100%",height:o._viewportHeight||"100%",fill:f.inset?"#000":"#fff"})+v.replace('fill="#fff"',f.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let w=v.replace(/d="([^"]+)"/,(E,C)=>'d="'+pf(C,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(E,C)=>'x="'+(parseFloat(C)+f.offsetX)+'"').replace(/y="([^"]+)"/,(E,C)=>'y="'+(parseFloat(C)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=T("mask",{id:b+"-neg",maskUnits:"userSpaceOnUse"},w.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(w=T("g",{mask:`url(#${b}-neg)`},w)),l+=T("defs",{},T("filter",{id:F,x:`${h/e*100}%`,y:`${p/t*100}%`,width:`${(D-h)/e*100}%`,height:`${(m-p)/t*100}%`},T("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+T("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+T("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+T("g",{mask:`url(#${b})`,filter:`url(#${F})`,opacity:r},w),f.inset?s+=l:u+=l}return[u,s]}c();function On({width:e,left:t,top:n,ascender:r,clipPathId:i},o){let{textDecorationColor:u,textDecorationStyle:s,textDecorationLine:a,fontSize:l}=o;if(!a||a==="none")return"";let f=Math.max(1,l*.1),d=a==="line-through"?n+r*.5:a==="underline"?n+r*1.1:n,h=s==="dashed"?`${f*1.2} ${f*2}`:s==="dotted"?`0 ${f*2}`:void 0;return T("line",{x1:t,y1:d,x2:t+e,y2:d,stroke:u,"stroke-width":f,"stroke-dasharray":h,"stroke-linecap":s==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}c();function bu(e){return e=e.replace("U+","0x"),String.fromCodePoint(Number(e))}var Rr=bu("U+0020"),Pn=bu("U+0009");var hf=new Set([Pn]);function Df(e){return hf.has(e)}async function*Bn(e,t){var $o;let n=await We(),{parentStyle:r,inheritedStyle:i,parent:o,font:u,id:s,isInheritingTransform:a,debug:l,embedFont:f,graphemeImages:d,locale:h,canLoadAdditionalAssets:D}=t,{textAlign:p,textOverflow:m,whiteSpace:F,wordBreak:b,lineHeight:v,textTransform:w,textWrap:E,fontSize:C,filter:B,tabSize:I=8,_inheritedBackgroundClipTextPath:M}=r;e=mf(e,w,h);let{content:Y,shouldCollapseTabsAndSpaces:Z,allowSoftWrap:ae}=bf(e,F),{words:q,requiredBreaks:$,allowBreakWord:oe}=gf(Y,b),le=vf(n,p);o.insertChild(le,o.getChildCount()),Zo(r.flexShrink)&&o.setFlexShrink(1);let Q=u.getEngine(C,v,r,h),we=D?Fe(Y,"grapheme").filter(N=>!Df(N)&&!Q.has(N)):[];yield we.map(N=>({word:N,locale:h})),we.length&&(Q=u.getEngine(C,v,r,h));function ie(N){return!!(d&&d[N])}let te=yf(Q,r);function Be(N){let z=0;for(let W of N)ie(W)?z+=C:z+=te(W);return z}function P(N){return Be(Fe(N,"grapheme"))}let R=kr(I)?G(I,C,1,r):te(Rr)*I,U=(N,z)=>{if(N.length===0)return{originWidth:0,endingSpacesWidth:0,text:N};let{index:W,tabCount:de}=xf(N),ue=0,ee="";if(de>0){ee=N.slice(0,W);let fe=N.slice(W+de),Ee=P(ee),H=Ee+z;ue=(R===0?Ee:(Math.floor(H/R)+de)*R)+P(fe)}else ue=P(N);let se=N.trimEnd()===N?ue:P(N.trimEnd());return{originWidth:ue,endingSpacesWidth:ue-se,text:N}},L=[],De=[],me=[],Ne=[],Ge=[];function an(N){let z=0,W=0,de=-1,ue=0,ee=0,se=0,fe=0;L=[],me=[0],Ne=[],Ge=[];let Ee=0;for(;Ee<q.length;){let H=q[Ee],He=$[Ee],Ce=0,Ye=0,{originWidth:Ct,endingSpacesWidth:nt,text:pe}=U(H,ee);H=pe,Ce=Ct,Ye=nt,He&&se===0&&(se=Q.height(H));let ge=",.!?:-@)>]}%#".indexOf(H[0])<0,Xe=!ee,_t=Ee&&ge&&ee+Ce>N+Ye&&ae;if(oe&&Ce>N&&(!ee||_t||He)){let it=Fe(H,"grapheme");q.splice(Ee,1,...it),ee>0&&(L.push(ee),De.push(fe),z++,ue+=se,ee=0,se=0,fe=0,me.push(1),de=-1);continue}if(He||_t)Z&&H===" "&&(Ce=0),L.push(ee),De.push(fe),z++,ue+=se,ee=Ce,se=Ce?Q.height(H):0,fe=Ce?Q.baseline(H):0,me.push(1),de=-1,He||(W=Math.max(W,N));else{ee+=Ce;let it=Q.height(H);it>se&&(se=it,fe=Q.baseline(H)),Xe&&me[me.length-1]++}Xe&&de++,W=Math.max(W,ee);let hn=ee-Ce;if(Ce===0)Ge.push({y:ue,x:hn,width:0,line:z,lineIndex:de,isImage:!1});else{let it=Fe(H,"word");for(let Dn=0;Dn<it.length;Dn++){let mn=it[Dn],wr=0,Wo=!1;ie(mn)?(wr=C,Wo=!0):wr=te(mn),Ne.push(mn),Ge.push({y:ue,x:hn,width:wr,line:z,lineIndex:de,isImage:Wo}),hn+=wr}}Ee++}return ee&&(z++,L.push(ee),De.push(fe),ue+=se),{width:W,height:ue}}let br={width:0,height:0};le.setMeasureFunc(N=>{let{width:z,height:W}=an(N);if(E==="balance"){let de=z/2,ue=z,ee=z;for(;de+1<ue;){ee=(de+ue)/2;let{height:se}=an(ee);se>W?de=ee:ue=ee}return an(ue),br={width:ue,height:W},{width:ue,height:W}}return br={width:z,height:W},{width:z,height:W}});let[gl,bl]=yield,ln="",vr="",je=i._inheritedClipPathId,Bo=i._inheritedMaskId,{left:Ro,top:Io,width:fn,height:vl}=le.getComputedLayout(),cn=o.getComputedWidth()-o.getComputedPadding(n.EDGE_LEFT)-o.getComputedPadding(n.EDGE_RIGHT)-o.getComputedBorder(n.EDGE_LEFT)-o.getComputedBorder(n.EDGE_RIGHT),ct=gl+Ro,dt=bl+Io,{matrix:$e,opacity:yr}=Du({left:Ro,top:Io,width:fn,height:vl,isInheritingTransform:a},r),pt="";if(r.textShadowOffset){let{textShadowColor:N,textShadowOffset:z,textShadowRadius:W}=r;Array.isArray(r.textShadowOffset)||(N=[N],z=[z],W=[W]),pt=mu({width:br.width,height:br.height,id:s},{shadowColor:N,shadowOffset:z,shadowRadius:W}),pt=T("defs",{},pt)}let Et="",xr="",Lo="",dn=-1,Mo=m==="ellipsis"?te("\u2026"):0,yl=m==="ellipsis"?te(" "):0,Fr={},Ve=null,No=0;for(let N=0;N<Ne.length;N++){let z=Ge[N];if(!z)continue;let W=Ne[N],de=null,ue=!1,ee=d?d[W]:null,se=z.y,fe=z.x,Ee=z.width,H=z.line;if(H===dn)continue;let He=!1;if(L.length>1){let pe=fn-L[H];if(p==="right"||p==="end")fe+=pe;else if(p==="center")fe+=pe/2;else if(p==="justify"&&H<L.length-1){let ge=me[H];fe+=(ge>1?pe/(ge-1):0)*z.lineIndex,He=!0}}if(Fr[H]||(Fr[H]=[fe,He?fn:L[H]]),m==="ellipsis"&&L[H]>cn&&z.x+Ee+Mo+yl>cn){let pe=Fe(W,"grapheme",h),ge="",Xe=0;for(let _t of pe){let pn=z.x+Be([ge+_t]);if(ge&&pn+Mo>cn)break;ge+=_t,Xe=pn}W=ge+"\u2026",dn=H,Fr[H][1]=Xe,ue=!0}let Ce=De[H],Ye=Q.baseline(W),Ct=Q.height(W),nt=Ce-Ye;if(ee)se+=0;else if(f){if(!W.includes(Pn)&&!Ko.includes(W)&&Ne[N+1]&&Ge[N+1]&&!Ge[N+1].isImage&&se===Ge[N+1].y&&!ue){Ve===null&&(No=fe),Ve=Ve===null?W:Ve+W;continue}let pe=Ve===null?W:Ve+W,ge=Ve===null?fe:No,Xe=z.width+fe-ge;de=Q.getSVG(pe.replace(/(\t)+/g,""),{...r,left:ct+ge,top:dt+se+Ye+nt,letterSpacing:r.letterSpacing}),Ve=null,l&&(Lo+=T("rect",{x:ct+ge,y:dt+se+nt,width:Xe,height:Ct,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:$e||void 0,"clip-path":je?`url(#${je})`:void 0})+T("line",{x1:ct+fe,x2:ct+fe+z.width,y1:dt+se+nt+Ye,y2:dt+se+nt+Ye,stroke:"#14c000","stroke-width":1,transform:$e||void 0,"clip-path":je?`url(#${je})`:void 0}))}else se+=Ye+nt;if(r.textDecorationLine&&(H!==(($o=Ge[N+1])==null?void 0:$o.line)||dn===H)){let pe=Fr[H];pe&&!pe[2]&&(Et+=On({left:ct+pe[0],top:dt+Ct*+H,width:pe[1],ascender:Q.baseline(W),clipPathId:je},r),pe[2]=1)}if(de!==null)xr+=de+" ";else{let[pe,ge]=An({content:W,filter:pt,id:s,left:ct+fe,top:dt+se,width:Ee,height:Ct,matrix:$e,opacity:yr,image:ee,clipPathId:je,debug:l,shape:!!M,decorationShape:Et},r);ln+=pe,vr+=ge,Et=""}}if(xr){let N=r.color!=="transparent"&&yr!==0?T("path",{fill:r.color,d:xr,transform:$e||void 0,opacity:yr!==1?yr:void 0,"clip-path":je?`url(#${je})`:void 0,mask:Bo?`url(#${Bo})`:void 0,style:B?`filter:${B}`:void 0}):"";M&&(vr=T("path",{d:xr,transform:$e||void 0})),ln+=(pt?pt+T("g",{filter:`url(#satori_s-${s})`},N+Et):N+Et)+Lo}return vr&&(r._inheritedBackgroundClipTextPath.value+=vr),ln}function mf(e,t,n){return t==="uppercase"?e=e.toLocaleUpperCase(n):t==="lowercase"?e=e.toLocaleLowerCase(n):t==="capitalize"&&(e=Fe(e,"word",n).map(r=>Fe(r,"grapheme",n).map((i,o)=>o===0?i.toLocaleUpperCase(n):i).join("")).join("")),e}function gf(e,t){let n=["break-all","break-word"].includes(t),{words:r,requiredBreaks:i}=eu(e,t);return{words:r,requiredBreaks:i,allowBreakWord:n}}function bf(e,t){let n=["pre","pre-wrap","pre-line"].includes(t),r=["normal","nowrap","pre-line"].includes(t),i=!["pre","nowrap"].includes(t);return n||(e=e.replace(/\n/g,Rr)),r&&(e=e.replace(/([ ]|\t)+/g,Rr),e=e.trim()),{content:e,shouldCollapseTabsAndSpaces:r,allowSoftWrap:i}}function vf(e,t){let n=e.Node.create();return n.setAlignItems(e.ALIGN_BASELINE),n.setJustifyContent(be(t,{left:e.JUSTIFY_FLEX_START,right:e.JUSTIFY_FLEX_END,center:e.JUSTIFY_CENTER,justify:e.JUSTIFY_SPACE_BETWEEN,start:e.JUSTIFY_FLEX_START,end:e.JUSTIFY_FLEX_END},e.JUSTIFY_FLEX_START,"textAlign")),n}function yf(e,t){let n=new Map;return function(i){if(n.has(i))return n.get(i);let o=e.measure(i,t);return n.set(i,o),o}}function xf(e){let t=/(\t)+/.exec(e);return t?{index:t.index,tabCount:t[0].length}:{index:null,tabCount:0}}c();c();c();var Rn=Rn||{},vu={type:"directional",value:"bottom"};Rn.parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emLikeValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))(r?em|vw|vh)/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,zeroValue:/[0]/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(P){var R=new Error(t+": "+P);throw R.source=t,R}function r(){var P=i();return t.length>0&&n("Invalid input not EOF"),P}function i(){return B(o)}function o(){return s("linear-gradient",e.linearGradient,l,vu)||s("repeating-linear-gradient",e.repeatingLinearGradient,l,vu)||s("radial-gradient",e.radialGradient,D)||s("repeating-radial-gradient",e.repeatingRadialGradient,D)}function u(P={}){var U,L,De,me;let R={...P};return Object.assign(R,{style:(R.style||[]).length>0?R.style:[{type:"extent-keyword",value:"farthest-corner"}],at:{type:"position",value:{x:{type:"position-keyword",value:"center",...((L=(U=R.at)==null?void 0:U.value)==null?void 0:L.x)||{}},y:{type:"position-keyword",value:"center",...((me=(De=R.at)==null?void 0:De.value)==null?void 0:me.y)||{}}}}}),P.value||Object.assign(R,{type:"shape",value:R.style.some(Ne=>["%","extent-keyword"].includes(Ne.type))?"ellipse":"circle"}),R}function s(P,R,U,L){return a(R,function(De){var me=U();return me?te(e.comma)||n("Missing comma before color stops"):me=L,{type:P,orientation:P.endsWith("radial-gradient")?(me==null?void 0:me.map(Ne=>u(Ne)))??[u()]:me,colorStops:B(I)}})}function a(P,R){var U=te(P);if(U){te(e.startCall)||n("Missing (");var L=R(U);return te(e.endCall)||n("Missing )"),L}}function l(){return f()||d()||h()}function f(){return ie("directional",e.sideOrCorner,1)}function d(){return ie("angular",e.angleValue,1)}function h(){return ie("directional",e.zeroValue,0)}function D(){var P,R=p(),U;return R&&(P=[],P.push(R),U=t,te(e.comma)&&(R=p(),R?P.push(R):t=U)),P}function p(){let P=m(),R=w();if(!(!P&&!R))return{...P,at:R}}function m(){let P=F()||b(),R=v()||Q()||oe(),U=ie("%",e.percentageValue,1);if(P)return{...P,style:[R,U].filter(L=>L)};if(R)return{style:[R,U].filter(L=>L),...F()||b()}}function F(){return ie("shape",/^(circle)/i,0)}function b(){return ie("shape",/^(ellipse)/i,0)}function v(){return ie("extent-keyword",e.extentKeywords,1)}function w(){if(ie("position",/^at/,0)){var P=E();return P||n("Missing positioning value"),P}}function E(){var P=C();if(P.x||P.y)return{type:"position",value:P}}function C(){return{x:oe(),y:oe()}}function B(P){var R=P(),U=[];if(R)for(U.push(R);te(e.comma);)R=P(),R?U.push(R):n("One extra comma");return U}function I(){var P=M();return P||n("Expected color definition"),P.length=oe(),P}function M(){return Z()||q()||ae()||Y()}function Y(){return ie("literal",e.literalColor,0)}function Z(){return ie("hex",e.hexColor,1)}function ae(){return a(e.rgbColor,function(){return{type:"rgb",value:B($)}})}function q(){return a(e.rgbaColor,function(){return{type:"rgba",value:B($)}})}function $(){return te(e.number)[1]}function oe(){return ie("%",e.percentageValue,1)||le()||Q()}function le(){return ie("position-keyword",e.positionKeywords,1)}function Q(){return ie("px",e.pixelValue,1)||we(e.emLikeValue,1)}function we(P,R){var U=te(P);if(U)return{type:U[5],value:U[R]}}function ie(P,R,U){var L=te(R);if(L)return{type:P,value:L[U]}}function te(P){var R,U;return U=/^[\n\r\t\s]+/.exec(t),U&&Be(U[0].length),R=P.exec(t),R&&Be(R[0].length),R}function Be(P){t=t.substr(P)}return function(P){return t=P.toString(),r()}}();var In=Rn;function Ff(e){return e.type==="literal"?e.value:e.type==="hex"?`#${e.value}`:e.type==="rgb"?`rgb(${e.value.join(",")})`:e.type==="rgba"?`rgba(${e.value.join(",")})`:"transparent"}function wf(e){let t=0,n=0,r=0,i=0;return e.includes("top")?n=1:e.includes("bottom")&&(i=1),e.includes("left")?t=1:e.includes("right")&&(r=1),!t&&!r&&!n&&!i&&(n=1),[t,n,r,i]}function Ef(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function Ln(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(o=>{try{let u=new Qe(o);return u.type==="length"||u.type==="number"?u.value:u.value+u.unit}catch{return null}}).filter(o=>o!==null):[r,i]).map((o,u)=>Ef(o,[t,n][u]))}function yu(e,t){let n=[];for(let u of t){let s=Ff(u);if(!n.length&&(n.push({offset:0,color:s}),typeof u.length>"u"||u.length.value==="0"))continue;let a=typeof u.length>"u"?void 0:u.length.type==="%"?u.length.value/100:u.length.value/e;n.push({offset:a,color:s})}n.length||n.push({offset:0,color:"transparent"});let r=n[n.length-1];r.offset!==1&&(typeof r.offset>"u"?r.offset=1:n.push({offset:1,color:r.color}));let i=0,o=1;for(let u=0;u<n.length;u++)if(typeof n[u].offset>"u"){for(o<u&&(o=u);typeof n[o].offset>"u";)o++;n[u].offset=(n[o].offset-n[i].offset)/(o-i)*(u-i)+n[i].offset}else i=u;return n}async function Mn({id:e,width:t,height:n,left:r,top:i},{image:o,size:u,position:s,repeat:a},l){a=a||"repeat";let f=a==="repeat-x"||a==="repeat",d=a==="repeat-y"||a==="repeat",h=Ln(u,{x:t,y:n,defaultX:t,defaultY:n}),D=Ln(s,{x:t,y:n,defaultX:0,defaultY:0});if(o.startsWith("linear-gradient(")){let p=In.parse(o)[0],[m,F]=h,b,v,w,E,C;if(p.orientation.type==="directional")[b,v,w,E]=wf(p.orientation.value),C=Math.sqrt(Math.pow((w-b)*m,2)+Math.pow((E-v)*F,2));else if(p.orientation.type==="angular"){let q=function($){if($=($%(Math.PI*2)+Math.PI*2)%(Math.PI*2),Math.abs($-Math.PI/2)<1e-6){b=0,v=0,w=1,E=0,C=m;return}else if(Math.abs($)<1e-6){b=0,v=1,w=0,E=0,C=F;return}if($>=Math.PI/2&&$<Math.PI){q(Math.PI-$),v=1-v,E=1-E;return}else if($>=Math.PI){q($-Math.PI);let R=b;b=w,w=R,R=v,v=E,E=R;return}let oe=Math.tan($),le=oe*ae,Q=Math.atan(le),we=Math.sqrt(2)*Math.cos(Math.PI/4-Q);b=0,v=1,w=Math.sin(Q)*we,E=1-Math.cos(Q)*we;let ie=1,te=1/oe,Be=Math.abs((ie*ae+te)/Math.sqrt(ie*ie+te*te)/Math.sqrt(ae*ae+1));C=Math.sqrt(m*m+F*F)*Be},ae=m/F;q(+p.orientation.value/180*Math.PI)}let B=yu(C,p.colorStops),I=`satori_bi${e}`,M=`satori_pattern_${e}`,Y=T("pattern",{id:M,x:D[0]/t,y:D[1]/n,width:f?m/t:"1",height:d?F/n:"1",patternUnits:"objectBoundingBox"},T("linearGradient",{id:I,x1:b,y1:v,x2:w,y2:E},B.map(Z=>T("stop",{offset:Z.offset*100+"%","stop-color":Z.color})).join(""))+T("rect",{x:0,y:0,width:m,height:F,fill:`url(#${I})`}));return[M,Y]}if(o.startsWith("radial-gradient(")){let p=In.parse(o)[0],m=p.orientation[0],[F,b]=h,v="circle",w=F/2,E=b/2;if(m.type==="shape"){if(v=m.value,m.at)if(m.at.type==="position"){let q=Cf(m.at.value.x,m.at.value.y,F,b,l.fontSize,l);w=q.x,E=q.y}else throw new Error("orientation.at.type not implemented: "+m.at.type)}else throw new Error("orientation.type not implemented: "+m.type);let C=yu(t,p.colorStops),B=`satori_radial_${e}`,I=`satori_pattern_${e}`,M=`satori_mask_${e}`,Y=_f(v,m.style,l.fontSize,{x:w,y:E},[F,b],l),Z=T("pattern",{id:I,x:D[0]/t,y:D[1]/n,width:f?F/t:"1",height:d?b/n:"1",patternUnits:"objectBoundingBox"},T("radialGradient",{id:B},C.map(q=>T("stop",{offset:q.offset,"stop-color":q.color})).join(""))+T("mask",{id:M},T("rect",{x:0,y:0,width:F,height:b,fill:"#fff"}))+T("rect",{x:0,y:0,width:F,height:b,fill:C.at(-1).color})+T(v,{cx:w,cy:E,width:F,height:b,...Y,fill:`url(#${B})`,mask:`url(#${M})`}));return[I,Z]}if(o.startsWith("url(")){let p=Ln(u,{x:t,y:n,defaultX:0,defaultY:0}),[m,F,b]=await gt(o.slice(4,-1)),v=p[0]||F,w=p[1]||b;return[`satori_bi${e}`,T("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:D[0]+r,y:D[1]+i,width:f?v:"100%",height:d?w:"100%"},T("image",{x:0,y:0,width:v,height:w,preserveAspectRatio:"none",href:m}))]}throw new Error(`Invalid background image: "${o}"`)}function Cf(e,t,n,r,i,o){let u={x:n/2,y:r/2};return e.type==="position-keyword"?Object.assign(u,xu(e.value,n,r,"x")):u.x=G(`${e.value}${e.type}`,i,n,o,!0),t.type==="position-keyword"?Object.assign(u,xu(t.value,n,r,"y")):u.y=G(`${t.value}${t.type}`,i,r,o,!0),u}function xu(e,t,n,r){switch(e){case"center":return{[r]:r==="x"?t/2:n/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:t};case"bottom":return{y:n}}}function _f(e,t,n,r,i,o){let[u,s]=i,{x:a,y:l}=r,f={},d=0,h=0;if(!t.some(p=>p.type==="extent-keyword")){if(t.some(p=>p.value.startsWith("-")))throw new Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return e==="circle"?{r:G(`${t[0].value}${t[0].type}`,n,u,o,!0)}:{rx:G(`${t[0].value}${t[0].type}`,n,u,o,!0),ry:G(`${t[1].value}${t[1].type}`,n,s,o,!0)}}switch(t[0].value){case"farthest-corner":d=Math.max(Math.abs(u-a),Math.abs(a)),h=Math.max(Math.abs(s-l),Math.abs(l));break;case"closest-corner":d=Math.min(Math.abs(u-a),Math.abs(a)),h=Math.min(Math.abs(s-l),Math.abs(l));break;case"farthest-side":return e==="circle"?f.r=Math.max(Math.abs(u-a),Math.abs(a),Math.abs(s-l),Math.abs(l)):(f.rx=Math.max(Math.abs(u-a),Math.abs(a)),f.ry=Math.max(Math.abs(s-l),Math.abs(l))),f;case"closest-side":return e==="circle"?f.r=Math.min(Math.abs(u-a),Math.abs(a),Math.abs(s-l),Math.abs(l)):(f.rx=Math.min(Math.abs(u-a),Math.abs(a)),f.ry=Math.min(Math.abs(s-l),Math.abs(l))),f}if(e==="circle")f.r=Math.sqrt(d*d+h*h);else{let p=h!==0?d/h:1;d===0?(f.rx=0,f.ry=0):(f.ry=Math.sqrt(d*d+h*h*p*p)/p,f.rx=f.ry*p)}return f}c();function Sf([e,t]){return Math.round(e*1e3)===0&&Math.round(t*1e3)===0?0:Math.round(e*t/Math.sqrt(e*e+t*t)*1e3)/1e3}function Ir(e,t,n){return n<e+t&&(n/2<e&&n/2<t?e=t=n/2:n/2<e?e=n-t:n/2<t&&(t=n-e)),[e,t]}function Lr(e){e[0]=e[1]=Math.min(e[0],e[1])}function Mr(e,t,n,r,i){if(typeof e=="string"){let o=e.split(" ").map(s=>s.trim()),u=!o[1]&&!o[0].endsWith("%");return o[1]=o[1]||o[0],[u,[Math.min(G(o[0],r,t,i,!0),t),Math.min(G(o[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}var Nr=e=>e&&e[0]!==0&&e[1]!==0;function Je({left:e,top:t,width:n,height:r},i,o){let{borderTopLeftRadius:u,borderTopRightRadius:s,borderBottomLeftRadius:a,borderBottomRightRadius:l,fontSize:f}=i,d,h,D,p;if([d,u]=Mr(u,n,r,f,i),[h,s]=Mr(s,n,r,f,i),[D,a]=Mr(a,n,r,f,i),[p,l]=Mr(l,n,r,f,i),!o&&!Nr(u)&&!Nr(s)&&!Nr(a)&&!Nr(l))return"";u||=[0,0],s||=[0,0],a||=[0,0],l||=[0,0],[u[0],s[0]]=Ir(u[0],s[0],n),[a[0],l[0]]=Ir(a[0],l[0],n),[u[1],a[1]]=Ir(u[1],a[1],r),[s[1],l[1]]=Ir(s[1],l[1],r),d&&Lr(u),h&&Lr(s),D&&Lr(a),p&&Lr(l);let m=[];m[0]=[s,s],m[1]=[l,[-l[0],l[1]]],m[2]=[a,[-a[0],-a[1]]],m[3]=[u,[u[0],-u[1]]];let F=`h${n-u[0]-s[0]} a${m[0][0]} 0 0 1 ${m[0][1]}`,b=`v${r-s[1]-l[1]} a${m[1][0]} 0 0 1 ${m[1][1]}`,v=`h${l[0]+a[0]-n} a${m[2][0]} 0 0 1 ${m[2][1]}`,w=`v${a[1]+u[1]-r} a${m[3][0]} 0 0 1 ${m[3][1]}`;if(o){let C=function(q){let $=Sf([u,s,l,a][q]);return q===0?[[e+u[0]-$,t+u[1]-$],[e+u[0],t]]:q===1?[[e+n-s[0]+$,t+s[1]-$],[e+n,t+s[1]]]:q===2?[[e+n-l[0]+$,t+r-l[1]+$],[e+n-l[0],t+r]]:[[e+a[0]-$,t+r-a[1]+$],[e,t+r-a[1]]]},E=o.indexOf(!1);if(!o.includes(!0))throw new Error("Invalid `partialSides`.");if(E===-1)E=0;else for(;!o[E];)E=(E+1)%4;let B="",I=C(E),M=`M${I[0]} A${m[(E+3)%4][0]} 0 0 1 ${I[1]}`,Y=0;for(;Y<4&&o[(E+Y)%4];Y++)B+=M+" ",M=[F,b,v,w][(E+Y)%4];let Z=(E+Y)%4;B+=M.split(" ")[0];let ae=C(Z);return B+=` A${m[(Z+3)%4][0]} 0 0 1 ${ae[0]}`,B}return`M${e+u[0]},${t} ${F} ${b} ${v} ${w}`}c();c();c();function Fu(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function wu({id:e,currentClipPathId:t,borderPath:n,borderType:r,left:i,top:o,width:u,height:s},a){if(!(a.borderTopWidth||a.borderRightWidth||a.borderBottomWidth||a.borderLeftWidth))return null;let f=`satori_bc-${e}`;return[T("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},T(r,{x:i,y:o,width:u,height:s,d:n||void 0})),f]}function Pt({left:e,top:t,width:n,height:r,props:i,asContentMask:o,maskBorderOnly:u},s){let a=["borderTop","borderRight","borderBottom","borderLeft"];if(!o&&!a.some(D=>s[D+"Width"]))return"";let l="",f=0;for(;f>0&&Fu(a[f],a[(f+3)%4],s);)f=(f+3)%4;let d=[!1,!1,!1,!1],h=[];for(let D=0;D<4;D++){let p=(f+D)%4,m=(f+D+1)%4,F=a[p],b=a[m];if(d[p]=!0,h=[s[F+"Width"],s[F+"Style"],s[F+"Color"],F],!Fu(F,b,s)){let v=(h[0]||0)+(o&&!u&&s[F.replace("border","padding")]||0);v&&(l+=T("path",{width:n,height:r,...i,fill:"none",stroke:o?"#000":h[2],"stroke-width":v*2,"stroke-dasharray":!o&&h[1]==="dashed"?v*2+" "+v:void 0,d:Je({left:e,top:t,width:n,height:r},s,d)})),d=[!1,!1,!1,!1]}}if(d.some(Boolean)){let D=(h[0]||0)+(o&&!u&&s[h[3].replace("border","padding")]||0);D&&(l+=T("path",{width:n,height:r,...i,fill:"none",stroke:o?"#000":h[2],"stroke-width":D*2,"stroke-dasharray":!o&&h[1]==="dashed"?D*2+" "+D:void 0,d:Je({left:e,top:t,width:n,height:r},s,d)}))}return l}function Nn({id:e,left:t,top:n,width:r,height:i,matrix:o,borderOnly:u},s){let a=(s.borderLeftWidth||0)+(u?0:s.paddingLeft||0),l=(s.borderTopWidth||0)+(u?0:s.paddingTop||0),f=(s.borderRightWidth||0)+(u?0:s.paddingRight||0),d=(s.borderBottomWidth||0)+(u?0:s.paddingBottom||0),h={x:t+a,y:n+l,width:r-a-f,height:i-l-d};return T("mask",{id:e},T("rect",{...h,fill:"#fff",mask:s._inheritedMaskId?`url(#${s._inheritedMaskId})`:void 0})+Pt({left:t,top:n,width:r,height:i,props:{transform:o||void 0},asContentMask:!0,maskBorderOnly:u},s))}c();c();import{getStylesForProperty as Eu}from"css-to-react-native";var Bt={circle:/circle\((.+)\)/,ellipse:/ellipse\((.+)\)/,path:/path\((.+)\)/,polygon:/polygon\((.+)\)/,inset:/inset\((.+)\)/};function Su({width:e,height:t},n,r){function i(l){let f=l.match(Bt.circle);if(!f)return null;let[,d]=f,[h,D=""]=d.split("at").map(F=>F.trim()),{x:p,y:m}=_u(D,e,t);return{type:"circle",r:G(h,r.fontSize,Math.sqrt(Math.pow(e,2)+Math.pow(t,2))/Math.sqrt(2),r,!0),cx:G(p,r.fontSize,e,r,!0),cy:G(m,r.fontSize,t,r,!0)}}function o(l){let f=l.match(Bt.ellipse);if(!f)return null;let[,d]=f,[h,D=""]=d.split("at").map(v=>v.trim()),[p,m]=h.split(" "),{x:F,y:b}=_u(D,e,t);return{type:"ellipse",rx:G(p||"50%",r.fontSize,e,r,!0),ry:G(m||"50%",r.fontSize,t,r,!0),cx:G(F,r.fontSize,e,r,!0),cy:G(b,r.fontSize,t,r,!0)}}function u(l){let f=l.match(Bt.path);if(!f)return null;let[d,h]=Cu(f[1]);return{type:"path",d:h,"fill-rule":d}}function s(l){let f=l.match(Bt.polygon);if(!f)return null;let[d,h]=Cu(f[1]);return{type:"polygon","fill-rule":d,points:h.split(",").map(D=>D.split(" ").map((p,m)=>G(p,r.fontSize,m===0?e:t,r,!0)).join(" ")).join(",")}}function a(l){let f=l.match(Bt.inset);if(!f)return null;let[d,h]=(f[1].includes("round")?f[1]:`${f[1].trim()} round 0`).split("round"),D=Eu("borderRadius",h,!0),p=Object.values(D).map(E=>String(E)).map((E,C)=>G(E,r.fontSize,C===0||C===2?t:e,r,!0)||0),m=Object.values(Eu("margin",d,!0)).map(E=>String(E)).map((E,C)=>G(E,r.fontSize,C===0||C===2?t:e,r,!0)||0),F=m[3],b=m[0],v=e-(m[1]+m[3]),w=t-(m[0]+m[2]);if(p.some(E=>E>0)){let E=Je({left:F,top:b,width:v,height:w},{...n,...D});return{type:"path",d:E}}return{type:"rect",x:F,y:b,width:v,height:w}}return{parseCircle:i,parseEllipse:o,parsePath:u,parsePolygon:s,parseInset:a}}function Cu(e){let[,t="nonzero",n]=e.replace(/('|")/g,"").match(/^(nonzero|evenodd)?,?(.+)/)||[];return[t,n]}function _u(e,t,n){let r=e.split(" "),i={x:r[0]||"50%",y:r[1]||"50%"};return r.forEach(o=>{o==="top"?i.y=0:o==="bottom"?i.y=n:o==="left"?i.x=0:o==="right"?i.x=t:o==="center"&&(i.x=t/2,i.y=n/2)}),i}function $r(e){return`satori_cp-${e}`}function ku(e){return`url(#${$r(e)})`}function Tu(e,t,n){if(t.clipPath==="none")return"";let r=Su(e,t,n),i=t.clipPath,o={type:""};for(let u of Object.keys(r))if(o=r[u](i),o)break;if(o){let{type:u,...s}=o;return T("clipPath",{id:$r(e.id),"clip-path":e.currentClipPath,transform:`translate(${e.left}, ${e.top})`},T(u,s))}return""}function $n({left:e,top:t,width:n,height:r,path:i,matrix:o,id:u,currentClipPath:s,src:a},l,f){let d="",h=l.clipPath&&l.clipPath!=="none"?Tu({left:e,top:t,width:n,height:r,path:i,id:u,matrix:o,currentClipPath:s,src:a},l,f):"";if(l.overflow!=="hidden"&&!a)d="";else{let p=h?`satori_ocp-${u}`:$r(u);d=T("clipPath",{id:p,"clip-path":s},T(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))}let D=Nn({id:`satori_om-${u}`,left:e,top:t,width:n,height:r,matrix:o,borderOnly:!a},l);return h+d+D}async function Rt({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:o,src:u,debug:s},a,l){if(a.display==="none")return"";let f=!!u,d="rect",h="",D="",p=[],m=1,F="";a.backgroundColor&&p.push(a.backgroundColor),a.opacity!==void 0&&(m=+a.opacity),a.transform&&(h=Ot({left:t,top:n,width:r,height:i},a.transform,o,a.transformOrigin));let b="";if(a.backgroundImage){let q=[];for(let $=0;$<a.backgroundImage.length;$++){let oe=a.backgroundImage[$],le=await Mn({id:e+"_"+$,width:r,height:i,left:t,top:n},oe,l);le&&q.unshift(le)}for(let $ of q)p.push(`url(#${$[0]})`),D+=$[1],$[2]&&(b+=$[2])}let v=Je({left:t,top:n,width:r,height:i},a);v&&(d="path");let w=a._inheritedClipPathId,E=a._inheritedMaskId;s&&(F=T("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:h||void 0,"clip-path":w?`url(#${w})`:void 0}));let{backgroundClip:C,filter:B}=a,I=C==="text"?`url(#satori_bct-${e})`:w?`url(#${w})`:a.clipPath?ku(e):void 0,M=$n({left:t,top:n,width:r,height:i,path:v,id:e,matrix:h,currentClipPath:I,src:u},a,l),Y=p.map(q=>T(d,{x:t,y:n,width:r,height:i,fill:q,d:v||void 0,transform:h||void 0,"clip-path":I,style:B?`filter:${B}`:void 0,mask:E?`url(#${E})`:void 0})).join(""),Z=wu({id:e,left:t,top:n,width:r,height:i,currentClipPathId:w,borderPath:v,borderType:d},a);if(f){let q=(a.borderLeftWidth||0)+(a.paddingLeft||0),$=(a.borderTopWidth||0)+(a.paddingTop||0),oe=(a.borderRightWidth||0)+(a.paddingRight||0),le=(a.borderBottomWidth||0)+(a.paddingBottom||0),Q=a.objectFit==="contain"?"xMidYMid":a.objectFit==="cover"?"xMidYMid slice":"none";Y+=T("image",{x:t+q,y:n+$,width:r-q-oe,height:i-$-le,href:u,preserveAspectRatio:Q,transform:h||void 0,style:B?`filter:${B}`:void 0,"clip-path":`url(#satori_cp-${e})`,mask:`url(#satori_om-${e})`})}if(Z){D+=Z[0];let q=Z[1];Y+=Pt({left:t,top:n,width:r,height:i,props:{transform:h||void 0,"clip-path":`url(#${q})`}},a)}let ae=gu({width:r,height:i,id:e,opacity:m,shape:T(d,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:v||void 0,transform:h||void 0,"clip-path":I,mask:E?`url(#${E})`:void 0})},a);return(D?T("defs",{},D):"")+(ae?ae[0]:"")+M+(m!==1?`<g opacity="${m}">`:"")+(b||Y)+(m!==1?"</g>":"")+(ae?ae[1]:"")+F}c();c();var Au=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var kf=new RegExp(Au(),""),Wn={emoji:kf,symbol:/\p{Symbol}/u,math:/\p{Math}/u},qn={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},Wr=Object.keys({...qn,...Wn});function Ou(e){return Wr.includes(e)}function Pu(e,t){for(let r of Object.keys(Wn))if(Wn[r].test(e))return[r];let n=Object.keys(qn).filter(r=>qn[r].test(e));if(n.length===0)return["unknown"];if(t){let r=n.findIndex(i=>i===t);r!==-1&&(n.splice(r,1),n.unshift(t))}return n}function Bu(e){if(e)return Wr.find(t=>t.toLowerCase()===e.toLowerCase()||t.toLowerCase().startsWith(e.toLowerCase()))}async function*It(e,t){var U;let n=await We(),{id:r,inheritedStyle:i,parent:o,font:u,debug:s,locale:a,embedFont:l=!0,graphemeImages:f,canLoadAdditionalAssets:d,getTwStyles:h}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!Dt(e)||typeof e.type=="function"){let L;if(!Dt(e))L=Bn(String(e),t),yield(await L.next()).value;else{if(Yo(e.type))throw new Error("Class component is not supported.");L=It(e.type(e.props),t),yield(await L.next()).value}await L.next();let De=yield;return(await L.next(De)).value}let{type:D,props:p}=e;if(p&&Xo(p))throw new Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:m,children:F,tw:b,lang:v=a}=p||{},w=Bu(v);if(b){let L=h(b,m);m=Object.assign(L,m)}let E=n.Node.create();o.insertChild(E,o.getChildCount());let[C,B]=await Tn(E,D,i,m,p),I=C.transform===i.transform;if(I||(C.transform.__parent=i.transform),(C.overflow==="hidden"||C.clipPath&&C.clipPath!=="none")&&(B._inheritedClipPathId=`satori_cp-${r}`,B._inheritedMaskId=`satori_om-${r}`),C.backgroundClip==="text"){let L={value:""};B._inheritedBackgroundClipTextPath=L,C._inheritedBackgroundClipTextPath=L}let M=Qo(F),Y=[],Z=0,ae=[];for(let L of M){let De=It(L,{id:r+"-"+Z++,parentStyle:C,inheritedStyle:B,isInheritingTransform:!0,parent:E,font:u,embedFont:l,debug:s,graphemeImages:f,canLoadAdditionalAssets:d,locale:w,getTwStyles:h,onNodeDetected:t.onNodeDetected});d?ae.push(...(await De.next()).value||[]):await De.next(),Y.push(De)}yield ae;for(let L of Y)await L.next();let[q,$]=yield,{left:oe,top:le,width:Q,height:we}=E.getComputedLayout();oe+=q,le+=$;let ie="",te="",Be="",{children:P,...R}=p;if((U=t.onNodeDetected)==null||U.call(t,{left:oe,top:le,width:Q,height:we,type:D,props:R,key:e.key,textContent:Dt(P)?void 0:P}),D==="img"){let L=C.__src;te=await Rt({id:r,left:oe,top:le,width:Q,height:we,src:L,isInheritingTransform:I,debug:s},C,B)}else if(D==="svg"){let L=C.color,De=await au(e,L);te=await Rt({id:r,left:oe,top:le,width:Q,height:we,src:De,isInheritingTransform:I,debug:s},C,B)}else{let L=m==null?void 0:m.display;if(D==="div"&&F&&typeof F!="string"&&L!=="flex"&&L!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');te=await Rt({id:r,left:oe,top:le,width:Q,height:we,isInheritingTransform:I,debug:s},C,B)}for(let L of Y)ie+=(await L.next([oe,le])).value;return C._inheritedBackgroundClipTextPath&&(Be+=T("clipPath",{id:`satori_bct-${r}`,"clip-path":C._inheritedClipPathId?`url(#${C._inheritedClipPathId})`:void 0},C._inheritedBackgroundClipTextPath.value)),Be+te+ie}c();import Un from"@shuding/opentype.js";var Ru="unknown";function Tf(e,t,[n,r],[i,o]){if(n!==i)return n?!i||n===e?-1:i===e?1:e===400&&n===500||e===500&&n===400?-1:e===400&&i===500||e===500&&i===400?1:e<400?n<e&&i<e?i-n:n<e?-1:i<e?1:n-i:e<n&&e<i?n-i:e<n?-1:e<i?1:i-n:1;if(r!==o){if(r===t)return-1;if(o===t)return 1}return-1}var Lt=class{constructor(t){this.fonts=new Map;this.addFonts(t)}get({name:t,weight:n,style:r}){if(!this.fonts.has(t))return null;n==="normal"&&(n=400),n==="bold"&&(n=700),typeof n=="string"&&(n=Number.parseInt(n,10));let i=[...this.fonts.get(t)],o=i[0];for(let u=1;u<i.length;u++){let[,s,a]=o,[,l,f]=i[u];Tf(n,r,[s,a],[l,f])>0&&(o=i[u])}return o[0]}addFonts(t){for(let n of t){let{name:r,data:i,lang:o}=n;if(o&&!Ou(o))throw new Error(`Invalid value for props \`lang\`: "${o}". The value must be one of the following: ${Wr.join(", ")}.`);let u=o??Ru,s=Un.parse("buffer"in i?i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength):i,{lowMemory:!0}),a=s.charToGlyphIndex;s.charToGlyphIndex=f=>{let d=a.call(s,f);return d===0&&s._trackBrokenChars&&s._trackBrokenChars.push(f),d},this.defaultFont||(this.defaultFont=s);let l=`${r.toLowerCase()}_${u}`;this.fonts.has(l)||this.fonts.set(l,[]),this.fonts.get(l).push([s,n.weight,n.style])}}getEngine(t=16,n=1.2,{fontFamily:r="sans-serif",fontWeight:i=400,fontStyle:o="normal"},u){if(!this.fonts.size)throw new Error("No fonts are loaded. At least one font is required to calculate the layout.");r=(Array.isArray(r)?r:[r]).map(v=>v.toLowerCase());let s=[];r.forEach(v=>{let w=this.get({name:v,weight:i,style:o});if(w){s.push(w);return}let E=this.get({name:v+"_unknown",weight:i,style:o});if(E){s.push(E);return}});let a=Array.from(this.fonts.keys()),l=[],f=[],d=[];for(let v of a)if(!r.includes(v))if(u){let w=Af(v);w?w===u?l.push(this.get({name:v,weight:i,style:o})):f.push(this.get({name:v,weight:i,style:o})):d.push(this.get({name:v,weight:i,style:o}))}else d.push(this.get({name:v,weight:i,style:o}));let h=new Map,D=(v,w=!0)=>{let E=[...s,...d,...l,...w?f:[]];if(typeof v>"u")return w?E[E.length-1]:void 0;let C=v.charCodeAt(0);if(h.has(C))return h.get(C);let B=E.find((I,M)=>!!I.charToGlyphIndex(v)||w&&M===E.length-1);return B&&h.set(C,B),B},p=(v,w=!1)=>{var C,B;return((w?(B=(C=v.tables)==null?void 0:C.os2)==null?void 0:B.sTypoAscender:0)||v.ascender)/v.unitsPerEm*t},m=(v,w=!1)=>{var C,B;return((w?(B=(C=v.tables)==null?void 0:C.os2)==null?void 0:B.sTypoDescender:0)||v.descender)/v.unitsPerEm*t},F=v=>D(v,!1),b={has:v=>{if(v===`
|
|
6
|
+
`)return!0;let w=F(v);return w?(w._trackBrokenChars=[],w.stringToGlyphs(v),w._trackBrokenChars.length?(w._trackBrokenChars=void 0,!1):!0):!1},baseline:(v,w=typeof v>"u"?s[0]:D(v))=>{let E=p(w,!0),C=m(w,!0),B=b.height(v,w),{yMax:I,yMin:M}=w.tables.head,Y=E-C,Z=(I/(I-M)-1)*Y;return B*((1.2/n+1)/2)+Z},height:(v,w=typeof v>"u"?s[0]:D(v))=>(p(w)-m(w))*(n/1.2),measure:(v,w)=>this.measure(D,v,w),getSVG:(v,w)=>this.getSVG(D,v,w)};return b}patchFontFallbackResolver(t,n){let r=[];t._trackBrokenChars=r;let i=t.stringToGlyphs;return t.stringToGlyphs=(o,...u)=>{let s=i.call(t,o,...u);for(let a=0;a<s.length;a++)if(s[a].unicode===void 0){let l=r.shift(),f=n(l);if(f!==t){let d=f.charToGlyph(l),h=t.unitsPerEm/f.unitsPerEm,D=new Un.Path;D.unitsPerEm=t.unitsPerEm,D.commands=d.path.commands.map(m=>{let F={...m};for(let b in F)typeof F[b]=="number"&&(F[b]*=h);return F});let p=new Un.Glyph({...d,advanceWidth:d.advanceWidth*h,xMin:d.xMin*h,xMax:d.xMax*h,yMin:d.yMin*h,yMax:d.yMax*h,path:D});s[a]=p}}return s},()=>{t.stringToGlyphs=i,t._trackBrokenChars=void 0}}measure(t,n,{fontSize:r,letterSpacing:i=0}){let o=t(n),u=this.patchFontFallbackResolver(o,t);try{return o.getAdvanceWidth(n,r,{letterSpacing:i/r})}finally{u()}}getSVG(t,n,{fontSize:r,top:i,left:o,letterSpacing:u=0}){let s=t(n),a=this.patchFontFallbackResolver(s,t);try{return r===0?"":s.getPath(n.replace(/\n/g,""),o,i,r,{letterSpacing:u/r}).toPathData(1)}finally{a()}}};function Af(e){let t=e.split("_"),n=t[t.length-1];return n===Ru?void 0:n}c();function zn({width:e,height:t,content:n}){return T("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();c();var pl=_l(Ga());c();c();c();c();var mD=["ios","android","windows","macos","web"];function Va(e){return mD.includes(e)}var gD=["portrait","landscape"];function Ha(e){return gD.includes(e)}var ja;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(ja||(ja={}));var V;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(V||(V={}));function mo(e){return typeof e=="string"}function go(e){return typeof e=="object"}var bo;function g(e){return{kind:"complete",style:e}}function ce(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[o="",u=""]=e.split("/",2),s=ce(o),a=ce(u);return!s||!a?null:[s[0]/a[0],a[1]]}let r=parseFloat(e);if(Number.isNaN(r))return null;let i=e.match(/(([a-z]{2,}|%))$/);if(!i)return[r,V.none];switch(i==null?void 0:i[1]){case"rem":return[r,V.rem];case"px":return[r,V.px];case"em":return[r,V.em];case"%":return[r,V.percent];case"vw":return[r,V.vw];case"vh":return[r,V.vh];default:return null}}function ze(e,t,n={}){let r=Le(t,n);return r===null?null:g({[e]:r})}function on(e,t,n){let r=Le(t);return r!==null&&(n[e]=r),n}function Xa(e,t){let n=Le(t);return n===null?null:{[e]:n}}function Le(e,t={}){if(e===void 0)return null;let n=ce(String(e),t);return n?rt(...n,t):null}function rt(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case V.rem:return e*16*(r?-1:1);case V.px:return e*(r?-1:1);case V.percent:return`${r?"-":""}${e}%`;case V.none:return e*(r?-1:1);case V.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(xe("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case V.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(xe("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function vo(e){let t=ce(e);if(!t)return null;let[n,r]=t;switch(r){case V.rem:return n*16;case V.px:return n;default:return null}}var bD={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function yo(e){return bD[e??""]||"All"}function xo(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=yo(i),"")),t]}function lt(e,t={}){if(e.includes("/")){let n=Ya(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),Ya(e,t)}function Oe(e,t,n={}){let r=lt(t,n);return r===null?null:g({[e]:r})}function Ya(e,t={}){if(e==="px")return 1;let n=ce(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=V.percent,r*=100),i===V.none&&(r=r/4,i=V.rem),rt(r,i,t)}function vD(...e){console.warn(...e)}function yD(...e){}var xe=typeof process>"u"||((bo=process==null?void 0:process.env)===null||bo===void 0?void 0:bo.JEST_WORKER_ID)===void 0?vD:yD;var xD=[["aspect-square",g({aspectRatio:1})],["aspect-video",g({aspectRatio:16/9})],["items-center",g({alignItems:"center"})],["items-start",g({alignItems:"flex-start"})],["items-end",g({alignItems:"flex-end"})],["items-baseline",g({alignItems:"baseline"})],["items-stretch",g({alignItems:"stretch"})],["justify-start",g({justifyContent:"flex-start"})],["justify-end",g({justifyContent:"flex-end"})],["justify-center",g({justifyContent:"center"})],["justify-between",g({justifyContent:"space-between"})],["justify-around",g({justifyContent:"space-around"})],["justify-evenly",g({justifyContent:"space-evenly"})],["content-start",g({alignContent:"flex-start"})],["content-end",g({alignContent:"flex-end"})],["content-between",g({alignContent:"space-between"})],["content-around",g({alignContent:"space-around"})],["content-stretch",g({alignContent:"stretch"})],["content-center",g({alignContent:"center"})],["self-auto",g({alignSelf:"auto"})],["self-start",g({alignSelf:"flex-start"})],["self-end",g({alignSelf:"flex-end"})],["self-center",g({alignSelf:"center"})],["self-stretch",g({alignSelf:"stretch"})],["self-baseline",g({alignSelf:"baseline"})],["direction-inherit",g({direction:"inherit"})],["direction-ltr",g({direction:"ltr"})],["direction-rtl",g({direction:"rtl"})],["hidden",g({display:"none"})],["flex",g({display:"flex"})],["flex-row",g({flexDirection:"row"})],["flex-row-reverse",g({flexDirection:"row-reverse"})],["flex-col",g({flexDirection:"column"})],["flex-col-reverse",g({flexDirection:"column-reverse"})],["flex-wrap",g({flexWrap:"wrap"})],["flex-wrap-reverse",g({flexWrap:"wrap-reverse"})],["flex-nowrap",g({flexWrap:"nowrap"})],["flex-auto",g({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",g({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",g({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",g({overflow:"hidden"})],["overflow-visible",g({overflow:"visible"})],["overflow-scroll",g({overflow:"scroll"})],["absolute",g({position:"absolute"})],["relative",g({position:"relative"})],["italic",g({fontStyle:"italic"})],["not-italic",g({fontStyle:"normal"})],["oldstyle-nums",pr("oldstyle-nums")],["small-caps",pr("small-caps")],["lining-nums",pr("lining-nums")],["tabular-nums",pr("tabular-nums")],["proportional-nums",pr("proportional-nums")],["font-thin",g({fontWeight:"100"})],["font-100",g({fontWeight:"100"})],["font-extralight",g({fontWeight:"200"})],["font-200",g({fontWeight:"200"})],["font-light",g({fontWeight:"300"})],["font-300",g({fontWeight:"300"})],["font-normal",g({fontWeight:"normal"})],["font-400",g({fontWeight:"400"})],["font-medium",g({fontWeight:"500"})],["font-500",g({fontWeight:"500"})],["font-semibold",g({fontWeight:"600"})],["font-600",g({fontWeight:"600"})],["font-bold",g({fontWeight:"bold"})],["font-700",g({fontWeight:"700"})],["font-extrabold",g({fontWeight:"800"})],["font-800",g({fontWeight:"800"})],["font-black",g({fontWeight:"900"})],["font-900",g({fontWeight:"900"})],["include-font-padding",g({includeFontPadding:!0})],["remove-font-padding",g({includeFontPadding:!1})],["max-w-none",g({maxWidth:"99999%"})],["text-left",g({textAlign:"left"})],["text-center",g({textAlign:"center"})],["text-right",g({textAlign:"right"})],["text-justify",g({textAlign:"justify"})],["text-auto",g({textAlign:"auto"})],["underline",g({textDecorationLine:"underline"})],["line-through",g({textDecorationLine:"line-through"})],["no-underline",g({textDecorationLine:"none"})],["uppercase",g({textTransform:"uppercase"})],["lowercase",g({textTransform:"lowercase"})],["capitalize",g({textTransform:"capitalize"})],["normal-case",g({textTransform:"none"})],["w-auto",g({width:"auto"})],["h-auto",g({height:"auto"})],["shadow-sm",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",g({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",g({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],Fo=xD;function pr(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var hr=class{constructor(t){this.ir=new Map(Fo),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...Fo,...t??[]])}getStyle(t){return this.styles.get(t)}setStyle(t,n){this.styles.set(t,n)}getIr(t){return this.ir.get(t)}setIr(t,n){this.ir.set(t,n)}getPrefixMatch(t){return this.prefixes.get(t)}setPrefixMatch(t,n){this.prefixes.set(t,n)}};c();c();function wo(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return Oe("fontSize",e,n);if(typeof r=="string")return ze("fontSize",r);let i={},[o,u]=r,s=Xa("fontSize",o);if(s&&(i=s),typeof u=="string")return g(on("lineHeight",Qa(u,i),i));let{lineHeight:a,letterSpacing:l}=u;return a&&on("lineHeight",Qa(a,i),i),l&&on("letterSpacing",l,i),g(i)}function Qa(e,t){let n=ce(e);if(n){let[r,i]=n;if((i===V.none||i===V.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function Eo(e,t){var n;let r=(n=t==null?void 0:t[e])!==null&&n!==void 0?n:e.startsWith("[")?e.slice(1,-1):e,i=ce(r);if(!i)return null;let[o,u]=i;if(u===V.none)return{kind:"dependent",complete(a){if(typeof a.fontSize!="number")return"relative line-height utilities require that font-size be set";a.lineHeight=a.fontSize*o}};let s=rt(o,u);return s!==null?g({lineHeight:s}):null}c();function Co(e,t,n,r,i){let o="";if(r[0]==="[")o=r.slice(1,-1);else{let l=i==null?void 0:i[r];if(l)o=l;else{let f=lt(r);return f&&typeof f=="number"?Ka(f,V.px,t,e):null}}if(o==="auto")return Ja(t,e,"auto");let u=ce(o);if(!u)return null;let[s,a]=u;return n&&(s=-s),Ka(s,a,t,e)}function Ka(e,t,n,r){let i=rt(e,t);return i===null?null:Ja(n,r,i)}function Ja(e,t,n){switch(e){case"All":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Right`]:n,[`${t}Bottom`]:n,[`${t}Left`]:n}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${t}${e}`]:n}};case"Vertical":return{kind:"complete",style:{[`${t}Top`]:n,[`${t}Bottom`]:n}};case"Horizontal":return{kind:"complete",style:{[`${t}Left`]:n,[`${t}Right`]:n}};default:return null}}c();function _o(e){if(!e)return{};let t=Object.entries(e).reduce((i,[o,u])=>{let s=[0,1/0,0],a=typeof u=="string"?{min:u}:u,l=a.min?vo(a.min):0;l===null?xe(`invalid screen config value: ${o}->min: ${a.min}`):s[0]=l;let f=a.max?vo(a.max):1/0;return f===null?xe(`invalid screen config value: ${o}->max: ${a.max}`):s[1]=f,i[o]=s,i},{}),n=Object.values(t);n.sort((i,o)=>{let[u,s]=i,[a,l]=o;return s===1/0||l===1/0?u-a:s-l});let r=0;return n.forEach(i=>i[2]=r++),t}c();function So(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return g({fontFamily:n});let r=n[0];return r?g({fontFamily:r}):null}c();function ft(e,t,n){if(!n)return null;let r;t.includes("/")&&([t="",r]=t.split("/",2));let i="";if(t.startsWith("[#")||t.startsWith("[rgb")?i=t.slice(1,-1):i=tl(t,n),!i)return null;if(r){let o=Number(r);if(!Number.isNaN(o))return i=Za(i,o/100),g({[un[e].color]:i})}return{kind:"dependent",complete(o){let u=un[e].opacity,s=o[u];typeof s=="number"&&(i=Za(i,s)),o[un[e].color]=i}}}function Dr(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[un[e].opacity]:r};return{kind:"complete",style:i}}function Za(e,t){return e.startsWith("#")?e=FD(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function el(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var un={bg:{opacity:"__opacity_bg",color:"backgroundColor"},text:{opacity:"__opacity_text",color:"color"},border:{opacity:"__opacity_border",color:"borderColor"},borderTop:{opacity:"__opacity_border",color:"borderTopColor"},borderBottom:{opacity:"__opacity_border",color:"borderBottomColor"},borderLeft:{opacity:"__opacity_border",color:"borderLeftColor"},borderRight:{opacity:"__opacity_border",color:"borderRightColor"},shadow:{opacity:"__opacity_shadow",color:"shadowColor"},tint:{opacity:"__opacity_tint",color:"tintColor"}};function FD(e){let t=e;e=e.replace(wD,(u,s,a,l)=>s+s+a+a+l+l);let n=ED.exec(e);if(!n)return xe(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let r=parseInt(n[1],16),i=parseInt(n[2],16),o=parseInt(n[3],16);return`rgba(${r}, ${i}, ${o}, 1)`}function tl(e,t){let n=t[e];if(mo(n))return n;if(go(n)&&mo(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let o=t[r];if(go(o))return tl(i.join("-"),o);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var wD=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,ED=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function nl(e,t){let[n,r]=xo(e);if(n.match(/^(-?(\d)+)?$/))return CD(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return g({borderStyle:n});let o="border";switch(r){case"Bottom":o="borderBottom";break;case"Top":o="borderTop";break;case"Left":o="borderLeft";break;case"Right":o="borderRight";break}let u=ft(o,n,t==null?void 0:t.borderColor);if(u)return u;let s=`border${r==="All"?"":r}Width`;n=n.replace(/^-/,"");let a=n.slice(1,-1),l=Oe(s,a);return typeof(l==null?void 0:l.style[s])!="number"?null:l}function CD(e,t,n){if(!n)return null;e=e.replace(/^-/,"");let i=n[e===""?"DEFAULT":e];if(i===void 0)return null;let o=`border${t==="All"?"":t}Width`;return ze(o,i)}function il(e,t){if(!t)return null;let[n,r]=xo(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,o=t[n];if(o)return rl(ze(i,o));let u=Oe(i,n);return typeof(u==null?void 0:u.style[i])!="number"?null:rl(u)}function rl(e){if((e==null?void 0:e.kind)!=="complete")return e;let t=e.style.borderTopRadius;t!==void 0&&(e.style.borderTopLeftRadius=t,e.style.borderTopRightRadius=t,delete e.style.borderTopRadius);let n=e.style.borderBottomRadius;n!==void 0&&(e.style.borderBottomLeftRadius=n,e.style.borderBottomRightRadius=n,delete e.style.borderBottomRadius);let r=e.style.borderLeftRadius;r!==void 0&&(e.style.borderBottomLeftRadius=r,e.style.borderTopLeftRadius=r,delete e.style.borderLeftRadius);let i=e.style.borderRightRadius;return i!==void 0&&(e.style.borderBottomRightRadius=i,e.style.borderTopRightRadius=i,delete e.style.borderRightRadius),e}c();function Ft(e,t,n,r){let i=null;e==="inset"&&(t=t.replace(/^(x|y)-/,(s,a)=>(i=a==="x"?"x":"y","")));let o=r==null?void 0:r[t];if(o){let s=Le(o,{isNegative:n});if(s!==null)return ol(e,i,s)}let u=lt(t,{isNegative:n});return u!==null?ol(e,i,u):null}function ol(e,t,n){if(e!=="inset")return g({[e]:n});switch(t){case null:return g({top:n,left:n,right:n,bottom:n});case"y":return g({top:n,bottom:n});case"x":return g({left:n,right:n})}}c();function mr(e,t,n){var r;t=t.replace(/^-/,"");let i=t===""?"DEFAULT":t,o=Number((r=n==null?void 0:n[i])!==null&&r!==void 0?r:t);return Number.isNaN(o)?null:g({[`flex${e}`]:o})}function ul(e,t){var n,r;if(e=(t==null?void 0:t[e])||e,["min-content","revert","unset"].includes(e))return null;if(e.match(/^\d+(\.\d+)?$/))return g({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return g({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let o=Le((n=i[2])!==null&&n!==void 0?n:"");return o?g({flexGrow:Number(i[1]),flexBasis:o}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let o=Le((r=i[3])!==null&&r!==void 0?r:"");return o?g({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:o}):null}return null}c();function ko(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?ze(e,i,n):Oe(e,t,n)}function gr(e,t,n={},r){let i=Le(r==null?void 0:r[t],n);return i?g({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),Oe(e,t,n))}c();function sl(e,t,n){let r=n==null?void 0:n[e];if(r){let i=ce(r,{isNegative:t});if(!i)return null;let[o,u]=i;if(u===V.em)return _D(o);if(u===V.percent)return xe("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."),null;let s=rt(o,u,{isNegative:t});return s!==null?g({letterSpacing:s}):null}return Oe("letterSpacing",e,{isNegative:t})}function _D(e){return{kind:"dependent",complete(t){let n=t.fontSize;if(typeof n!="number"||Number.isNaN(n))return"tracking-X relative letter spacing classes require font-size to be set";t.letterSpacing=Math.round((e*n+Number.EPSILON)*100)/100}}}c();function al(e,t){let n=t==null?void 0:t[e];if(n){let i=ce(String(n));if(i)return g({opacity:i[0]})}let r=ce(e);return r?g({opacity:r[0]/100}):null}c();function ll(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function fl(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=To(n),o=To(r);return i===null||o===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:o}}}}let t=To(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function To(e){let t=lt(e);return typeof t=="number"?t:null}var wt=class{constructor(t,n={},r,i,o){var u,s,a,l,f,d;this.config=n,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=i;let h=t.trim().split(":"),D=[];h.length===1?this.string=t:(this.string=(u=h.pop())!==null&&u!==void 0?u:"",D=h),this.char=this.string[0];let p=_o((s=this.config.theme)===null||s===void 0?void 0:s.screens);for(let m of D)if(p[m]){let F=(a=p[m])===null||a===void 0?void 0:a[2];F!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+F);let b=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(b){let[v,w]=(d=p[m])!==null&&d!==void 0?d:[0,0];(b<=v||b>w)&&(this.isNull=!0)}else this.isNull=!0}else Va(m)?this.isNull=m!==o:Ha(m)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==m?this.isNull=!0:this.incrementOrder():this.isNull=!0:m==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:m==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(m)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let t=this.cache.getIr(this.rest);if(t)return t;this.parseIsNegative();let n=this.parseUtility();return n?this.order!==void 0?{kind:"ordered",order:this.order,styleIr:n}:n:{kind:"null"}}parseUtility(){var t,n,r,i,o;let u=this.config.theme,s=null;switch(this.char){case"m":case"p":{let a=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(a){let l=this.char==="m"?"margin":"padding";this.advance(((n=(t=a[0])===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+1);let f=yo(a[1]),d=Co(l,f,this.isNegative,this.rest,(r=this.config.theme)===null||r===void 0?void 0:r[l]);if(d)return d}}}if(this.consumePeeked("h-")&&(s=ko("height",this.rest,this.context,u==null?void 0:u.height),s)||this.consumePeeked("w-")&&(s=ko("width",this.rest,this.context,u==null?void 0:u.width),s)||this.consumePeeked("min-w-")&&(s=gr("minWidth",this.rest,this.context,u==null?void 0:u.minWidth),s)||this.consumePeeked("min-h-")&&(s=gr("minHeight",this.rest,this.context,u==null?void 0:u.minHeight),s)||this.consumePeeked("max-w-")&&(s=gr("maxWidth",this.rest,this.context,u==null?void 0:u.maxWidth),s)||this.consumePeeked("max-h-")&&(s=gr("maxHeight",this.rest,this.context,u==null?void 0:u.maxHeight),s)||this.consumePeeked("leading-")&&(s=Eo(this.rest,u==null?void 0:u.lineHeight),s)||this.consumePeeked("text-")&&(s=wo(this.rest,u==null?void 0:u.fontSize,this.context),s||(s=ft("text",this.rest,u==null?void 0:u.textColor),s)||this.consumePeeked("opacity-")&&(s=Dr("text",this.rest),s))||this.consumePeeked("font-")&&(s=So(this.rest,u==null?void 0:u.fontFamily),s)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&xe("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),s=ze("aspectRatio",this.rest,{fractions:!0}),s)||this.consumePeeked("tint-")&&(s=ft("tint",this.rest,u==null?void 0:u.colors),s)||this.consumePeeked("bg-")&&(s=ft("bg",this.rest,u==null?void 0:u.backgroundColor),s||this.consumePeeked("opacity-")&&(s=Dr("bg",this.rest),s))||this.consumePeeked("border")&&(s=nl(this.rest,u),s||this.consumePeeked("-opacity-")&&(s=Dr("border",this.rest),s))||this.consumePeeked("rounded")&&(s=il(this.rest,u==null?void 0:u.borderRadius),s)||this.consumePeeked("bottom-")&&(s=Ft("bottom",this.rest,this.isNegative,u==null?void 0:u.inset),s)||this.consumePeeked("top-")&&(s=Ft("top",this.rest,this.isNegative,u==null?void 0:u.inset),s)||this.consumePeeked("left-")&&(s=Ft("left",this.rest,this.isNegative,u==null?void 0:u.inset),s)||this.consumePeeked("right-")&&(s=Ft("right",this.rest,this.isNegative,u==null?void 0:u.inset),s)||this.consumePeeked("inset-")&&(s=Ft("inset",this.rest,this.isNegative,u==null?void 0:u.inset),s)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?s=mr("Grow",this.rest,u==null?void 0:u.flexGrow):this.consumePeeked("shrink")?s=mr("Shrink",this.rest,u==null?void 0:u.flexShrink):s=ul(this.rest,u==null?void 0:u.flex),s)||this.consumePeeked("grow")&&(s=mr("Grow",this.rest,u==null?void 0:u.flexGrow),s)||this.consumePeeked("shrink")&&(s=mr("Shrink",this.rest,u==null?void 0:u.flexShrink),s)||this.consumePeeked("shadow-color-opacity-")&&(s=Dr("shadow",this.rest),s)||this.consumePeeked("shadow-opacity-")&&(s=ll(this.rest),s)||this.consumePeeked("shadow-offset-")&&(s=fl(this.rest),s)||this.consumePeeked("shadow-radius-")&&(s=Oe("shadowRadius",this.rest),s)||this.consumePeeked("shadow-")&&(s=ft("shadow",this.rest,u==null?void 0:u.colors),s))return s;if(this.consumePeeked("elevation-")){let a=parseInt(this.rest,10);if(!Number.isNaN(a))return g({elevation:a})}if(this.consumePeeked("opacity-")&&(s=al(this.rest,u==null?void 0:u.opacity),s)||this.consumePeeked("tracking-")&&(s=sl(this.rest,this.isNegative,u==null?void 0:u.letterSpacing),s))return s;if(this.consumePeeked("z-")){let a=Number((o=(i=u==null?void 0:u.zIndex)===null||i===void 0?void 0:i[this.rest])!==null&&o!==void 0?o:this.rest);if(!Number.isNaN(a))return g({zIndex:a})}return xe(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(t){var n;if(t[0]!=="m")return!1;let r=t.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!r)return!1;if(!(!((n=this.context.device)===null||n===void 0)&&n.windowDimensions))return this.isNull=!0,!0;let i=this.context.device.windowDimensions,[,o="",u="",s=""]=r,a=u==="w"?i.width:i.height,l=ce(s,this.context);if(l===null)return this.isNull=!0,!0;let[f,d]=l;return d!=="px"&&(this.isNull=!0),(o==="min"?a>=f:a<=f)?this.incrementOrder():this.isNull=!0,!0}advance(t=1){this.position+=t,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(t,n){return this.string.slice(this.position+t,this.position+n)}consumePeeked(t){return this.peekSlice(0,t.length)===t?(this.advance(t.length),!0):!1}parseIsNegative(){this.char==="-"&&(this.advance(),this.isNegative=!0,this.context.isNegative=!0)}incrementOrder(){var t;this.order=((t=this.order)!==null&&t!==void 0?t:0)+1}};c();function cl(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,...Ao(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(Ao)];else if(typeof r=="object"&&r!==null)for(let[i,o]of Object.entries(r))typeof o=="boolean"?t=[...t,...o?Ao(i):[]]:n?n[i]=o:n={[i]:o}}),[t.filter(Boolean).filter(SD),n]}function Ao(e){return e.trim().split(/\s+/)}function SD(e,t,n){return n.indexOf(e)===t}c();function dl(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...kD(r.handler)}),{}))!==null&&t!==void 0?t:{}}function kD(e){let t={};return e({addUtilities:n=>{t=n},...TD}),t}function Me(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var TD={addComponents:Me,addBase:Me,addVariant:Me,e:Me,prefix:Me,theme:Me,variants:Me,config:Me,corePlugins:Me,matchUtilities:Me,postcss:null};function hl(e,t){let n=(0,pl.default)(AD(e)),r={},i=dl(n.plugins),o={},u=Object.entries(i).map(([p,m])=>typeof m=="string"?(o[p]=m,[p,{kind:"null"}]):[p,g(m)]).filter(([,p])=>p.kind!=="null");function s(){return[r.windowDimensions?`w${r.windowDimensions.width}`:!1,r.windowDimensions?`h${r.windowDimensions.height}`:!1,r.fontScale?`fs${r.fontScale}`:!1,r.colorScheme==="dark"?"dark":!1,r.pixelDensity===2?"retina":!1].filter(Boolean).join("--")||"default"}let a=s(),l={};function f(){let p=l[a];if(p)return p;let m=new hr(u);return l[a]=m,m}function d(...p){let m=f(),F={},b=[],v=[],[w,E]=cl(p),C=w.join(" "),B=m.getStyle(C);if(B)return{...B,...E||{}};for(let I of w){let M=m.getIr(I);if(!M&&I in o){let Z=d(o[I]);m.setIr(I,g(Z)),F={...F,...Z};continue}switch(M=new wt(I,n,m,r,t).parse(),M.kind){case"complete":F={...F,...M.style},m.setIr(I,M);break;case"dependent":b.push(M);break;case"ordered":v.push(M);break;case"null":m.setIr(I,M);break}}if(v.length>0){v.sort((I,M)=>I.order-M.order);for(let I of v)switch(I.styleIr.kind){case"complete":F={...F,...I.styleIr.style};break;case"dependent":b.push(I.styleIr);break}}if(b.length>0){for(let I of b){let M=I.complete(F);M&&xe(M)}el(F)}return C!==""&&m.setStyle(C,F),E&&(F={...F,...E}),F}function h(p){let m=d(p.split(/\s+/g).map(F=>F.replace(/^(bg|text|border)-/,"")).map(F=>`bg-${F}`).join(" "));return typeof m.backgroundColor=="string"?m.backgroundColor:void 0}let D=(p,...m)=>{let F="";return p.forEach((b,v)=>{var w;F+=b+((w=m[v])!==null&&w!==void 0?w:"")}),d(F)};return D.style=d,D.color=h,D.prefixMatch=(...p)=>{let m=p.sort().join(":"),F=f(),b=F.getPrefixMatch(m);if(b!==void 0)return b;let E=new wt(`${m}:flex`,n,F,r,t).parse().kind!=="null";return F.setPrefixMatch(m,E),E},D.setWindowDimensions=p=>{r.windowDimensions=p,a=s()},D.setFontScale=p=>{r.fontScale=p,a=s()},D.setPixelDensity=p=>{r.pixelDensity=p,a=s()},D.setColorScheme=p=>{r.colorScheme=p,a=s()},D}function AD(e){return{...e,content:["_no_warnings_please"]}}var PD={handler:({addUtilities:e})=>{e({"shadow-sm":{boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},shadow:{boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},"shadow-md":{boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},"shadow-lg":{boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},"shadow-xl":{boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"shadow-2xl":{boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},"shadow-inner":{boxShadow:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},"shadow-none":{boxShadow:"0 0 #0000"}})}};function BD(e){return hl({...e,plugins:[...(e==null?void 0:e.plugins)??[],PD]},"web")}var sn;function Oo({width:e,height:t,config:n}){return sn||(sn=BD(n)),sn.setWindowDimensions({width:+e,height:+t}),sn}var Po=new WeakMap;async function ml(e,t){let n=await We();if(!n||!n.Node)throw new Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[];let r;Po.has(t.fonts)?r=Po.get(t.fonts):Po.set(t.fonts,r=new Lt(t.fonts));let i="width"in t?t.width:void 0,o="height"in t?t.height:void 0,u=n.Node.create();i&&u.setWidth(i),o&&u.setHeight(o),u.setFlexDirection(n.FLEX_DIRECTION_ROW),u.setFlexWrap(n.WRAP_WRAP),u.setAlignContent(n.ALIGN_AUTO),u.setAlignItems(n.ALIGN_FLEX_START),u.setJustifyContent(n.JUSTIFY_FLEX_START),u.setOverflow(n.OVERFLOW_HIDDEN);let s={...t.graphemeImages},a=new Set;Re.clear(),await su(e);let l=It(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:1.2,color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:i,_viewportHeight:o},parent:u,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:s,canLoadAdditionalAssets:!!t.loadAdditionalAsset,onNodeDetected:t.onNodeDetected,getTwStyles:(p,m)=>{let b={...Oo({width:i,height:o,config:t.tailwindConfig})([p])};return typeof b.lineHeight=="number"&&(b.lineHeight=b.lineHeight/(+b.fontSize||m.fontSize||16)),b.shadowColor&&b.boxShadow&&(b.boxShadow=b.boxShadow.replace(/rgba?\([^)]+\)/,b.shadowColor)),b}}),f=(await l.next()).value;if(t.loadAdditionalAsset&&f.length){let p=RD(f),m=[],F={};await Promise.all(Object.entries(p).flatMap(([b,v])=>v.map(w=>{let E=`${b}_${w}`;return a.has(E)?null:(a.add(E),t.loadAdditionalAsset(b,w).then(C=>{typeof C=="string"?F[w]=C:C&&(Array.isArray(C)?m.push(...C):m.push(C))}))}))),r.addFonts(m),Object.assign(s,F)}await l.next(),u.calculateLayout(i,o,n.DIRECTION_LTR);let d=(await l.next([0,0])).value,h=u.getComputedWidth(),D=u.getComputedHeight();return u.freeRecursive(),zn({width:h,height:D,content:d})}function RD(e){let t={},n={};for(let{word:r,locale:i}of e){let o=Pu(r,i).join("|");n[o]=n[o]||"",n[o]+=r}return Object.keys(n).forEach(r=>{t[r]=t[r]||[],r==="emoji"?t[r].push(...Dl(Fe(n[r],"grapheme"))):(t[r][0]=t[r][0]||"",t[r][0]+=Dl(Fe(n[r],"grapheme",r==="unknown"?void 0:r)).join(""))}),t}function Dl(e){return Array.from(new Set(e))}export{ml as default,kl as init};
|
|
7
7
|
//# sourceMappingURL=index.wasm.js.map
|