satori 0.0.39 → 0.0.41

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.
@@ -0,0 +1,10 @@
1
+ var ku=Object.create;var or=Object.defineProperty;var Tu=Object.getOwnPropertyDescriptor;var Eu=Object.getOwnPropertyNames;var Ou=Object.getPrototypeOf,Pu=Object.prototype.hasOwnProperty;var Br=(e,t)=>()=>(e&&(t=e(e=0)),t);var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ur=(e,t)=>{for(var n in t)or(e,n,{get:t[n],enumerable:!0})},ho=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eu(t))!Pu.call(e,i)&&i!==n&&or(e,i,{get:()=>t[i],enumerable:!(r=Tu(t,i))||r.enumerable});return e};var zr=(e,t,n)=>(n=e!=null?ku(Ou(e)):{},ho(t||!e||!e.__esModule?or(n,"default",{value:e,enumerable:!0}):n,e)),ct=e=>ho(or({},"__esModule",{value:!0}),e);var c=Br(()=>{});var gn=I(mn=>{"use strict";c();Object.defineProperty(mn,"__esModule",{value:!0});Object.defineProperty(mn,"default",{enumerable:!0,get:()=>il});function il(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 Uo=I(vn=>{"use strict";c();Object.defineProperty(vn,"__esModule",{value:!0});Object.defineProperty(vn,"default",{enumerable:!0,get:()=>ol});var ol=["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 zo=I(bn=>{"use strict";c();Object.defineProperty(bn,"__esModule",{value:!0});Object.defineProperty(bn,"default",{enumerable:!0,get:()=>al});function al(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=I((Bm,Go)=>{c();Go.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 vr={};Ur(vr,{default:()=>sl});var sl,br=Br(()=>{c();sl={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 jo=I(xn=>{"use strict";c();Object.defineProperty(xn,"__esModule",{value:!0});Object.defineProperty(xn,"default",{enumerable:!0,get:()=>fl});var ul=ll((br(),ct(vr)));function ll(e){return e&&e.__esModule?e:{default:e}}function bt({version:e,from:t,to:n}){ul.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 fl={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 Vo=I(wn=>{"use strict";c();Object.defineProperty(wn,"__esModule",{value:!0});Object.defineProperty(wn,"defaults",{enumerable:!0,get:()=>cl});function cl(e,...t){for(let i of t){for(let a in i){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,a)||(e[a]=i[a])}for(let a of Object.getOwnPropertySymbols(i)){var r;!(e==null||(r=e.hasOwnProperty)===null||r===void 0)&&r.call(e,a)||(e[a]=i[a])}}return e}});var Ho=I(_n=>{"use strict";c();Object.defineProperty(_n,"__esModule",{value:!0});Object.defineProperty(_n,"toPath",{enumerable:!0,get:()=>dl});function dl(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 Xo=I(Sn=>{"use strict";c();Object.defineProperty(Sn,"__esModule",{value:!0});Object.defineProperty(Sn,"normalizeConfig",{enumerable:!0,get:()=>hl});var yt=pl((br(),ct(vr)));function Yo(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Yo=function(r){return r?n:t})(e)}function pl(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Yo(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function hl(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})()||yt.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:a,safelist:o}=e;return Array.isArray(o)?o:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(a==null?void 0:a.safelist)?a.safelist:Array.isArray(a==null||(r=a.options)===null||r===void 0?void 0:r.safelist)?a.options.safelist:[]})(),typeof e.prefix=="function")yt.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,u,l,f,p,g,m,d,h;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:!((u=e.purge)===null||u===void 0||(l=u.extract)===null||l===void 0)&&l.DEFAULT?e.purge.extract.DEFAULT:!((f=e.content)===null||f===void 0||(p=f.extract)===null||p===void 0)&&p.DEFAULT?e.content.extract.DEFAULT:!((g=e.purge)===null||g===void 0||(m=g.options)===null||m===void 0)&&m.extractors?e.purge.options.extractors:!((d=e.content)===null||d===void 0||(h=d.options)===null||h===void 0)&&h.extractors?e.content.options.extractors:{}})(),i={},a=(()=>{var o,s,u,l;if(!((o=e.purge)===null||o===void 0||(s=o.options)===null||s===void 0)&&s.defaultExtractor)return e.purge.options.defaultExtractor;if(!((u=e.content)===null||u===void 0||(l=u.options)===null||l===void 0)&&l.defaultExtractor)return e.content.options.defaultExtractor})();if(a!==void 0&&(i.DEFAULT=a),typeof r=="function")i.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:o,extractor:s}of r!=null?r:[])for(let u of o)i[u]=s;else typeof r=="object"&&r!==null&&Object.assign(i,r);return i})(),transform:(()=>{let r=(()=>{var a,o,s,u,l,f;return!((a=e.purge)===null||a===void 0)&&a.transform?e.purge.transform:!((o=e.content)===null||o===void 0)&&o.transform?e.content.transform:!((s=e.purge)===null||s===void 0||(u=s.transform)===null||u===void 0)&&u.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)){yt.default.warn("invalid-glob-braces",[`The glob pattern ${(0,yt.dim)(r)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,yt.dim)(r.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var Qo=I(kn=>{"use strict";c();Object.defineProperty(kn,"__esModule",{value:!0});Object.defineProperty(kn,"default",{enumerable:!0,get:()=>ml});function ml(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var Jo=I(En=>{"use strict";c();Object.defineProperty(En,"__esModule",{value:!0});Object.defineProperty(En,"cloneDeep",{enumerable:!0,get:()=>Tn});function Tn(e){return Array.isArray(e)?e.map(t=>Tn(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Tn(n)])):e}});var On=I((yr,Ko)=>{"use strict";c();yr.__esModule=!0;yr.default=bl;function gl(e){for(var t=e.toLowerCase(),n="",r=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(r=a===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16),u=s>=55296&&s<=57343;return u||s===0||s>1114111?["\uFFFD",n.length+(r?1:0)]:[String.fromCodePoint(s),n.length+(r?1:0)]}}var vl=/\\/;function bl(e){var t=vl.test(e);if(!t)return e;for(var n="",r=0;r<e.length;r++){if(e[r]==="\\"){var i=gl(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}Ko.exports=yr.default});var ea=I((xr,Zo)=>{"use strict";c();xr.__esModule=!0;xr.default=yl;function yl(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}Zo.exports=xr.default});var ra=I((wr,ta)=>{"use strict";c();wr.__esModule=!0;wr.default=xl;function xl(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]}}ta.exports=wr.default});var ia=I((_r,na)=>{"use strict";c();_r.__esModule=!0;_r.default=wl;function wl(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}na.exports=_r.default});var xt=I(Te=>{"use strict";c();Te.__esModule=!0;Te.stripComments=Te.ensureObject=Te.getProp=Te.unesc=void 0;var _l=Sr(On());Te.unesc=_l.default;var Sl=Sr(ea());Te.getProp=Sl.default;var kl=Sr(ra());Te.ensureObject=kl.default;var Tl=Sr(ia());Te.stripComments=Tl.default;function Sr(e){return e&&e.__esModule?e:{default:e}}});var Ie=I((wt,sa)=>{"use strict";c();wt.__esModule=!0;wt.default=void 0;var oa=xt();function aa(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 El(e,t,n){return t&&aa(e.prototype,t),n&&aa(e,n),e}var Ol=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 a=t[i],o=typeof a;i==="parent"&&o==="object"?n&&(r[i]=n):a instanceof Array?r[i]=a.map(function(s){return e(s,r)}):r[i]=e(a,r)}return r},Pl=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=Ol(this);for(var a in r)i[a]=r[a];return i},t.appendToPropertyAndEscape=function(r,i,a){this.raws||(this.raws={});var o=this[r],s=this.raws[r];this[r]=o+i,s||a!==i?this.raws[r]=(s||o)+a:delete this.raws[r]},t.setPropertyAndEscape=function(r,i,a){this.raws||(this.raws={}),this[r]=i,this.raws[r]=a},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("")},El(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,oa.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,oa.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),e}();wt.default=Pl;sa.exports=wt.default});var re=I(G=>{"use strict";c();G.__esModule=!0;G.UNIVERSAL=G.ATTRIBUTE=G.CLASS=G.COMBINATOR=G.COMMENT=G.ID=G.NESTING=G.PSEUDO=G.ROOT=G.SELECTOR=G.STRING=G.TAG=void 0;var Al="tag";G.TAG=Al;var Il="string";G.STRING=Il;var Rl="selector";G.SELECTOR=Rl;var Ll="root";G.ROOT=Ll;var Cl="pseudo";G.PSEUDO=Cl;var Dl="nesting";G.NESTING=Dl;var Fl="id";G.ID=Fl;var Ml="comment";G.COMMENT=Ml;var Nl="combinator";G.COMBINATOR=Nl;var Wl="class";G.CLASS=Wl;var $l="attribute";G.ATTRIBUTE=$l;var ql="universal";G.UNIVERSAL=ql});var kr=I((_t,ca)=>{"use strict";c();_t.__esModule=!0;_t.default=void 0;var Bl=zl(Ie()),Re=Ul(re());function fa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return fa=function(){return e},e}function Ul(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=fa();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 a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function zl(e){return e&&e.__esModule?e:{default:e}}function Gl(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=jl(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 jl(e,t){if(!!e){if(typeof e=="string")return ua(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 ua(e,t)}}function ua(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 la(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 Vl(e,t,n){return t&&la(e.prototype,t),n&&la(e,n),e}function Hl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pn(e,t)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Pn(e,t)}var Yl=function(e){Hl(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 a;for(var o in this.indexes)a=this.indexes[o],a>=i&&(this.indexes[o]=a-1);return this},n.removeAll=function(){for(var i=Gl(this.nodes),a;!(a=i()).done;){var o=a.value;o.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(i,a){a.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,a),a.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],o<=s&&(this.indexes[u]=s+1);return this},n.insertBefore=function(i,a){a.parent=this;var o=this.index(i);this.nodes.splice(o,0,a),a.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],s<=o&&(this.indexes[u]=s+1);return this},n._findChildAtPosition=function(i,a){var o=void 0;return this.each(function(s){if(s.atPosition){var u=s.atPosition(i,a);if(u)return o=u,!1}else if(s.isAtPosition(i,a))return o=s,!1}),o},n.atPosition=function(i,a){if(this.isAtPosition(i,a))return this._findChildAtPosition(i,a)||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 a=this.lastEach;if(this.indexes[a]=0,!!this.length){for(var o,s;this.indexes[a]<this.length&&(o=this.indexes[a],s=i(this.at(o),o),s!==!1);)this.indexes[a]+=1;if(delete this.indexes[a],s===!1)return!1}},n.walk=function(i){return this.each(function(a,o){var s=i(a,o);if(s!==!1&&a.length&&(s=a.walk(i)),s===!1)return!1})},n.walkAttributes=function(i){var a=this;return this.walk(function(o){if(o.type===Re.ATTRIBUTE)return i.call(a,o)})},n.walkClasses=function(i){var a=this;return this.walk(function(o){if(o.type===Re.CLASS)return i.call(a,o)})},n.walkCombinators=function(i){var a=this;return this.walk(function(o){if(o.type===Re.COMBINATOR)return i.call(a,o)})},n.walkComments=function(i){var a=this;return this.walk(function(o){if(o.type===Re.COMMENT)return i.call(a,o)})},n.walkIds=function(i){var a=this;return this.walk(function(o){if(o.type===Re.ID)return i.call(a,o)})},n.walkNesting=function(i){var a=this;return this.walk(function(o){if(o.type===Re.NESTING)return i.call(a,o)})},n.walkPseudos=function(i){var a=this;return this.walk(function(o){if(o.type===Re.PSEUDO)return i.call(a,o)})},n.walkTags=function(i){var a=this;return this.walk(function(o){if(o.type===Re.TAG)return i.call(a,o)})},n.walkUniversals=function(i){var a=this;return this.walk(function(o){if(o.type===Re.UNIVERSAL)return i.call(a,o)})},n.split=function(i){var a=this,o=[];return this.reduce(function(s,u,l){var f=i.call(a,u);return o.push(u),f?(s.push(o),o=[]):l===a.length-1&&s.push(o),s},[])},n.map=function(i){return this.nodes.map(i)},n.reduce=function(i,a){return this.nodes.reduce(i,a)},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("")},Vl(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}(Bl.default);_t.default=Yl;ca.exports=_t.default});var In=I((St,pa)=>{"use strict";c();St.__esModule=!0;St.default=void 0;var Xl=Jl(kr()),Ql=re();function Jl(e){return e&&e.__esModule?e:{default:e}}function da(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 Kl(e,t,n){return t&&da(e.prototype,t),n&&da(e,n),e}function Zl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,An(e,t)}function An(e,t){return An=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},An(e,t)}var ef=function(e){Zl(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Ql.ROOT,i}var n=t.prototype;return n.toString=function(){var i=this.reduce(function(a,o){return a.push(String(o)),a},[]).join(",");return this.trailingComma?i+",":i},n.error=function(i,a){return this._error?this._error(i,a):new Error(i)},Kl(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(Xl.default);St.default=ef;pa.exports=St.default});var Ln=I((kt,ha)=>{"use strict";c();kt.__esModule=!0;kt.default=void 0;var tf=nf(kr()),rf=re();function nf(e){return e&&e.__esModule?e:{default:e}}function of(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Rn(e,t)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Rn(e,t)}var af=function(e){of(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=rf.SELECTOR,r}return t}(tf.default);kt.default=af;ha.exports=kt.default});var Tr=I((Qm,ma)=>{"use strict";c();var sf={},uf=sf.hasOwnProperty,lf=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=uf.call(t,i)?t[i]:n[i];return r},ff=/[ -,\.\/:-@\[-\^`\{-~]/,cf=/[ -,\.\/:-@\[\]\^`\{-~]/,df=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Cn=function e(t,n){n=lf(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var r=n.quotes=="double"?'"':"'",i=n.isIdentifier,a=t.charAt(0),o="",s=0,u=t.length;s<u;){var l=t.charAt(s++),f=l.charCodeAt(),p=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&s<u){var g=t.charCodeAt(s++);(g&64512)==56320?f=((f&1023)<<10)+(g&1023)+65536:s--}p="\\"+f.toString(16).toUpperCase()+" "}else n.escapeEverything?ff.test(l)?p="\\"+l:p="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?p="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&r==l||l=="'"&&r==l)||i&&cf.test(l)?p="\\"+l:p=l;o+=p}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(a)&&(o="\\3"+a+" "+o.slice(1))),o=o.replace(df,function(m,d,h){return d&&d.length%2?m:(d||"")+h}),!i&&n.wrap?r+o+r:o};Cn.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Cn.version="3.0.0";ma.exports=Cn});var Fn=I((Tt,ba)=>{"use strict";c();Tt.__esModule=!0;Tt.default=void 0;var pf=va(Tr()),hf=xt(),mf=va(Ie()),gf=re();function va(e){return e&&e.__esModule?e:{default:e}}function ga(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 vf(e,t,n){return t&&ga(e.prototype,t),n&&ga(e,n),e}function bf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Dn(e,t)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Dn(e,t)}var yf=function(e){bf(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=gf.CLASS,i._constructed=!0,i}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},vf(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var a=(0,pf.default)(i,{isIdentifier:!0});a!==i?((0,hf.ensureObject)(this,"raws"),this.raws.value=a):this.raws&&delete this.raws.value}this._value=i}}]),t}(mf.default);Tt.default=yf;ba.exports=Tt.default});var Nn=I((Et,ya)=>{"use strict";c();Et.__esModule=!0;Et.default=void 0;var xf=_f(Ie()),wf=re();function _f(e){return e&&e.__esModule?e:{default:e}}function Sf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mn(e,t)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Mn(e,t)}var kf=function(e){Sf(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=wf.COMMENT,r}return t}(xf.default);Et.default=kf;ya.exports=Et.default});var $n=I((Ot,xa)=>{"use strict";c();Ot.__esModule=!0;Ot.default=void 0;var Tf=Of(Ie()),Ef=re();function Of(e){return e&&e.__esModule?e:{default:e}}function Pf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wn(e,t)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Wn(e,t)}var Af=function(e){Pf(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Ef.ID,i}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(Tf.default);Ot.default=Af;xa.exports=Ot.default});var Er=I((Pt,Sa)=>{"use strict";c();Pt.__esModule=!0;Pt.default=void 0;var If=_a(Tr()),Rf=xt(),Lf=_a(Ie());function _a(e){return e&&e.__esModule?e:{default:e}}function wa(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 Cf(e,t,n){return t&&wa(e.prototype,t),n&&wa(e,n),e}function Df(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qn(e,t)}function qn(e,t){return qn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},qn(e,t)}var Ff=function(e){Df(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))},Cf(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 a=(0,If.default)(i,{isIdentifier:!0});this._namespace=i,a!==i?((0,Rf.ensureObject)(this,"raws"),this.raws.namespace=a):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}(Lf.default);Pt.default=Ff;Sa.exports=Pt.default});var Un=I((At,ka)=>{"use strict";c();At.__esModule=!0;At.default=void 0;var Mf=Wf(Er()),Nf=re();function Wf(e){return e&&e.__esModule?e:{default:e}}function $f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Bn(e,t)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Bn(e,t)}var qf=function(e){$f(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Nf.TAG,r}return t}(Mf.default);At.default=qf;ka.exports=At.default});var Gn=I((It,Ta)=>{"use strict";c();It.__esModule=!0;It.default=void 0;var Bf=zf(Ie()),Uf=re();function zf(e){return e&&e.__esModule?e:{default:e}}function Gf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,zn(e,t)}function zn(e,t){return zn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},zn(e,t)}var jf=function(e){Gf(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=Uf.STRING,r}return t}(Bf.default);It.default=jf;Ta.exports=It.default});var Vn=I((Rt,Ea)=>{"use strict";c();Rt.__esModule=!0;Rt.default=void 0;var Vf=Yf(kr()),Hf=re();function Yf(e){return e&&e.__esModule?e:{default:e}}function Xf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jn(e,t)}function jn(e,t){return jn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},jn(e,t)}var Qf=function(e){Xf(t,e);function t(r){var i;return i=e.call(this,r)||this,i.type=Hf.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}(Vf.default);Rt.default=Qf;Ea.exports=Rt.default});var Pa=I((Jm,Oa)=>{c();Oa.exports=function(t,n){return function(...r){return console.warn(n),t(...r)}}});var Kn=I(Dt=>{"use strict";c();Dt.__esModule=!0;Dt.unescapeValue=Jn;Dt.default=void 0;var Lt=Qn(Tr()),Jf=Qn(On()),Kf=Qn(Er()),Zf=re(),Hn;function Qn(e){return e&&e.__esModule?e:{default:e}}function Aa(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 ec(e,t,n){return t&&Aa(e.prototype,t),n&&Aa(e,n),e}function tc(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 Ct=Pa(),rc=/^('|")([^]*)\1$/,nc=Ct(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),ic=Ct(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),oc=Ct(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Jn(e){var t=!1,n=null,r=e,i=r.match(rc);return i&&(n=i[1],r=i[2]),r=(0,Jf.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function ac(e){if(e.quoteMark!==void 0||e.value===void 0)return e;oc();var t=Jn(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 Or=function(e){tc(t,e);function t(r){var i;return r===void 0&&(r={}),i=e.call(this,ac(r))||this,i.type=Zf.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Ct(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ct(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 a=this._determineQuoteMark(i),o=Yn[a],s=(0,Lt.default)(this._value,o);return s},n._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},n.setValue=function(i,a){a===void 0&&(a={}),this._value=i,this._quoteMark=this._determineQuoteMark(a),this._syncRawValue()},n.smartQuoteMark=function(i){var a=this.value,o=a.replace(/[^']/g,"").length,s=a.replace(/[^"]/g,"").length;if(o+s===0){var u=(0,Lt.default)(a,{isIdentifier:!0});if(u===a)return t.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,p=Yn[f],g=(0,Lt.default)(a,p);if(g.length<u.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 a=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return a===void 0&&(a=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),a===void 0&&(a=t.DOUBLE_QUOTE),a},n._syncRawValue=function(){var i=(0,Lt.default)(this._value,Yn[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},n._handleEscapes=function(i,a){if(this._constructed){var o=(0,Lt.default)(a,{isIdentifier:!0});o!==a?this.raws[i]=o:delete this.raws[i]}},n._spacesFor=function(i){var a={before:"",after:""},o=this.spaces[i]||{},s=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(a,o,s)},n._stringFor=function(i,a,o){a===void 0&&(a=i),o===void 0&&(o=Ia);var s=this._spacesFor(a);return o(this.stringifyProperty(i),s)},n.offsetOf=function(i){var a=1,o=this._spacesFor("attribute");if(a+=o.before.length,i==="namespace"||i==="ns")return this.namespace?a:-1;if(i==="attributeNS"||(a+=this.namespaceString.length,this.namespace&&(a+=1),i==="attribute"))return a;a+=this.stringifyProperty("attribute").length,a+=o.after.length;var s=this._spacesFor("operator");a+=s.before.length;var u=this.stringifyProperty("operator");if(i==="operator")return u?a:-1;a+=u.length,a+=s.after.length;var l=this._spacesFor("value");a+=l.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?a:-1;a+=f.length,a+=l.after.length;var p=this._spacesFor("insensitive");return a+=p.before.length,i==="insensitive"&&this.insensitive?a:-1},n.toString=function(){var i=this,a=[this.rawSpaceBefore,"["];return a.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(a.push(this._stringFor("operator")),a.push(this._stringFor("value")),a.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=" "),Ia(o,s)}))),a.push("]"),a.push(this.rawSpaceAfter),a.join("")},ec(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){ic()}},{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 a=Jn(i),o=a.deprecatedUsage,s=a.unescaped,u=a.quoteMark;if(o&&nc(),s===this._value&&u===this._quoteMark)return;this._value=s,this._quoteMark=u,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(Kf.default);Dt.default=Or;Or.NO_QUOTE=null;Or.SINGLE_QUOTE="'";Or.DOUBLE_QUOTE='"';var Yn=(Hn={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Hn[null]={isIdentifier:!0},Hn);function Ia(e,t){return""+t.before+e+t.after}});var ei=I((Ft,Ra)=>{"use strict";c();Ft.__esModule=!0;Ft.default=void 0;var sc=lc(Er()),uc=re();function lc(e){return e&&e.__esModule?e:{default:e}}function fc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zn(e,t)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Zn(e,t)}var cc=function(e){fc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=uc.UNIVERSAL,r.value="*",r}return t}(sc.default);Ft.default=cc;Ra.exports=Ft.default});var ri=I((Mt,La)=>{"use strict";c();Mt.__esModule=!0;Mt.default=void 0;var dc=hc(Ie()),pc=re();function hc(e){return e&&e.__esModule?e:{default:e}}function mc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ti(e,t)}function ti(e,t){return ti=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ti(e,t)}var gc=function(e){mc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=pc.COMBINATOR,r}return t}(dc.default);Mt.default=gc;La.exports=Mt.default});var ii=I((Nt,Ca)=>{"use strict";c();Nt.__esModule=!0;Nt.default=void 0;var vc=yc(Ie()),bc=re();function yc(e){return e&&e.__esModule?e:{default:e}}function xc(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 wc=function(e){xc(t,e);function t(n){var r;return r=e.call(this,n)||this,r.type=bc.NESTING,r.value="&",r}return t}(vc.default);Nt.default=wc;Ca.exports=Nt.default});var Fa=I((Pr,Da)=>{"use strict";c();Pr.__esModule=!0;Pr.default=_c;function _c(e){return e.sort(function(t,n){return t-n})}Da.exports=Pr.default});var oi=I(E=>{"use strict";c();E.__esModule=!0;E.combinator=E.word=E.comment=E.str=E.tab=E.newline=E.feed=E.cr=E.backslash=E.bang=E.slash=E.doubleQuote=E.singleQuote=E.space=E.greaterThan=E.pipe=E.equals=E.plus=E.caret=E.tilde=E.dollar=E.closeSquare=E.openSquare=E.closeParenthesis=E.openParenthesis=E.semicolon=E.colon=E.comma=E.at=E.asterisk=E.ampersand=void 0;var Sc=38;E.ampersand=Sc;var kc=42;E.asterisk=kc;var Tc=64;E.at=Tc;var Ec=44;E.comma=Ec;var Oc=58;E.colon=Oc;var Pc=59;E.semicolon=Pc;var Ac=40;E.openParenthesis=Ac;var Ic=41;E.closeParenthesis=Ic;var Rc=91;E.openSquare=Rc;var Lc=93;E.closeSquare=Lc;var Cc=36;E.dollar=Cc;var Dc=126;E.tilde=Dc;var Fc=94;E.caret=Fc;var Mc=43;E.plus=Mc;var Nc=61;E.equals=Nc;var Wc=124;E.pipe=Wc;var $c=62;E.greaterThan=$c;var qc=32;E.space=qc;var Ma=39;E.singleQuote=Ma;var Bc=34;E.doubleQuote=Bc;var Uc=47;E.slash=Uc;var zc=33;E.bang=zc;var Gc=92;E.backslash=Gc;var jc=13;E.cr=jc;var Vc=12;E.feed=Vc;var Hc=10;E.newline=Hc;var Yc=9;E.tab=Yc;var Xc=Ma;E.str=Xc;var Qc=-1;E.comment=Qc;var Jc=-2;E.word=Jc;var Kc=-3;E.combinator=Kc});var $a=I(Wt=>{"use strict";c();Wt.__esModule=!0;Wt.default=od;Wt.FIELDS=void 0;var S=Zc(oi()),nt,z;function Wa(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Wa=function(){return e},e}function Zc(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Wa();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 a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var ed=(nt={},nt[S.tab]=!0,nt[S.newline]=!0,nt[S.cr]=!0,nt[S.feed]=!0,nt),td=(z={},z[S.space]=!0,z[S.tab]=!0,z[S.newline]=!0,z[S.cr]=!0,z[S.feed]=!0,z[S.ampersand]=!0,z[S.asterisk]=!0,z[S.bang]=!0,z[S.comma]=!0,z[S.colon]=!0,z[S.semicolon]=!0,z[S.openParenthesis]=!0,z[S.closeParenthesis]=!0,z[S.openSquare]=!0,z[S.closeSquare]=!0,z[S.singleQuote]=!0,z[S.doubleQuote]=!0,z[S.plus]=!0,z[S.pipe]=!0,z[S.tilde]=!0,z[S.greaterThan]=!0,z[S.equals]=!0,z[S.dollar]=!0,z[S.caret]=!0,z[S.slash]=!0,z),ai={},Na="0123456789abcdefABCDEF";for(Ar=0;Ar<Na.length;Ar++)ai[Na.charCodeAt(Ar)]=!0;var Ar;function rd(e,t){var n=t,r;do{if(r=e.charCodeAt(n),td[r])return n-1;r===S.backslash?n=nd(e,n)+1:n++}while(n<e.length);return n-1}function nd(e,t){var n=t,r=e.charCodeAt(n+1);if(!ed[r])if(ai[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(ai[r]&&i<6);i<6&&r===S.space&&n++}else n++;return n}var id={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Wt.FIELDS=id;function od(e){var t=[],n=e.css.valueOf(),r=n,i=r.length,a=-1,o=1,s=0,u=0,l,f,p,g,m,d,h,x,b,w,T,P,C;function F(R,D){if(e.safe)n+=D,b=n.length-1;else throw e.error("Unclosed "+R,o,s-a,s)}for(;s<i;){switch(l=n.charCodeAt(s),l===S.newline&&(a=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&&(a=b,o+=1);while(l===S.space||l===S.newline||l===S.tab||l===S.cr||l===S.feed);C=S.space,g=o,p=b-a-1,u=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,g=o,p=s-a,u=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,g=o,p=s-a,u=b+1;break;case S.singleQuote:case S.doubleQuote:P=l===S.singleQuote?"'":'"',b=s;do for(m=!1,b=n.indexOf(P,b+1),b===-1&&F("quote",P),d=b;n.charCodeAt(d-1)===S.backslash;)d-=1,m=!m;while(m);C=S.str,g=o,p=s-a,u=b+1;break;default:l===S.slash&&n.charCodeAt(s+1)===S.asterisk?(b=n.indexOf("*/",s+2)+1,b===0&&F("comment","*/"),f=n.slice(s,b+1),x=f.split(`
3
+ `),h=x.length-1,h>0?(w=o+h,T=b-x[h].length):(w=o,T=a),C=S.comment,o=w,g=w,p=b-T):l===S.slash?(b=s,C=l,g=o,p=s-a,u=b+1):(b=rd(n,s),C=S.word,g=o,p=b-a),u=b+1;break}t.push([C,o,s-a,g,p,s,u]),T&&(a=T,T=null),s=u}return t}});var Ha=I(($t,Va)=>{"use strict";c();$t.__esModule=!0;$t.default=void 0;var ad=ve(In()),si=ve(Ln()),sd=ve(Fn()),qa=ve(Nn()),ud=ve($n()),ld=ve(Un()),ui=ve(Gn()),fd=ve(Vn()),Ba=Ir(Kn()),cd=ve(ei()),li=ve(ri()),dd=ve(ii()),pd=ve(Fa()),_=Ir($a()),k=Ir(oi()),hd=Ir(re()),X=xt(),Ye,fi;function ja(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ja=function(){return e},e}function Ir(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=ja();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 a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function ve(e){return e&&e.__esModule?e:{default:e}}function Ua(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 md(e,t,n){return t&&Ua(e.prototype,t),n&&Ua(e,n),e}var pi=(Ye={},Ye[k.space]=!0,Ye[k.cr]=!0,Ye[k.feed]=!0,Ye[k.newline]=!0,Ye[k.tab]=!0,Ye),gd=Object.assign({},pi,(fi={},fi[k.comment]=!0,fi));function za(e){return{line:e[_.FIELDS.START_LINE],column:e[_.FIELDS.START_COL]}}function Ga(e){return{line:e[_.FIELDS.END_LINE],column:e[_.FIELDS.END_COL]}}function Xe(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function it(e){return Xe(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],e[_.FIELDS.END_LINE],e[_.FIELDS.END_COL])}function ci(e,t){if(!!e)return Xe(e[_.FIELDS.START_LINE],e[_.FIELDS.START_COL],t[_.FIELDS.END_LINE],t[_.FIELDS.END_COL])}function ot(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,X.ensureObject)(e,"raws"),e[t]=(0,X.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function di(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function vd(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var bd=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=ci(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new ad.default({source:i}),this.root.errorGenerator=this._errorGenerator();var a=new si.default({source:{start:{line:1,column:1}}});this.root.append(a),this.current=a,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var r=this;return function(i,a){return typeof r.rule=="string"?new Error(i):r.rule.error(i,a)}},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 a=r.length,o={source:Xe(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[_.FIELDS.START_POS]};if(a===1&&!~[k.word].indexOf(r[0][_.FIELDS.TYPE]))return this.expected("attribute",r[0][_.FIELDS.START_POS]);for(var s=0,u="",l="",f=null,p=!1;s<a;){var g=r[s],m=this.content(g),d=r[s+1];switch(g[_.FIELDS.TYPE]){case k.space:if(p=!0,this.options.lossy)break;if(f){(0,X.ensureObject)(o,"spaces",f);var h=o.spaces[f].after||"";o.spaces[f].after=h+m;var x=(0,X.getProp)(o,"raws","spaces",f,"after")||null;x&&(o.raws.spaces[f].after=x+m)}else u=u+m,l=l+m;break;case k.asterisk:if(d[_.FIELDS.TYPE]===k.equals)o.operator=m,f="operator";else if((!o.namespace||f==="namespace"&&!p)&&d){u&&((0,X.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,X.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+m;var b=(0,X.getProp)(o,"raws","namespace")||null;b&&(o.raws.namespace+=m),f="namespace"}p=!1;break;case k.dollar:if(f==="value"){var w=(0,X.getProp)(o,"raws","value");o.value+="$",w&&(o.raws.value=w+"$");break}case k.caret:d[_.FIELDS.TYPE]===k.equals&&(o.operator=m,f="operator"),p=!1;break;case k.combinator:if(m==="~"&&d[_.FIELDS.TYPE]===k.equals&&(o.operator=m,f="operator"),m!=="|"){p=!1;break}d[_.FIELDS.TYPE]===k.equals?(o.operator=m,f="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),p=!1;break;case k.word:if(d&&this.content(d)==="|"&&r[s+2]&&r[s+2][_.FIELDS.TYPE]!==k.equals&&!o.operator&&!o.namespace)o.namespace=m,f="namespace";else if(!o.attribute||f==="attribute"&&!p){u&&((0,X.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,X.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+m;var T=(0,X.getProp)(o,"raws","attribute")||null;T&&(o.raws.attribute+=m),f="attribute"}else if(!o.value&&o.value!==""||f==="value"&&!p){var P=(0,X.unesc)(m),C=(0,X.getProp)(o,"raws","value")||"",F=o.value||"";o.value=F+P,o.quoteMark=null,(P!==m||C)&&((0,X.ensureObject)(o,"raws"),o.raws.value=(C||F)+m),f="value"}else{var R=m==="i"||m==="I";(o.value||o.value==="")&&(o.quoteMark||p)?(o.insensitive=R,(!R||m==="I")&&((0,X.ensureObject)(o,"raws"),o.raws.insensitiveFlag=m),f="insensitive",u&&((0,X.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,X.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=l,l="")):(o.value||o.value==="")&&(f="value",o.value+=m,o.raws.value&&(o.raws.value+=m))}p=!1;break;case k.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:g[_.FIELDS.START_POS]});var D=(0,Ba.unescapeValue)(m),M=D.unescaped,B=D.quoteMark;o.value=M,o.quoteMark=B,f="value",(0,X.ensureObject)(o,"raws"),o.raws.value=m,p=!1;break;case k.equals:if(!o.attribute)return this.expected("attribute",g[_.FIELDS.START_POS],m);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:g[_.FIELDS.START_POS]});o.operator=o.operator?o.operator+m:m,f="operator",p=!1;break;case k.comment:if(f)if(p||d&&d[_.FIELDS.TYPE]===k.space||f==="insensitive"){var $=(0,X.getProp)(o,"spaces",f,"after")||"",J=(0,X.getProp)(o,"raws","spaces",f,"after")||$;(0,X.ensureObject)(o,"raws","spaces",f),o.raws.spaces[f].after=J+m}else{var Z=o[f]||"",U=(0,X.getProp)(o,"raws",f)||Z;(0,X.ensureObject)(o,"raws"),o.raws[f]=U+m}else l=l+m;break;default:return this.error('Unexpected "'+m+'" found.',{index:g[_.FIELDS.START_POS]})}s++}ot(o,"attribute"),ot(o,"namespace"),this.newNode(new Ba.default(o)),this.position++},t.parseWhitespaceEquivalentTokens=function(r){r<0&&(r=this.tokens.length);var i=this.position,a=[],o="",s=void 0;do if(pi[this.currToken[_.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[_.FIELDS.TYPE]===k.comment){var u={};o&&(u.before=o,o=""),s=new qa.default({value:this.content(),source:it(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS],spaces:u}),a.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];a.push(new ui.default({value:"",source:Xe(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 a},t.convertWhitespaceNodesToSpace=function(r,i){var a=this;i===void 0&&(i=!1);var o="",s="";r.forEach(function(l){var f=a.lossySpace(l.spaces.before,i),p=a.lossySpace(l.rawSpaceBefore,i);o+=f+a.lossySpace(l.spaces.after,i&&f.length===0),s+=f+l.value+a.lossySpace(l.rawSpaceAfter,i&&p.length===0)}),s===o&&(s=void 0);var u={space:o,rawSpace:s};return u},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,X.unesc)(r).toLowerCase(),a={};i!==r&&(a.value="/"+r+"/");var o=new li.default({value:"/"+i+"/",source:Xe(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:a});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 a=this.parseWhitespaceEquivalentTokens(i);if(a.length>0){var o=this.current.last;if(o){var s=this.convertWhitespaceNodesToSpace(a),u=s.space,l=s.rawSpace;l!==void 0&&(o.rawSpaceAfter+=l),o.spaces.after+=u}else a.forEach(function(C){return r.newNode(C)})}return}var f=this.currToken,p=void 0;i>this.position&&(p=this.parseWhitespaceEquivalentTokens(i));var g;if(this.isNamedCombinator()?g=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===k.combinator?(g=new li.default({value:this.content(),source:it(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):pi[this.currToken[_.FIELDS.TYPE]]||p||this.unexpected(),g){if(p){var m=this.convertWhitespaceNodesToSpace(p),d=m.space,h=m.rawSpace;g.spaces.before=d,g.rawSpaceBefore=h}}else{var x=this.convertWhitespaceNodesToSpace(p,!0),b=x.space,w=x.rawSpace;w||(w=b);var T={},P={spaces:{}};b.endsWith(" ")&&w.endsWith(" ")?(T.before=b.slice(0,b.length-1),P.spaces.before=w.slice(0,w.length-1)):b.startsWith(" ")&&w.startsWith(" ")?(T.after=b.slice(1),P.spaces.after=w.slice(1)):P.value=w,g=new li.default({value:" ",source:ci(f,this.tokens[this.position-1]),sourceIndex:f[_.FIELDS.START_POS],spaces:T,raws:P})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===k.space&&(g.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(g)},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:za(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 qa.default({value:this.content(),source:it(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 dd.default({value:this.content(),source:it(i),sourceIndex:i[_.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var r=this.current.last,i=1;if(this.position++,r&&r.type===hd.PSEUDO){var a=new si.default({source:{start:za(this.tokens[this.position-1])}}),o=this.current;for(r.append(a),this.current=a;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=Ga(this.currToken),this.current.parent.source.end=Ga(this.currToken),this.position++);this.current=o}else{for(var s=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[_.FIELDS.TYPE]===k.openParenthesis&&i++,this.currToken[_.FIELDS.TYPE]===k.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;r?r.appendToPropertyAndEscape("value",u,u):this.newNode(new ui.default({value:u,source:Xe(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="",a=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 fd.default({value:i,source:ci(a,r.currToken),sourceIndex:a[_.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 ui.default({value:this.content(),source:it(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 a=this.currToken;this.newNode(new cd.default({value:this.content(),source:it(a),sourceIndex:a[_.FIELDS.START_POS]}),r),this.position++},t.splitWord=function(r,i){for(var a=this,o=this.nextToken,s=this.content();o&&~[k.dollar,k.caret,k.equals,k.word].indexOf(o[_.FIELDS.TYPE]);){this.position++;var u=this.content();if(s+=u,u.lastIndexOf("\\")===u.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=di(s,".").filter(function(d){var h=s[d-1]==="\\",x=/^\d+\.\d+%$/.test(s);return!h&&!x}),p=di(s,"#").filter(function(d){return s[d-1]!=="\\"}),g=di(s,"#{");g.length&&(p=p.filter(function(d){return!~g.indexOf(d)}));var m=(0,pd.default)(vd([0].concat(f,p)));m.forEach(function(d,h){var x=m[h+1]||s.length,b=s.slice(d,x);if(h===0&&i)return i.call(a,b,m.length);var w,T=a.currToken,P=T[_.FIELDS.START_POS]+m[h],C=Xe(T[1],T[2]+d,T[3],T[2]+(x-1));if(~f.indexOf(d)){var F={value:b.slice(1),source:C,sourceIndex:P};w=new sd.default(ot(F,"value"))}else if(~p.indexOf(d)){var R={value:b.slice(1),source:C,sourceIndex:P};w=new ud.default(ot(R,"value"))}else{var D={value:b,source:C,sourceIndex:P};ot(D,"value"),w=new ld.default(D)}a.newNode(w,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,a){if(Array.isArray(r)){var o=r.pop();r=r.join(", ")+" or "+o}var s=/^[aeiou]/.test(r[0])?"an":"a";return a?this.error("Expected "+s+" "+r+', found "'+a+'" 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,ot(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(gd[this.tokens[i][_.FIELDS.TYPE]]){i++;continue}else return i;return-1},md(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}();$t.default=bd;Va.exports=$t.default});var Xa=I((qt,Ya)=>{"use strict";c();qt.__esModule=!0;qt.default=void 0;var yd=xd(Ha());function xd(e){return e&&e.__esModule?e:{default:e}}var wd=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 a=Object.assign({},this.options,i);return a.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 a=new yd.default(r,this._parseOptions(i));return a.root},t._parseOptions=function(r){return{lossy:this._isLossy(r)}},t._run=function(r,i){var a=this;return i===void 0&&(i={}),new Promise(function(o,s){try{var u=a._root(r,i);Promise.resolve(a.func(u)).then(function(l){var f=void 0;return a._shouldUpdateSelector(r,i)&&(f=u.toString(),r.selector=f),{transform:l,root:u,string:f}}).then(o,s)}catch(l){s(l);return}})},t._runSync=function(r,i){i===void 0&&(i={});var a=this._root(r,i),o=this.func(a);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=a.toString(),r.selector=s),{transform:o,root:a,string:s}},t.ast=function(r,i){return this._run(r,i).then(function(a){return a.root})},t.astSync=function(r,i){return this._runSync(r,i).root},t.transform=function(r,i){return this._run(r,i).then(function(a){return a.transform})},t.transformSync=function(r,i){return this._runSync(r,i).transform},t.process=function(r,i){return this._run(r,i).then(function(a){return a.string||a.root.toString()})},t.processSync=function(r,i){var a=this._runSync(r,i);return a.string||a.root.toString()},e}();qt.default=wd;Ya.exports=qt.default});var Qa=I(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 _d=be(Kn()),Sd=be(Fn()),kd=be(ri()),Td=be(Nn()),Ed=be($n()),Od=be(ii()),Pd=be(Vn()),Ad=be(In()),Id=be(Ln()),Rd=be(Gn()),Ld=be(Un()),Cd=be(ei());function be(e){return e&&e.__esModule?e:{default:e}}var Dd=function(t){return new _d.default(t)};j.attribute=Dd;var Fd=function(t){return new Sd.default(t)};j.className=Fd;var Md=function(t){return new kd.default(t)};j.combinator=Md;var Nd=function(t){return new Td.default(t)};j.comment=Nd;var Wd=function(t){return new Ed.default(t)};j.id=Wd;var $d=function(t){return new Od.default(t)};j.nesting=$d;var qd=function(t){return new Pd.default(t)};j.pseudo=qd;var Bd=function(t){return new Ad.default(t)};j.root=Bd;var Ud=function(t){return new Id.default(t)};j.selector=Ud;var zd=function(t){return new Rd.default(t)};j.string=zd;var Gd=function(t){return new Ld.default(t)};j.tag=Gd;var jd=function(t){return new Cd.default(t)};j.universal=jd});var es=I(N=>{"use strict";c();N.__esModule=!0;N.isNode=hi;N.isPseudoElement=Za;N.isPseudoClass=rp;N.isContainer=np;N.isNamespace=ip;N.isUniversal=N.isTag=N.isString=N.isSelector=N.isRoot=N.isPseudo=N.isNesting=N.isIdentifier=N.isComment=N.isCombinator=N.isClassName=N.isAttribute=void 0;var Q=re(),ue,Vd=(ue={},ue[Q.ATTRIBUTE]=!0,ue[Q.CLASS]=!0,ue[Q.COMBINATOR]=!0,ue[Q.COMMENT]=!0,ue[Q.ID]=!0,ue[Q.NESTING]=!0,ue[Q.PSEUDO]=!0,ue[Q.ROOT]=!0,ue[Q.SELECTOR]=!0,ue[Q.STRING]=!0,ue[Q.TAG]=!0,ue[Q.UNIVERSAL]=!0,ue);function hi(e){return typeof e=="object"&&Vd[e.type]}function ye(e,t){return hi(t)&&t.type===e}var Ja=ye.bind(null,Q.ATTRIBUTE);N.isAttribute=Ja;var Hd=ye.bind(null,Q.CLASS);N.isClassName=Hd;var Yd=ye.bind(null,Q.COMBINATOR);N.isCombinator=Yd;var Xd=ye.bind(null,Q.COMMENT);N.isComment=Xd;var Qd=ye.bind(null,Q.ID);N.isIdentifier=Qd;var Jd=ye.bind(null,Q.NESTING);N.isNesting=Jd;var mi=ye.bind(null,Q.PSEUDO);N.isPseudo=mi;var Kd=ye.bind(null,Q.ROOT);N.isRoot=Kd;var Zd=ye.bind(null,Q.SELECTOR);N.isSelector=Zd;var ep=ye.bind(null,Q.STRING);N.isString=ep;var Ka=ye.bind(null,Q.TAG);N.isTag=Ka;var tp=ye.bind(null,Q.UNIVERSAL);N.isUniversal=tp;function Za(e){return mi(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 rp(e){return mi(e)&&!Za(e)}function np(e){return!!(hi(e)&&e.walk)}function ip(e){return Ja(e)||Ka(e)}});var ts=I(Se=>{"use strict";c();Se.__esModule=!0;var gi=re();Object.keys(gi).forEach(function(e){e==="default"||e==="__esModule"||e in Se&&Se[e]===gi[e]||(Se[e]=gi[e])});var vi=Qa();Object.keys(vi).forEach(function(e){e==="default"||e==="__esModule"||e in Se&&Se[e]===vi[e]||(Se[e]=vi[e])});var bi=es();Object.keys(bi).forEach(function(e){e==="default"||e==="__esModule"||e in Se&&Se[e]===bi[e]||(Se[e]=bi[e])})});var is=I((Bt,ns)=>{"use strict";c();Bt.__esModule=!0;Bt.default=void 0;var op=up(Xa()),ap=sp(ts());function rs(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return rs=function(){return e},e}function sp(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=rs();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 a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function up(e){return e&&e.__esModule?e:{default:e}}var yi=function(t){return new op.default(t)};Object.assign(yi,ap);delete yi.__esModule;var lp=yi;Bt.default=lp;ns.exports=Bt.default});var os=I(xi=>{"use strict";c();Object.defineProperty(xi,"__esModule",{value:!0});Object.defineProperty(xi,"default",{enumerable:!0,get:()=>fp});function fp(e){return e.replace(/\\,/g,"\\2c ")}});var ss=I((og,as)=>{"use strict";c();as.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 _i=I(wi=>{"use strict";c();Object.defineProperty(wi,"__esModule",{value:!0});function cp(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}cp(wi,{parseColor:()=>vp,formatColor:()=>bp});var us=dp(ss());function dp(e){return e&&e.__esModule?e:{default:e}}var pp=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,hp=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ne=/(?:\d+|\d*\.\d+)%?/,Rr=/(?:\s*,\s*|\s+)/,ls=/\s*[,/]\s*/,We=/var\(--(?:[^ )]*?)\)/,mp=new RegExp(`^(rgb)a?\\(\\s*(${Ne.source}|${We.source})(?:${Rr.source}(${Ne.source}|${We.source}))?(?:${Rr.source}(${Ne.source}|${We.source}))?(?:${ls.source}(${Ne.source}|${We.source}))?\\s*\\)$`),gp=new RegExp(`^(hsl)a?\\(\\s*((?:${Ne.source})(?:deg|rad|grad|turn)?|${We.source})(?:${Rr.source}(${Ne.source}|${We.source}))?(?:${Rr.source}(${Ne.source}|${We.source}))?(?:${ls.source}(${Ne.source}|${We.source}))?\\s*\\)$`);function vp(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 us.default)return{mode:"rgb",color:us.default[e].map(u=>u.toString())};let i=e.replace(hp,(u,l,f,p,g)=>["#",l,l,f,f,p,p,g?g+g:""].join("")).match(pp);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(u=>u.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var a;let o=(a=e.match(mp))!==null&&a!==void 0?a:e.match(gp);if(o===null)return null;let s=[o[2],o[3],o[4]].filter(Boolean).map(u=>u.toString());return!t&&s.length!==3||s.length<3&&!s.some(u=>/^var\(.*?\)$/.test(u))?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 bp({mode:e,color:t,alpha:n}){let r=n!==void 0;return`${e}(${t.join(" ")}${r?` / ${n}`:""})`}});var ki=I(Si=>{"use strict";c();Object.defineProperty(Si,"__esModule",{value:!0});function yp(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}yp(Si,{withAlphaValue:()=>xp,default:()=>wp});var Lr=_i();function xp(e,t,n){if(typeof e=="function")return e({opacityValue:t});let r=(0,Lr.parseColor)(e,{loose:!0});return r===null?n:(0,Lr.formatColor)({...r,alpha:t})}function wp({color:e,property:t,variable:n}){let r=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(r.map(a=>[a,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,Lr.parseColor)(e);return i===null?Object.fromEntries(r.map(a=>[a,e])):i.alpha!==void 0?Object.fromEntries(r.map(a=>[a,e])):{[n]:"1",...Object.fromEntries(r.map(a=>[a,(0,Lr.formatColor)({...i,alpha:`var(${n})`})]))}}});var hs=I(Ti=>{"use strict";c();Object.defineProperty(Ti,"__esModule",{value:!0});function _p(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}_p(Ti,{pattern:()=>kp,withoutCapturing:()=>cs,any:()=>ds,optional:()=>Tp,zeroOrMore:()=>Ep,nestedBrackets:()=>ps,escape:()=>Qe});var fs=/[\\^$.*+?()[\]{}|]/g,Sp=RegExp(fs.source);function Ut(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function kp(e){return new RegExp(Ut(e),"g")}function cs(e){return new RegExp(`(?:${Ut(e)})`,"g")}function ds(e){return`(?:${e.map(Ut).join("|")})`}function Tp(e){return`(?:${Ut(e)})?`}function Ep(e){return`(?:${Ut(e)})*`}function ps(e,t,n=1){return cs([Qe(e),/[^\s]*/,n===1?`[^${Qe(e)}${Qe(t)}s]*`:ds([`[^${Qe(e)}${Qe(t)}s]*`,ps(e,t,n-1)]),/[^\s]*/,Qe(t)])}function Qe(e){return e&&Sp.test(e)?e.replace(fs,"\\$&"):e||""}});var gs=I(Ei=>{"use strict";c();Object.defineProperty(Ei,"__esModule",{value:!0});Object.defineProperty(Ei,"splitAtTopLevelOnly",{enumerable:!0,get:()=>Ap});var Op=Pp(hs());function ms(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(ms=function(r){return r?n:t})(e)}function Pp(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=ms(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function*Ap(e,t){let n=new RegExp(`[(){}\\[\\]${Op.escape(t)}]`,"g"),r=0,i=0,a=!1,o=0,s=0,u=t.length;for(let l of e.matchAll(n)){let f=l[0]===t[o],p=o===u-1,g=f&&p;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++),g&&r===0&&(a=!0,yield e.substring(i,s),i=s+u),o===u&&(o=0,s=0)}a?yield e.substring(i):yield e}});var bs=I(Oi=>{"use strict";c();Object.defineProperty(Oi,"__esModule",{value:!0});function Ip(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Ip(Oi,{parseBoxShadowValue:()=>Dp,formatBoxShadowValue:()=>Fp});var Rp=gs(),Lp=new Set(["inset","inherit","initial","revert","unset"]),Cp=/\ +(?![^(]*\))/g,vs=/^-?(\d+|\.\d+)(.*?)$/g;function Dp(e){return Array.from((0,Rp.splitAtTopLevelOnly)(e,",")).map(n=>{let r=n.trim(),i={raw:r},a=r.split(Cp),o=new Set;for(let s of a)vs.lastIndex=0,!o.has("KEYWORD")&&Lp.has(s)?(i.keyword=s,o.add("KEYWORD")):vs.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 Fp(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 Ts=I(Ai=>{"use strict";c();Object.defineProperty(Ai,"__esModule",{value:!0});function Mp(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Mp(Ai,{normalize:()=>$e,url:()=>ws,number:()=>$p,percentage:()=>_s,length:()=>Ss,lineWidth:()=>Up,shadow:()=>zp,color:()=>Gp,image:()=>jp,gradient:()=>ks,position:()=>Yp,familyName:()=>Xp,genericName:()=>Jp,absoluteSize:()=>Zp,relativeSize:()=>th});var Np=_i(),Wp=bs(),Pi=["min","max","clamp","calc"],xs=/,(?![^(]*\))/g,Cr=/_(?![^(]*\))/g;function $e(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(n=>/^url\(.*?\)$/.test(n)?n:$e(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 ws(e){return e.startsWith("url(")}function $p(e){return!isNaN(Number(e))||Pi.some(t=>new RegExp(`^${t}\\(.+?`).test(e))}function _s(e){return e.split(Cr).every(t=>/%$/g.test(t)||Pi.some(n=>new RegExp(`^${n}\\(.+?%`).test(t)))}var qp=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],ys=`(?:${qp.join("|")})`;function Ss(e){return e.split(Cr).every(t=>t==="0"||new RegExp(`${ys}$`).test(t)||Pi.some(n=>new RegExp(`^${n}\\(.+?${ys}`).test(t)))}var Bp=new Set(["thin","medium","thick"]);function Up(e){return Bp.has(e)}function zp(e){let t=(0,Wp.parseBoxShadowValue)($e(e));for(let n of t)if(!n.valid)return!1;return!0}function Gp(e){let t=0;return e.split(Cr).every(r=>(r=$e(r),r.startsWith("var(")?!0:(0,Np.parseColor)(r,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function jp(e){let t=0;return e.split(xs).every(r=>(r=$e(r),r.startsWith("var(")?!0:ws(r)||ks(r)||["element(","image(","cross-fade(","image-set("].some(i=>r.startsWith(i))?(t++,!0):!1))?t>0:!1}var Vp=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function ks(e){e=$e(e);for(let t of Vp)if(e.startsWith(`${t}(`))return!0;return!1}var Hp=new Set(["center","top","right","bottom","left"]);function Yp(e){let t=0;return e.split(Cr).every(r=>(r=$e(r),r.startsWith("var(")?!0:Hp.has(r)||Ss(r)||_s(r)?(t++,!0):!1))?t>0:!1}function Xp(e){let t=0;return e.split(xs).every(r=>(r=$e(r),r.startsWith("var(")?!0:r.includes(" ")&&!/(['"])([^"']+)\1/g.test(r)||/^\d/g.test(r)?!1:(t++,!0)))?t>0:!1}var Qp=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function Jp(e){return Qp.has(e)}var Kp=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function Zp(e){return Kp.has(e)}var eh=new Set(["larger","smaller"]);function th(e){return eh.has(e)}});var Cs=I(Li=>{"use strict";c();Object.defineProperty(Li,"__esModule",{value:!0});function rh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}rh(Li,{updateAllClasses:()=>oh,asValue:()=>Gt,parseColorFormat:()=>Ii,asColor:()=>Is,asLookupValue:()=>Rs,coerceValue:()=>lh});var nh=Ri(is()),ih=Ri(os()),Es=ki(),le=Ts(),Os=Ri(gn());function Ri(e){return e&&e.__esModule?e:{default:e}}function oh(e,t){return(0,nh.default)(i=>{i.walkClasses(a=>{let o=t(a.value);a.value=o,a.raws&&a.raws.value&&(a.raws.value=(0,ih.default)(a.raws.value))})}).processSync(e)}function As(e,t){if(!zt(e))return;let n=e.slice(1,-1);if(!!t(n))return(0,le.normalize)(n)}function ah(e,t={},n){let r=t[e];if(r!==void 0)return(0,Os.default)(r);if(zt(e)){let i=As(e,n);return i===void 0?void 0:(0,Os.default)(i)}}function Gt(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("-")?ah(e.slice(1),t.values,n):As(e,n)}function zt(e){return e.startsWith("[")&&e.endsWith("]")}function sh(e){let t=e.lastIndexOf("/");return t===-1||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}function Ii(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function Is(e,t={},{tailwindConfig:n={}}={}){var r;if(((r=t.values)===null||r===void 0?void 0:r[e])!==void 0){var i;return Ii((i=t.values)===null||i===void 0?void 0:i[e])}let[a,o]=sh(e);if(o!==void 0){var s,u,l,f;let p=(f=(s=t.values)===null||s===void 0?void 0:s[a])!==null&&f!==void 0?f:zt(a)?a.slice(1,-1):void 0;return p===void 0?void 0:(p=Ii(p),zt(o)?(0,Es.withAlphaValue)(p,o.slice(1,-1)):((u=n.theme)===null||u===void 0||(l=u.opacity)===null||l===void 0?void 0:l[o])===void 0?void 0:(0,Es.withAlphaValue)(p,n.theme.opacity[o]))}return Gt(e,t,{validate:le.color})}function Rs(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function xe(e){return(t,n)=>Gt(t,n,{validate:e})}var Ls={any:Gt,color:Is,url:xe(le.url),image:xe(le.image),length:xe(le.length),percentage:xe(le.percentage),position:xe(le.position),lookup:Rs,"generic-name":xe(le.genericName),"family-name":xe(le.familyName),number:xe(le.number),"line-width":xe(le.lineWidth),"absolute-size":xe(le.absoluteSize),"relative-size":xe(le.relativeSize),shadow:xe(le.shadow)},Ps=Object.keys(Ls);function uh(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function lh(e,t,n,r){if(zt(t)){let i=t.slice(1,-1),[a,o]=uh(i,":");if(!/^[\w-_]+$/g.test(a))o=i;else if(a!==void 0&&!Ps.includes(a))return[];if(o.length>0&&Ps.includes(a))return[Gt(`[${o}]`,n),a]}for(let i of[].concat(e)){let a=Ls[i](t,n,{tailwindConfig:r});if(a!==void 0)return[a,i]}return[]}});var Ds=I(Ci=>{"use strict";c();Object.defineProperty(Ci,"__esModule",{value:!0});Object.defineProperty(Ci,"default",{enumerable:!0,get:()=>fh});function fh(e){return typeof e=="function"?e({}):e}});var $s=I(Fi=>{"use strict";c();Object.defineProperty(Fi,"__esModule",{value:!0});Object.defineProperty(Fi,"default",{enumerable:!0,get:()=>Ih});var ch=Je(gn()),dh=Je(Uo()),ph=Je(zo()),hh=Je(yn()),mh=Je(jo()),Ns=Vo(),Fs=Ho(),gh=Xo(),vh=Je(Qo()),bh=Jo(),yh=Cs(),xh=ki(),wh=Je(Ds());function Je(e){return e&&e.__esModule?e:{default:e}}function at(e){return typeof e=="function"}function jt(e){return typeof e=="object"&&e!==null}function Vt(e,...t){let n=t.pop();for(let r of t)for(let i in r){let a=n(e[i],r[i]);a===void 0?jt(e[i])&&jt(r[i])?e[i]=Vt(e[i],r[i],n):e[i]=r[i]:e[i]=a}return e}var Di={colors:mh.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 _h(e,...t){return at(e)?e(...t):e}function Sh(e){return e.reduce((t,{extend:n})=>Vt(t,n,(r,i)=>r===void 0?[i]:Array.isArray(r)?[i,...r]:[i,r]),{})}function kh(e){return{...e.reduce((t,n)=>(0,Ns.defaults)(t,n),{}),extend:Sh(e)}}function Ms(e,t){if(Array.isArray(e)&&jt(e[0]))return e.concat(t);if(Array.isArray(t)&&jt(t[0])&&jt(e))return[e,...t];if(Array.isArray(t))return t}function Th({extend:e,...t}){return Vt(t,e,(n,r)=>!at(n)&&!r.some(at)?Vt({},n,...r,Ms):(i,a)=>Vt({},...[n,...r].map(o=>_h(o,i,a)),Ms))}function*Eh(e){let t=(0,Fs.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,a]=r,o=(0,Fs.toPath)(i);o.alpha=a,yield o}}function Oh(e){let t=(n,r)=>{for(let i of Eh(n)){let a=0,o=e;for(;o!=null&&a<i.length;)o=o[i[a++]],o=at(o)&&(i.alpha===void 0||a<=i.length-1)?o(t,Di):o;if(o!==void 0){if(i.alpha!==void 0){let s=(0,yh.parseColorFormat)(o);return(0,xh.withAlphaValue)(s,i.alpha,(0,wh.default)(s))}return(0,vh.default)(o)?(0,bh.cloneDeep)(o):o}}return r};return Object.assign(t,{theme:t,...Di}),Object.keys(e).reduce((n,r)=>(n[r]=at(e[r])?e[r](t,Di):e[r],n),{})}function Ws(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(a=>{a.__isOptionsFunction&&(a=a());var o;t=[...t,...Ws([(o=a==null?void 0:a.config)!==null&&o!==void 0?o:{}])]})}),t}function Ph(e){return[...e].reduceRight((n,r)=>at(r)?r({corePlugins:n}):(0,ph.default)(r,n),dh.default)}function Ah(e){return[...e].reduceRight((n,r)=>[...n,...r],[])}function Ih(e){let t=[...Ws(e),{prefix:"",important:!1,separator:":",variantOrder:hh.default.variantOrder}];var n,r;return(0,gh.normalizeConfig)((0,Ns.defaults)({theme:Oh(Th(kh(t.map(i=>(n=i==null?void 0:i.theme)!==null&&n!==void 0?n:{})))),corePlugins:Ph(t.map(i=>i.corePlugins)),plugins:Ah(e.map(i=>(r=i==null?void 0:i.plugins)!==null&&r!==void 0?r:[]))},...t))}});var qs={};Ur(qs,{default:()=>Rh});var Rh,Bs=Br(()=>{c();Rh={yellow:e=>e}});var js=I(Mi=>{"use strict";c();Object.defineProperty(Mi,"__esModule",{value:!0});function Lh(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Lh(Mi,{flagEnabled:()=>Fh,issueFlagNotices:()=>Mh,default:()=>Nh});var Ch=Gs((Bs(),ct(qs))),Dh=Gs((br(),ct(vr)));function Gs(e){return e&&e.__esModule?e:{default:e}}var Us={optimizeUniversalDefaults:!1},Ht={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function Fh(e,t){if(Ht.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:Us[t])!==null&&i!==void 0?i:!1)}if(Ht.experimental.includes(t)){var a,o,s;return e.experimental==="all"||((s=(o=e==null||(a=e.experimental)===null||a===void 0?void 0:a[t])!==null&&o!==void 0?o:Us[t])!==null&&s!==void 0?s:!1)}return!1}function zs(e){if(e.experimental==="all")return Ht.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>Ht.experimental.includes(n)&&e.experimental[n])}function Mh(e){if(process.env.JEST_WORKER_ID===void 0&&zs(e).length>0){let t=zs(e).map(n=>Ch.default.yellow(n)).join(", ");Dh.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 Nh=Ht});var Hs=I(Ni=>{"use strict";c();Object.defineProperty(Ni,"__esModule",{value:!0});Object.defineProperty(Ni,"default",{enumerable:!0,get:()=>Vs});var Wh=qh(yn()),$h=js();function qh(e){return e&&e.__esModule?e:{default:e}}function Vs(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[Wh.default]).slice().reverse().flatMap(a=>Vs(typeof a=="function"?a():a)),r={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},i=Object.keys(r).filter(a=>(0,$h.flagEnabled)(e,a)).map(a=>r[a]);return[e,...i,...n]}});var Xs=I(Wi=>{"use strict";c();Object.defineProperty(Wi,"__esModule",{value:!0});Object.defineProperty(Wi,"default",{enumerable:!0,get:()=>zh});var Bh=Ys($s()),Uh=Ys(Hs());function Ys(e){return e&&e.__esModule?e:{default:e}}function zh(...e){let[,...t]=(0,Uh.default)(e[0]);return(0,Bh.default)([...e,...t])}});var Js=I((bg,Qs)=>{c();var $i=Xs();Qs.exports=($i.__esModule?$i:{default:$i}).default});var u0={};Ur(u0,{default:()=>no,init:()=>go});module.exports=ct(u0);c();c();c();c();var mo={};var Gr;Gr=mo.default;function go(e){Gr=e}function Ae(){return Gr}c();c();c();var dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Au=dt((e,t)=>{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),Iu=dt((e,t)=>{t.exports=["deg","grad","rad","turn"]}),Ru=dt((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),Lu=dt((e,t)=>{t.exports=["Hz","kHz"]}),Cu=dt((e,t)=>{t.exports=["s","ms"]}),Du=Au(),vo=Iu(),bo=Ru(),yo=Lu(),xo=Cu();function Vr(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(Fu(e)>1)throw new Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=jr(e),this.unit="%";return}var t=Nu(e);if(!t){this.type="number",this.value=jr(e);return}this.type=$u(t),this.value=jr(e.substr(0,e.length-t.length)),this.unit=t}Vr.prototype.valueOf=function(){return this.value};Vr.prototype.toString=function(){return this.value+(this.unit||"")};function Fe(e){return new Vr(e)}function Fu(e){var t=e.match(/\./g);return t?t.length:0}function jr(e){var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid number: "+e);return t}var Mu=[].concat(vo,yo,Du,bo,xo);function Nu(e){var t=e.match(/\D+$/),n=t&&t[0];if(n&&Mu.indexOf(n)===-1)throw new Error("Invalid unit: "+n);return n}var Wu=Object.assign(ar(vo,"angle"),ar(yo,"frequency"),ar(bo,"resolution"),ar(xo,"time"));function ar(e,t){return Object.fromEntries(e.map(n=>[n,t]))}function $u(e){return Wu[e]||"length"}function Qr(e){let t=typeof e;return!(t==="number"||t==="bigint"||t==="string"||t==="boolean")}function _o(e){return/^class\s/.test(e.toString())}function So(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 Ge(e,t,n,r,i=!1){if(typeof e=="number")return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;let a=new Fe(e);if(a.type==="length")switch(a.unit){case"em":return a.value*t;case"rem":return a.value*16;case"vw":return~~(a.value*r._viewportWidth/100);case"vh":return~~(a.value*r._viewportHeight/100);default:return a.value}else if(a.type==="angle")switch(a.unit){case"deg":return a.value;case"rad":return a.value*180/Math.PI;default:return a.value}else if(a.type==="percentage"&&i)return a.value/100*n}catch(a){console.error(a)}}function pt(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 oe(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(a=>`"${a}"`).join(" | ")}. Received: "${e}".`);i=n}return i}var wo=void 0,Hr,Yr,sr=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function je(e,t){if(!Hr||!Yr){if(!(typeof Intl<"u"&&"Segmenter"in Intl))throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");Hr=new Intl.Segmenter(wo,{granularity:"word"}),Yr=new Intl.Segmenter(wo,{granularity:"grapheme"})}return t==="word"?[...Hr.segment(e)].map(n=>n.segment):[...Yr.segment(e)].map(n=>n.segment)}function O(e,t,n){let r="";for(let[i,a]of Object.entries(t))typeof a<"u"&&(r+=` ${i}="${a}"`);return n?`<${e}${r}>${n}</${e}>`:`<${e}${r}/>`}function ko(e=20){let t=new Map;function n(i,a){if(t.size>=e){let o=t.keys().next().value;t.delete(o)}t.set(i,a)}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 To={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"},qu=/[\r\n%#()<>?[\\\]^`{|}"']/g;function Xr(e){if(!e)return"";if(Array.isArray(e))return e.map(Xr).join("");if(typeof e!="object")return String(e);let t=e.type;if(t==="text")throw new Error("<text> nodes are not currently supported, please convert them to <path>");let{children:n,...r}=e.props||{};return`<${t}${Object.entries(r).map(([i,a])=>` ${To[i]||i}="${a}"`).join("")}>${Xr(n)}</${t}>`}function Eo(e){let{viewBox:t,viewbox:n,width:r,height:i,className:a,style:o,children:s,...u}=e.props||{};t||(t=n);let l=t.split(" ").map(f=>parseInt(f,10));return u.xmlns="http://www.w3.org/2000/svg",u.viewBox=t,u.width=l[2],u.height=l[3],`data:image/svg+xml;utf8,${`<svg${Object.entries(u).map(([f,p])=>` ${To[f]||f}="${p}"`).join("")}>${Xr(s)}</svg>`.replace(qu,encodeURIComponent)}`}c();c();var ge="flex",Oo={p:{display:ge,marginTop:"1em",marginBottom:"1em"},div:{display:ge},blockquote:{display:ge,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:ge,textAlign:"center"},hr:{display:ge,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:ge,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:ge,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:ge,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:ge,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:ge,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:ge,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:ge,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 Bu=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 Jr(e){let t={};for(let n in e)Bu.has(n)&&(t[n]=e[n]);return t}c();var ke=require("css-to-react-native"),Ro=require("css-background-parser"),Lo=require("css-box-shadow");c();var Po=zr(require("postcss-value-parser"),1);function Uu(e,t){try{let n=new Fe(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 Kr(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=Uu(e,t);return r.absolute?{[n?"xAbsolute":"yAbsolute"]:r.absolute}:r.relative?{[n?"xRelative":"yRelative"]:r.relative}:{}}}}function Zr(e,t){if(typeof e=="number")return{xAbsolute:e};let n;try{n=(0,Po.default)(e).nodes.filter(r=>r.type==="word").map(r=>r.value)}catch{return{}}return n.length===1?Kr(n[0],t,!0):n.length===2?((n[0]==="top"||n[0]==="bottom"||n[1]==="left"||n[1]==="right")&&n.reverse(),{...Kr(n[0],t,!0),...Kr(n[1],t,!1)}):{}}var zu=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),Gu=new Set(["lineHeight"]);function ju(e,t,n,r){return e==="textDecoration"&&!n.includes(t.textDecorationColor)&&(t.textDecorationColor=r),t}function ht(e,t){return typeof t=="number"?zu.has(e)?Gu.has(e)?t:String(t):t+"px":t}function Vu(e,t,n){if(e==="lineHeight")return{lineHeight:ht(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("/"),a=(0,ke.getStylesForProperty)(e,r,!0),o=(0,ke.getStylesForProperty)(e,i,!0);for(let s in a)o[s]=ht(e,a[s])+" "+ht(e,o[s]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let r=(0,ke.getStylesForProperty)("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:ht(e+"Width",r.borderWidth),Style:oe(r.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:r.borderColor},a={};for(let o of e==="border"?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let s in i)a["border"+o+s]=i[s];return a}if(e==="boxShadow"){if(!t)throw new Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:typeof t=="string"?(0,Lo.parse)(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 u=~~(Math.random()*1e9);return r[u]=s,u+"px"}),a=(0,ke.getStylesForProperty)("transform",i,!0);for(let o of a.transform)for(let s in o)r[o[s]]&&(o[s]=r[o[s]]);return a}if(e==="background")return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url)\(/.test(t)?(0,ke.getStylesForProperty)("backgroundImage",t,!0):(0,ke.getStylesForProperty)("background",t,!0)}function Ao(e){return e==="transform"?" Only absolute lengths such as `10px` are supported.":""}var Io=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function Co(e){if(typeof e=="string"&&Io.test(e.trim()))return e.trim().replace(Io,(t,n,r,i,a)=>`rgba(${n}, ${r}, ${i}, ${a})`);if(typeof e=="object"&&e!==null){for(let t in e)e[t]=Co(e[t]);return e}return e}function ur(e,t){var i;let n={};for(let a in e){if(a.startsWith("_")){n[a]=e[a];continue}let o=(0,ke.getPropertyName)(a),s=e.color||t.color;try{let u=Vu(o,e[a],s)||ju(o,(0,ke.getStylesForProperty)(o,ht(o,e[a]),!0),e[a],s);Object.assign(n,u)}catch(u){throw new Error(u.message+(u.message.includes(e[a])?`
4
+ `+Ao(o):`
5
+ in CSS rule \`${o}: ${e[a]}\`.${Ao(o)}`))}}if(n.backgroundImage){let{backgrounds:a}=(0,Ro.parseElementStyle)(n);n.backgroundImage=a}let r=typeof n.fontSize=="number"?n.fontSize:t.fontSize;if(typeof r=="string")try{let a=new Fe(r);switch(a.unit){case"em":r=a.value*t.fontSize;break;case"rem":r=a.value*16;break}}catch{r=16}typeof n.fontSize<"u"&&(n.fontSize=r),n.transformOrigin&&(n.transformOrigin=Zr(n.transformOrigin,r));for(let a in n){let o=n[a];if(a==="lineHeight")typeof o=="string"&&(o=n[a]=Ge(o,r,r,t,!0)/r);else{if(typeof o=="string"){let s=Ge(o,r,r,t);typeof s<"u"&&(n[a]=s),o=n[a]}if(typeof o=="string"||typeof o=="object"){let s=Co(o);s&&(n[a]=s),o=n[a]}}if(a==="opacity"&&(o=n[a]=o*t.opacity),a==="transform"){let s=o;for(let u of s){let l=Object.keys(u)[0],f=u[l],p=typeof f=="string"&&(i=Ge(f,r,r,t))!=null?i:f;u[l]=p}}}return n}c();function Hu(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 a=t.getUint8(i+1+n);if(a===192||a===193||a===194)return[t.getUint16(i+7+n,!1),t.getUint16(i+5+n,!1)];n+=i+2}throw new TypeError("Invalid JPEG")}function Yu(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function Xu(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var en=ko(100),tn=new Map,Qu=["image/png","image/jpeg","image/gif","image/svg+xml"];function Ju(e){let t="",n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}async function lr(e){if(!e)throw new Error("Image source is not provided.");if(e.startsWith("data:"))return[e];if(!globalThis.fetch)throw new Error("`fetch` is required to be polyfilled to load images.");if(tn.has(e))return tn.get(e);let t=en.get(e);if(t)return t;let n=new Promise((r,i)=>{fetch(e).then(a=>{let o=a.headers.get("content-type");return o==="image/svg+xml"||o==="application/svg+xml"?a.text():a.arrayBuffer()}).then(a=>{if(typeof a=="string")try{let p=`data:image/svg+xml;base64,${btoa(a)}`,g=a.match(/<svg[^>]*>/)[0],m=g.match(/viewBox="0 0 (\d+) (\d+)"/),d=g.match(/width="(\d+)"/),h=g.match(/height="(\d+)"/);!m&&d&&h&&(m=[null,d[1],h[1]]);let x=+m[1]/+m[2],b=d&&h?[+d[1],+h[1]]:d?[+d[1],+d[1]/x]:h?[+h[1]*x,+h[1]]:[+m[1],+m[2]];en.set(e,[p,...b]),r([p,...b]);return}catch(p){throw new Error(`Failed to parse SVG image: ${p.message}`)}let o,s;switch([...new Uint8Array(a.slice(0,4))].map(p=>p.toString(16)).join("")){case"89504e47":o="image/png",s=Xu(a);break;case"47494638":o="image/gif",s=Yu(a);break;case"ffd8ffe0":case"ffd8ffe1":case"ffd8ffe2":case"ffd8ffe3":case"ffd8ffe8":case"ffd8ffed":case"ffd8ffdb":o="image/jpeg",s=Hu(a);break}if(!Qu.includes(o))throw new Error(`Unsupported image type: ${o||"unknown"}`);let f=`data:${o};base64,${Ju(a)}`;en.set(e,[f,...s]),r([f,...s])}).catch(a=>{i(new Error(`Can't load image ${e}: `+a.message))})});return tn.set(e,n),n}async function rn(e,t,n,r,i){let a=Ae(),o={...n,...ur(Oo[t],n),...ur(r,n)};if(t==="img"){let[s,u,l]=await lr(i.src);if(u===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.");u=parseInt(i.width),l=parseInt(i.height)}let f=l/u,p=(o.borderLeftWidth||0)+(o.borderRightWidth||0)+(o.paddingLeft||0)+(o.paddingRight||0),g=(o.borderTopWidth||0)+(o.borderBottomWidth||0)+(o.paddingTop||0)+(o.paddingBottom||0),m=o.width||i.width,d=o.height||i.height,h=typeof m!="string"&&typeof d!="string";m!==void 0&&h&&(m-=p),d!==void 0&&h&&(d-=g),m===void 0&&d===void 0&&(m=u,d=l),m===void 0&&e.setAspectRatio(1/f),d===void 0&&e.setAspectRatio(1/f),o.width=h?m+p:m,o.height=h?d+g:d,o.__src=s}if(t==="svg"){let u=(i.viewBox||i.viewbox).split(" ").map(g=>parseInt(g,10)),l=u[3]/u[2],{width:f,height:p}=i;typeof f>"u"&&p?typeof p=="string"&&p.endsWith("%")?f=parseInt(p)/l+"%":f=parseInt(p)/l:typeof p>"u"&&f?typeof f=="string"&&f.endsWith("%")?p=parseInt(f)*l+"%":p=parseInt(f)*l:(f||(f=u[2]),p||(p=u[3])),o.width||(o.width=f),o.height||(o.height=p)}return e.setDisplay(oe(o.display,{flex:a.DISPLAY_FLEX,none:a.DISPLAY_NONE},a.DISPLAY_FLEX,"display")),e.setAlignContent(oe(o.alignContent,{stretch:a.ALIGN_STRETCH,center:a.ALIGN_CENTER,"flex-start":a.ALIGN_FLEX_START,"flex-end":a.ALIGN_FLEX_END,"space-between":a.ALIGN_SPACE_BETWEEN,"space-around":a.ALIGN_SPACE_AROUND,baseline:a.ALIGN_BASELINE,normal:a.ALIGN_AUTO},a.ALIGN_AUTO,"alignContent")),e.setAlignItems(oe(o.alignItems,{stretch:a.ALIGN_STRETCH,center:a.ALIGN_CENTER,"flex-start":a.ALIGN_FLEX_START,"flex-end":a.ALIGN_FLEX_END,baseline:a.ALIGN_BASELINE,normal:a.ALIGN_AUTO},a.ALIGN_FLEX_START,"alignItems")),e.setAlignSelf(oe(o.alignSelf,{stretch:a.ALIGN_STRETCH,center:a.ALIGN_CENTER,"flex-start":a.ALIGN_FLEX_START,"flex-end":a.ALIGN_FLEX_END,baseline:a.ALIGN_BASELINE,normal:a.ALIGN_AUTO},a.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(oe(o.justifyContent,{center:a.JUSTIFY_CENTER,"flex-start":a.JUSTIFY_FLEX_START,"flex-end":a.JUSTIFY_FLEX_END,"space-between":a.JUSTIFY_SPACE_BETWEEN,"space-around":a.JUSTIFY_SPACE_AROUND},a.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(oe(o.flexDirection,{row:a.FLEX_DIRECTION_ROW,column:a.FLEX_DIRECTION_COLUMN,"row-reverse":a.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":a.FLEX_DIRECTION_COLUMN_REVERSE},a.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(oe(o.flexWrap,{wrap:a.WRAP_WRAP,nowrap:a.WRAP_NO_WRAP,"wrap-reverse":a.WRAP_WRAP_REVERSE},a.WRAP_NO_WRAP,"flexWrap")),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(oe(o.overflow,{visible:a.OVERFLOW_VISIBLE,hidden:a.OVERFLOW_HIDDEN},a.OVERFLOW_VISIBLE,"overflow")),e.setMargin(a.EDGE_TOP,o.marginTop||0),e.setMargin(a.EDGE_BOTTOM,o.marginBottom||0),e.setMargin(a.EDGE_LEFT,o.marginLeft||0),e.setMargin(a.EDGE_RIGHT,o.marginRight||0),e.setBorder(a.EDGE_TOP,o.borderTopWidth||0),e.setBorder(a.EDGE_BOTTOM,o.borderBottomWidth||0),e.setBorder(a.EDGE_LEFT,o.borderLeftWidth||0),e.setBorder(a.EDGE_RIGHT,o.borderRightWidth||0),e.setPadding(a.EDGE_TOP,o.paddingTop||0),e.setPadding(a.EDGE_BOTTOM,o.paddingBottom||0),e.setPadding(a.EDGE_LEFT,o.paddingLeft||0),e.setPadding(a.EDGE_RIGHT,o.paddingRight||0),e.setPositionType(oe(o.position,{absolute:a.POSITION_TYPE_ABSOLUTE,relative:a.POSITION_TYPE_RELATIVE},a.POSITION_TYPE_RELATIVE,"position")),typeof o.top<"u"&&e.setPosition(a.EDGE_TOP,o.top),typeof o.bottom<"u"&&e.setPosition(a.EDGE_BOTTOM,o.bottom),typeof o.left<"u"&&e.setPosition(a.EDGE_LEFT,o.left),typeof o.right<"u"&&e.setPosition(a.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,Jr(o)]}c();c();c();var Do=[1,0,0,1,0,0];function Ku(e,t,n){let r=[...Do];for(let i of e){let a=Object.keys(i)[0],o=i[a];if(typeof o=="string")if(a==="translateX")o=parseFloat(o)/100*t,i[a]=o;else if(a==="translateY")o=parseFloat(o)/100*n,i[a]=o;else throw new Error(`Invalid transform: "${a}: ${o}".`);let s=o,u=[...Do];switch(a){case"translateX":u[4]=s;break;case"translateY":u[5]=s;break;case"scale":u[0]=s,u[3]=s;break;case"scaleX":u[0]=s;break;case"scaleY":u[3]=s;break;case"rotate":{let l=s*Math.PI/180,f=Math.cos(l),p=Math.sin(l);u[0]=f,u[1]=p,u[2]=-p,u[3]=f;break}case"skewX":u[2]=Math.tan(s*Math.PI/180);break;case"skewY":u[1]=Math.tan(s*Math.PI/180);break}r=pt(u,r)}e.splice(0,e.length),e.push(...r),e.__resolved=!0}function Ve({left:e,top:t,width:n,height:r},i,a,o){var l,f,p,g;let s;i.__resolved||Ku(i,n,r);let u=i;if(a)s=u;else{let m=(f=o==null?void 0:o.xAbsolute)!=null?f:((l=o==null?void 0:o.xRelative)!=null?l:50)*n/100,d=(g=o==null?void 0:o.yAbsolute)!=null?g:((p=o==null?void 0:o.yRelative)!=null?p:50)*r/100,h=e+m,x=t+d;s=pt([1,0,0,1,h,x],pt(u,[1,0,0,1,-h,-x])),u.__parent&&(s=pt(u.__parent,s)),u.splice(0,6,...s)}return`matrix(${s.map(m=>m.toFixed(2)).join(",")})`}function Fo({left:e,top:t,width:n,height:r,isInheritingTransform:i},a){let o="",s=1;return a.transform&&(o=Ve({left:e,top:t,width:n,height:r},a.transform,i,a.transformOrigin)),a.opacity!==void 0&&(s=+a.opacity),{matrix:o,opacity:s}}function nn({id:e,content:t,filter:n,left:r,top:i,width:a,height:o,matrix:s,opacity:u,image:l,clipPathId:f,debug:p,shape:g,decorationShape:m},d){let h="";if(p&&(h=O("rect",{x:r,y:i-o,width:a,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:a,height:o,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:d.filter?`filter:${d.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+O("image",{...b,opacity:u!==1?u:void 0})+(m||"")+(n?"</g>":"")+h,""]}let x={x:r,y:i,width:a,height:o,"font-weight":d.fontWeight,"font-style":d.fontStyle,"font-size":d.fontSize,"font-family":d.fontFamily,"letter-spacing":d.letterSpacing||void 0,transform:s||void 0,"clip-path":f?`url(#${f})`:void 0,style:d.filter?`filter:${d.filter}`:void 0};return[(n?`${n}<g filter="url(#satori_s-${e})">`:"")+O("text",{...x,fill:d.color,opacity:u!==1?u:void 0},t)+(m||"")+(n?"</g>":"")+h,g?O("text",x,t):""]}c();function Zu(e,t,n){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(r,i,a,o){return i+(parseFloat(a)+t)+","+(parseFloat(o)+n)})}function Mo({id:e,width:t,height:n},r){if(!r.shadowColor||!r.shadowOffset||typeof r.shadowRadius>"u")return"";let i=r.shadowRadius*r.shadowRadius/4,a=Math.min(r.shadowOffset.width-i,0),o=Math.max(r.shadowOffset.width+i+t,t),s=Math.min(r.shadowOffset.height-i,0),u=Math.max(r.shadowOffset.height+i+n,n);return`<defs><filter id="satori_s-${e}" x="${a/t*100}%" y="${s/n*100}%" width="${(o-a)/t*100}%" height="${(u-s)/n*100}%"><feDropShadow dx="${r.shadowOffset.width}" dy="${r.shadowOffset.height}" stdDeviation="${r.shadowRadius/2}" flood-color="${r.shadowColor}" flood-opacity="1"/></filter></defs>`}function fr({width:e,height:t,shape:n,opacity:r,id:i},a){if(!a.boxShadow)return null;let o="",s="";for(let u=a.boxShadow.length-1;u>=0;u--){let l="",f=a.boxShadow[u];f.spreadRadius&&f.inset&&(f.spreadRadius=-f.spreadRadius);let p=f.blurRadius*f.blurRadius/4+(f.spreadRadius||0),g=Math.min(-p-(f.inset?f.offsetX:0),0),m=Math.max(p+e-(f.inset?f.offsetX:0),e),d=Math.min(-p-(f.inset?f.offsetY:0),0),h=Math.max(p+t-(f.inset?f.offsetY:0),t),x=`satori_s-${i}-${u}`,b=`satori_ms-${i}-${u}`,w=f.spreadRadius?n.replace('stroke-width="0"',`stroke-width="${f.spreadRadius*2}"`):n;l+=O("mask",{id:b,maskUnits:"userSpaceOnUse"},O("rect",{x:0,y:0,width:a._viewportWidth,height:a._viewportHeight,fill:f.inset?"#000":"#fff"})+w.replace('fill="#fff"',f.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let T=w.replace(/d="([^"]+)"/,(P,C)=>'d="'+Zu(C,f.offsetX,f.offsetY)+'"').replace(/x="([^"]+)"/,(P,C)=>'x="'+(parseFloat(C)+f.offsetX)+'"').replace(/y="([^"]+)"/,(P,C)=>'y="'+(parseFloat(C)+f.offsetY)+'"');f.spreadRadius&&f.spreadRadius<0&&(l+=O("mask",{id:b+"-neg",maskUnits:"userSpaceOnUse"},T.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-f.spreadRadius*2}"`))),f.spreadRadius&&f.spreadRadius<0&&(T=O("g",{mask:`url(#${b}-neg)`},T)),l+=O("defs",{},O("filter",{id:x,x:`${g/e*100}%`,y:`${d/t*100}%`,width:`${(m-g)/e*100}%`,height:`${(h-d)/t*100}%`},O("feGaussianBlur",{stdDeviation:f.blurRadius/2,result:"b"})+O("feFlood",{"flood-color":f.color,in:"SourceGraphic",result:"f"})+O("feComposite",{in:"f",in2:"b",operator:f.inset?"out":"in"})))+O("g",{mask:`url(#${b})`,filter:`url(#${x})`,opacity:r},T),f.inset?s+=l:o+=l}return[o,s]}c();function on({width:e,left:t,top:n,ascender:r,clipPathId:i},a){let{textDecorationColor:o,textDecorationStyle:s,textDecorationLine:u,fontSize:l}=a;if(!u||u==="none")return"";let f=Math.max(1,l*.1),p=u==="line-through"?n+r*.5:u==="underline"?n+r*1.1:n,g=s==="dashed"?`${f*1.2} ${f*2}`:s==="dotted"?`0 ${f*2}`:void 0;return O("line",{x1:t,y1:p,x2:t+e,y2:p,stroke:o,"stroke-width":f,"stroke-dasharray":g,"stroke-linecap":s==="dotted"?"round":"square","clip-path":i?`url(#${i})`:void 0})}var an=void 0;async function*sn(e,t){var fo;let n=Ae(),{parentStyle:r,inheritedStyle:i,parent:a,font:o,id:s,isInheritingTransform:u,debug:l,embedFont:f,graphemeImages:p,canLoadAdditionalAssets:g}=t;r.textTransform==="uppercase"?e=e.toLocaleUpperCase(an):r.textTransform==="lowercase"?e=e.toLocaleLowerCase(an):r.textTransform==="capitalize"&&(e=je(e,"word").map(V=>je(V,"grapheme").map((H,Y)=>Y===0?H.toLocaleUpperCase(an):H).join("")).join(""));let m=oe(r.wordBreak,{normal:"word","break-all":"grapheme","break-word":"grapheme","keep-all":"word"},"word","wordBreak"),d=je(e,m),h=n.Node.create();h.setAlignItems(n.ALIGN_BASELINE),h.setJustifyContent(oe(r.textAlign,{left:n.JUSTIFY_FLEX_START,right:n.JUSTIFY_FLEX_END,center:n.JUSTIFY_CENTER,justify:n.JUSTIFY_SPACE_BETWEEN,start:n.JUSTIFY_FLEX_START,end:n.JUSTIFY_FLEX_END},n.JUSTIFY_FLEX_START,"textAlign")),a.insertChild(h,a.getChildCount());let{textAlign:x,textOverflow:b,whiteSpace:w,lineHeight:T,filter:P,_inheritedBackgroundClipTextPath:C}=r,F=r.fontSize,R=o.getEngine(F,T,r),D=g?d.filter(V=>!R.has(V)):[];yield D,D.length&&(R=o.getEngine(F,T,r));let M=[],B=[],$=[],J=[],Z=new Map,U=V=>{let H=0;for(let Y of V){if(Z.has(Y)){H+=Z.get(Y);continue}let se=R.measure(Y,r);Z.set(Y,se),H+=se}return H},K=0,ae=[],L=0;for(let V of d){let H=!1,Y=p&&p[V];w==="pre"?H=V[0]===`
6
+ `:w!=="nowrap"&&(Y||sr.includes(V[0]))&&(H=!0),H?(w==="nowrap"?L+=U(ae)+r.fontSize:(K=Math.max(K,U(ae)),Y&&(K=Math.max(K,r.fontSize))),ae=[]):(!sr.includes(V[0])||!ae.length)&&ae.push(V===`
7
+ `?" ":V)}K=Math.max(K,U(ae)+L);let A=a.getMinWidth(),q=a.getMaxWidth(),_e=a.getWidth();isNaN(_e.value)&&(isNaN(A.value)||A.unit===1&&A.value>K)&&(isNaN(q.value)||q.unit===1&&(K=Math.min(K,q.value)),a.setMinWidth(K)),typeof r.flexShrink>"u"&&a.setFlexShrink(1);let Nr=w==="pre-wrap"||w==="pre";h.setMeasureFunc(V=>{let H=0,Y="",se=0,ce=0,de=0,pe=-1,Be=0,ee=0,Ue=0;M=[],$=[0];for(let De=0;De<d.length;De++){let ne=d[De];if(!Nr&&sr.includes(ne[0]))Y||(Y=" "),se=U([Y]),J[De]=null;else{let ze=Nr&&ne===`
8
+ `,he=ze?0:p&&p[ne]?r.fontSize:U([ne]);ce||(Y="",se=0);let ie=se||",.!?:-@)>]}%#".indexOf(ne[0])<0,me=!ce||!!se;if(ze||De&&ie&&ce+se+he>V&&w!=="nowrap"&&w!=="pre")M.push(ce),B.push(Ue),H++,Be+=ee,ce=he,ee=he?R.height(ne):0,Ue=he?R.baseline(ne):0,$.push(1),pe=-1,ze||(de=Math.max(de,V));else{ce+=se+he;let rt=R.height(ne);rt>ee&&(ee=rt,Ue=R.baseline(ne)),me&&$[$.length-1]++}Y="",se=0,me&&pe++,de=Math.max(de,ce),J[De]={y:Be,x:ce-he,width:he,line:H,lineIndex:pe}}}return ce&&(H++,M.push(ce),B.push(Ue),Be+=ee),{width:de,height:Be}});let[lt,_u]=yield,Wr="",Zt="",Ce=i._inheritedClipPathId,io=i._inheritedMaskId,{left:oo,top:ao,width:er,height:so}=h.getComputedLayout(),$r=a.getComputedWidth()-a.getComputedPadding(n.EDGE_LEFT)-a.getComputedPadding(n.EDGE_RIGHT)-a.getComputedBorder(n.EDGE_LEFT)-a.getComputedBorder(n.EDGE_RIGHT),et=lt+oo,tt=_u+ao,{matrix:Pe,opacity:tr}=Fo({left:oo,top:ao,width:er,height:so,isInheritingTransform:u},r),rr="";r.textShadowOffset&&(rr=Mo({width:er,height:so,id:s},{shadowColor:r.textShadowColor,shadowOffset:r.textShadowOffset,shadowRadius:r.textShadowRadius}));let ft="",nr="",uo="",qr=-1,lo=b==="ellipsis"?U(["\u2026"]):0,Su=b==="ellipsis"?U([" "]):0,ir={};for(let V=0;V<d.length;V++){if(!J[V])continue;let H=J[V],Y=d[V],se=null,ce=p?p[Y]:null,de=H.y,pe=H.x,Be=H.width,ee=H.line;if(ee===qr)continue;let Ue=!1;if(M.length>1){let ie=er-M[ee];if(x==="right"||x==="end")pe+=ie;else if(x==="center")pe+=ie/2;else if(x==="justify"&&ee<M.length-1){let me=$[ee];pe+=(me>1?ie/(me-1):0)*H.lineIndex,Ue=!0}}if(ir[ee]||(ir[ee]=[pe,Ue?er:M[ee]]),b==="ellipsis"&&M[ee]>$r&&H.x+Be+lo+Su>$r){let ie=je(Y,"grapheme"),me="",rt=0;for(let co of ie){let po=H.x+U([me+co]);if(me&&po+lo>$r)break;me+=co,rt=po}Y=me+"\u2026",qr=ee,ir[ee][1]=rt}let De=B[ee],ne=R.baseline(Y),ze=R.height(Y),he=De-ne;if(ce?de+=0:f?(se=R.getSVG(Y,{...r,left:et+pe,top:tt+de+ne+he,letterSpacing:r.letterSpacing}),l&&(uo+=O("rect",{x:et+pe,y:tt+de+he,width:H.width,height:ze,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:Pe||void 0,"clip-path":Ce?`url(#${Ce})`:void 0})+O("line",{x1:et+pe,x2:et+pe+H.width,y1:tt+de+he+ne,y2:tt+de+he+ne,stroke:"#14c000","stroke-width":1,transform:Pe||void 0,"clip-path":Ce?`url(#${Ce})`:void 0}))):de+=ne+he,r.textDecorationLine&&(ee!==((fo=J[V+1])==null?void 0:fo.line)||qr===ee)){let ie=ir[ee];ie&&!ie[2]&&(ft+=on({left:et+ie[0],top:tt+ze*+ee,width:ie[1],ascender:R.baseline(Y),clipPathId:Ce},r),ie[2]=1)}if(se!==null)nr+=se+" ";else{let[ie,me]=nn({content:Y,filter:rr,id:s,left:et+pe,top:tt+de,width:Be,height:ze,matrix:Pe,opacity:tr,image:ce,clipPathId:Ce,debug:l,shape:!!C,decorationShape:ft},r);Wr+=ie,Zt+=me,ft=""}}if(nr){let V=r.color!=="transparent"&&tr!==0?O("path",{fill:r.color,d:nr,transform:Pe||void 0,opacity:tr!==1?tr:void 0,"clip-path":Ce?`url(#${Ce})`:void 0,mask:io?`url(#${io})`:void 0,style:P?`filter:${P}`:void 0}):"";C&&(Zt=O("path",{d:nr,transform:Pe||void 0})),Wr+=(rr?rr+O("g",{filter:`url(#satori_s-${s})`},V+ft):V+ft)+uo}return Zt&&(r._inheritedBackgroundClipTextPath.value+=Zt),Wr}c();c();c();var un=un||{},No={type:"directional",value:"bottom"};un.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]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,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(L){var A=new Error(t+": "+L);throw A.source=t,A}function r(){var L=i();return t.length>0&&n("Invalid input not EOF"),L}function i(){return T(a)}function a(){return o("linear-gradient",e.linearGradient,u,No)||o("repeating-linear-gradient",e.repeatingLinearGradient,u,No)||o("radial-gradient",e.radialGradient,p)||o("repeating-radial-gradient",e.repeatingRadialGradient,p)}function o(L,A,q,_e){return s(A,function(Nr){var lt=q();return lt?K(e.comma)||n("Missing comma before color stops"):lt=_e,{type:L,orientation:lt,colorStops:T(P)}})}function s(L,A){var q=K(L);if(q){K(e.startCall)||n("Missing (");var _e=A(q);return K(e.endCall)||n("Missing )"),_e}}function u(){return l()||f()}function l(){return U("directional",e.sideOrCorner,1)}function f(){return U("angular",e.angleValue,1)}function p(){var L,A=g(),q;return A&&(L=[],L.push(A),q=t,K(e.comma)&&(A=g(),A?L.push(A):t=q)),L}function g(){var L=m()||d();if(L)L.at=x();else{var A=h();if(A){L=A;var q=x();q&&(L.at=q)}else{var _e=b();_e&&(L={type:"default-radial",at:_e})}}return L}function m(){var L=U("shape",/^(circle)/i,0);return L&&(L.style=Z()||h()),L}function d(){var L=U("shape",/^(ellipse)/i,0);return L&&(L.style=$()||h()),L}function h(){return U("extent-keyword",e.extentKeywords,1)}function x(){if(U("position",/^at/,0)){var L=b();return L||n("Missing positioning value"),L}}function b(){var L=w();if(L.x||L.y)return{type:"position",value:L}}function w(){return{x:$(),y:$()}}function T(L){var A=L(),q=[];if(A)for(q.push(A);K(e.comma);)A=L(),A?q.push(A):n("One extra comma");return q}function P(){var L=C();return L||n("Expected color definition"),L.length=$(),L}function C(){return R()||M()||D()||F()}function F(){return U("literal",e.literalColor,0)}function R(){return U("hex",e.hexColor,1)}function D(){return s(e.rgbColor,function(){return{type:"rgb",value:T(B)}})}function M(){return s(e.rgbaColor,function(){return{type:"rgba",value:T(B)}})}function B(){return K(e.number)[1]}function $(){return U("%",e.percentageValue,1)||J()||Z()}function J(){return U("position-keyword",e.positionKeywords,1)}function Z(){return U("px",e.pixelValue,1)||U("em",e.emValue,1)}function U(L,A,q){var _e=K(A);if(_e)return{type:L,value:_e[q]}}function K(L){var A,q;return q=/^[\n\r\t\s]+/.exec(t),q&&ae(q[0].length),A=L.exec(t),A&&ae(A[0].length),A}function ae(L){t=t.substr(L)}return function(L){return t=L.toString(),r()}}();var ln=un;function el(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 tl(e,t){return typeof e=="string"&&e.endsWith("%")?t*parseFloat(e)/100:+e}function fn(e,{x:t,y:n,defaultX:r,defaultY:i}){return(e?e.split(" ").map(a=>{try{let o=new Fe(a);return o.type==="length"||o.type==="number"?o.value:o.value+o.unit}catch{return null}}).filter(a=>a!==null):[r,i]).map((a,o)=>tl(a,[t,n][o]))}function Wo(e,t){let n=[];for(let o of t){let s=el(o);if(!n.length&&(n.push({offset:0,color:s}),typeof o.length>"u"||o.length.value==="0"))continue;let u=typeof o.length>"u"?void 0:o.length.type==="%"?o.length.value/100:o.length.value/e;n.push({offset:u,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,a=1;for(let o=0;o<n.length;o++)if(typeof n[o].offset>"u"){for(a<o&&(a=o);typeof n[a].offset>"u";)a++;n[o].offset=(n[a].offset-n[i].offset)/(a-i)*(o-i)+n[i].offset}else i=o;return n}async function cn({id:e,width:t,height:n},{image:r,size:i,position:a,repeat:o}){o=o||"repeat";let s=o==="repeat-x"||o==="repeat",u=o==="repeat-y"||o==="repeat",l=fn(i,{x:t,y:n,defaultX:t,defaultY:n}),f=fn(a,{x:t,y:n,defaultX:0,defaultY:0});if(r.startsWith("linear-gradient(")){let p=ln.parse(r)[0],[g,m]=l,d,h,x,b;if(p.orientation.type==="directional")[d,h,x,b]={top:[0,1,0,0],bottom:[0,0,0,1],left:[1,0,0,0],right:[0,0,1,0]}[p.orientation.value];else if(p.orientation.type==="angular"){let F=+p.orientation.value/180*Math.PI-Math.PI/2,R=Math.cos(F),D=Math.sin(F);d=0,h=0,x=R,b=D,x<0&&(d-=x,x=0),b<0&&(h-=b,b=0)}let w=Wo(t,p.colorStops),T=`satori_bi${e}`,P=`satori_pattern_${e}`,C=O("pattern",{id:P,x:f[0]/t,y:f[1]/n,width:s?g/t:"1",height:u?m/n:"1",patternUnits:"objectBoundingBox"},O("linearGradient",{id:T,x1:d,y1:h,x2:x,y2:b},w.map(F=>O("stop",{offset:F.offset*100+"%","stop-color":F.color})).join(""))+O("rect",{x:0,y:0,width:g,height:m,fill:`url(#${T})`}));return[P,C]}if(r.startsWith("radial-gradient(")){let p=ln.parse(r)[0],g=p.orientation[0],[m,d]=l,h="circle",x=m/2,b=d/2;if(g.type==="shape"){if(h=g.value,g.at)if(g.at.type==="position")x=g.at.value.x.value,b=g.at.value.y.value;else throw new Error("orientation.at.type not implemented: "+g.at.type)}else throw new Error("orientation.type not implemented: "+g.type);let w=Wo(t,p.colorStops),T=`satori_radial_${e}`,P=`satori_pattern_${e}`,C=`satori_mask_${e}`,F={},R=Math.max(Math.abs(m-x),Math.abs(x)),D=Math.max(Math.abs(d-b),Math.abs(b));if(h==="circle")F.r=Math.sqrt(R*R+D*D);else if(h==="ellipse"){let $=D!==0?R/D:1;F.ry=Math.sqrt(R*R+D*D*$*$)/$,F.rx=F.ry*$}let M=O("pattern",{id:P,x:f[0]/t,y:f[1]/n,width:s?m/t:"1",height:u?d/n:"1",patternUnits:"objectBoundingBox"},O("radialGradient",{id:T},w.map($=>O("stop",{offset:$.offset,"stop-color":$.color})).join(""))+O("mask",{id:C},O("rect",{x:0,y:0,width:m,height:d,fill:"#fff"}))+O(h,{cx:x,cy:b,width:m,height:d,...F,fill:`url(#${T})`,mask:`url(#${C})`}));return[P,M]}if(r.startsWith("url(")){let p=fn(i,{x:t,y:n,defaultX:0,defaultY:0}),[g,m,d]=await lr(r.slice(4,-1)),h=p[0]||m,x=p[1]||d;return[`satori_bi${e}`,O("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:f[0],y:f[1],width:s?h:"100%",height:u?x:"100%"},O("image",{x:0,y:0,width:h,height:x,preserveAspectRatio:"none",href:g}))]}throw new Error(`Invalid background image: "${r}"`)}c();function rl([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 cr(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 dr(e){e[0]=e[1]=Math.min(e[0],e[1])}function pr(e,t,n,r,i){if(typeof e=="string"){let a=e.split(" ").map(s=>s.trim()),o=!a[1]&&!a[0].endsWith("%");return a[1]=a[1]||a[0],[o,[Math.min(Ge(a[0],r,t,i,!0),t),Math.min(Ge(a[1],r,n,i,!0),n)]]}return typeof e=="number"?[!0,[Math.min(e,t),Math.min(e,n)]]:[!0,void 0]}function Me({left:e,top:t,width:n,height:r},i,a){let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:u,borderBottomRightRadius:l,fontSize:f}=i,p,g,m,d;if([p,o]=pr(o,n,r,f,i),[g,s]=pr(s,n,r,f,i),[m,u]=pr(u,n,r,f,i),[d,l]=pr(l,n,r,f,i),!a&&!o&&!s&&!u&&!l)return"";o||(o=[0,0]),s||(s=[0,0]),u||(u=[0,0]),l||(l=[0,0]),[o[0],s[0]]=cr(o[0],s[0],n),[u[0],l[0]]=cr(u[0],l[0],n),[o[1],u[1]]=cr(o[1],u[1],r),[s[1],l[1]]=cr(s[1],l[1],r),p&&dr(o),g&&dr(s),m&&dr(u),d&&dr(l);let h=[];h[0]=[s,s],h[1]=[l,[-l[0],l[1]]],h[2]=[u,[-u[0],-u[1]]],h[3]=[o,[o[0],-o[1]]];let x=`h${n-o[0]-s[0]} a${h[0][0]} 0 0 1 ${h[0][1]}`,b=`v${r-s[1]-l[1]} a${h[1][0]} 0 0 1 ${h[1][1]}`,w=`h${l[0]+u[0]-n} a${h[2][0]} 0 0 1 ${h[2][1]}`,T=`v${u[1]+o[1]-r} a${h[3][0]} 0 0 1 ${h[3][1]}`;if(a){let C=function(J){let Z=rl([o,s,l,u][J]);return J===0?[[e+o[0]-Z,t+o[1]-Z],[e+o[0],t]]:J===1?[[e+n-s[0]+Z,t+s[1]-Z],[e+n,t+s[1]]]:J===2?[[e+n-l[0]+Z,t+r-l[1]+Z],[e+n-l[0],t+r]]:[[e+u[0]-Z,t+r-u[1]+Z],[e,t+r-u[1]]]},P=a.indexOf(!1);if(!a.includes(!0))throw new Error("Invalid `partialSides`.");if(P===-1)P=0;else for(;!a[P];)P=(P+1)%4;let F="",R=C(P),D=`M${R[0]} A${h[(P+3)%4][0]} 0 0 1 ${R[1]}`,M=0;for(;M<4&&a[(P+M)%4];M++)F+=D+" ",D=[x,b,w,T][(P+M)%4];let B=(P+M)%4;F+=D.split(" ")[0];let $=C(B);return F+=` A${h[(B+3)%4][0]} 0 0 1 ${$[0]}`,F}return`M${e+o[0]},${t} ${x} ${b} ${w} ${T}`}c();c();c();function $o(e,t,n){return n[e+"Width"]===n[t+"Width"]&&n[e+"Style"]===n[t+"Style"]&&n[e+"Color"]===n[t+"Color"]}function hr({id:e,currentClipPathId:t,borderPath:n,borderType:r,left:i,top:a,width:o,height:s},u){if(!(u.borderTopWidth||u.borderRightWidth||u.borderBottomWidth||u.borderLeftWidth))return null;let f=`satori_bc-${e}`;return[O("clipPath",{id:f,"clip-path":t?`url(#${t})`:void 0},O(r,{x:i,y:a,width:o,height:s,d:n||void 0})),f]}function He({left:e,top:t,width:n,height:r,props:i,asContentMask:a,maskBorderOnly:o},s){let u=["borderTop","borderRight","borderBottom","borderLeft"];if(!a&&!u.some(m=>s[m+"Width"]))return"";let l="",f=0;for(;f>0&&$o(u[f],u[(f+3)%4],s);)f=(f+3)%4;let p=[!1,!1,!1,!1],g=[];for(let m=0;m<4;m++){let d=(f+m)%4,h=(f+m+1)%4,x=u[d],b=u[h];if(p[d]=!0,g=[s[x+"Width"],s[x+"Style"],s[x+"Color"],x],!$o(x,b,s)){let w=(g[0]||0)+(a&&!o&&s[x.replace("border","padding")]||0);w&&(l+=O("path",{width:n,height:r,...i,fill:"none",stroke:a?"#000":g[2],"stroke-width":w*2,"stroke-dasharray":!a&&g[1]==="dashed"?w*2+" "+w:void 0,d:Me({left:e,top:t,width:n,height:r},s,p)})),p=[!1,!1,!1,!1]}}if(p.some(Boolean)){let m=(g[0]||0)+(a&&!o&&s[g[3].replace("border","padding")]||0);m&&(l+=O("path",{width:n,height:r,...i,fill:"none",stroke:a?"#000":g[2],"stroke-width":m*2,"stroke-dasharray":!a&&g[1]==="dashed"?m*2+" "+m:void 0,d:Me({left:e,top:t,width:n,height:r},s,p)}))}return l}function mt({id:e,left:t,top:n,width:r,height:i,matrix:a,borderOnly:o},s){let u=(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),p=(s.borderBottomWidth||0)+(o?0:s.paddingBottom||0),g={x:t+u,y:n+l,width:r-u-f,height:i-l-p};return O("mask",{id:e},O("rect",{...g,fill:"#fff",mask:s._inheritedMaskId?`url(#${s._inheritedMaskId})`:void 0})+He({left:t,top:n,width:r,height:i,props:{transform:a||void 0},asContentMask:!0,maskBorderOnly:o},s))}function dn({left:e,top:t,width:n,height:r,path:i,matrix:a,id:o},s){if(s.overflow!=="hidden")return"";let u=mt({id:`satori_om-${o}`,left:e,top:t,width:n,height:r,matrix:a,borderOnly:!0},s);return O("clipPath",{id:`satori_cp-${o}`,"clip-path":s._inheritedClipPathId?`url(#${s._inheritedClipPathId})`:void 0},O(i?"path":"rect",{x:e,y:t,width:n,height:r,d:i||void 0}))+u}async function pn({id:e,left:t,top:n,width:r,height:i,isInheritingTransform:a,debug:o},s){if(s.display==="none")return"";let u="rect",l="",f="",p=[],g=1,m="";s.backgroundColor&&p.push(s.backgroundColor),s.opacity!==void 0&&(g=+s.opacity),s.transform&&(l=Ve({left:t,top:n,width:r,height:i},s.transform,a,s.transformOrigin));let d="";if(s.backgroundImage){let M=[];for(let B=0;B<s.backgroundImage.length;B++){let $=s.backgroundImage[B],J=await cn({id:e+"_"+B,width:r,height:i},$);J&&M.unshift(J)}for(let B of M)p.push(`url(#${B[0]})`),f+=B[1],B[2]&&(d+=B[2])}let h=Me({left:t,top:n,width:r,height:i},s);h&&(u="path");let x=dn({left:t,top:n,width:r,height:i,path:h,id:e,matrix:l},s),b=s._inheritedClipPathId,w=s._inheritedMaskId;o&&(m=O("rect",{x:t,y:n,width:r,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:l||void 0,"clip-path":b?`url(#${b})`:void 0}));let{backgroundClip:T,filter:P}=s,C=T==="text"?`url(#satori_bct-${e})`:b?`url(#${b})`:void 0,F=p.map(M=>O(u,{x:t,y:n,width:r,height:i,fill:M,d:h||void 0,transform:l||void 0,"clip-path":C,style:P?`filter:${P}`:void 0,mask:w?`url(#${w})`:void 0})).join(""),R=hr({id:e,left:t,top:n,width:r,height:i,currentClipPathId:b,borderPath:h,borderType:u},s);if(R){f+=R[0];let M=R[1];F+=He({left:t,top:n,width:r,height:i,props:{transform:l||void 0,"clip-path":`url(#${M})`}},s)}let D=fr({width:r,height:i,id:e,opacity:g,shape:O(u,{x:t,y:n,width:r,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:h||void 0,transform:l||void 0,"clip-path":C,mask:w?`url(#${w})`:void 0})},s);return(f?O("defs",{},f):"")+(D?D[0]:"")+x+(g!==1?`<g opacity="${g}">`:"")+(d||F)+(g!==1?"</g>":"")+(D?D[1]:"")+m}c();function mr({id:e,left:t,top:n,width:r,height:i,src:a,debug:o,isInheritingTransform:s},u){if(u.display==="none")return"";let l="",f="",p="",g=1,m="",d="",h="";u.transform&&(m=Ve({left:t,top:n,width:r,height:i},u.transform,s,u.transformOrigin));let x=u.objectFit==="contain"?"xMidYMid":u.objectFit==="cover"?"xMidYMid slice":"none",b=Me({left:t,top:n,width:r,height:i},u),w=u._inheritedClipPathId,T=u._inheritedMaskId;b&&(p=O("clipPath",{id:`satori_c-${e}`,"clip-path":w?`url(#${w})`:void 0},O("path",{x:t,y:n,width:r,height:i,d:b})));let P=hr({id:e,left:t,top:n,width:r,height:i,currentClipPathId:w,borderPath:b,borderType:b?"path":"rect"},u);if(P){d+=P[0];let B=P[1];h+=He({left:t,top:n,width:r,height:i,props:{transform:m||void 0,"clip-path":`url(#${B})`,mask:T?`url(#${T})`:void 0}},u)}u.opacity&&(g=+u.opacity);let C=fr({width:r,height:i,id:e,opacity:g,shape:O(b?"path":"rect",{x:t,y:n,width:r,height:i,fill:"#fff",d:b||void 0,transform:m||void 0,"clip-path":w?`url(#${w})`:void 0,mask:T?`url(#${T})`:void 0})},u);b&&(l=`satori_cm-${e}`,f=mt({id:`satori_cm-${e}`,left:t,top:n,width:r,height:i,matrix:m},u));let F=(u.borderLeftWidth||0)+(u.paddingLeft||0),R=(u.borderTopWidth||0)+(u.paddingTop||0),D=(u.borderRightWidth||0)+(u.paddingRight||0),M=(u.borderBottomWidth||0)+(u.paddingBottom||0);return(d?O("defs",{},d):"")+f+(C?C[0]:"")+p+O("image",{x:t+F,y:n+R,width:r-F-D,height:i-R-M,href:a,preserveAspectRatio:x,opacity:g,transform:m||void 0,"clip-path":p?`url(#satori_c-${e})`:w?`url(#${w})`:void 0,mask:l?`url(#${l})`:void 0})+(C?C[1]:"")+h}async function*gt(e,t){let n=Ae(),{id:r,inheritedStyle:i,parent:a,font:o,debug:s,embedFont:u=!0,graphemeImages:l,canLoadAdditionalAssets:f,getTwStyles:p}=t;if(e===null||typeof e>"u")return yield,yield,"";if(!Qr(e)||typeof e.type=="function"){let A;if(!Qr(e))A=sn(String(e),t),yield(await A.next()).value;else{if(_o(e.type))throw new Error("Class component is not supported.");A=gt(e.type(e.props),t),yield(await A.next()).value}await A.next();let q=yield;return(await A.next(q)).value}let{type:g,props:m}=e,{style:d,children:h,tw:x}=m||{};if(x){let A=p(x,d);d=Object.assign(A,d)}let b=n.Node.create();a.insertChild(b,a.getChildCount());let[w,T]=await rn(b,g,i,d,m),P=w.transform===i.transform;if(P||(w.transform.__parent=i.transform),w.overflow==="hidden"&&(T._inheritedClipPathId=`satori_cp-${r}`,T._inheritedMaskId=`satori_om-${r}`),w.backgroundClip==="text"){let A={value:""};T._inheritedBackgroundClipTextPath=A,w._inheritedBackgroundClipTextPath=A}let C=So(h),F=[],R=0,D=[];for(let A of C){let q=gt(A,{id:r+"-"+R++,parentStyle:w,inheritedStyle:T,isInheritingTransform:!0,parent:b,font:o,embedFont:u,debug:s,graphemeImages:l,canLoadAdditionalAssets:f,getTwStyles:p});f?D.push(...(await q.next()).value||[]):await q.next(),F.push(q)}yield D;for(let A of F)await A.next();let[M,B]=yield,{left:$,top:J,width:Z,height:U}=b.getComputedLayout();$+=M,J+=B;let K="",ae="",L="";if(g==="img"){let A=w.__src;ae=mr({id:r,left:$,top:J,width:Z,height:U,src:A,isInheritingTransform:P,debug:s},w)}else if(g==="svg"){let A=Eo(e);ae=mr({id:r,left:$,top:J,width:Z,height:U,src:A,isInheritingTransform:P,debug:s},w)}else{let A=d==null?void 0:d.display;if(g==="div"&&h&&typeof h!="string"&&A!=="flex"&&A!=="none")throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');ae=await pn({id:r,left:$,top:J,width:Z,height:U,isInheritingTransform:P,debug:s},w)}for(let A of F)K+=(await A.next([$,J])).value;return w._inheritedBackgroundClipTextPath&&(L+=O("clipPath",{id:`satori_bct-${r}`,"clip-path":w._inheritedClipPathId?`url(#${w._inheritedClipPathId})`:void 0},w._inheritedBackgroundClipTextPath.value)),L+ae+K}c();var gr=zr(require("@shuding/opentype.js"),1);function nl(e,t,[n,r],[i,a]){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!==a){if(r===t)return-1;if(a===t)return 1}return-1}var vt=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);let i=[...this.fonts.get(t)],a=i[0];for(let o=1;o<i.length;o++){let[,s,u]=a,[,l,f]=i[o];nl(n,r,[s,u],[l,f])>0&&(a=i[o])}return a[0]}addFonts(t){for(let n of t){let r=n.data,i=gr.default.parse("buffer"in r?r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength):r,{lowMemory:!0}),a=i.charToGlyphIndex;i.charToGlyphIndex=s=>{let u=a.call(i,s);return u===0&&i._trackBrokenChars&&i._trackBrokenChars.push(s),u},this.defaultFont||(this.defaultFont=i);let o=n.name.toLowerCase();this.fonts.has(o)||this.fonts.set(o,[]),this.fonts.get(o).push([i,n.weight,n.style])}}getEngine(t=16,n=1.2,{fontFamily:r,fontWeight:i=400,fontStyle:a="normal"}){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(d=>d.toLowerCase());let o=r.map(d=>this.get({name:d,weight:i,style:a})).filter(Boolean),s=Array.from(this.fonts.keys());for(let d of s)r.includes(d)||o.push(this.get({name:d,weight:i,style:a}));let u=new Map,l=(d,h=!0)=>{let x=d.charCodeAt(0);if(u.has(x))return u.get(x);let b=o.find((w,T)=>!!w.charToGlyphIndex(d)||h&&T===o.length-1);return b&&u.set(x,b),b},f=(d,h=!1)=>{var b,w;return((h?(w=(b=d.tables)==null?void 0:b.os2)==null?void 0:w.sTypoAscender:0)||d.ascender)/d.unitsPerEm*t},p=(d,h=!1)=>{var b,w;return((h?(w=(b=d.tables)==null?void 0:b.os2)==null?void 0:w.sTypoDescender:0)||d.descender)/d.unitsPerEm*t},g=d=>l(d,!1),m={has:d=>{if(d===`
9
+ `)return!0;let h=g(d);return h?(h._trackBrokenChars=[],h.stringToGlyphs(d),h._trackBrokenChars.length?(h._trackBrokenChars=void 0,!1):!0):!1},baseline:(d,h=typeof d>"u"?o[0]:l(d))=>{let x=f(h,!0),b=p(h,!0),w=m.height(d,h),{yMax:T,yMin:P}=h.tables.head,C=x-b,F=(T/(T-P)-1)*C;return w*((1.2/n+1)/2)+F},height:(d,h=typeof d>"u"?o[0]:l(d))=>(f(h)-p(h))*(n/1.2),measure:(d,h)=>this.measure(l,d,h),getSVG:(d,h)=>this.getSVG(l,d,h)};return m}patchFontFallbackResolver(t,n){let r=[];t._trackBrokenChars=r;let i=t.stringToGlyphs;return t.stringToGlyphs=(a,...o)=>{let s=i.call(t,a,...o);for(let u=0;u<s.length;u++)if(s[u].unicode===void 0){let l=r.shift(),f=n(l);if(f!==t){let p=f.charToGlyph(l),g=t.unitsPerEm/f.unitsPerEm,m=new gr.default.Path;m.unitsPerEm=t.unitsPerEm,m.commands=p.path.commands.map(h=>{let x={...h};for(let b in x)typeof x[b]=="number"&&(x[b]*=g);return x});let d=new gr.default.Glyph({...p,advanceWidth:p.advanceWidth*g,xMin:p.xMin*g,xMax:p.xMax*g,yMin:p.yMin*g,yMax:p.yMax*g,path:m});s[u]=d}}return s},()=>{t.stringToGlyphs=i,t._trackBrokenChars=void 0}}measure(t,n,{fontSize:r,letterSpacing:i=0}){let a=t(n),o=this.patchFontFallbackResolver(a,t);try{return a.getAdvanceWidth(n,r,{letterSpacing:i/r})}finally{o()}}getSVG(t,n,{fontSize:r,top:i,left:a,letterSpacing:o=0}){let s=t(n),u=this.patchFontFallbackResolver(s,t);try{return r===0?"":s.getPath(n.replace(/\n/g,""),a,i,r,{letterSpacing:o/r}).toPathData(1)}finally{u()}}};c();function hn({width:e,height:t,content:n}){return O("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},n)}c();var qo={emoji:/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})|[\u{E000}-\u{F8FF}]|[\u{F0000}-\u{FFFFD}]|[\u{100000}-\u{10FFFD}]/u,ja:/\p{scx=Hira}|\p{scx=Kana}|[,;:]/u,ko:/\p{scx=Hangul}/u,zh:/\p{scx=Han}/u,th:/\p{scx=Thai}/u,bn:/\p{scx=Bengali}/u,ar:/\p{scx=Arabic}/u,ta:/\p{scx=Tamil}/u,ml:/\p{scx=Malayalam}/u,he:/\p{scx=Hebrew}/u,te:/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u};function Bo(e){for(let t in qo)if(qo[t].test(e))return t;return"unknown"}c();c();var xu=zr(Js());c();c();c();c();var Gh=["ios","android","windows","macos","web"];function Zs(e){return Gh.includes(e)}var jh=["portrait","landscape"];function eu(e){return jh.includes(e)}var Ks;(function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"})(Ks||(Ks={}));var W;(function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"})(W||(W={}));function qi(e){return typeof e=="string"}function Bi(e){return typeof e=="object"}var Ui;function v(e){return{kind:"complete",style:e}}function te(e,t={}){let{fractions:n}=t;if(n&&e.includes("/")){let[a="",o=""]=e.split("/",2),s=te(a),u=te(o);return!s||!u?null:[s[0]/u[0],u[1]]}let r=parseFloat(e);if(Number.isNaN(r))return null;let i=e.match(/(([a-z]{2,}|%))$/);if(!i)return[r,W.none];switch(i==null?void 0:i[1]){case"rem":return[r,W.rem];case"px":return[r,W.px];case"em":return[r,W.em];case"%":return[r,W.percent];case"vw":return[r,W.vw];case"vh":return[r,W.vh];default:return null}}function Le(e,t,n={}){let r=Ee(t,n);return r===null?null:v({[e]:r})}function Dr(e,t,n){let r=Ee(t);return r!==null&&(n[e]=r),n}function ru(e,t){let n=Ee(t);return n===null?null:{[e]:n}}function Ee(e,t={}){if(e===void 0)return null;let n=te(String(e),t);return n?qe(...n,t):null}function qe(e,t,n={}){let{isNegative:r,device:i}=n;switch(t){case W.rem:return e*16*(r?-1:1);case W.px:return e*(r?-1:1);case W.percent:return`${r?"-":""}${e}%`;case W.none:return e*(r?-1:1);case W.vw:return i!=null&&i.windowDimensions?i.windowDimensions.width*(e/100):(fe("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case W.vh:return i!=null&&i.windowDimensions?i.windowDimensions.height*(e/100):(fe("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function zi(e){let t=te(e);if(!t)return null;let[n,r]=t;switch(r){case W.rem:return n*16;case W.px:return n;default:return null}}var Vh={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function Gi(e){return Vh[e!=null?e:""]||"All"}function ji(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(r,i)=>(t=Gi(i),"")),t]}function Ke(e,t={}){if(e.includes("/")){let n=tu(e,{...t,fractions:!0});if(n)return n}return e[0]==="["&&(e=e.slice(1,-1)),tu(e,t)}function we(e,t,n={}){let r=Ke(t,n);return r===null?null:v({[e]:r})}function tu(e,t={}){if(e==="px")return 1;let n=te(e,t);if(!n)return null;let[r,i]=n;return t.fractions&&(i=W.percent,r*=100),i===W.none&&(r=r/4,i=W.rem),qe(r,i,t)}function Hh(...e){console.warn(...e)}function Yh(...e){}var fe=typeof process>"u"||((Ui=process==null?void 0:process.env)===null||Ui===void 0?void 0:Ui.JEST_WORKER_ID)===void 0?Hh:Yh;var Xh=[["aspect-square",v({aspectRatio:1})],["aspect-video",v({aspectRatio:16/9})],["items-center",v({alignItems:"center"})],["items-start",v({alignItems:"flex-start"})],["items-end",v({alignItems:"flex-end"})],["items-baseline",v({alignItems:"baseline"})],["items-stretch",v({alignItems:"stretch"})],["justify-start",v({justifyContent:"flex-start"})],["justify-end",v({justifyContent:"flex-end"})],["justify-center",v({justifyContent:"center"})],["justify-between",v({justifyContent:"space-between"})],["justify-around",v({justifyContent:"space-around"})],["justify-evenly",v({justifyContent:"space-evenly"})],["content-start",v({alignContent:"flex-start"})],["content-end",v({alignContent:"flex-end"})],["content-between",v({alignContent:"space-between"})],["content-around",v({alignContent:"space-around"})],["content-stretch",v({alignContent:"stretch"})],["content-center",v({alignContent:"center"})],["self-auto",v({alignSelf:"auto"})],["self-start",v({alignSelf:"flex-start"})],["self-end",v({alignSelf:"flex-end"})],["self-center",v({alignSelf:"center"})],["self-stretch",v({alignSelf:"stretch"})],["self-baseline",v({alignSelf:"baseline"})],["direction-inherit",v({direction:"inherit"})],["direction-ltr",v({direction:"ltr"})],["direction-rtl",v({direction:"rtl"})],["hidden",v({display:"none"})],["flex",v({display:"flex"})],["flex-row",v({flexDirection:"row"})],["flex-row-reverse",v({flexDirection:"row-reverse"})],["flex-col",v({flexDirection:"column"})],["flex-col-reverse",v({flexDirection:"column-reverse"})],["flex-wrap",v({flexWrap:"wrap"})],["flex-wrap-reverse",v({flexWrap:"wrap-reverse"})],["flex-nowrap",v({flexWrap:"nowrap"})],["flex-auto",v({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",v({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",v({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",v({overflow:"hidden"})],["overflow-visible",v({overflow:"visible"})],["overflow-scroll",v({overflow:"scroll"})],["absolute",v({position:"absolute"})],["relative",v({position:"relative"})],["italic",v({fontStyle:"italic"})],["not-italic",v({fontStyle:"normal"})],["oldstyle-nums",Yt("oldstyle-nums")],["small-caps",Yt("small-caps")],["lining-nums",Yt("lining-nums")],["tabular-nums",Yt("tabular-nums")],["proportional-nums",Yt("proportional-nums")],["font-thin",v({fontWeight:"100"})],["font-100",v({fontWeight:"100"})],["font-extralight",v({fontWeight:"200"})],["font-200",v({fontWeight:"200"})],["font-light",v({fontWeight:"300"})],["font-300",v({fontWeight:"300"})],["font-normal",v({fontWeight:"normal"})],["font-400",v({fontWeight:"400"})],["font-medium",v({fontWeight:"500"})],["font-500",v({fontWeight:"500"})],["font-semibold",v({fontWeight:"600"})],["font-600",v({fontWeight:"600"})],["font-bold",v({fontWeight:"bold"})],["font-700",v({fontWeight:"700"})],["font-extrabold",v({fontWeight:"800"})],["font-800",v({fontWeight:"800"})],["font-black",v({fontWeight:"900"})],["font-900",v({fontWeight:"900"})],["include-font-padding",v({includeFontPadding:!0})],["remove-font-padding",v({includeFontPadding:!1})],["max-w-none",v({maxWidth:"99999%"})],["text-left",v({textAlign:"left"})],["text-center",v({textAlign:"center"})],["text-right",v({textAlign:"right"})],["text-justify",v({textAlign:"justify"})],["text-auto",v({textAlign:"auto"})],["underline",v({textDecorationLine:"underline"})],["line-through",v({textDecorationLine:"line-through"})],["no-underline",v({textDecorationLine:"none"})],["uppercase",v({textTransform:"uppercase"})],["lowercase",v({textTransform:"lowercase"})],["capitalize",v({textTransform:"capitalize"})],["normal-case",v({textTransform:"none"})],["w-auto",v({width:"auto"})],["h-auto",v({height:"auto"})],["shadow-sm",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",v({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",v({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],Vi=Xh;function Yt(e){return{kind:"dependent",complete(t){(!t.fontVariant||!Array.isArray(t.fontVariant))&&(t.fontVariant=[]),t.fontVariant.push(e)}}}var Xt=class{constructor(t){this.ir=new Map(Vi),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...Vi,...t!=null?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 Hi(e,t,n={}){let r=t==null?void 0:t[e];if(!r)return we("fontSize",e,n);if(typeof r=="string")return Le("fontSize",r);let i={},[a,o]=r,s=ru("fontSize",a);if(s&&(i=s),typeof o=="string")return v(Dr("lineHeight",nu(o,i),i));let{lineHeight:u,letterSpacing:l}=o;return u&&Dr("lineHeight",nu(u,i),i),l&&Dr("letterSpacing",l,i),v(i)}function nu(e,t){let n=te(e);if(n){let[r,i]=n;if((i===W.none||i===W.em)&&typeof t.fontSize=="number")return t.fontSize*r}return e}c();function Yi(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=te(r);if(!i)return null;let[a,o]=i;if(o===W.none)return{kind:"dependent",complete(u){if(typeof u.fontSize!="number")return"relative line-height utilities require that font-size be set";u.lineHeight=u.fontSize*a}};let s=qe(a,o);return s!==null?v({lineHeight:s}):null}c();function Xi(e,t,n,r,i){let a="";if(r[0]==="[")a=r.slice(1,-1);else{let l=i==null?void 0:i[r];if(l)a=l;else{let f=Ke(r);return f&&typeof f=="number"?iu(f,W.px,t,e):null}}if(a==="auto")return ou(t,e,"auto");let o=te(a);if(!o)return null;let[s,u]=o;return n&&(s=-s),iu(s,u,t,e)}function iu(e,t,n,r){let i=qe(e,t);return i===null?null:ou(n,r,i)}function ou(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 Qi(e){if(!e)return{};let t=Object.entries(e).reduce((i,[a,o])=>{let s=[0,1/0,0],u=typeof o=="string"?{min:o}:o,l=u.min?zi(u.min):0;l===null?fe(`invalid screen config value: ${a}->min: ${u.min}`):s[0]=l;let f=u.max?zi(u.max):1/0;return f===null?fe(`invalid screen config value: ${a}->max: ${u.max}`):s[1]=f,i[a]=s,i},{}),n=Object.values(t);n.sort((i,a)=>{let[o,s]=i,[u,l]=a;return s===1/0||l===1/0?o-u:s-l});let r=0;return n.forEach(i=>i[2]=r++),t}c();function Ji(e,t){let n=t==null?void 0:t[e];if(!n)return null;if(typeof n=="string")return v({fontFamily:n});let r=n[0];return r?v({fontFamily:r}):null}c();function Ze(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=uu(t,n),!i)return null;if(r){let a=Number(r);if(!Number.isNaN(a))return i=au(i,a/100),v({[Fr[e].color]:i})}return{kind:"dependent",complete(a){let o=Fr[e].opacity,s=a[o];typeof s=="number"&&(i=au(i,s)),a[Fr[e].color]=i}}}function Qt(e,t){let n=parseInt(t,10);if(Number.isNaN(n))return null;let r=n/100,i={[Fr[e].opacity]:r};return{kind:"complete",style:i}}function au(e,t){return e.startsWith("#")?e=Qh(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}function su(e){for(let t in e)t.startsWith("__opacity_")&&delete e[t]}var Fr={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 Qh(e){let t=e;e=e.replace(Jh,(o,s,u,l)=>s+s+u+u+l+l);let n=Kh.exec(e);if(!n)return fe(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let r=parseInt(n[1],16),i=parseInt(n[2],16),a=parseInt(n[3],16);return`rgba(${r}, ${i}, ${a}, 1)`}function uu(e,t){let n=t[e];if(qi(n))return n;if(Bi(n)&&qi(n.DEFAULT))return n.DEFAULT;let[r="",...i]=e.split("-");for(;r!==e;){let a=t[r];if(Bi(a))return uu(i.join("-"),a);if(i.length===0)return"";r=`${r}-${i.shift()}`}return""}var Jh=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Kh=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;c();function fu(e,t){let[n,r]=ji(e);if(n.match(/^(-?(\d)+)?$/))return Zh(n,r,t==null?void 0:t.borderWidth);if(n=n.replace(/^-/,""),["dashed","solid","dotted"].includes(n))return v({borderStyle:n});let a="border";switch(r){case"Bottom":a="borderBottom";break;case"Top":a="borderTop";break;case"Left":a="borderLeft";break;case"Right":a="borderRight";break}let o=Ze(a,n,t==null?void 0:t.borderColor);if(o)return o;let s=`border${r==="All"?"":r}Width`;n=n.replace(/^-/,"");let u=n.slice(1,-1),l=we(s,u);return typeof(l==null?void 0:l.style[s])!="number"?null:l}function Zh(e,t,n){if(!n)return null;e=e.replace(/^-/,"");let i=n[e===""?"DEFAULT":e];if(i===void 0)return null;let a=`border${t==="All"?"":t}Width`;return Le(a,i)}function cu(e,t){if(!t)return null;let[n,r]=ji(e);n=n.replace(/^-/,""),n===""&&(n="DEFAULT");let i=`border${r==="All"?"":r}Radius`,a=t[n];if(a)return lu(Le(i,a));let o=we(i,n);return typeof(o==null?void 0:o.style[i])!="number"?null:lu(o)}function lu(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 st(e,t,n,r){let i=null;e==="inset"&&(t=t.replace(/^(x|y)-/,(s,u)=>(i=u==="x"?"x":"y","")));let a=r==null?void 0:r[t];if(a){let s=Ee(a,{isNegative:n});if(s!==null)return du(e,i,s)}let o=Ke(t,{isNegative:n});return o!==null?du(e,i,o):null}function du(e,t,n){if(e!=="inset")return v({[e]:n});switch(t){case null:return v({top:n,left:n,right:n,bottom:n});case"y":return v({top:n,bottom:n});case"x":return v({left:n,right:n})}}c();function Jt(e,t,n){var r;t=t.replace(/^-/,"");let i=t===""?"DEFAULT":t,a=Number((r=n==null?void 0:n[i])!==null&&r!==void 0?r:t);return Number.isNaN(a)?null:v({[`flex${e}`]:a})}function pu(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 v({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return v({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/),i){let a=Ee((n=i[2])!==null&&n!==void 0?n:"");return a?v({flexGrow:Number(i[1]),flexBasis:a}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/),i){let a=Ee((r=i[3])!==null&&r!==void 0?r:"");return a?v({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:a}):null}return null}c();function Ki(e,t,n={},r){let i=r==null?void 0:r[t];return i!==void 0?Le(e,i,n):we(e,t,n)}function Kt(e,t,n={},r){let i=Ee(r==null?void 0:r[t],n);return i?v({[e]:i}):(t==="screen"&&(t=e.includes("Width")?"100vw":"100vh"),we(e,t,n))}c();function hu(e,t,n){let r=n==null?void 0:n[e];if(r){let i=te(r,{isNegative:t});if(!i)return null;let[a,o]=i;if(o===W.em)return e0(a);if(o===W.percent)return fe("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=qe(a,o,{isNegative:t});return s!==null?v({letterSpacing:s}):null}return we("letterSpacing",e,{isNegative:t})}function e0(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 mu(e,t){let n=t==null?void 0:t[e];if(n){let i=te(String(n));if(i)return v({opacity:i[0]})}let r=te(e);return r?v({opacity:r[0]/100}):null}c();function gu(e){let t=parseInt(e,10);return Number.isNaN(t)?null:{kind:"complete",style:{shadowOpacity:t/100}}}function vu(e){if(e.includes("/")){let[n="",r=""]=e.split("/",2),i=Zi(n),a=Zi(r);return i===null||a===null?null:{kind:"complete",style:{shadowOffset:{width:i,height:a}}}}let t=Zi(e);return t===null?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}function Zi(e){let t=Ke(e);return typeof t=="number"?t:null}var ut=class{constructor(t,n={},r,i,a){var o,s,u,l,f,p;this.config=n,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=i;let g=t.trim().split(":"),m=[];g.length===1?this.string=t:(this.string=(o=g.pop())!==null&&o!==void 0?o:"",m=g),this.char=this.string[0];let d=Qi((s=this.config.theme)===null||s===void 0?void 0:s.screens);for(let h of m)if(d[h]){let x=(u=d[h])===null||u===void 0?void 0:u[2];x!==void 0&&(this.order=((l=this.order)!==null&&l!==void 0?l:0)+x);let b=(f=i.windowDimensions)===null||f===void 0?void 0:f.width;if(b){let[w,T]=(p=d[h])!==null&&p!==void 0?p:[0,0];(b<=w||b>T)&&(this.isNull=!0)}else this.isNull=!0}else Zs(h)?this.isNull=h!==a:eu(h)?i.windowDimensions?(i.windowDimensions.width>i.windowDimensions.height?"landscape":"portrait")!==h?this.isNull=!0:this.incrementOrder():this.isNull=!0:h==="retina"?i.pixelDensity===2?this.incrementOrder():this.isNull=!0:h==="dark"?i.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(h)||(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,a;let o=this.config.theme,s=null;switch(this.char){case"m":case"p":{let u=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(u){let l=this.char==="m"?"margin":"padding";this.advance(((n=(t=u[0])===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+1);let f=Gi(u[1]),p=Xi(l,f,this.isNegative,this.rest,(r=this.config.theme)===null||r===void 0?void 0:r[l]);if(p)return p}}}if(this.consumePeeked("h-")&&(s=Ki("height",this.rest,this.context,o==null?void 0:o.height),s)||this.consumePeeked("w-")&&(s=Ki("width",this.rest,this.context,o==null?void 0:o.width),s)||this.consumePeeked("min-w-")&&(s=Kt("minWidth",this.rest,this.context,o==null?void 0:o.minWidth),s)||this.consumePeeked("min-h-")&&(s=Kt("minHeight",this.rest,this.context,o==null?void 0:o.minHeight),s)||this.consumePeeked("max-w-")&&(s=Kt("maxWidth",this.rest,this.context,o==null?void 0:o.maxWidth),s)||this.consumePeeked("max-h-")&&(s=Kt("maxHeight",this.rest,this.context,o==null?void 0:o.maxHeight),s)||this.consumePeeked("leading-")&&(s=Yi(this.rest,o==null?void 0:o.lineHeight),s)||this.consumePeeked("text-")&&(s=Hi(this.rest,o==null?void 0:o.fontSize,this.context),s||(s=Ze("text",this.rest,o==null?void 0:o.textColor),s)||this.consumePeeked("opacity-")&&(s=Qt("text",this.rest),s))||this.consumePeeked("font-")&&(s=Ji(this.rest,o==null?void 0:o.fontFamily),s)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&fe("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),s=Le("aspectRatio",this.rest,{fractions:!0}),s)||this.consumePeeked("tint-")&&(s=Ze("tint",this.rest,o==null?void 0:o.colors),s)||this.consumePeeked("bg-")&&(s=Ze("bg",this.rest,o==null?void 0:o.backgroundColor),s||this.consumePeeked("opacity-")&&(s=Qt("bg",this.rest),s))||this.consumePeeked("border")&&(s=fu(this.rest,o),s||this.consumePeeked("-opacity-")&&(s=Qt("border",this.rest),s))||this.consumePeeked("rounded")&&(s=cu(this.rest,o==null?void 0:o.borderRadius),s)||this.consumePeeked("bottom-")&&(s=st("bottom",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("top-")&&(s=st("top",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("left-")&&(s=st("left",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("right-")&&(s=st("right",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("inset-")&&(s=st("inset",this.rest,this.isNegative,o==null?void 0:o.inset),s)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?s=Jt("Grow",this.rest,o==null?void 0:o.flexGrow):this.consumePeeked("shrink")?s=Jt("Shrink",this.rest,o==null?void 0:o.flexShrink):s=pu(this.rest,o==null?void 0:o.flex),s)||this.consumePeeked("grow")&&(s=Jt("Grow",this.rest,o==null?void 0:o.flexGrow),s)||this.consumePeeked("shrink")&&(s=Jt("Shrink",this.rest,o==null?void 0:o.flexShrink),s)||this.consumePeeked("shadow-color-opacity-")&&(s=Qt("shadow",this.rest),s)||this.consumePeeked("shadow-opacity-")&&(s=gu(this.rest),s)||this.consumePeeked("shadow-offset-")&&(s=vu(this.rest),s)||this.consumePeeked("shadow-radius-")&&(s=we("shadowRadius",this.rest),s)||this.consumePeeked("shadow-")&&(s=Ze("shadow",this.rest,o==null?void 0:o.colors),s))return s;if(this.consumePeeked("elevation-")){let u=parseInt(this.rest,10);if(!Number.isNaN(u))return v({elevation:u})}if(this.consumePeeked("opacity-")&&(s=mu(this.rest,o==null?void 0:o.opacity),s)||this.consumePeeked("tracking-")&&(s=hu(this.rest,this.isNegative,o==null?void 0:o.letterSpacing),s))return s;if(this.consumePeeked("z-")){let u=Number((a=(i=o==null?void 0:o.zIndex)===null||i===void 0?void 0:i[this.rest])!==null&&a!==void 0?a:this.rest);if(!Number.isNaN(u))return v({zIndex:u})}return fe(`\`${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,[,a="",o="",s=""]=r,u=o==="w"?i.width:i.height,l=te(s,this.context);if(l===null)return this.isNull=!0,!0;let[f,p]=l;return p!=="px"&&(this.isNull=!0),(a==="min"?u>=f:u<=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 bu(e){let t=[],n=null;return e.forEach(r=>{if(typeof r=="string")t=[...t,...eo(r)];else if(Array.isArray(r))t=[...t,...r.flatMap(eo)];else if(typeof r=="object"&&r!==null)for(let[i,a]of Object.entries(r))typeof a=="boolean"?t=[...t,...a?eo(i):[]]:n?n[i]=a:n={[i]:a}}),[t.filter(Boolean).filter(t0),n]}function eo(e){return e.trim().split(/\s+/)}function t0(e,t,n){return n.indexOf(e)===t}c();function yu(e){var t;return(t=e==null?void 0:e.reduce((n,r)=>({...n,...r0(r.handler)}),{}))!==null&&t!==void 0?t:{}}function r0(e){let t={};return e({addUtilities:n=>{t=n},...n0}),t}function Oe(e){throw new Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var n0={addComponents:Oe,addBase:Oe,addVariant:Oe,e:Oe,prefix:Oe,theme:Oe,variants:Oe,config:Oe,corePlugins:Oe,matchUtilities:Oe,postcss:null};function wu(e,t){let n=(0,xu.default)(i0(e)),r={},i=yu(n.plugins),a={},o=Object.entries(i).map(([d,h])=>typeof h=="string"?(a[d]=h,[d,{kind:"null"}]):[d,v(h)]).filter(([,d])=>d.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 u=s(),l={};function f(){let d=l[u];if(d)return d;let h=new Xt(o);return l[u]=h,h}function p(...d){let h=f(),x={},b=[],w=[],[T,P]=bu(d),C=T.join(" "),F=h.getStyle(C);if(F)return{...F,...P||{}};for(let R of T){let D=h.getIr(R);if(!D&&R in a){let B=p(a[R]);h.setIr(R,v(B)),x={...x,...B};continue}switch(D=new ut(R,n,h,r,t).parse(),D.kind){case"complete":x={...x,...D.style},h.setIr(R,D);break;case"dependent":b.push(D);break;case"ordered":w.push(D);break;case"null":h.setIr(R,D);break}}if(w.length>0){w.sort((R,D)=>R.order-D.order);for(let R of w)switch(R.styleIr.kind){case"complete":x={...x,...R.styleIr.style};break;case"dependent":b.push(R.styleIr);break}}if(b.length>0){for(let R of b){let D=R.complete(x);D&&fe(D)}su(x)}return C!==""&&h.setStyle(C,x),P&&(x={...x,...P}),x}function g(d){let h=p(d.split(/\s+/g).map(x=>x.replace(/^(bg|text|border)-/,"")).map(x=>`bg-${x}`).join(" "));return typeof h.backgroundColor=="string"?h.backgroundColor:void 0}let m=(d,...h)=>{let x="";return d.forEach((b,w)=>{var T;x+=b+((T=h[w])!==null&&T!==void 0?T:"")}),p(x)};return m.style=p,m.color=g,m.prefixMatch=(...d)=>{let h=d.sort().join(":"),x=f(),b=x.getPrefixMatch(h);if(b!==void 0)return b;let P=new ut(`${h}:flex`,n,x,r,t).parse().kind!=="null";return x.setPrefixMatch(h,P),P},m.setWindowDimensions=d=>{r.windowDimensions=d,u=s()},m.setFontScale=d=>{r.fontScale=d,u=s()},m.setPixelDensity=d=>{r.pixelDensity=d,u=s()},m.setColorScheme=d=>{r.colorScheme=d,u=s()},m}function i0(e){return{...e,content:["_no_warnings_please"]}}var a0={plugins:[{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 s0(){return wu(a0,"web")}var Mr;function to({width:e,height:t}){return Mr||(Mr=s0()),Mr.setWindowDimensions({width:+e,height:+t}),Mr}var ro=new WeakMap;async function no(e,t){let n=Ae();if(!n)throw new Error("Satori is not initialized.");let r;ro.has(t.fonts)?r=ro.get(t.fonts):ro.set(t.fonts,r=new vt(t.fonts));let i=n.Node.create();i.setWidth(t.width),i.setHeight(t.height),i.setFlexDirection(n.FLEX_DIRECTION_ROW),i.setFlexWrap(n.WRAP_WRAP),i.setAlignContent(n.ALIGN_AUTO),i.setAlignItems(n.ALIGN_FLEX_START),i.setJustifyContent(n.JUSTIFY_FLEX_START),i.setOverflow(n.OVERFLOW_HIDDEN);let a={...t.graphemeImages},o=gt(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:1.2,color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:t.width,_viewportHeight:t.height},parent:i,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:a,canLoadAdditionalAssets:!!t.loadAdditionalAsset,getTwStyles:(l,f)=>{let g={...to({width:t.width,height:t.height})([l])};return typeof g.lineHeight=="number"&&(g.lineHeight=g.lineHeight/(+g.fontSize||f.fontSize||16)),g.shadowColor&&g.boxShadow&&(g.boxShadow=g.boxShadow.replace(/rgba?\([^)]+\)/,g.shadowColor)),g}}),s=(await o.next()).value;if(t.loadAdditionalAsset&&s.length){s=Array.from(new Set(je(s.join(""),"grapheme")));let l={};s.forEach(g=>{let m=Bo(g);l[m]=l[m]||[],m==="emoji"?l[m].push(g):l[m][0]=(l[m][0]||"")+g});let f=[],p={};await Promise.all(Object.entries(l).flatMap(([g,m])=>m.map(d=>t.loadAdditionalAsset(g,d).then(h=>{typeof h=="string"?p[d]=h:h&&f.push(h)})))),r.addFonts(f),Object.assign(a,p)}await o.next(),i.calculateLayout(t.width,t.height,n.DIRECTION_LTR);let u=(await o.next([0,0])).value;return i.freeRecursive(),hn({width:t.width,height:t.height,content:u})}0&&(module.exports={init});
10
+ //# sourceMappingURL=index.wasm.cjs.map
@@ -0,0 +1 @@
1
+ /*! https://mths.be/cssesc v3.0.0 by @mathias */