PageSourceSearch

https://www.starlight.org/_next/static/chunks/2fb1244b-45287ba2eb799b31.js

js starlight.org collected 2026-09-24 18:19:40 UTC 187,415 bytes, 7 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4724],{52890:(e,t,r)=>{r.d(t,{A:()=>r2});var n,i,o,a,s=r(88189),l=r(42202),u=r(97668),c=r(11006),f=r(5795),d=r(70695),h=r(10821),p=r(59813),g=r(93440),m=r(37811),v=Object.create,b=Object.defineProperty,y=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,x=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,S=(e,t)=>()=>(e&&(t=e(e=0)),t),_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var r in t)b(e,r,{get:t[r],enumerable:!0})},E=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of w(t))k.call(e,i)||i===r||b(e,i,{get:()=>t[i],enumerable:!(n=y(t,i))||n.enumerable});return e},O=e=>E(b({},"__esModule",{value:!0}),e),P={};async function I(){let{default:e}=await r.e(4600).then(r.bind(r,54600));return e()}T(P,{getYogaModule:()=>I});var A=S(()=>{}),M=_(e=>{function t(e){return"0"==(e=`${e}`)?"0":/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e)?e.replace(/^[+-]?/,e=>"-"===e?"":"-"):e.includes("var(")||e.includes("calc(")?`calc(${e} * -1)`:void 0}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t})}),C=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t});var t=["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"]}),L=_(e=>{function t(e,t){return void 0===e?t:Array.isArray(e)?e:[...new Set(t.filter(t=>!1!==e&&!1!==e[t]).concat(Object.keys(e).filter(t=>!1!==e[t])))]}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t})}),R=_((e,t)=>{t.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"
vendor: 9,311 bytes, line 1
1:"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})=>
1({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:[]}}),$={};T($,{default:()=>j});var j,D=S(()=>{j={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])}}}),N=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n});var t=function(e){return e&&e.__esModule?e:{default:e}}((D(),O($)));function r({version:e,from:r,to:n}){t.default.warn(`${r}-color-renamed`,[`As of Tailwind CSS ${e}, \`${r}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var n={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 r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}),F=_(e=>{function t(e,...r){for(let t of r){var n,i;for(let r in t)null!=e&&null!=(n=e.hasOwnProperty)&&n.call(e,r)||(e[r]=t[r]);for(let r of Object.getOwnPropertySymbols(t))null!=e&&null!=(i=e.hasOwnProperty)&&i.call(e,r)||(e[r]=t[r])}return e}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"defaults",{enumerable:!0,get:()=>t})}),W=_(e=>{function t(e){if(Array.isArray(e))return e;if(e.split("[").length-1!=e.split("]").length-1)throw Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"toPath",{enumerable:!0,get:()=>t})}),B=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeConfig",{enumerable:!0,get:()=>n});var t=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}((D(),O($)));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function n(e){var r,n,i,o,a,s,l;let u,c;for(let f of(((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&("object"!=typeof e.content||null===e.content))return!1;if(Array.isArray(e.content))return e.content.every(e=>"string"==typeof e||!("string"!=typeof(null==e?void 0:e.raw)||null!=e&&e.extension&&"string"!=typeof(null==e?void 0:e.extension)));if("object"==typeof e.content&&null!==e.content){if(Object.keys(e.content).some(e=>!["files","extract","transform"].includes(e)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(e=>"string"==typeof e||!("string"!=typeof(null==e?void 0:e.raw)||null!=e&&e.extension&&"string"!=typeof(null==e?void 0:e.extension))))return!1;if("object"==typeof e.content.extract){for(let t of Object.values(e.content.extract))if("function"!=typeof t)return!1}else if(void 0!==e.content.extract&&"function"!=typeof e.content.extract)return!1;if("object"==typeof e.content.transform){for(let t of Object.values(e.content.transform))if("function"!=typeof t)return!1}else if(void 0!==e.content.transform&&"function"!=typeof e.content.transform)return!1}return!0}return!1})()||t.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 t;let{content:r,purge:n,safelist:i}=e;return Array.isArray(i)?i:Array.isArray(null==r?void 0:r.safelist)?r.safelist:Array.isArray(null==n?void 0:n.safelist)?n.safelist:Array.isArray(null==n||null==(t=n.options)?void 0:t.safelist)?n.options.safelist:[]})(),"function"==typeof e.prefix)?(t.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=""):e.prefix=null!=(r=e.prefix)?r:"",e.content={files:(()=>{let{content:t,purge:r}=e;return Array.isArray(r)?r:Array.isArray(null==r?void 0:r.content)?r.content:Array.isArray(t)?t:Array.isArray(null==t?void 0:t.content)?t.content:Array.isArray(null==t?void 0:t.files)?t.files:[]})(),extract:(()=>{var t,r,n,i,o,a,s,l,u,c,f,d,h,p;let g=null!=(t=e.purge)&&t.extract?e.purge.extract:null!=(r=e.content)&&r.extract?e.content.extract:null!=(n=e.purge)&&null!=(i=n.extract)&&i.DEFAULT?e.purge.extract.DEFAULT:null!=(o=e.content)&&null!=(a=o.extract)&&a.DEFAULT?e.content.extract.DEFAULT:null!=(s=e.purge)&&null!=(l=s.options)&&l.extractors?e.purge.options.extractors:null!=(u=e.content)&&null!=(c=u.options)&&c.extractors?e.content.options.extractors:{},m={},v=null!=(f=e.purge)&&null!=(d=f.options)&&d.defaultExtractor?e.purge.options.defaultExtractor:null!=(h=e.content)&&null!=(p=h.options)&&p.defaultExtractor?e.content.options.defaultExtractor:void 0;if(void 0!==v&&(m.DEFAULT=v),"function"==typeof g)m.DEFAULT=g;else if(Array.isArray(g))for(let{extensions:e,extractor:t}of g??[])for(let r of e)m[r]=t;else"object"==typeof g&&null!==g&&Object.assign(m,g);return m})(),transform:(u=null!=(n=e.purge)&&n.transform?e.purge.transform:null!=(i=e.content)&&i.transform?e.content.transform:null!=(o=e.purge)&&null!=(a=o.transform)&&a.DEFAULT?e.purge.transform.DEFAULT:null!=(s=e.content)&&null!=(l=s.transform)&&l.DEFAULT?e.content.transform.DEFAULT:{},c={},"function"==typeof u&&(c.DEFAULT=u),"object"==typeof u&&null!==u&&Object.assign(c,u),c)},e.content.files))if("string"==typeof f&&/{([^,]*?)}/g.test(f)){t.default.warn("invalid-glob-braces",[`The glob pattern ${(0,t.dim)(f)}
1 in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,t.dim)(f.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}}),z=_(e=>{function t(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t})}),U=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:()=>function e(t){return Array.isArray(t)?t.map(t=>e(t)):"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t).map(([t,r])=>[t,e(r)])):t}})}),G=_((e,t)=>{e.__esModule=!0,e.default=function(e){if(!r.test(e))return e;for(var t="",n=0;n<e.length;n++){if("\\"===e[n]){var i=function(e){for(var t=e.toLowerCase(),r="",n=!1,i=0;i<6&&void 0!==t[i];i++){var o=t.charCodeAt(i),a=o>=97&&o<=102||o>=48&&o<=57;if(n=32===o,!a)break;r+=t[i]}if(0!==r.length){var s=parseInt(r,16);return s>=55296&&s<=57343||0===s||s>1114111?["�",r.length+ +!!n]:[String.fromCodePoint(s),r.length+ +!!n]}}(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n]);continue}t+=e[n]}return t};var r=/\\/;t.exports=e.default}),q=_((e,t)=>{e.__esModule=!0,e.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},t.exports=e.default}),H=_((e,t)=>{e.__esModule=!0,e.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},t.exports=e.default}),Y=_((e,t)=>{e.__esModule=!0,e.default=function(e){for(var t="",r=e.indexOf("/*"),n=0;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+e.slice(n)},t.exports=e.default}),V=_(e=>{function t(e){return e&&e.__esModule?e:{default:e}}e.__esModule=!0,e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0,e.unesc=t(G()).default,e.getProp=t(q()).default,e.ensureObject=t(H()).default,e.stripComments=t(Y()).default}),X=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=V(),n=function e(t,r){if("object"!=typeof t||null===t)return t;var n=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var o=t[i],a=typeof o;"parent"===i&&"object"===a?r&&(n[i]=r):o instanceof Array?n[i]=o.map(function(t){return e(t,n)}):n[i]=e(o,n)}return n};e.default=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,i=e.prototype;return i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},i.next=function(){return this.parent.at(this.parent.index(this)+1)},i.prev=function(){return this.parent.at(this.parent.index(this)-1)},i.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},i.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var n=this[e],i=this.raws[e];this[e]=n+t,i||r!==t?this.raws[e]=(i||n)+r:delete this.raws[e]},i.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},i.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},i.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},i.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},i.valueToString=function(){return String(this.stringifyProperty("value"))},i.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),t.exports=e.default}),Q=_(e=>
1{e.__esModule=!0,e.UNIVERSAL=e.ATTRIBUTE=e.CLASS=e.COMBINATOR=e.COMMENT=e.ID=e.NESTING=e.PSEUDO=e.ROOT=e.SELECTOR=e.STRING=e.TAG=void 0,e.TAG="tag",e.STRING="string",e.SELECTOR="selector",e.ROOT="root",e.PSEUDO="pseudo",e.NESTING="nesting",e.ID="id",e.COMMENT="comment",e.COMBINATOR="combinator",e.CLASS="class",e.ATTRIBUTE="attribute",e.UNIVERSAL="universal"}),J=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(Q());function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r,i=t.prototype;return i.append=function(e){return e.parent=this,this.nodes.push(e),this},i.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},i.at=function(e){return this.nodes[e]},i.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},i.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},i.removeAll=function(){for(var e,t=function(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(r=e[Symbol.iterator]()).next.bind(r)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},i.empty=function(){return this.removeAll()},i.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},i.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},i._findChildAtPosition=function(e,t){var r=void 0;return this.each(function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1}),r},i.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},i._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))},i.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t,r,n=this.lastEach;if(this.indexes[n]=0,this.length){for(;this.indexes[n]<this.length&&(t=this.indexes[n],!1!==(r=e(this.at(t),t)));)this.indexes[n]+=1;if(delete this.indexes[n],!1===r)return!1}},i.walk=function(e){return this.each(function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1})},i.walkAttributes=function(e){var t=this;return this.walk(function(r){if(r.type===n.ATTRIBUTE)return e.call(t,r)})},i.walkClasses=function(e){var t=this;return this.walk(function(r){if(r.type===n.CLASS)return e.call(t,r)})},i.walkCombinators=function(e){var t=this;return this.walk(function(r){if(r.type===n.COMBINATOR)return e.call(t,r)})},i.walkComments=function(e){var t=this;return this.walk(function(r){if(r.type===n.COMMENT)return e.call(t,r)})},i.walkIds=function(e){var t=this;return this.walk(function(r){if(r.type===n.ID)return e.call(t,r)})},i.walkNesting=function(e){var t=this;return this.walk(function(r){if(r.type===n.NESTING)return e.call(t,r)})},i.walkPseudos=function(e){var t=this;return this.walk(function(r){if(r.type===n.PSEUDO)return e.call(t,r)})},i.walkTags=function(e){var t=this;return this.walk(function(r){if(r.type===n.TAG)return e.call(t,r)})},i.walkUniversals=function(e){var t=this;return this.walk(function(r){if(r.type===n.UNIVERSAL)return e.call(t,r)})},i.split=function(e){var t=this,r=[];return this.reduce(function(n,i,o){var a=e.call(t,i);return r.push(i),a?(n.push(r),r=[]):o===t.length-1&&n.push(r),n},[])},i.map=function(e){return this.nodes.map(e)},i.reduce=function(e,t){return this.nodes.reduce(e,t)},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.filter=function(e){return this.nodes.filter(e)},i.sort=function(e){return this.nodes.sort(e)},i.toString=function(){return this.map(String).join("")},r=[{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}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(r.default),t.exports=e.default}),K=_((e,t)=>
2{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(J()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.ROOT,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e);var r,o=t.prototype;return o.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(",");return this.trailingComma?e+",":e},o.error=function(e,t){return this._error?this._error(e,t):Error(e)},r=[{key:"errorGenerator",set:function(e){this._error=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),t}(r.default),t.exports=e.default}),Z=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(J()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.SELECTOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),ee=_((e,t)=>{var r={}.hasOwnProperty,n=function(e,t){if(!e)return t;var n={};for(var i in t)n[i]=r.call(e,i)?e[i]:t[i];return n},i=/[ -,\.\/:-@\[-\^`\{-~]/,o=/[ -,\.\/:-@\[\]\^`\{-~]/,a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(t,r){"single"!=(r=n(r,e.options)).quotes&&"double"!=r.quotes&&(r.quotes="single");for(var s="double"==r.quotes?'"':"'",l=r.isIdentifier,u=t.charAt(0),c="",f=0,d=t.length;f<d;){var h=t.charAt(f++),p=h.charCodeAt(),g=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&f<d){var m=t.charCodeAt(f++);(64512&m)==56320?p=((1023&p)<<10)+(1023&m)+65536:f--}g="\\"+p.toString(16).toUpperCase()+" "}else g=r.escapeEverything?i.test(h)?"\\"+h:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(h)?"\\"+p.toString(16).toUpperCase()+" ":"\\"==h||!l&&('"'==h&&s==h||"'"==h&&s==h)||l&&o.test(h)?"\\"+h:h;c+=g}return l&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(u)&&(c="\\3"+u+" "+c.slice(1))),c=c.replace(a,function(e,t,r){return t&&t.length%2?e:(t||"")+r}),!l&&r.wrap?s+c+s:c};s.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},s.version="3.0.0",t.exports=s}),et=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=a(ee()),n=V(),i=a(X()),o=Q();function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){var t;function i(t){var r;return(r=e.call(this,t)||this).type=o.CLASS,r._constructed=!0,r}return i.prototype=Object.create(e.prototype),i.prototype.constructor=i,s(i,e),i.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},t=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,n.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,t),i}(i.default),t.exports=e.default}),er=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.COMMENT,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),en=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.ID,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(r.default),t.exports=e.default}),ei=_((e,t)=>
2{e.__esModule=!0,e.default=void 0;var r=o(ee()),n=V(),i=o(X());function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var i,o=t.prototype;return o.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},o.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},i=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,n.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(!this.namespace)return"";var e=this.stringifyProperty("namespace");return!0===e?"":e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,i),t}(i.default),t.exports=e.default}),eo=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(ei()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.TAG,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),ea=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.STRING,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),es=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(J()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.PSEUDO,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},t}(r.default),t.exports=e.default}),el=_((e,t)=>{t.exports=function(e,t){return function(...r){return console.warn(t),e(...r)}}}),eu=_(e=>{e.__esModule=!0,e.unescapeValue=h,e.default=void 0;var t,r=a(ee()),n=a(G()),i=a(ei()),o=Q();function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=el(),u=/^('|")([^]*)\1$/,c=l(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),f=l(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=l(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function h(e){var t=!1,r=null,i=e,o=i.match(u);return o&&(r=o[1],i=o[2]),(i=(0,n.default)(i))!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:r}}var p=function(e){function t(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark||void 0===e.value)return e;d();var t=h(e.value),r=t.quoteMark,n=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=n,e.quoteMark=r,e}(t))||this).type=o.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:l(function(){return r.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:l(function(){return r.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,s(t,e);var n,i=t.prototype;return i.getQuotedValue=function(e){void 0===e&&(e={});var t=g[this._determineQuoteMark(e)];return(0,r.default)(this._value,t)},i._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},i.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},i.smartQuoteMark=function(e){var n=this.value,i=n.replace(/[^']/g,"").length,o=n.replace(/[^"]/g,"").length;if(i+o!==0)return o===i?this.preferredQuoteMark(e):o<i?t.DOUBLE_QUOTE:t.SINGLE_QUOTE;var a=(0,r.default)(n,{isIdentifier:!0});if(a===n)return t.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===t.NO_QUOTE){var l=this.quoteMark||e.quoteMark||t.DOUBLE_QUOTE,u=g[l];if((0,r.default)(n,u).length<a.length)return l}return s},i.preferredQuoteMark=function(e){var r=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===r&&(r=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===r&&(r=t.DOUBLE_QUOTE),r},i._syncRawValue=function(){var e=(0,r.default)(this._value,g[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},i._handleEscapes=function(e,t){if(this._constructed){var n=(0,r.default)(t,{isIdentifier:!0});n!==t?this.raws[e]=n:delete this.raws[e]}}
2,i._spacesFor=function(e){return Object.assign({before:"",after:""},this.spaces[e]||{},this.raws.spaces&&this.raws.spaces[e]||{})},i._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=m);var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)},i.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e||(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e))return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=n.after.length;var o=this._spacesFor("value");t+=o.before.length;var a=this.stringifyProperty("value");return"value"===e?a?t:-1:(t+=a.length,t+=o.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},i.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),m(t,r)}))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},n=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){f()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,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(e){if(this._constructed){var t=h(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;r&&c(),(n!==this._value||i!==this._quoteMark)&&(this._value=n,this._quoteMark=i,this._syncRawValue())}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,n),t}(i.default);e.default=p,p.NO_QUOTE=null,p.SINGLE_QUOTE="'",p.DOUBLE_QUOTE='"';var g=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}})[null]={isIdentifier:!0},t);function m(e,t){return""+t.before+e+t.after}}),ec=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(ei()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),ef=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),ed=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(X()),n=Q();function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(r.default),t.exports=e.default}),eh=_((e,t)=>{e.__esModule=!0,e.default=function(e){return e.sort(function(e,t){return e-t})},t.exports=e.default}),ep=_(e=>{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,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32,e.singleQuote=39,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.
2newline=10,e.tab=9,e.str=39,e.comment=-1,e.word=-2,e.combinator=-3}),eg=_(e=>{e.__esModule=!0,e.default=function(e){var t,r,n,o,u,c,f,d,h,p,g,m,v=[],b=e.css.valueOf(),y=b.length,w=-1,x=1,k=0,S=0;function _(t,r){if(e.safe)b+=r,d=b.length-1;else throw e.error("Unclosed "+t,x,k-w,k)}for(;k<y;){switch((t=b.charCodeAt(k))===i.newline&&(w=k,x+=1),t){case i.space:case i.tab:case i.newline:case i.cr:case i.feed:d=k;do d+=1,(t=b.charCodeAt(d))===i.newline&&(w=d,x+=1);while(t===i.space||t===i.newline||t===i.tab||t===i.cr||t===i.feed);m=i.space,n=x,r=d-w-1,S=d;break;case i.plus:case i.greaterThan:case i.tilde:case i.pipe:d=k;do d+=1,t=b.charCodeAt(d);while(t===i.plus||t===i.greaterThan||t===i.tilde||t===i.pipe);m=i.combinator,n=x,r=k-w,S=d;break;case i.asterisk:case i.ampersand:case i.bang:case i.comma:case i.equals:case i.dollar:case i.caret:case i.openSquare:case i.closeSquare:case i.colon:case i.semicolon:case i.openParenthesis:case i.closeParenthesis:d=k,m=t,n=x,r=k-w,S=d+1;break;case i.singleQuote:case i.doubleQuote:g=t===i.singleQuote?"'":'"',d=k;do for(o=!1,-1===(d=b.indexOf(g,d+1))&&_("quote",g),u=d;b.charCodeAt(u-1)===i.backslash;)u-=1,o=!o;while(o);m=i.str,n=x,r=k-w,S=d+1;break;default:t===i.slash&&b.charCodeAt(k+1)===i.asterisk?(0===(d=b.indexOf("*/",k+2)+1)&&_("comment","*/"),(c=(f=b.slice(k,d+1).split(`
3`)).length-1)>0?(h=x+c,p=d-f[c].length):(h=x,p=w),m=i.comment,x=h,n=h,r=d-p):t===i.slash?(d=k,m=t,n=x,r=k-w,S=d+1):(d=function(e,t){var r,n=t;do{if(s[r=e.charCodeAt(n)])break;r===i.backslash?n=function(e,t){var r=t,n=e.charCodeAt(r+1);if(!a[n])if(l[n]){var o=0;do r++,o++,n=e.charCodeAt(r+1);while(l[n]&&o<6);o<6&&n===i.space&&r++}else r++;return r}(e,n)+1:n++}while(n<e.length);return n-1}(b,k),m=i.word,n=x,r=d-w),S=d+1}v.push([m,x,k-w,n,r,k,S]),p&&(w=p,p=null),k=S}return v},e.FIELDS=void 0;var t,r,n,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(ep());function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var a=((r={})[i.tab]=!0,r[i.newline]=!0,r[i.cr]=!0,r[i.feed]=!0,r),s=((n={})[i.space]=!0,n[i.tab]=!0,n[i.newline]=!0,n[i.cr]=!0,n[i.feed]=!0,n[i.ampersand]=!0,n[i.asterisk]=!0,n[i.bang]=!0,n[i.comma]=!0,n[i.colon]=!0,n[i.semicolon]=!0,n[i.openParenthesis]=!0,n[i.closeParenthesis]=!0,n[i.openSquare]=!0,n[i.closeSquare]=!0,n[i.singleQuote]=!0,n[i.doubleQuote]=!0,n[i.plus]=!0,n[i.pipe]=!0,n[i.tilde]=!0,n[i.greaterThan]=!0,n[i.equals]=!0,n[i.dollar]=!0,n[i.caret]=!0,n[i.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(t=0;t<u.length;t++)l[u.charCodeAt(t)]=!0;e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}}),em=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r,n,i=S(K()),o=S(Z()),a=S(et()),s=S(er()),l=S(en()),u=S(eo()),c=S(ea()),f=S(es()),d=k(eu()),h=S(ec()),p=S(ef()),g=S(ed()),m=S(eh()),v=k(eg()),b=k(ep()),y=k(Q()),w=V();function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}var _=((r={})[b.space]=!0,r[b.cr]=!0,r[b.feed]=!0,r[b.newline]=!0,r[b.tab]=!0,r),T=Object.assign({},_,((n={})[b.comment]=!0,n));function E(e){return{line:e[v.FIELDS.START_LINE],column:e[v.FIELDS.START_COL]}}function O(e){return{line:e[v.FIELDS.END_LINE],column:e[v.FIELDS.END_COL]}}function P(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function I(e){return P(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],e[v.FIELDS.END_LINE],e[v.FIELDS.END_COL])}function A(e,t){if(e)return P(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],t[v.FIELDS.END_LINE],t[v.FIELDS.END_COL])}function M(e,t){var r=e[t];if("string"==typeof r)return -1!==r.indexOf("\\")&&((0,w.ensureObject)(e,"raws"),e[t]=(0,w.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function C(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}e.default=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1}
vendor: 4,885 bytes, line 3
3,t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=A(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new i.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new o.default({source:{start:{line:1,column:1}}});this.root.append(n),this.current=n,this.loop()}var t,r=e.prototype;return r._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?Error(t):e.rule.error(t,r)}},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var r=e.length,n={source:P(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[v.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][v.FIELDS.TYPE]))return this.expected("attribute",e[0][v.FIELDS.START_POS]);for(var i=0,o="",a="",s=null,l=!1;i<r;){var u=e[i],c=this.content(u),f=e[i+1];switch(u[v.FIELDS.TYPE]){case b.space:if(l=!0,this.options.lossy)break;if(s){(0,w.ensureObject)(n,"spaces",s);var h=n.spaces[s].after||"";n.spaces[s].after=h+c;var p=(0,w.getProp)(n,"raws","spaces",s,"after")||null;p&&(n.raws.spaces[s].after=p+c)}else o+=c,a+=c;break;case b.asterisk:f[v.FIELDS.TYPE]===b.equals?(n.operator=c,s="operator"):n.namespace&&("namespace"!==s||l)||!f||(o&&((0,w.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=o,o=""),a&&((0,w.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=o,a=""),n.namespace=(n.namespace||"")+c,((0,w.getProp)(n,"raws","namespace")||0)&&(n.raws.namespace+=c),s="namespace"),l=!1;break;case b.dollar:if("value"===s){var g=(0,w.getProp)(n,"raws","value");n.value+="$",g&&(n.raws.value=g+"$");break}case b.caret:f[v.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),l=!1;break;case b.combinator:if("~"===c&&f[v.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),"|"!==c){l=!1;break}f[v.FIELDS.TYPE]===b.equals?(n.operator=c,s="operator"):n.namespace||n.attribute||(n.namespace=!0),l=!1;break;case b.word:if(f&&"|"===this.content(f)&&e[i+2]&&e[i+2][v.FIELDS.TYPE]!==b.equals&&!n.operator&&!n.namespace)n.namespace=c,s="namespace";else if(n.attribute&&("attribute"!==s||l))if((n.value||""===n.value)&&("value"!==s||l)){var m="i"===c||"I"===c;(n.value||""===n.value)&&(n.quoteMark||l)?(n.insensitive=m,m&&"I"!==c||((0,w.ensureObject)(n,"raws"),n.raws.insensitiveFlag=c),s="insensitive",o&&((0,w.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=o,o=""),a&&((0,w.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=a,a="")):(n.value||""===n.value)&&(s="value",n.value+=c,n.raws.value&&(n.raws.value+=c))}else{var y=(0,w.unesc)(c),x=(0,w.getProp)(n,"raws","value")||"",k=n.value||"";n.value=k+y,n.quoteMark=null,(y!==c||x)&&((0,w.ensureObject)(n,"raws"),n.raws.value=(x||k)+c),s="value"}else o&&((0,w.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=o,o=""),a&&((0,w.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,a=""),n.attribute=(n.attribute||"")+c,((0,w.getProp)(n,"raws","attribute")||0)&&(n.raws.attribute+=c),s="attribute";l=!1;break;case b.str:if(!n.attribute||!n.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[v.FIELDS.START_POS]});var S=(0,d.unescapeValue)(c),_=S.unescaped,T=S.quoteMark;n.value=_,n.quoteMark=T,s="value",(0,w.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case b.equals:if(!n.attribute)return this.expected("attribute",u[v.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[v.FIELDS.START_POS]});n.operator=n.operator?n.operator+c:c,s="operator",l=!1;break;case b.comment:if(s)if(l||f&&f[v.FIELDS.TYPE]===b.space||"insensitive"===s){var E=(0,w.getProp)(n,"spaces",s,"after")||"",O=(0,w.getProp)(n,"raws","spaces",s,"after")||E;(0,w.ensureObject)(n,"raws","spaces",s),n.raws.spaces[s].after=O+c}else{var I=n[s]||"",A=(0,w.getProp)(n,"raws",s)||I;(0,w.ensureObject)(n,"raws"),n.raws[s]=A+c}else a+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[v.FIELDS.START_POS]})}i++}M(n,"attribute"),M(n,"namespace"),this.newNode(new d.default(n)),this.position++},r.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do if(_[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[v.FIELDS.TYPE]===b.comment){var o={};n&&(o.before=n,n=""),i=new s.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],space
3s:o}),r.push(i)}while(++this.position<e);if(n){if(i)i.spaces.after=n;else if(!this.options.lossy){var a=this.tokens[t],l=this.tokens[this.position-1];r.push(new c.default({value:"",source:P(a[v.FIELDS.START_LINE],a[v.FIELDS.START_COL],l[v.FIELDS.END_LINE],l[v.FIELDS.END_COL]),sourceIndex:a[v.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r},r.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t),a=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&0===o.length),i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===a.length)}),i===n&&(i=void 0),{space:n,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][v.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][v.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][v.FIELDS.TYPE]===b.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,w.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var n=new p.default({value:"/"+t+"/",source:P(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},r.combinator=function(){var e,t=this;if("|"===this.content())return this.namespace();var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][v.FIELDS.TYPE]===b.comma){var n=this.parseWhitespaceEquivalentTokens(r);if(n.length>0){var i=this.current.last;if(i){var o=this.convertWhitespaceNodesToSpace(n),a=o.space,s=o.rawSpace;void 0!==s&&(i.rawSpaceAfter+=s),i.spaces.after+=a}else n.forEach(function(e){return t.newNode(e)})}return}var l=this.currToken,u=void 0;if(r>this.position&&(u=this.parseWhitespaceEquivalentTokens(r)),this.isNamedCombinator()?e=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===b.combinator?(e=new p.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):_[this.currToken[v.FIELDS.TYPE]]||u||this.unexpected(),e){if(u){var c=this.convertWhitespaceNodesToSpace(u),f=c.space,d=c.rawSpace;e.spaces.before=f,e.rawSpaceBefore=d}}else{var h=this.convertWhitespaceNodesToSpace(u,!0),g=h.space,m=h.rawSpace;m||(m=g);var y={},w={spaces:{}};g.endsWith(" ")&&m.endsWith(" ")?(y.before=g.slice(0,g.length-1),w.spaces.before=m.slice(0,m.length-1)):g.startsWith(" ")&&m.startsWith(" ")?(y.after=g.slice(1),w.spaces.after=m.slice(1)):w.value=m,e=new p.default({value:" ",source:A(l,this.tokens[this.position-1]),sourceIndex:l[v.FIELDS.START_POS],space
vendor: 6,706 bytes, line 3
3s:y,raws:w})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===b.space&&(e.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(e)},r.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new o.default({source:{start:E(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new s.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[v.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[v.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new g.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===y.PSEUDO){var r=new o.default({source:{start:E(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[v.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=O(this.currToken),this.current.parent.source.end=O(this.currToken),this.position++);this.current=n}else{for(var i,a=this.currToken,s="(";this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[v.FIELDS.TYPE]===b.closeParenthesis&&t--,i=this.currToken,s+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",s,s):this.newNode(new c.default({value:s,source:P(a[v.FIELDS.START_LINE],a[v.FIELDS.START_COL],i[v.FIELDS.END_LINE],i[v.FIELDS.END_COL]),sourceIndex:a[v.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},r.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[v.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS]):void this.splitWord(!1,function(n,i){t+=n,e.newNode(new f.default({value:t,source:A(r,e.currToken),sourceIndex:r[v.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[v.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[v.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[v.FIELDS.TYPE]===b.comma||this.prevToken[v.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(e){return"comment"===e.type})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===b.comma||this.nextToken[v.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new c.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new h.default({value:this.content(),source:I(r),sourceIndex:r[v.FIELDS.START_POS]}),e),this.position++},r.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[b.dollar,b.caret,b.equals,b.word].indexOf(n[v.FIELDS.TYPE]);){this.position++;var o=this.content();if(i+=o,o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;s&&s[v.FIELDS.TYPE]===b.space&&(i+=this.requiredSpace(this.content(s)),this.position++)}n=this.nextToken}var c=C(i,".").filter(function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r}),f=C(i,"#").filter(function(e){return"\\"!==i[e-1]}),d=C(i,"#{");d.length&&(f=f.filter(function(e){return!~d.indexOf(e)}));var h=(0,m.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,r){return r===e.indexOf(t)})}([0].concat(c,f)));h.forEach(function(n,o){var s=h[o+1]||i.length,d=i.slice(n,s);if(0===o&&t)return t.call(r,d,h.length);var p,g=r.currToken,m=g[v.FIELDS.START_POS]+h[o],b=P(g[1],g[2]+n,g[3],g[2]+(s-1));if(~c.indexOf(n)){var y={value:d.slice(1),source:b,sourceIndex:m};p=new a.default(M(y,"value"))}else if(~f.indexOf(n)){var w={value:d.slice(1),source:b,sourceIndex:m};p=new l.default(M(w,"value"))}else{var x={value:d,source:b,sourceIndex:m};M(x,"value"),p=new u.default(x)}r.newNode(p,e),e=null}),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(e){switch(this.currToken[v.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},r.expected=function(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},r.requiredSpace=function(e){return this.options.lossy?" ":e}
3,r.optionalSpace=function(e){return this.options.lossy?"":e},r.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},r.parseParenthesisToken=function(e){var t=this.content(e);return e[v.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},r.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,M(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[v.FIELDS.START_POS],e[v.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(!T[this.tokens[t][v.FIELDS.TYPE]])return t;else{t++;continue}return -1},t=[{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]}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),t.exports=e.default}),ev=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(em());e.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new r.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(e.selector=i=o.toString()),{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(e.selector=i=r.toString()),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}(),t.exports=e.default}),eb=_(e=>{e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=h(eu()),r=h(et()),n=h(ef()),i=h(er()),o=h(en()),a=h(ed()),s=h(es()),l=h(K()),u=h(Z()),c=h(ea()),f=h(eo()),d=h(ec());function h(e){return e&&e.__esModule?e:{default:e}}e.attribute=function(e){return new t.default(e)},e.className=function(e){return new r.default(e)},e.combinator=function(e){return new n.default(e)},e.comment=function(e){return new i.default(e)},e.id=function(e){return new o.default(e)},e.nesting=function(e){return new a.default(e)},e.pseudo=function(e){return new s.default(e)},e.root=function(e){return new l.default(e)},e.selector=function(e){return new u.default(e)},e.string=function(e){return new c.default(e)},e.tag=function(e){return new f.default(e)},e.universal=function(e){return new d.default(e)}}),ey=_(e=>{e.__esModule=!0,e.isNode=i,e.isPseudoElement=u,e.isPseudoClass=function(e){return s(e)&&!u(e)},e.isContainer=function(e){return!!(i(e)&&e.walk)},e.isNamespace=function(e){return a(e)||l(e)},e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0;var t,r=Q(),n=((t={})[r.ATTRIBUTE]=!0,t[r.CLASS]=!0,t[r.COMBINATOR]=!0,t[r.COMMENT]=!0,t[r.ID]=!0,t[r.NESTING]=!0,t[r.PSEUDO]=!0,t[r.ROOT]=!0,t[r.SELECTOR]=!0,t[r.STRING]=!0,t[r.TAG]=!0,t[r.UNIVERSAL]=!0,t);function i(e){return"object"==typeof e&&n[e.type]}function o(e,t){return i(t)&&t.type===e}var a=o.bind(null,r.ATTRIBUTE);e.isAttribute=a,e.isClassName=o.bind(null,r.CLASS),e.isCombinator=o.bind(null,r.COMBINATOR),e.isComment=o.bind(null,r.COMMENT),e.isIdentifier=o.bind(null,r.ID),e.isNesting=o.bind(null,r.NESTING);var s=o.bind(null,r.PSEUDO);e.isPseudo=s,e.isRoot=o.bind(null,r.ROOT),e.isSelector=o.bind(null,r.SELECTOR),e.isString=o.bind(null,r.STRING);var l=o.bind(null,r.TAG);function u(e){return s(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}e.isTag=l,e.isUniversal=o.bind(null,r.UNIVERSAL)}),ew=_(e=>
3{e.__esModule=!0;var t=Q();Object.keys(t).forEach(function(r){"default"===r||"__esModule"===r||r in e&&e[r]===t[r]||(e[r]=t[r])});var r=eb();Object.keys(r).forEach(function(t){"default"===t||"__esModule"===t||t in e&&e[t]===r[t]||(e[t]=r[t])});var n=ey();Object.keys(n).forEach(function(t){"default"===t||"__esModule"===t||t in e&&e[t]===n[t]||(e[t]=n[t])})}),ex=_((e,t)=>{e.__esModule=!0,e.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(ev()),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(ew());function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=function(e){return new r.default(e)};Object.assign(o,n),delete o.__esModule,e.default=o,t.exports=e.default}),ek=_(e=>{function t(e){return e.replace(/\\,/g,"\\2c ")}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t})}),eS=_((e,t)=>{t.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
3],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]}}),e_=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{parseColor:()=>c,formatColor:()=>f});var t=function(e){return e&&e.__esModule?e:{default:e}}(eS()),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,n=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,i=/(?:\d+|\d*\.\d+)%?/,o=/(?:\s*,\s*|\s+)/,a=/\s*[,/]\s*/,s=/var\(--(?:[^ )]*?)\)/,l=RegExp(`^(rgb)a?\\(\\s*(${i.source}|${s.source})(?:${o.source}(${i.source}|${s.source}))?(?:${o.source}(${i.source}|${s.source}))?(?:${a.source}(${i.source}|${s.source}))?\\s*\\)$`),u=RegExp(`^(hsl)a?\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${s.source})(?:${o.source}(${i.source}|${s.source}))?(?:${o.source}(${i.source}|${s.source}))?(?:${a.source}(${i.source}|${s.source}))?\\s*\\)$`);function c(e,{loose:i=!1}={}){var o,a,s;if("string"!=typeof e)return null;if("transparent"===(e=e.trim()))return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in t.default)return{mode:"rgb",color:t.default[e].map(e=>e.toString())};let f=e.replace(n,(e,t,r,n,i)=>["#",t,t,r,r,n,n,i?i+i:""].join("")).match(r);if(null!==f)return{mode:"rgb",color:[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)].map(e=>e.toString()),alpha:f[4]?(parseInt(f[4],16)/255).toString():void 0};let d=null!=(s=e.match(l))?s:e.match(u);if(null===d)return null;let h=[d[2],d[3],d[4]].filter(Boolean).map(e=>e.toString());return(i||3===h.length)&&(!(h.length<3)||h.some(e=>/^var\(.*?\)$/.test(e)))?{mode:d[1],color:h,alpha:null==(o=d[5])||null==(a=o.toString)?void 0:a.call(o)}:null}function f({mode:e,color:t,alpha:r}){return`${e}(${t.join(" ")}${void 0!==r?` / ${r}`:""})`}}),eT=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{withAlphaValue:()=>r,default:()=>n});var t=e_();function r(e,r,n){if("function"==typeof e)return e({opacityValue:r});let i=(0,t.parseColor)(e,{loose:!0});return null===i?n:(0,t.formatColor)({...i,alpha:r})}function n({color:e,property:r,variable:n}){let i=[].concat(r);if("function"==typeof e)return{[n]:"1",...Object.fromEntries(i.map(t=>[t,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let o=(0,t.parseColor)(e);return null===o?Object.fromEntries(i.map(t=>[t,e])):void 0!==o.alpha?Object.fromEntries(i.map(t=>[t,e])):{[n]:"1",...Object.fromEntries(i.map(e=>[e,(0,t.formatColor)({...o,alpha:`var(${n})`})]))}}}),eE=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{pattern:()=>i,withoutCapturing:()=>o,any:()=>a,optional:()=>s,zeroOrMore:()=>l,nestedBrackets:()=>function e(t,r,n=1){return o([u(t),/[^\s]*/,1===n?`[^${u(t)}${u(r)}s]*`:a([`[^${u(t)}${u(r)}s]*`,e(t,r,n-1)]),/[^\s]*/,u(r)])},escape:()=>u});var t=/[\\^$.*+?()[\]{}|]/g,r=RegExp(t.source);function n(e){return(e=(e=Array.isArray(e)?e:[e]).map(e=>e instanceof RegExp?e.source:e)).join("")}function i(e){return RegExp(n(e),"g")}function o(e){return RegExp(`(?:${n(e)})`,"g")}function a(e){return`(?:${e.map(n).join("|")})`}function s(e){return`(?:${n(e)})?`}function l(e){return`(?:${n(e)})*`}function u(e){return e&&r.test(e)?e.replace(t,"\\$&"):e||""}}),eO=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"splitAtTopLevelOnly",{enumerable:!0,get:()=>n});var t=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(eE());function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function*n(e,r){let n=RegExp(`[(){}\\[\\]${t.escape(r)}]`,"g"),i=0,o=0,a=!1,s=0,l=0,u=r.length;for(let t of e.matchAll(n)){let n=t[0]===r[s],c=s===u-1,f=n&&c;
3"("===t[0]&&i++,")"===t[0]&&i--,"["===t[0]&&i++,"]"===t[0]&&i--,"{"===t[0]&&i++,"}"===t[0]&&i--,n&&0===i&&(0===l&&(l=t.index),s++),f&&0===i&&(a=!0,yield e.substring(o,l),o=l+u),s===u&&(s=0,l=0)}a?yield e.substring(o):yield e}}),eP=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{parseBoxShadowValue:()=>o,formatBoxShadowValue:()=>a});var t=eO(),r=new Set(["inset","inherit","initial","revert","unset"]),n=/\ +(?![^(]*\))/g,i=/^-?(\d+|\.\d+)(.*?)$/g;function o(e){return Array.from((0,t.splitAtTopLevelOnly)(e,",")).map(e=>{let t=e.trim(),o={raw:t},a=t.split(n),s=new Set;for(let e of a)i.lastIndex=0,!s.has("KEYWORD")&&r.has(e)?(o.keyword=e,s.add("KEYWORD")):i.test(e)?s.has("X")?s.has("Y")?s.has("BLUR")?s.has("SPREAD")||(o.spread=e,s.add("SPREAD")):(o.blur=e,s.add("BLUR")):(o.y=e,s.add("Y")):(o.x=e,s.add("X")):o.color?(o.unknown||(o.unknown=[]),o.unknown.push(e)):o.color=e;return o.valid=void 0!==o.x&&void 0!==o.y,o})}function a(e){return e.map(e=>
3e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")}}),eI=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{normalize:()=>a,url:()=>s,number:()=>l,percentage:()=>u,length:()=>f,lineWidth:()=>h,shadow:()=>p,color:()=>g,image:()=>m,gradient:()=>b,position:()=>w,familyName:()=>x,genericName:()=>S,absoluteSize:()=>T,relativeSize:()=>O});var t=e_(),r=eP(),n=["min","max","clamp","calc"],i=/,(?![^(]*\))/g,o=/_(?![^(]*\))/g;function a(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(e=>/^url\(.*?\)$/.test(e)?e:a(e,!1)).join(""):(e=e.replace(/([^\\])_+/g,(e,t)=>t+" ".repeat(e.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e=e.replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")))}function s(e){return e.startsWith("url(")}function l(e){return!isNaN(Number(e))||n.some(t=>RegExp(`^${t}\\(.+?`).test(e))}function u(e){return e.split(o).every(e=>/%$/g.test(e)||n.some(t=>RegExp(`^${t}\\(.+?%`).test(e)))}var c="(?:cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax)";function f(e){return e.split(o).every(e=>"0"===e||RegExp(`${c}$`).test(e)||n.some(t=>RegExp(`^${t}\\(.+?${c}`).test(e)))}var d=new Set(["thin","medium","thick"]);function h(e){return d.has(e)}function p(e){for(let t of(0,r.parseBoxShadowValue)(a(e)))if(!t.valid)return!1;return!0}function g(e){let r=0;return!!e.split(o).every(e=>!!(e=a(e)).startsWith("var(")||null!==(0,t.parseColor)(e,{loose:!0})&&(r++,!0))&&r>0}function m(e){let t=0;return!!e.split(i).every(e=>!!(e=a(e)).startsWith("var(")||!!(s(e)||b(e)||["element(","image(","cross-fade(","image-set("].some(t=>e.startsWith(t)))&&(t++,!0))&&t>0}var v=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function b(e){for(let t of(e=a(e),v))if(e.startsWith(`${t}(`))return!0;return!1}var y=new Set(["center","top","right","bottom","left"]);function w(e){let t=0;return!!e.split(o).every(e=>!!(e=a(e)).startsWith("var(")||!!(y.has(e)||f(e)||u(e))&&(t++,!0))&&t>0}function x(e){let t=0;return!!e.split(i).every(e=>!!(e=a(e)).startsWith("var(")||!(e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e)||/^\d/g.test(e))&&(t++,!0))&&t>0}var k=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function S(e){return k.has(e)}var _=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function T(e){return _.has(e)}var E=new Set(["larger","smaller"]);function O(e){return E.has(e)}}),eA=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{updateAllClasses:()=>s,asValue:()=>u,parseColorFormat:()=>f,asColor:()=>d,asLookupValue:()=>h,coerceValue:()=>v});var t=a(ex()),r=a(ek()),n=eT(),i=eI(),o=a(M());function a(e){return e&&e.__esModule?e:{default:e}}function s(e,n){return(0,t.default)(e=>{e.walkClasses(e=>{let t=n(e.value);e.value=t,e.raws&&e.raws.value&&(e.raws.value=(0,r.default)(e.raws.value))})}).processSync(e)}function l(e,t){if(!c(e))return;let r=e.slice(1,-1);if(t(r))return(0,i.normalize)(r)}function u(e,t={},{validate:r=()=>!0}={}){var n;let i=null==(n=t.values)?void 0:n[e];return void 0!==i?i:t.supportsNegativeValues&&e.startsWith("-")?function(e,t={},r){let n=t[e];if(void 0!==n)return(0,o.default)(n);if(c(e)){let t=l(e,r);return void 0===t?void 0:(0,o.default)(t)}}(e.slice(1),t.values,r):l(e,r)}function c(e){return e.startsWith("[")&&e.endsWith("]")}function f(e){return"string"==typeof e&&e.includes("<alpha-value>")?({opacityValue:t=1})=>e.replace("<alpha-value>",t):e}function d(e,t={},{tailwindConfig:r={}}={}){var o,a,s,l,h,p;let g;if((null==(o=t.values)?void 0:o[e])!==void 0)return f(null==(a=t.values)?void 0:a[e]);let[m,v]=-1===(g=e.lastIndexOf("/"))||g===e.length-1?[e]:[e.slice(0,g),e.slice(g+1)];if(void 0!==v){let e=null!=(p=null==(s=t.values)?void 0:s[m])?p:c(m)?m.slice(1,-1):void 0;return void 0===e?void 0:(e=f(e),c(v)?(0,n.withAlphaValue)(e,v.slice(1,-1)):(null==(l=r.theme)||null==(h=l.opacity)?void 0:h[v])===void 0?void 0:(0,n.withAlphaValue)(e,r.theme.opacity[v]))}return u(e,t,{validate:i.color})}function h(e,t={}){var r;return null==(r=t.values)?void 0:r[e]}function p(e){return(t,r)=>u(t,r,{validate:e})}var g={any:u,color:d,url:p(i.url),image:p(i.image),length:p(i.length),percentage:p(i.percentage),position:p(i.position),lookup:h,"generic-name":p(i.genericName),"family-name":p(i.familyName),number:p(i.number),"line-width":p(i.lineWidth),"absolute-size":p(i.absoluteSize),"relative-size":p(i.relativeSize),shadow:p(i.shadow)},m=Object.keys(g);function v(e,t,r,n){if(c(t)){let e,n=t.slice(1,-1),[i,o]=-1===(e=n.indexOf(":"))?[void 0,n]:[n.slice(0,e),n.slice(e+1)];
3if(/^[\w-_]+$/g.test(i)){if(void 0!==i&&!m.includes(i))return[]}else o=n;if(o.length>0&&m.includes(i))return[u(`[${o}]`,r),i]}for(let i of[].concat(e)){let e=g[i](t,r,{tailwindConfig:n});if(void 0!==e)return[e,i]}return[]}}),eM=_(e=>{function t(e){return"function"==typeof e?e({}):e}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>t})}),eC=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>w});var t=p(M()),r=p(C()),n=p(L()),i=p(R()),o=p(N()),a=F(),s=W(),l=B(),u=p(z()),c=U(),f=eA(),d=eT(),h=p(eM());function p(e){return e&&e.__esModule?e:{default:e}}function g(e){return"function"==typeof e}function m(e){return"object"==typeof e&&null!==e}function v(e,...t){let r=t.pop();for(let n of t)for(let t in n){let i=r(e[t],n[t]);void 0===i?m(e[t])&&m(n[t])?e[t]=v(e[t],n[t],r):e[t]=n[t]:e[t]=i}return e}var b={colors:o.default,negative:e=>Object.keys(e).filter(t=>"0"!==e[t]).reduce((r,n)=>{let i=(0,t.default)(e[n]);return void 0!==i&&(r[`-${n}`]=i),r},{}),breakpoints:e=>Object.keys(e).filter(t=>"string"==typeof e[t]).reduce((t,r)=>({...t,[`screen-${r}`]:e[r]}),{})};function y(e,t){return Array.isArray(e)&&m(e[0])?e.concat(t):Array.isArray(t)&&m(t[0])&&m(e)?[e,...t]:Array.isArray(t)?t:void 0}function w(e){var t,o,p,m;let w,x=[...function e(t){let r=[];return t.forEach(t=>{var n;r=[...r,t];let i=null!=(n=null==t?void 0:t.plugins)?n:[];0!==i.length&&i.forEach(t=>{var n;t.__isOptionsFunction&&(t=t()),r=[...r,...e([null!=(n=null==t?void 0:t.config)?n:{}])]})}),r}(e),{prefix:"",important:!1,separator:":",variantOrder:i.default.variantOrder}];return(0,l.normalizeConfig)((0,a.defaults)({theme:(p=function({extend:e,...t}){return v(t,e,(e,t)=>g(e)||t.some(g)?(r,n)=>v({},...[e,...t].map(e=>(function(e,...t){return g(e)?e(...t):e})(e,r,n)),y):v({},e,...t,y))}({...(m=x.map(e=>null!=(t=null==e?void 0:e.theme)?t:{})).reduce((e,t)=>(0,a.defaults)(e,t),{}),extend:m.reduce((e,{extend:t})=>v(e,t,(e,t)=>void 0===e?[t]:Array.isArray(e)?[t,...e]:[t,e]),{})}),Object.assign(w=(e,t)=>{for(let t of function*(e){let t=(0,s.toPath)(e);if(0===t.length||(yield t,Array.isArray(e)))return;let r=e.match(/^(.*?)\s*\/\s*([^/]+)$/);if(null!==r){let[,e,t]=r,n=(0,s.toPath)(e);n.alpha=t,yield n}}(e)){let e=0,r=p;for(;null!=r&&e<t.length;)r=g(r=r[t[e++]])&&(void 0===t.alpha||e<=t.length-1)?r(w,b):r;if(void 0!==r){if(void 0!==t.alpha){let e=(0,f.parseColorFormat)(r);return(0,d.withAlphaValue)(e,t.alpha,(0,h.default)(e))}return(0,u.default)(r)?(0,c.cloneDeep)(r):r}}return t},{theme:w,...b}),Object.keys(p).reduce((e,t)=>(e[t]=g(p[t])?p[t](w,b):p[t],e),{})),corePlugins:[...x.map(e=>e.corePlugins)].reduceRight((e,t)=>g(t)?t({corePlugins:e}):(0,n.default)(t,e),r.default),plugins:[...e.map(e=>null!=(o=null==e?void 0:e.plugins)?o:[])].reduceRight((e,t)=>[...e,...t],[])},...x))}}),eL={};T(eL,{default:()=>eR});var eR,e$=S(()=>{eR={yellow:e=>e}}),ej=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(e,{flagEnabled:()=>a,issueFlagNotices:()=>l,default:()=>u});var t=n((e$(),O(eL))),r=n((D(),O($)));function n(e){return e&&e.__esModule?e:{default:e}}var i={optimizeUniversalDefaults:!1},o={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function a(e,t){var r,n,a,s,l,u;return o.future.includes(t)?"all"===e.future||null!=(a=null!=(n=null==e||null==(r=e.future)?void 0:r[t])?n:i[t])&&a:!!o.experimental.includes(t)&&("all"===e.experimental||null!=(u=null!=(l=null==e||null==(s=e.experimental)?void 0:s[t])?l:i[t])&&u)}function s(e){var t;return"all"===e.experimental?o.experimental:Object.keys(null!=(t=null==e?void 0:e.experimental)?t:{}).filter(t=>o.experimental.includes(t)&&e.experimental[t])}function l(e){if(void 0===m.env.JEST_WORKER_ID&&s(e).length>0){let n=s(e).map(e=>t.default.yellow(e)).join(", ");r.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${n}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var u=o}),eD=_(e=>
3{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>function e(n){var i;let o=(null!=(i=null==n?void 0:n.presets)?i:[t.default]).slice().reverse().flatMap(t=>e("function"==typeof t?t():t)),a={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},s=Object.keys(a).filter(e=>(0,r.flagEnabled)(n,e)).map(e=>a[e]);return[n,...s,...o]}});var t=function(e){return e&&e.__esModule?e:{default:e}}(R()),r=ej()}),eN=_(e=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>i});var t=n(eC()),r=n(eD());function n(e){return e&&e.__esModule?e:{default:e}}function i(...e){let[,...n]=(0,r.default)(e[0]);return(0,t.default)([...e,...n])}}),eF=_((e,t)=>{var r=eN();t.exports=(r.__esModule?r:{default:r}).default}),eW=null;async function eB(){return te||(eW?await eW:(eW=Promise.resolve().then(()=>(A(),P)).then(e=>e.getYogaModule()).then(e=>te=e),await eW,eW=null),te)}var ez=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),eU=ez((e,t)=>
3{t.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),eG=ez((e,t)=>{t.exports=["deg","grad","rad","turn"]}),eq=ez((e,t)=>{t.exports=["dpi","dpcm","dppx"]}),eH=ez((e,t)=>{t.exports=["Hz","kHz"]}),eY=ez((e,t)=>{t.exports=["s","ms"]}),eV=eU(),eX=eG(),eQ=eq(),eJ=eH(),eK=eY();function eZ(e){if(/\.\D?$/.test(e))throw Error("The dot should be followed by a number");if(/^[+-]{2}/.test(e))throw Error("Only one leading +/- is allowed");if(((t=e.match(/\./g))?t.length:0)>1)throw Error("Only one dot is allowed");if(/%$/.test(e)){this.type="percentage",this.value=e1(e),this.unit="%";return}var t,r=function(e){var t=e.match(/\D+$/),r=t&&t[0];if(r&&-1===e2.indexOf(r))throw Error("Invalid unit: "+r);return r}(e);if(!r){this.type="number",this.value=e1(e);return}this.type=e5[r]||"length",this.value=e1(e.substr(0,e.length-r.length)),this.unit=r}function e0(e){return new eZ(e)}function e1(e){var t=parseFloat(e);if(isNaN(t))throw Error("Invalid number: "+e);return t}eZ.prototype.valueOf=function(){return this.value},eZ.prototype.toString=function(){return this.value+(this.unit||"")};var e2=[].concat(eX,eJ,eV,eQ,eK),e5=Object.assign(e3(eX,"angle"),e3(eJ,"frequency"),e3(eQ,"resolution"),e3(eK,"time"));function e3(e,t){return Object.fromEntries(e.map(e=>[e,t]))}function e6(e){let t=typeof e;return"number"!==t&&"bigint"!==t&&"string"!==t&&"boolean"!==t}function e4(e,t,r,n,i=!1){if("number"==typeof e)return e;try{if(e=e.trim(),/[ /\(,]/.test(e))return;if(e===String(+e))return+e;let o=new e0(e);if("length"===o.type)switch(o.unit){case"em":return o.value*t;case"rem":return 16*o.value;case"vw":return~~(o.value*n._viewportWidth/100);case"vh":return~~(o.value*n._viewportHeight/100);default:return o.value}if("angle"===o.type)return e8(e);if("percentage"===o.type&&i)return o.value/100*r}catch{}}function e8(e){let t=new e0(e);switch(t.unit){case"deg":return t.value;case"rad":return 180*t.value/Math.PI;case"turn":return 360*t.value;case"grad":return .9*t.value}}function e7(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 e9(e,t,r,n){let i=t[e];if(typeof i>"u"){if(n&&"u">typeof e)throw Error(`Invalid value for CSS property "${n}". Allowed values: ${Object.keys(t).map(e=>`"${e}"`).join(" | ")}. Received: "${e}".`);i=r}return i}var te,tt,tr,tn=[32,160,4961,65792,65793,4153,4241,10].map(e=>String.fromCodePoint(e));function ti(e,t,r){if(!tt||!tr){if(!("u">typeof Intl&&"Segmenter"in Intl))throw Error("Intl.Segmenter does not exist, please use import a polyfill.");tt=new Intl.Segmenter(r,{granularity:"word"}),tr=new Intl.Segmenter(r,{granularity:"grapheme"})}if("grapheme"===t)return[...tr.segment(e)].map(e=>e.segment);{let t=[...tt.segment(e)].map(e=>e.segment),r=[],n=0;for(;n<t.length;){let e=t[n];if("\xa0"==e){let e=0===n?"":r.pop(),i=n===t.length-1?"":t[n+1];r.push(e+"\xa0"+i),n+=2}else r.push(e),n++}return r}}function to(e,t,r){let n="";for(let[e,r]of Object.entries(t))"u">typeof r&&(n+=` ${e}="${r}"`);return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}/>`}function ta(e){return e?e.split(/[, ]/).filter(Boolean).map(Number):null}function ts(e){return"string"==typeof e}var tl=e=>e.replaceAll(/([A-Z])/g,(e,t)=>`-${t.toLowerCase()}`);function tu(e,t=","){let r=[],n=0,i=0;t=new RegExp(t);for(let o=0;o<e.length;o++)"("===e[o]?i++:")"===e[o]&&i--,0===i&&t.test(e[o])&&(r.push(e.slice(n,o).trim()),n=o+1);return r.push(e.slice(n).trim()),r}var tc="image/apng",tf="image/png",td="image/jpeg",th="image/gif",tp="image/svg+xml";function tg(e){let t=new DataView(e),r=4,n=t.byteLength;for(;r<n;){let e=t.getUint16(r,!1);if(e>n)break;let i=t.getUint8(e+1+r);if(192===i||193===i||194===i)return[t.getUint16(e+7+r,!1),t.getUint16(e+5+r,!1)];r+=e+2}throw TypeError("Invalid JPEG")}function tm(e){let t=new Uint8Array(e.slice(6,10));return[t[0]|t[1]<<8,t[2]|t[3]<<8]}function tv(e){let t=new DataView(e);return[t.getUint16(18,!1),t.getUint16(22,!1)]}var tb=function(e=20){let t=new Map;return{set:function(r,n){if(t.size>=e){let e=t.keys().next().value;t.delete(e)}t.set(r,n)},get:function(e){if(!t.has(e))return;let r=t.get(e);return t.delete(e),t.set(e,r),r},clear:function(){t.clear()}}}(100),ty=new Map,tw=[tf,tc,td,th,tp];function tx(e,t){let r=t.match(/<svg[^>]*>/)[0],n=r.match(/viewBox=['"](.+)['"]/),i=n?ta(n[1]):null,o=r.match(/width=['"](\d*\.\d+|\d+)['"]/),a=r.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!i&&(!o||!a))throw Error(`Failed to parse SVG from ${e}: missing "viewBox"`);let s=i?[i[2],i[3]]:[+o[1],+a[1]],l=s[0]/s[1];return o&&a?[+o[1],+a[1]]:o?[+o[1],o[1]/l]:a?[a[1]*l,+a[1]]:[s[0],s[1]]}function tk(e){var t;let r,n=(t=new Uint8Array(e),[255,216,255].every((e,r)=>t[r]===e)?td:[137,80,78,71,13,10,26,10].every((e,r)=>t[r]===e)?!function(e){let t=new DataView(e.buffer),r,n,i=8,o=!1;for(;!o&&"IEND"!==r&&i<e.length;)n=t.getUint32(i),o="acTL"===(r=String.fromCharCode(...e.subarray(i+4,i+8))),i+=12+n;return o}(t)?tf:tc:[71,73,70,56].every((e,r)=>t[r]===e)?th:[82,73,70,70,0,0,0,0,87,69,66,80].every((e,r)=>
3!e||t[r]===e)?"image/webp":[60,63,120,109,108].every((e,r)=>t[r]===e)?tp:[0,0,0,0,102,116,121,112,97,118,105,102].every((e,r)=>!e||t[r]===e)?"image/avif":null);switch(n){case tf:case tc:r=tv(e);break;case th:r=tm(e);break;case td:r=tg(e)}if(!tw.includes(n))throw Error(`Unsupported image type: ${n||"unknown"}`);return[`data:${n};base64,${function(e){let t="",r=new Uint8Array(e);for(let e=0;e<r.byteLength;e++)t+=String.fromCharCode(r[e]);return btoa(t)}(e)}`,r]}async function tS(e){if(!e)throw Error("Image source is not provided.");if("object"==typeof e){let[t,r]=tk(e);return[t,...r]}if((e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),typeof window>"u"&&!e.startsWith("http")&&!e.startsWith("data:"))throw Error(`Image source must be an absolute URL: ${e}`);if(e.startsWith("data:")){let t;try{t=/data:(?<imageType>[a-z/+]+)(;[^;=]+=[^;=]+)*?(;(?<encodingType>[^;,]+))?,(?<dataString>.*)/g.exec(e).groups}catch{return console.warn("Image data URI resolved without size:"+e),[e]}let{imageType:r,encodingType:n,dataString:i}=t;if(r===tp){let t="base64"===n?atob(i):decodeURIComponent(i.replace(/ /g,"%20")),r="base64"===n?e:`data:image/svg+xml;base64,${btoa(t)}`,o=tx(e,t);return tb.set(e,[r,...o]),[r,...o]}if("base64"!==n)return console.warn("Image data URI resolved without size:"+e),tb.set(e,[e]),[e];{let t,n=function(e){let t=atob(e),r=t.length,n=new Uint8Array(r);for(let e=0;e<r;e++)n[e]=t.charCodeAt(e);return n.buffer}(i);switch(r){case tf:case tc:t=tv(n);break;case th:t=tm(n);break;case td:t=tg(n)}return tb.set(e,[e,...t]),[e,...t]}}if(!globalThis.fetch)throw Error("`fetch` is required to be polyfilled to load images.");if(ty.has(e))return ty.get(e);let t=tb.get(e);if(t)return t;let r=e,n=fetch(r).then(e=>{let t=e.headers.get("content-type");return"image/svg+xml"===t||"application/svg+xml"===t?e.text():e.arrayBuffer()}).then(e=>{if("string"==typeof e)try{let t=`data:image/svg+xml;base64,${btoa(e)}`,n=tx(r,e);return[t,...n]}catch(e){throw Error(`Failed to parse SVG image: ${e.message}`)}let[t,n]=tk(e);return[t,...n]}).then(e=>(tb.set(r,e),e)).catch(e=>(console.error(`Can't load image ${r}: `+e.message),tb.set(r,[]),[]));return ty.set(r,n),n}var t_={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",href:"href",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-
3adv-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"},tT=/[\r\n%#()<>?[\\\]^`{|}"']/g;async function tE(e){let t=new Set,r=e=>{if(e&&e6(e)){if(Array.isArray(e))return void e.forEach(e=>r(e));"object"==typeof e&&("image"===e.type?t.has(e.props.href)||t.add(e.props.href):"img"===e.type&&(t.has(e.props.src)||t.add(e.props.src))),Array.isArray(e.props.children)?e.props.children.map(e=>r(e)):r(e.props.children)}};return r(e),Promise.all(Array.from(t).map(e=>tS(e)))}async function tO(e,t){let{viewBox:r,viewbox:n,width:i,height:o,className:a,style:s,children:l,...u}=e.props||{};r||=n,u.xmlns="http://www.w3.org/2000/svg";let c=(null==s?void 0:s.color)||t,f=ta(r),d=f?f[3]/f[2]:null;return i=i||d&&o?o/d:null,o=o||d&&i?i*d:null,u.width=i,u.height=o,r&&(u.viewBox=r),`data:image/svg+xml;utf8,${`<svg ${Object.entries(u).map(([e,t])=>("string"==typeof t&&"currentcolor"===t.toLowerCase()&&(t=c),` ${t_[e]||e}="${t}"`)).join("")}>${(function e(t,r){if(!t)return"";if(Array.isArray(t))return t.map(t=>e(t,r)).join("");if("object"!=typeof t)return String(t);let n=t.type;if("text"===n)throw Error("<text> nodes are not currently supported, please convert them to <path>");let{children:i,style:o,...a}=t.props||{},s=(null==o?void 0:o.color)||r,l=`${Object.entries(a).map(([e,t])=>("string"==typeof t&&"currentcolor"===t.toLowerCase()&&(t=s),"href"===e&&"image"===n?` ${t_[e]||e}="${tb.get(t)[0]}"`:` ${t_[e]||e}="${t}"`)).join("")}`,u=o?` style="${Object.entries(o).map(([e,t])=>`${tl(e)}:${t}`).join(";")}"`:"";return`<${n}${l}${u}>${e(i,s)}</${n}>`})(l,c)}</svg>`.replace(tT,encodeURIComponent)}`}var tP="flex",tI={p:{display:tP,marginTop:"1em",marginBottom:"1em"},div:{display:tP},blockquote:{display:tP,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:tP,textAlign:"center"},hr:{display:tP,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:tP,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:tP,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:tP,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:tP,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:tP,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:tP,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:tP,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}},tA=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","WebkitTextStrokeWidth","WebkitTextStrokeColor","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","tabSize","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function tM(e,t,r){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 n=function(e,t){try{let r=new e0(e);switch(r.unit){case"px":return{absolute:r.value};case"em":return{absolute:r.value*t};case"rem":return{absolute:16*r.value};case"%":return{relative:r.value};default:return{}}}catch{return{}}}(e,t);return n.absolute?{[r?"xAbsolute":"yAbsolute"]:n.absolute}:n.relative?{[r?"xRelative":"yRelative"]:n.relative}:{}}}}function tC(e,t){let r=(0,l.hm)(`mask-${t}`);return e[r]||e[`WebkitM${r.substring(1)}`]}var tL=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","o
3pacity","scale","scaleX","scaleY"]),tR=new Set(["lineHeight"]);function t$(e,t){let r=Number(t);return isNaN(r)?t:tL.has(e)?tR.has(e)?r:String(t):r+"px"}function tj(e){return"transform"===e?" Only absolute lengths such as `10px` are supported.":""}var tD=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function tN(e,t){var r,n,i;let o,a,s={};if(e){let o=(n=e.color,i=t.color,n&&"currentcolor"!==n.toLowerCase()?tF(n):tF(i));for(let t in s.color=o,e){if(t.startsWith("_")){s[t]=e[t];continue}if("color"===t)continue;let n=(0,l.hm)(t),i=function(e,t){return ts(e)&&(e=e.replace(/currentcolor/gi,t)),e}(e[t],o);try{let e=function(e,t,r){if("lineHeight"===e)return{lineHeight:t$(e,t)};if("fontFamily"===e)return{fontFamily:t.split(",").map(e=>e.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if("borderRadius"===e){if("string"!=typeof t||!t.includes("/"))return;let[r,n]=t.split("/"),i=(0,l.Xf)(e,r,!0),o=(0,l.Xf)(e,n,!0);for(let t in i)o[t]=t$(e,i[t])+" "+t$(e,o[t]);return o}if(/^border(Top|Right|Bottom|Left)?$/.test(e)){let n=(0,l.Xf)("border",t,!0);1!==n.borderWidth||String(t).includes("1px")||(n.borderWidth=3),"black"!==n.borderColor||String(t).includes("black")||(n.borderColor=r);let i={Width:t$(e+"Width",n.borderWidth),Style:e9(n.borderStyle,{solid:"solid",dashed:"dashed"},"solid",e+"Style"),Color:n.borderColor},o={};for(let t of"border"===e?["Top","Right","Bottom","Left"]:[e.slice(6)])for(let e in i)o["border"+t+e]=i[e];return o}if("boxShadow"===e){if(!t)throw Error('Invalid `boxShadow` value: "'+t+'".');return{[e]:"string"==typeof t?(0,c.parse)(t):t}}if("transform"===e){if("string"!=typeof t)throw Error("Invalid `transform` value.");let e={},r=t.replace(/(-?[\d.]+%)/g,(t,r)=>{let n=~~(1e9*Math.random());return e[n]=r,n+"px"}),n=(0,l.Xf)("transform",r,!0);for(let t of n.transform)for(let r in t)e[t[r]]&&(t[r]=e[t[r]]);return n}if("background"===e)return t=t.toString().trim(),/^(linear-gradient|radial-gradient|url|repeating-linear-gradient)\(/.test(t)?(0,l.Xf)("backgroundImage",t,!0):(0,l.Xf)("background",t,!0);if("textShadow"===e){t=t.toString().trim();let e={};for(let r of tu(t)){let t=(0,l.Xf)("textShadow",r,!0);for(let r in t)e[r]?e[r].push(t[r]):e[r]=[t[r]]}return e}if("WebkitTextStroke"===e){let r=(t=t.toString().trim()).split(" ");if(2!==r.length)throw Error("Invalid `WebkitTextStroke` value.");return{WebkitTextStrokeWidth:t$(e,r[0]),WebkitTextStrokeColor:t$(e,r[1])}}}(n,i,o)||(r=(0,l.Xf)(n,t$(n,i),!0),"textDecoration"!==n||i.includes(r.textDecorationColor)||(r.textDecorationColor=o),r);Object.assign(s,e)}catch(e){throw Error(e.message+(e.message.includes(i)?`
4  `+tj(n):`
5  in CSS rule \`${n}: ${i}\`.${tj(n)}`))}}}if(s.backgroundImage){let{backgrounds:e}=(0,u.parseElementStyle)(s);s.backgroundImage=e}(s.maskImage||s.WebkitMaskImage)&&(o=s.maskImage||s.WebkitMaskImage,a={position:tC(s,"position")||"0% 0%",size:tC(s,"size")||"100% 100%",repeat:tC(s,"repeat")||"repeat",origin:tC(s,"origin")||"border-box",clip:tC(s,"origin")||"border-box"},s.maskImage=tu(o).filter(e=>e&&"none"!==e).reverse().map(e=>({image:e,...a})));let f=function(e,t){if("number"==typeof e)return e;try{let r=new e0(e);switch(r.unit){case"em":return r.value*t;case"rem":return 16*r.value}}catch{return t}}(s.fontSize,t.fontSize);for(let e in"u">typeof s.fontSize&&(s.fontSize=f),s.transformOrigin&&(s.transformOrigin=function(e,t){let r;if("number"==typeof e)return{xAbsolute:e};try{r=d(e).nodes.filter(e=>"word"===e.type).map(e=>e.value)}catch{return{}}return 1===r.length?tM(r[0],t,!0):2===r.length?(("top"===r[0]||"bottom"===r[0]||"left"===r[1]||"right"===r[1])&&r.reverse(),{...tM(r[0],t,!0),...tM(r[1],t,!1)}):{}}(s.transformOrigin,f)),s){let r=s[e];if("lineHeight"===e)"string"==typeof r&&"normal"!==r&&(r=s[e]=e4(r,f,f,t,!0)/f);else{if("string"==typeof r){let n=e4(r,f,f,t);"u">typeof n&&(s[e]=n),r=s[e]}if("string"==typeof r||"object"==typeof r){let t=function e(t){if("string"==typeof t&&tD.test(t.trim()))return t.trim().replace(tD,(e,t,r,n,i)=>`rgba(${t}, ${r}, ${n}, ${i})`);if("object"==typeof t&&null!==t)for(let r in t)t[r]=e(t[r]);return t}(r);t&&(s[e]=t),r=s[e]}}if("opacity"===e&&"number"==typeof r&&(s.opacity=r*t.opacity),"transform"===e)for(let e of r){let r=Object.keys(e)[0],n=e[r],i="string"==typeof n?e4(n,f,f,t)??n:n;e[r]=i}"textShadowRadius"===e&&(s.textShadowRadius=r.map(e=>e4(e,f,0,t,!1))),"textShadowOffset"===e&&(s.textShadowOffset=r.map(({height:e,width:r})=>({height:e4(e,f,0,t,!1),width:e4(r,f,0,t,!1)})))}return s}function tF(e){if(e.startsWith("hsl")){let t=f(e),[r,n,i]=t.values;return`hsl(${[r,`${n}%`,`${i}%`].concat(1===t.alpha?[]:[t.alpha]).join(",")})`}return e}async function tW(e,t,r,n,i){let o=await eB(),a={...r,...tN(tI[t],r),...tN(n,r)};
5if("img"===t){let[t,r,n]=await tS(i.src);if(void 0===r&&void 0===n){if(void 0===i.width||void 0===i.height)throw Error("Image size cannot be determined. Please provide the width and height of the image.");r=parseInt(i.width),n=parseInt(i.height)}let o=n/r,s=(a.borderLeftWidth||0)+(a.borderRightWidth||0)+(a.paddingLeft||0)+(a.paddingRight||0),l=(a.borderTopWidth||0)+(a.borderBottomWidth||0)+(a.paddingTop||0)+(a.paddingBottom||0),u=a.width||i.width,c=a.height||i.height,f="number"==typeof u&&"number"==typeof c;f&&(u-=s,c-=l),void 0===u&&void 0===c?(u="100%",e.setAspectRatio(1/o)):void 0===u?"number"==typeof c?u=c/o:e.setAspectRatio(1/o):void 0===c&&("number"==typeof u?c=u*o:e.setAspectRatio(1/o)),a.width=f?u+s:u,a.height=f?c+l:c,a.__src=t}if("svg"===t){let e=ta(i.viewBox||i.viewbox),t=e?e[3]/e[2]:null,{width:n,height:o}=i;typeof n>"u"&&o?n=null==t?0:"string"==typeof o&&o.endsWith("%")?parseInt(o)/t+"%":(o=e4(o,r.fontSize,1,r))/t:typeof o>"u"&&n?null==t?n=0:o="string"==typeof n&&n.endsWith("%")?parseInt(n)*t+"%":(n=e4(n,r.fontSize,1,r))*t:("u">typeof n&&(n=e4(n,r.fontSize,1,r)||n),"u">typeof o&&(o=e4(o,r.fontSize,1,r)||o),n||=null==e?void 0:e[2],o||=null==e?void 0:e[3]),!a.width&&n&&(a.width=n),!a.height&&o&&(a.height=o)}return e.setDisplay(e9(a.display,{flex:o.DISPLAY_FLEX,block:o.DISPLAY_FLEX,none:o.DISPLAY_NONE,"-webkit-box":o.DISPLAY_FLEX},o.DISPLAY_FLEX,"display")),e.setAlignContent(e9(a.alignContent,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,"space-between":o.ALIGN_SPACE_BETWEEN,"space-around":o.ALIGN_SPACE_AROUND,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_AUTO,"alignContent")),e.setAlignItems(e9(a.alignItems,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_STRETCH,"alignItems")),e.setAlignSelf(e9(a.alignSelf,{stretch:o.ALIGN_STRETCH,center:o.ALIGN_CENTER,"flex-start":o.ALIGN_FLEX_START,"flex-end":o.ALIGN_FLEX_END,baseline:o.ALIGN_BASELINE,normal:o.ALIGN_AUTO},o.ALIGN_AUTO,"alignSelf")),e.setJustifyContent(e9(a.justifyContent,{center:o.JUSTIFY_CENTER,"flex-start":o.JUSTIFY_FLEX_START,"flex-end":o.JUSTIFY_FLEX_END,"space-between":o.JUSTIFY_SPACE_BETWEEN,"space-around":o.JUSTIFY_SPACE_AROUND},o.JUSTIFY_FLEX_START,"justifyContent")),e.setFlexDirection(e9(a.flexDirection,{row:o.FLEX_DIRECTION_ROW,column:o.FLEX_DIRECTION_COLUMN,"row-reverse":o.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":o.FLEX_DIRECTION_COLUMN_REVERSE},o.FLEX_DIRECTION_ROW,"flexDirection")),e.setFlexWrap(e9(a.flexWrap,{wrap:o.WRAP_WRAP,nowrap:o.WRAP_NO_WRAP,"wrap-reverse":o.WRAP_WRAP_REVERSE},o.WRAP_NO_WRAP,"flexWrap")),"u">typeof a.gap&&e.setGap(o.GUTTER_ALL,a.gap),"u">typeof a.rowGap&&e.setGap(o.GUTTER_ROW,a.rowGap),"u">typeof a.columnGap&&e.setGap(o.GUTTER_COLUMN,a.columnGap),"u">typeof a.flexBasis&&e.setFlexBasis(a.flexBasis),e.setFlexGrow(typeof a.flexGrow>"u"?0:a.flexGrow),e.setFlexShrink(typeof a.flexShrink>"u"?0:a.flexShrink),"u">typeof a.maxHeight&&e.setMaxHeight(a.maxHeight),"u">typeof a.maxWidth&&e.setMaxWidth(a.maxWidth),"u">typeof a.minHeight&&e.setMinHeight(a.minHeight),"u">typeof a.minWidth&&e.setMinWidth(a.minWidth),e.setOverflow(e9(a.overflow,{visible:o.OVERFLOW_VISIBLE,hidden:o.OVERFLOW_HIDDEN},o.OVERFLOW_VISIBLE,"overflow")),e.setMargin(o.EDGE_TOP,a.marginTop||0),e.setMargin(o.EDGE_BOTTOM,a.marginBottom||0),e.setMargin(o.EDGE_LEFT,a.marginLeft||0),e.setMargin(o.EDGE_RIGHT,a.marginRight||0),e.setBorder(o.EDGE_TOP,a.borderTopWidth||0),e.setBorder(o.EDGE_BOTTOM,a.borderBottomWidth||0),e.setBorder(o.EDGE_LEFT,a.borderLeftWidth||0),e.setBorder(o.EDGE_RIGHT,a.borderRightWidth||0),e.setPadding(o.EDGE_TOP,a.paddingTop||0),e.setPadding(o.EDGE_BOTTOM,a.paddingBottom||0),e.setPadding(o.EDGE_LEFT,a.paddingLeft||0),e.setPadding(o.EDGE_RIGHT,a.paddingRight||0),e.setPositionType(e9(a.position,{absolute:o.POSITION_TYPE_ABSOLUTE,relative:o.POSITION_TYPE_RELATIVE},o.POSITION_TYPE_RELATIVE,"position")),"u">typeof a.top&&e.setPosition(o.EDGE_TOP,a.top),"u">typeof a.bottom&&e.setPosition(o.EDGE_BOTTOM,a.bottom),"u">typeof a.left&&e.setPosition(o.EDGE_LEFT,a.left),"u">typeof a.right&&e.setPosition(o.EDGE_RIGHT,a.right),"u">typeof a.height?e.setHeight(a.height):e.setHeightAuto(),"u">typeof a.width?e.setWidth(a.width):e.setWidthAuto(),[a,function(e){let t={};for(let r in e)tA.has(r)&&(t[r]=e[r]);return t}(a)]}var tB=[1,0,0,1,0,0];function tz({left:e,top:t,width:r,height:n},i,o,a){let s;if(i.__resolved||function(e,t,r){let n=[...tB];for(let i of e){let e=Object.keys(i)[0],o=i[e];if("string"==typeof o)if("translateX"===e)o=parseFloat(o)/100*t,i[e]=o;else if("translateY"===e)o=parseFloat(o)/100*r,i[e]=o;else throw Error(`Invalid transform: "${e}: ${o}".`);let a=o,s=[...tB];switch(e){case"translateX":s[4]=a;break;case"translateY":s[5]=a;break;case"scale":s[0]=a,s[3]=a;break;case"scaleX":s[0]=a;break;case"scaleY":s[3]=a;break;case"rotate":{let e=a*Math.PI/180,t=Math.cos(e),r=Math.sin(e);s[0]=t,s[1]=r,s[2]=-r,s[3]=t;break}case"skewX":s[2]=Math.tan(a*Math.PI/180);break;case"skewY":s[1]=Math.tan(a*Math.PI/180)}n=e7(s,n)}e.splice(0,e.length),e.push(...n),e.__resolved=!0}(i,r,n),o)s=i;else{let o=(null==a?void 0:a.xAbsolute)??((null==a?void 0:a.xRelative)??50)*r/100,l=(null==a?void 0:a.yAbsolute)??((null==a?void 0:a.yRelative)??50)*n/100,u=e+o,c=t+l;s=e7([1,0,0,1,u,c],e7(i,[1,0,0,1,-u,-c])),i.__parent&&(s=e7(i.__parent,s)),i.splice(0,6,...s
5)}return`matrix(${s.map(e=>e.toFixed(2)).join(",")})`}function tU(e){return String.fromCodePoint(Number(e=e.replace("U+","0x")))}var tG=tU("U+0020"),tq=tU("U+0009"),tH=tU("U+2026"),tY=new Set([tq]);async function*tV(e,t){var r,n;let i,o=await eB(),{parentStyle:a,inheritedStyle:l,parent:u,font:c,id:f,isInheritingTransform:d,debug:p,embedFont:g,graphemeImages:m,locale:v,canLoadAdditionalAssets:b}=t,{textAlign:y,lineHeight:w,textWrap:x,fontSize:k,filter:S,tabSize:_=8,letterSpacing:T,_inheritedBackgroundClipTextPath:E,flexShrink:O}=a,{words:P,requiredBreaks:I,allowSoftWrap:A,allowBreakWord:M,processedContent:C,shouldCollapseTabsAndSpaces:L,lineLimit:R,blockEllipsis:$}=function(e,t,r){var n,i,o,a,l;let u,c,f,{textTransform:d,whiteSpace:h,wordBreak:p}=t,{content:g,shouldCollapseTabsAndSpaces:m,allowSoftWrap:v}=(a=(n=e,i=d,o=r,"uppercase"===i?n=n.toLocaleUpperCase(o):"lowercase"===i?n=n.toLocaleLowerCase(o):"capitalize"===i&&(n=ti(n,"word",o).map(e=>ti(e,"grapheme",o).map((e,t)=>0===t?e.toLocaleUpperCase(o):e).join("")).join("")),e=n),u=["pre","pre-wrap","pre-line"].includes(l=h),c=["normal","nowrap","pre-line"].includes(l),f=!["pre","nowrap"].includes(l),u||(a=a.replace(/\n/g,tG)),c&&(a=a.replace(/([ ]|\t)+/g,tG).replace(/^[ ]|[ ]$/g,"")),{content:a,shouldCollapseTabsAndSpaces:c,allowSoftWrap:f}),{words:b,requiredBreaks:y,allowBreakWord:w}=function(e,t){let r=["break-all","break-word"].includes(t),{words:n,requiredBreaks:i}=function(e,t){if("break-all"===t)return{words:ti(e,"grapheme"),requiredBreaks:[]};if("keep-all"===t)return{words:ti(e,"word"),requiredBreaks:[]};let r=new s.A(e),n=0,i=r.nextBreak(),o=[],a=[!1];for(;i;){let t=e.slice(n,i.position);o.push(t),i.required?a.push(!0):a.push(!1),n=i.position,i=r.nextBreak()}return{words:o,requiredBreaks:a}}(e,t);return{words:n,requiredBreaks:i,allowBreakWord:r}}(g,p),[x,k]=function(e,t){let{textOverflow:r,lineClamp:n,WebkitLineClamp:i,WebkitBoxOrient:o,overflow:a,display:s}=e;if("block"===s&&n){let[e,t=tH]=function(e){if("number"==typeof e)return[e];let t=/^(\d+)\s*"(.*)"$/.exec(e),r=/^(\d+)\s*'(.*)'$/.exec(e);return t?[+t[1],t[2]]:r?[+r[1],r[2]]:[]}(n);if(e)return[e,t]}return"ellipsis"===r&&"-webkit-box"===s&&"vertical"===o&&"number"==typeof i&&i>0?[i,tH]:"ellipsis"!==r||"hidden"!==a||t?[1/0]:[1,tH]}(t,v);return{words:b,requiredBreaks:y,allowSoftWrap:v,allowBreakWord:w,processedContent:g,shouldCollapseTabsAndSpaces:m,lineLimit:x,blockEllipsis:k}}(e,a,v),j=(r=o,n=y,(i=r.Node.create()).setAlignItems(r.ALIGN_BASELINE),i.setJustifyContent(e9(n,{left:r.JUSTIFY_FLEX_START,right:r.JUSTIFY_FLEX_END,center:r.JUSTIFY_CENTER,justify:r.JUSTIFY_SPACE_BETWEEN,start:r.JUSTIFY_FLEX_START,end:r.JUSTIFY_FLEX_END},r.JUSTIFY_FLEX_START,"textAlign")),i);u.insertChild(j,u.getChildCount()),"[object Undefined]"===Object.prototype.toString.call(O)&&u.setFlexShrink(1);let D=c.getEngine(k,w,a,v),N=b?ti(C,"grapheme").filter(e=>!tY.has(e)&&!D.has(e)):[];function F(e){return!!(m&&m[e])}yield N.map(e=>({word:e,locale:v})),N.length&&(D=c.getEngine(k,w,a,v));let{measureGrapheme:W,measureGraphemeArray:B,measureText:z}=function(e,t,r){let{fontSize:n,letterSpacing:i}=r,o=new Map;function a(t){if(o.has(t))return o.get(t);let r=e.measure(t,{fontSize:n,letterSpacing:i});return o.set(t,r),r}function s(e){let r=0;for(let i of e)t(i)?r+=n:r+=a(i);return r}return{measureGrapheme:a,measureGraphemeArray:s,measureText:function(e){return s(ti(e,"grapheme"))}}}(D,F,{fontSize:k,letterSpacing:T}),U=ts(_)?e4(_,k,1,a):W(tG)*_,G=(e,t)=>{var r;let n;if(0===e.length)return{originWidth:0,endingSpacesWidth:0,text:e};let{index:i,tabCount:o}=(r=e,(n=/(\t)+/.exec(r))?{index:n.index,tabCount:n[0].length}:{index:null,tabCount:0}),a=0;if(o>0){let r=e.slice(0,i),n=e.slice(i+o),s=z(r);a=(0===U?s:(Math.floor((s+t)/U)+o)*U)+z(n)}else a=z(e);let s=e.trimEnd()===e?a:z(e.trimEnd());return{originWidth:a,endingSpacesWidth:a-s,text:e}},q=[],H=[],Y=[],V=[],X=[];function Q(e){let t=0,r=0,n=-1,i=0,o=0,a=0,s=0;q=[],Y=[0],V=[],X=[];let l=0,u=0;for(;l<P.length&&t<R;){let c=P[l],f=I[l],d=0,{originWidth:h,endingSpacesWidth:p,text:g}=G(c,o);c=g,d=h,f&&0===a&&(a=D.height(c));let m="justify"===y,v=l&&o+d>e+p&&A;if(M&&d>e&&(!o||v||f)){let e=ti(c,"grapheme");P.splice(l,1,...e),o>0&&(q.push(o-u),H.push(s),t++,i+=a,o=0,a=0,s=0,Y.push(1),n=-1),u=p;continue}if(f||v)L&&c===tG&&(d=0),q.push(o-u),H.push(s),t++,i+=a,o=d,a=d?Math.round(D.height(c)):0,s=d?Math.round(D.baseline(c)):0,Y.push(1),n=-1,f||(r=Math.max(r,e));else{o+=d;let e=Math.round(D.height(c));e>a&&(a=e,s=Math.round(D.baseline(c))),m&&Y[Y.length-1]++}m&&n++,r=Math.max(r,o);let b=o-d;if(0===d)X.push({y:i,x:b,width:0,line:t,lineIndex:n,isImage:!1});else{let e=ti(c,"word");for(let r=0;r<e.length;r++){let o=e[r],a=0,s=!1;F(o)?(a=k,s=!0):a=W(o),V.push(o),X.push({y:i,x:b,width:a,line:t,lineIndex:n,isImage:s}),b+=a}}l++,u=p}
5return o&&(t<R&&(i+=a),t++,q.push(o),H.push(s)),{width:r,height:i}}let J={width:0,height:0};j.setMeasureFunc(e=>{let{width:t,height:r}=Q(e);if("balance"===x){let e=t/2,n=t,i=t;for(;e+1<n;){let{height:t}=Q(i=(e+n)/2);t>r?e=i:n=i}Q(n);let o=Math.ceil(n);return J={width:o,height:r},{width:o,height:r}}if("pretty"===x&&q[q.length-1]<t/3){let e=Q(.9*t);if(e.height<=1.3*r)return J={width:t,height:e.height},{width:t,height:e.height}}let n=Math.ceil(t);return J={width:n,height:r},{width:n,height:r}});let[K,Z]=yield,ee="",et="",er=l._inheritedClipPathId,en=l._inheritedMaskId,{left:ei,top:eo,width:ea,height:es}=j.getComputedLayout(),el=u.getComputedWidth()-u.getComputedPadding(o.EDGE_LEFT)-u.getComputedPadding(o.EDGE_RIGHT)-u.getComputedBorder(o.EDGE_LEFT)-u.getComputedBorder(o.EDGE_RIGHT),eu=K+ei,ec=Z+eo,{matrix:ef,opacity:ed}=function({left:e,top:t,width:r,height:n,isInheritingTransform:i},o){let a="",s=1;return o.transform&&(a=tz({left:e,top:t,width:r,height:n},o.transform,i,o.transformOrigin)),void 0!==o.opacity&&(s=+o.opacity),{matrix:a,opacity:s}}({left:ei,top:eo,width:ea,height:es,isInheritingTransform:d},a),eh="";if(a.textShadowOffset){let{textShadowColor:e,textShadowOffset:t,textShadowRadius:r}=a;eh=function({id:e,width:t,height:r},n){if(!n.shadowColor||!n.shadowOffset||typeof n.shadowRadius>"u")return"";let i=n.shadowColor.length,o="",a="",s=0,l=t,u=0,c=r;for(let f=0;f<i;f++){let d=n.shadowRadius[f]*n.shadowRadius[f]/4;s=Math.min(n.shadowOffset[f].width-d,s),l=Math.max(n.shadowOffset[f].width+d+t,l),u=Math.min(n.shadowOffset[f].height-d,u),c=Math.max(n.shadowOffset[f].height+d+r,c),o+=to("feDropShadow",{dx:n.shadowOffset[f].width,dy:n.shadowOffset[f].height,stdDeviation:n.shadowRadius[f]/2,"flood-color":n.shadowColor[f],"flood-opacity":1,...i>1?{in:"SourceGraphic",result:`satori_s-${e}-result-${f}`}:{}}),i>1&&(a=to("feMergeNode",{in:`satori_s-${e}-result-${f}`})+a)}return to("filter",{id:`satori_s-${e}`,x:(s/t*110.00000000000001).toFixed(2)+"%",y:(u/r*110.00000000000001).toFixed(2)+"%",width:((l-s)/t*110.00000000000001).toFixed(2)+"%",height:((c-u)/r*110.00000000000001).toFixed(2)+"%"},o+(a?to("feMerge",{},a):""))}({width:J.width,height:J.height,id:f},{shadowColor:e,shadowOffset:t,shadowRadius:r}),eh=to("defs",{},eh)}let ep="",eg="",em="",ev=-1,eb={},ey=null,ew=0;for(let e=0;e<V.length;e++){let t=X[e],r=X[e+1];if(!t)continue;let n=V[e],i=null,o=!1,s=m?m[n]:null,l=t.y,u=t.x,c=t.width,d=t.line;if(d===ev)continue;let b=!1;if(q.length>1){let e=ea-q[d];if("right"===y||"end"===y)u+=e;else if("center"===y)u+=e/2;else if("justify"===y&&d<q.length-1){let r=Y[d];u+=(r>1?e/(r-1):0)*t.lineIndex,b=!0}u=Math.round(u)}let w=H[d],x=D.baseline(n),S=D.height(n),_=w-x;if(eb[d]||(eb[d]=[u,ec+l+_,x,b?ea:q[d]]),R!==1/0){let t=function(e,t){let r=ti(t,"grapheme",v),n="",i=0;for(let t of r){let r=e+B([n+t]);if(n&&r+a>el)break;n+=t,i=r}return{subset:n,resolvedWidth:i}},i=$,a=W($);a>el&&(a=W(i=tH));let s=W(tG),l=d<q.length-1;if(d+1===R&&(l||q[d]>el)){if(u+c+a+s>el){let{subset:e,resolvedWidth:r}=t(u,n);n=e+i,ev=d,eb[d][2]=r,o=!0}else if(r&&r.line!==d)if("center"===y){let{subset:e,resolvedWidth:r}=t(u,n);n=e+i,ev=d,eb[d][2]=r,o=!0}else{let{subset:r,resolvedWidth:a}=t(c+u,V[e+1]);n=n+r+i,ev=d,eb[d][2]=a,o=!0}}}if(s)l+=0;else if(g){if(!n.includes(tq)&&!tn.includes(n)&&V[e+1]&&r&&!r.isImage&&l===r.y&&!o){null===ey&&(ew=u),ey=null===ey?n:ey+n;continue}let a=null===ey?n:ey+n,s=null===ey?u:ew,c=t.width+u-s;i=D.getSVG(a.replace(/(\t)+/g,""),{fontSize:k,left:eu+s,top:ec+l+x+_,letterSpacing:T}),ey=null,p&&(em+=to("rect",{x:eu+s,y:ec+l+_,width:c,height:S,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:ef||void 0,"clip-path":er?`url(#${er})`:void 0})+to("line",{x1:eu+u,x2:eu+u+t.width,y1:ec+l+_+x,y2:ec+l+_+x,stroke:"#14c000","stroke-width":1,transform:ef||void 0,"clip-path":er?`url(#${er})`:void 0}))}else l+=x+_;if(a.textDecorationLine){let e=eb[d];e&&!e[4]&&(ep+=function({width:e,left:t,top:r,ascender:n,clipPathId:i,matrix:o},a){let{textDecorationColor:s,textDecorationStyle:l,textDecorationLine:u,fontSize:c,color:f}=a;if(!u||"none"===u)return"";let d=Math.max(1,.1*c),h="line-through"===u?r+.7*n:"underline"===u?r+1.1*n:r,p="dashed"===l?`${1.2*d} ${2*d}`:"dotted"===l?`0 ${2*d}`:void 0,g="double"===l?to("line",{x1:t,y1:h+d+1,x2:t+e,y2:h+d+1,stroke:s||f,"stroke-width":d,"stroke-dasharray":p,"stroke-linecap":"dotted"===l?"round":"square",transform:o}):"";return(i?`<g clip-path="url(#${i})">`:"")+to("line",{x1:t,y1:h,x2:t+e,y2:h,stroke:s||f,"stroke-width":d,"stroke-dasharray":p,"stroke-linecap":"dotted"===l?"round":"square",transform:o})+g+(i?"</g>":"")}({left:eu+e[0],top:e[1],width:e[3],ascender:e[2],clipPathId:er,matrix:ef},a),e[4]=1)}if(null!==i)eg+=i+" ";else{let[e,t]=function({id:e,content:t,filter:r,left:n,top:i,width:o,height:a,matrix:s,opacity:l,image:u,clipPathId:c,debug:f,shape:d,decorationShape:p},g){let m="";if(f&&(m=to("rect",{x:n,y:i-a,width:o,height:a,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:s||void 0,"clip-path":c?`url(#${c})`:void 0})),u)return[(r?`${r}
5<g filter="url(#satori_s-${e})">`:"")+to("image",{...{href:u,x:n,y:i,width:o,height:a,transform:s||void 0,"clip-path":c?`url(#${c})`:void 0,style:g.filter?`filter:${g.filter}`:void 0},opacity:1!==l?l:void 0})+(p||"")+(r?"</g>":"")+m,""];let v={x:n,y:i,width:o,height:a,"font-weight":g.fontWeight,"font-style":g.fontStyle,"font-size":g.fontSize,"font-family":g.fontFamily,"letter-spacing":g.letterSpacing||void 0,transform:s||void 0,"clip-path":c?`url(#${c})`:void 0,style:g.filter?`filter:${g.filter}`:void 0,"stroke-width":g.WebkitTextStrokeWidth?`${g.WebkitTextStrokeWidth}px`:void 0,stroke:g.WebkitTextStrokeWidth?g.WebkitTextStrokeColor:void 0,"stroke-linejoin":g.WebkitTextStrokeWidth?"round":void 0,"paint-order":g.WebkitTextStrokeWidth?"stroke":void 0};return[(r?`${r}<g filter="url(#satori_s-${e})">`:"")+to("text",{...v,fill:g.color,opacity:1!==l?l:void 0},h(t))+(p||"")+(r?"</g>":"")+m,d?to("text",v,h(t)):""]}({content:n,filter:eh,id:f,left:eu+u,top:ec+l,width:c,height:S,matrix:ef,opacity:ed,image:s,clipPathId:er,debug:p,shape:!!E,decorationShape:ep},a);ee+=e,et+=t,ep=""}if(o)break}if(eg){let e="transparent"!==a.color&&0!==ed?`<g ${en?`mask="url(#${en})"`:""} ${er?`clip-path="url(#${er})"`:""}>`+to("path",{fill:a.color,d:eg,transform:ef||void 0,opacity:1!==ed?ed:void 0,style:S?`filter:${S}`:void 0,"stroke-width":l.WebkitTextStrokeWidth?`${l.WebkitTextStrokeWidth}px`:void 0,stroke:l.WebkitTextStrokeWidth?l.WebkitTextStrokeColor:void 0,"stroke-linejoin":l.WebkitTextStrokeWidth?"round":void 0,"paint-order":l.WebkitTextStrokeWidth?"stroke":void 0})+"</g>":"";E&&(et=to("path",{d:eg,transform:ef||void 0})),ee+=(eh?eh+to("g",{filter:`url(#satori_s-${f})`},e+ep):e+ep)+em}return et&&(a._inheritedBackgroundClipTextPath.value+=et),ee}function tX(e,t,r,n,i){let o=[];for(let n of t){let{color:t}=n;if(!o.length&&(o.push({offset:0,color:t}),!n.offset||"0"===n.offset.value))continue;let i=typeof n.offset>"u"?void 0:"%"===n.offset.unit?n.offset.value/100:Number(e4(`${n.offset.value}${n.offset.unit}`,r.fontSize,e,r,!0))/e;o.push({offset:i,color:t})}o.length||o.push({offset:0,color:"transparent"});let a=o[o.length-1];1!==a.offset&&(typeof a.offset>"u"?a.offset=1:n?o[o.length-1]={offset:1,color:a.color}:o.push({offset:1,color:a.color}));let s=0,l=1;for(let e=0;e<o.length;e++)if(typeof o[e].offset>"u"){for(l<e&&(l=e);typeof o[l].offset>"u";)l++;o[e].offset=(o[l].offset-o[s].offset)/(l-s)*(e-s)+o[s].offset}else s=e;return"mask"===i?o.map(e=>{let t=f(e.color);return t?0===t.alpha?{...e,color:"rgba(0, 0, 0, 1)"}:{...e,color:`rgba(255, 255, 255, ${t.alpha})`}:e}):o}function tQ(e,t,r,n){switch(e){case"center":return{[n]:"x"===n?t/2:r/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:t};case"bottom":return{y:r}}}function tJ(e,{x:t,y:r,defaultX:n,defaultY:i}){return(e?e.split(" ").map(e=>{try{let t=new e0(e);return"length"===t.type||"number"===t.type?t.value:t.value+t.unit}catch{return null}}).filter(e=>null!==e):[n,i]).map((e,n)=>{var i;return i=[t,r][n],"string"==typeof e&&e.endsWith("%")?i*parseFloat(e)/100:+e})}async function tK({id:e,width:t,height:r,left:n,top:i},{image:o,size:a,position:s,repeat:l},u,c){l=l||"repeat",c=c||"background";let f="repeat-x"===l||"repeat"===l,d="repeat-y"===l||"repeat"===l,h=tJ(a,{x:t,y:r,defaultX:t,defaultY:r}),g=tJ(s,{x:t,y:r,defaultX:0,defaultY:0});if(o.startsWith("linear-gradient(")||o.startsWith("repeating-linear-gradient("))return function({id:e,width:t,height:r,repeatX:n,repeatY:i},o,a,s,l,u){var c,f,d,h;let g=(0,p.fB)(o),[m,v]=a,b=o.startsWith("repeating"),y,w,x;if("directional"===g.orientation.type){let e,t,r,n;w=Math.sqrt(Math.pow(((c=g.orientation.value,e=0,t=0,r=0,n=0,c.includes("top")?t=1:c.includes("bottom")&&(n=1),c.includes("left")?e=1:c.includes("right")&&(r=1),e||r||t||n||(t=1),y={x1:e,y1:t,x2:r,y2:n}).x2-y.x1)*m,2)+Math.pow((y.y2-y.y1)*v,2))}else if("angular"===g.orientation.type){let e,t,r,n,i,o,a,s,l,u,{length:c,...p}=(f=e8(`${g.orientation.value.value}${g.orientation.value.unit}`)/180*Math.PI,d=m,e=Math.pow((h=v)/d,2),(u=c=>{if(0===c){t=0,r=h,n=0,i=0,o=h;return}if(c===Math.PI/2){t=0,r=0,n=d,i=0,o=d;return}if(c>0&&c<Math.PI/2){t=(e*d/2/Math.tan(c)-h/2)/(Math.tan(c)+e/Math.tan(c)),r=Math.tan(c)
5*t+h,o=Math.sqrt(Math.pow((n=Math.abs(d/2-t)+d/2)-t,2)+Math.pow((i=h/2-Math.abs(r-h/2))-r,2)),s=(d/2/Math.tan(c)-h/2)/(Math.tan(c)+1/Math.tan(c)),l=Math.tan(c)*s+h,o=2*Math.sqrt(Math.pow(d/2-s,2)+Math.pow(h/2-l,2));return}if(c>Math.PI/2&&c<Math.PI){t=(h/2+e*d/2/Math.tan(c))/(Math.tan(c)+e/Math.tan(c)),r=Math.tan(c)*t,n=Math.abs(d/2-t)+d/2,i=h/2+Math.abs(r-h/2),s=(d/2/Math.tan(c)+h/2)/(Math.tan(c)+1/Math.tan(c)),l=Math.tan(c)*s,o=2*Math.sqrt(Math.pow(d/2-s,2)+Math.pow(h/2-l,2));return}c>=Math.PI&&(u(c-Math.PI),a=t,t=n,n=a,a=r,r=i,i=a)})(f=(f%(2*Math.PI)+2*Math.PI)%(2*Math.PI)),{x1:t/d,y1:r/h,x2:n/d,y2:i/h,length:o});w=c,y=p}x=b?function(e,t,r,n){let{x1:i,x2:o,y1:a,y2:s}=r,l=e[0].offset?"%"===e[0].offset.unit?Number(e[0].offset.value)/100:e4(`${e[0].offset.value}${e[0].offset.unit}`,n.fontSize,t,n,!0)/t:0,u=e.at(-1).offset?"%"===e.at(-1).offset.unit?Number(e.at(-1).offset.value)/100:e4(`${e.at(-1).offset.value}${e.at(-1).offset.unit}`,n.fontSize,t,n,!0)/t:1;return{x1:(o-i)*l+i,y1:(s-a)*l+a,x2:(o-i)*u+i,y2:(s-a)*u+a}}(g.stops,w,y,l):y;let k=tX(b?function(e,t){let{offset:r}=e[e.length-1];return r?"%"===r.unit?Number(r.value)/100*t:Number(r.value):t}(g.stops,w):w,g.stops,l,b,u),S=`satori_bi${e}`,_=`satori_pattern_${e}`,T=to("pattern",{id:_,x:s[0]/t,y:s[1]/r,width:n?m/t:"1",height:i?v/r:"1",patternUnits:"objectBoundingBox"},to("linearGradient",{id:S,...x,spreadMethod:b?"repeat":"pad"},k.map(e=>to("stop",{offset:(e.offset??0)*100+"%","stop-color":e.color})).join(""))+to("rect",{x:0,y:0,width:m,height:v,fill:`url(#${S})`}));return[_,T]}({id:e,width:t,height:r,repeatX:f,repeatY:d},o,h,g,u,c);if(o.startsWith("radial-gradient("))return function({id:e,width:t,height:r,repeatX:n,repeatY:i},o,a,s,l,u){var c,f,d,h,g,m,v;let b,{shape:y,stops:w,position:x,size:k}=(0,p.RL)(o),[S,_]=a,T=S/2,E=_/2,O=(f=x.x,d=x.y,h=S,g=_,m=l.fontSize,v=l,b={x:h/2,y:g/2},"keyword"===f.type?Object.assign(b,tQ(f.value,h,g,"x")):b.x=e4(`${f.value.value}${f.value.unit}`,m,h,v,!0)||h/2,"keyword"===d.type?Object.assign(b,tQ(d.value,h,g,"y")):b.y=e4(`${d.value.value}${d.value.unit}`,m,g,v,!0)||g/2,b);T=O.x,E=O.y;let P=tX(t,w,l,!1,u),I=`satori_radial_${e}`,A=`satori_pattern_${e}`,M=`satori_mask_${e}`,C=function(e,t,r,n,i,o){let[a,s]=i,{x:l,y:u}=n,c={},f=0,d=0;if(!t.some(e=>"keyword"===e.type)){if(t.some(e=>e.value.value.startsWith("-")))throw Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return"circle"===e?{r:Number(e4(`${t[0].value.value}${t[0].value.unit}`,r,a,o,!0))}:{rx:Number(e4(`${t[0].value.value}${t[0].value.unit}`,r,a,o,!0)),ry:Number(e4(`${t[1].value.value}${t[1].value.unit}`,r,s,o,!0))}}switch(t[0].value){case"farthest-corner":f=Math.max(Math.abs(a-l),Math.abs(l)),d=Math.max(Math.abs(s-u),Math.abs(u));break;case"closest-corner":f=Math.min(Math.abs(a-l),Math.abs(l)),d=Math.min(Math.abs(s-u),Math.abs(u));break;
5case"farthest-side":return"circle"===e?c.r=Math.max(Math.abs(a-l),Math.abs(l),Math.abs(s-u),Math.abs(u)):(c.rx=Math.max(Math.abs(a-l),Math.abs(l)),c.ry=Math.max(Math.abs(s-u),Math.abs(u))),c;case"closest-side":return"circle"===e?c.r=Math.min(Math.abs(a-l),Math.abs(l),Math.abs(s-u),Math.abs(u)):(c.rx=Math.min(Math.abs(a-l),Math.abs(l)),c.ry=Math.min(Math.abs(s-u),Math.abs(u))),c}if("circle"===e)c.r=Math.sqrt(f*f+d*d);else{let e=0!==d?f/d:1;0===f?(c.rx=0,c.ry=0):(c.ry=Math.sqrt(f*f+d*d*e*e)/e,c.rx=c.ry*e)}return c}(y,k,l.fontSize,{x:T,y:E},[S,_],l),L=to("pattern",{id:A,x:s[0]/t,y:s[1]/r,width:n?S/t:"1",height:i?_/r:"1",patternUnits:"objectBoundingBox"},to("radialGradient",{id:I},P.map(e=>to("stop",{offset:e.offset||0,"stop-color":e.color})).join(""))+to("mask",{id:M},to("rect",{x:0,y:0,width:S,height:_,fill:"#fff"}))+to("rect",{x:0,y:0,width:S,height:_,fill:(null==(c=P.at(-1))?void 0:c.color)||"transparent"})+to(y,{cx:T,cy:E,width:S,height:_,...C,fill:`url(#${I})`,mask:`url(#${M})`}));return[A,L]}({id:e,width:t,height:r,repeatX:f,repeatY:d},o,h,g,u,c);if(o.startsWith("url(")){let s=tJ(a,{x:t,y:r,defaultX:0,defaultY:0}),[l,u,h]=await tS(o.slice(4,-1)),p="mask"===c?u||s[0]:s[0]||u,m="mask"===c?h||s[1]:s[1]||h;return[`satori_bi${e}
5`,to("pattern",{id:`satori_bi${e}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:g[0]+n,y:g[1]+i,width:f?p:"100%",height:d?m:"100%"},to("image",{x:0,y:0,width:p,height:m,preserveAspectRatio:"none",href:l}))]}throw Error(`Invalid background image: "${o}"`)}function tZ(e,t,r){return r<e+t&&(r/2<e&&r/2<t?e=t=r/2:r/2<e?e=r-t:r/2<t&&(t=r-e)),[e,t]}function t0(e){e[0]=e[1]=Math.min(e[0],e[1])}function t1(e,t,r,n,i){if("string"==typeof e){let o=e.split(" ").map(e=>e.trim()),a=!o[1]&&!o[0].endsWith("%");return o[1]=o[1]||o[0],[a,[Math.min(e4(o[0],n,t,i,!0),t),Math.min(e4(o[1],n,r,i,!0),r)]]}return"number"==typeof e?[!0,[Math.min(e,t),Math.min(e,r)]]:[!0,void 0]}var t2=e=>e&&0!==e[0]&&0!==e[1];function t5({left:e,top:t,width:r,height:n},i,o){let{borderTopLeftRadius:a,borderTopRightRadius:s,borderBottomLeftRadius:l,borderBottomRightRadius:u,fontSize:c}=i,f,d,h,p;if([f,a]=t1(a,r,n,c,i),[d,s]=t1(s,r,n,c,i),[h,l]=t1(l,r,n,c,i),[p,u]=t1(u,r,n,c,i),!o&&!t2(a)&&!t2(s)&&!t2(l)&&!t2(u))return"";a||=[0,0],s||=[0,0],l||=[0,0],u||=[0,0],[a[0],s[0]]=tZ(a[0],s[0],r),[l[0],u[0]]=tZ(l[0],u[0],r),[a[1],l[1]]=tZ(a[1],l[1],n),[s[1],u[1]]=tZ(s[1],u[1],n),f&&t0(a),d&&t0(s),h&&t0(l),p&&t0(u);let g=[];g[0]=[s,s],g[1]=[u,[-u[0],u[1]]],g[2]=[l,[-l[0],-l[1]]],g[3]=[a,[a[0],-a[1]]];let m=`h${r-a[0]-s[0]} a${g[0][0]} 0 0 1 ${g[0][1]}`,v=`v${n-s[1]-u[1]} a${g[1][0]} 0 0 1 ${g[1][1]}`,b=`h${u[0]+l[0]-r} a${g[2][0]} 0 0 1 ${g[2][1]}`,y=`v${l[1]+a[1]-n} a${g[3][0]} 0 0 1 ${g[3][1]}`;if(o){let i=function(i){let o=function([e,t]){return 0===Math.round(1e3*e)&&0===Math.round(1e3*t)?0:Math.round(e*t/Math.sqrt(e*e+t*t)*1e3)/1e3}([a,s,u,l][i]);return 0===i?[[e+a[0]-o,t+a[1]-o],[e+a[0],t]]:1===i?[[e+r-s[0]+o,t+s[1]-o],[e+r,t+s[1]]]:2===i?[[e+r-u[0]+o,t+n-u[1]+o],[e+r-u[0],t+n]]:[[e+l[0]-o,t+n-l[1]+o],[e,t+n-l[1]]]},c=o.indexOf(!1);if(!o.includes(!0))throw Error("Invalid `partialSides`.");if(-1===c)c=0;else for(;!o[c];)c=(c+1)%4;let f="",d=i(c),h=`M${d[0]} A${g[(c+3)%4][0]} 0 0 1 ${d[1]}`,p=0;for(;p<4&&o[(c+p)%4];p++)f+=h+" ",h=[m,v,b,y][(c+p)%4];let w=(c+p)%4;f+=h.split(" ")[0];let x=i(w);return f+` A${g[(w+3)%4][0]} 0 0 1 ${x[0]}`}return`M${e+a[0]},${t} ${m} ${v} ${b} ${y}`}function t3(e,t,r){return r[e+"Width"]===r[t+"Width"]&&r[e+"Style"]===r[t+"Style"]&&r[e+"Color"]===r[t+"Color"]}function t6({left:e,top:t,width:r,height:n,props:i,asContentMask:o,maskBorderOnly:a},s){let l=["borderTop","borderRight","borderBottom","borderLeft"];if(!o&&!l.some(e=>s[e+"Width"]))return"";let u="",c=0;for(;c>0&&t3(l[c],l[(c+3)%4],s);)c=(c+3)%4;let f=[!1,!1,!1,!1],d=[];for(let h=0;h<4;h++){let p=(c+h)%4,g=(c+h+1)%4,m=l[p],v=l[g];if(f[p]=!0,d=[s[m+"Width"],s[m+"Style"],s[m+"Color"],m],!t3(m,v,s)){let l=(d[0]||0)+(o&&!a&&s[m.replace("border","padding")]||0);l&&(u+=to("path",{width:r,height:n,...i,fill:"none",stroke:o?"#000":d[2],"stroke-width":2*l,"stroke-dasharray":o||"dashed"!==d[1]?void 0:2*l+" "+l,d:t5({left:e,top:t,width:r,height:n},s,f)})),f=[!1,!1,!1,!1]}}if(f.some(Boolean)){let l=(d[0]||0)+(o&&!a&&s[d[3].replace("border","padding")]||0);l&&(u+=to("path",{width:r,height:n,...i,fill:"none",stroke:o?"#000":d[2],"stroke-width":2*l,"stroke-dasharray":o||"dashed"!==d[1]?void 0:2*l+" "+l,d:t5({left:e,top:t,width:r,height:n},s,f)}))}return u}var t4={circle:/circle\((.+)\)/,ellipse:/ellipse\((.+)\)/,path:/path\((.+)\)/,polygon:/polygon\((.+)\)/,inset:/inset\((.+)\)/};function t8(e){let[,t="nonzero",r]=e.replace(/('|")/g,"").match(/^(nonzero|evenodd)?,?(.+)/)||[];return[t,r]}function t7(e,t,r){let n=e.split(" "),i={x:n[0]||"50%",y:n[1]||"50%"};return n.forEach(e=>{"top"===e?i.y=0:"bottom"===e?i.y=r:"left"===e?i.x=0:"right"===e?i.x=t:"center"===e&&(i.x=t/2,i.y=r/2)}),i}function t9(e){return`satori_cp-${e}`}var re=e=>`satori_mi-${e}`;async function rt(e,t,r){if(!t.maskImage)return["",""];let{left:n,top:i,width:o,height:a,id:s}=e,l=t.maskImage,u=l.length;if(!u)return["",""];let c=re(s),f="";for(let e=0;e<u;e++){let t=l[e],[s,u]=await tK({id:`${c}-${e}`,left:n,top:i,width:o,height:a},t,r,"mask");f+=u+to("rect",{x:n,y:i,width:o,height:a,fill:`url(#${s})`})}return f=to("mask",{id:c},f),[c,f]}async function rr({id:e,left:t,top:r,width:n,height:i,isInheritingTransform:o,src:a,debug:s},u,c){if("none"===u.display)return"";let f=!!a,d="rect",h="",p="",g=[],m=1,v="";
5u.backgroundColor&&g.push(u.backgroundColor),void 0!==u.opacity&&(m=+u.opacity),u.transform&&(h=tz({left:t,top:r,width:n,height:i},u.transform,o,u.transformOrigin));let b="";if(u.backgroundImage){let o=[];for(let a=0;a<u.backgroundImage.length;a++){let s=u.backgroundImage[a],l=await tK({id:e+"_"+a,width:n,height:i,left:t,top:r},s,c);l&&o.unshift(l)}for(let e of o)g.push(`url(#${e[0]})`),p+=e[1],e[2]&&(b+=e[2])}let[y,w]=await rt({id:e,left:t,top:r,width:n,height:i},u,c);p+=w;let x=y?`url(#${y})`:u._inheritedMaskId?`url(#${u._inheritedMaskId})`:void 0,k=t5({left:t,top:r,width:n,height:i},u);k&&(d="path");let S=u._inheritedClipPathId;s&&(v=to("rect",{x:t,y:r,width:n,height:i,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:h||void 0,"clip-path":S?`url(#${S})`:void 0}));let{backgroundClip:_,filter:T}=u,E="text"===_?`url(#satori_bct-${e})`:S?`url(#${S})`:u.clipPath?`url(#${t9(e)})`:void 0,O=function({left:e,top:t,width:r,height:n,path:i,matrix:o,id:a,currentClipPath:s,src:u},c,f){let d="",h=c.clipPath&&"none"!==c.clipPath?function(e,t,r){if("none"===t.clipPath)return"";let n=function({width:e,height:t},r,n){return{parseCircle:function(r){let i=r.match(t4.circle);if(!i)return null;let[,o]=i,[a,s=""]=o.split("at").map(e=>e.trim()),{x:l,y:u}=t7(s,e,t);return{type:"circle",r:e4(a,n.fontSize,Math.sqrt(Math.pow(e,2)+Math.pow(t,2))/Math.sqrt(2),n,!0),cx:e4(l,n.fontSize,e,n,!0),cy:e4(u,n.fontSize,t,n,!0)}},parseEllipse:function(r){let i=r.match(t4.ellipse);if(!i)return null;let[,o]=i,[a,s=""]=o.split("at").map(e=>e.trim()),[l,u]=a.split(" "),{x:c,y:f}=t7(s,e,t);return{type:"ellipse",rx:e4(l||"50%",n.fontSize,e,n,!0),ry:e4(u||"50%",n.fontSize,t,n,!0),cx:e4(c,n.fontSize,e,n,!0),cy:e4(f,n.fontSize,t,n,!0)}},parsePath:function(e){let t=e.match(t4.path);if(!t)return null;let[r,n]=t8(t[1]);return{type:"path",d:n,"fill-rule":r}},parsePolygon:function(r){let i=r.match(t4.polygon);if(!i)return null;let[o,a]=t8(i[1]);return{type:"polygon","fill-rule":o,points:a.split(",").map(r=>r.split(" ").map((r,i)=>e4(r,n.fontSize,0===i?e:t,n,!0)).join(" ")).join(",")}},parseInset:function(i){let o=i.match(t4.inset);if(!o)return null;let[a,s]=(o[1].includes("round")?o[1]:`${o[1].trim()} round 0`).split("round"),u=(0,l.Xf)("borderRadius",s,!0),c=Object.values(u).map(e=>String(e)).map((r,i)=>e4(r,n.fontSize,0===i||2===i?t:e,n,!0)||0),f=Object.values((0,l.Xf)("margin",a,!0)).map(e=>String(e)).map((r,i)=>e4(r,n.fontSize,0===i||2===i?t:e,n,!0)||0),d=f[3],h=f[0],p=e-(f[1]+f[3]),g=t-(f[0]+f[2]);return c.some(e=>e>0)?{type:"path",d:t5({left:d,top:h,width:p,height:g},{...r,...u})}:{type:"rect",x:d,y:h,width:p,height:g}}}}(e,t,r),i=t.clipPath,o={type:""};for(let e of Object.keys(n))if(o=n[e](i))break;if(o){let{type:t,...r}=o;return to("clipPath",{id:t9(e.id),"clip-path":e.currentClipPath,transform:`translate(${e.left}, ${e.top})`},to(t,r))}return""}({left:e,top:t,width:r,height:n,path:i,id:a,matrix:o,currentClipPath:s,src:u},c,f):"";return d="hidden"===c.overflow||u?to("clipPath",{id:h?`satori_ocp-${a}`:t9(a),"clip-path":s},to(i?"path":"rect",{x:e,y:t,width:r,height:n,d:i||void 0,transform:"hidden"===c.overflow&&c.transform&&o?o:void 0})):"",h+d+function({id:e,left:t,top:r,width:n,height:i,matrix:o,borderOnly:a},s){let l=(s.borderLeftWidth||0)+(a?0:s.paddingLeft||0),u=(s.borderTopWidth||0)+(a?0:s.paddingTop||0);return to("mask",{id:e},to("rect",{...{x:t+l,y:r+u,width:n-l-((s.borderRightWidth||0)+(a?0:s.paddingRight||0)),height:i-u-((s.borderBottomWidth||0)+(a?0:s.paddingBottom||0))},fill:"#fff",transform:"hidden"===s.overflow&&s.transform&&o?o:void 0,mask:s._inheritedMaskId?`url(#${s._inheritedMaskId})`:void 0})+t6({left:t,top:r,width:n,height:i,props:{transform:o||void 0},asContentMask:!0,maskBorderOnly:a},s))}({id:`satori_om-${a}`,left:e,top:t,width:r,height:n,matrix:o,borderOnly:!u},c)}({left:t,top:r,width:n,height:i,path:k,id:e,matrix:h,currentClipPath:E,src:a},u,c),P=g.map(e=>to(d,{x:t,y:r,width:n,height:i,fill:e,d:k||void 0,transform:h||void 0,"clip-path":u.transform?void 0:E,style:T?`filter:${T}`:void 0,mask:u.transform?void 0:x})).join(""),I=function({id:e,currentClipPathId:t,borderPath:r,borderType:n,left:i,top:o,width:a,height:s},l){if(!(l.borderTopWidth||l.borderRightWidth||l.borderBottomWidth||l.borderLeftWidth))return null;let u=`satori_bc-${e}`;return[to("clipPath",{id:u,"clip-path":t?`url(#${t})`:void 0},to(n,{x:i,y:o,width:a,height:s,d:r||void 0})),u]}({id:e,left:t,top:r,width:n,height:i,currentClipPathId:S,borderPath:k,borderType:d},u),A;if(f){let o=(u.borderLeftWidth||0)+(u.paddingLeft||0),s=(u.borderTopWidth||0)+(u.paddingTop||0),l=(u.borderRightWidth||0)+(u.paddingRight||0),c=(u.borderBottomWidth||0)+(u.paddingBottom||0),f="contain"===u.objectFit?"xMidYMid":"cover"===u.objectFit?"xMidYMid slice":"none";u.transform&&(A=function({id:e,borderRadiusPath:t,borderType:r,left:n,top:i,width:o,height:a},s){let l=`satori_brc-${e}`;return[to("clipPath",{id:l},to(r,{x:n,y:i,width:o,height:a,d:t||void 0})),l]}
5({id:e,borderRadiusPath:k,borderType:d,left:t,top:r,width:n,height:i},0)),P+=to("image",{x:t+o,y:r+s,width:n-o-l,height:i-s-c,href:a,preserveAspectRatio:f,transform:h||void 0,style:T?`filter:${T}`:void 0,"clip-path":u.transform?A?`url(#${A[1]})`:void 0:`url(#satori_cp-${e})`,mask:u.transform?void 0:y?`url(#${y})`:`url(#satori_om-${e})`})}if(I){p+=I[0];let e=I[1];P+=t6({left:t,top:r,width:n,height:i,props:{transform:h||void 0,"clip-path":`url(#${e})`}},u)}let M=function({width:e,height:t,shape:r,opacity:n,id:i},o){if(!o.boxShadow)return null;let a="",s="";for(let l=o.boxShadow.length-1;l>=0;l--){let u="",c=o.boxShadow[l];c.spreadRadius&&c.inset&&(c.spreadRadius=-c.spreadRadius);let f=c.blurRadius*c.blurRadius/4+(c.spreadRadius||0),d=Math.min(-f-(c.inset?c.offsetX:0),0),h=Math.max(f+e-(c.inset?c.offsetX:0),e),p=Math.min(-f-(c.inset?c.offsetY:0),0),g=Math.max(f+t-(c.inset?c.offsetY:0),t),m=`satori_s-${i}-${l}`,v=`satori_ms-${i}-${l}`,b=c.spreadRadius?r.replace('stroke-width="0"',`stroke-width="${2*c.spreadRadius}"`):r;u+=to("mask",{id:v,maskUnits:"userSpaceOnUse"},to("rect",{x:0,y:0,width:o._viewportWidth||"100%",height:o._viewportHeight||"100%",fill:c.inset?"#000":"#fff"})+b.replace('fill="#fff"',c.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let y=b.replace(/d="([^"]+)"/,(e,t)=>'d="'+function(e,t,r){return e.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(e,n,i,o){return n+(parseFloat(i)+t)+","+(parseFloat(o)+r)})}(t,c.offsetX,c.offsetY)+'"').replace(/x="([^"]+)"/,(e,t)=>'x="'+(parseFloat(t)+c.offsetX)+'"').replace(/y="([^"]+)"/,(e,t)=>'y="'+(parseFloat(t)+c.offsetY)+'"');c.spreadRadius&&c.spreadRadius<0&&(u+=to("mask",{id:v+"-neg",maskUnits:"userSpaceOnUse"},y.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-(2*c.spreadRadius)}"`))),c.spreadRadius&&c.spreadRadius<0&&(y=to("g",{mask:`url(#${v}-neg)`},y)),u+=to("defs",{},to("filter",{id:m,x:`${d/e*100}%`,y:`${p/t*100}%`,width:`${(h-d)/e*100}%`,height:`${(g-p)/t*100}%`},to("feGaussianBlur",{stdDeviation:c.blurRadius/2,result:"b"})+to("feFlood",{"flood-color":c.color,in:"SourceGraphic",result:"f"})+to("feComposite",{in:"f",in2:"b",operator:c.inset?"out":"in"})))+to("g",{mask:`url(#${v})`,filter:`url(#${m})`,opacity:n},y),c.inset?s+=u:a+=u}return[a,s]}({width:n,height:i,id:e,opacity:m,shape:to(d,{x:t,y:r,width:n,height:i,fill:"#fff",stroke:"#fff","stroke-width":0,d:k||void 0,transform:h||void 0,"clip-path":E,mask:x})},u);return(p?to("defs",{},p):"")+(M?M[0]:"")+(A?A[0]:"")+O+(1!==m?`<g opacity="${m}">`:"")+(u.transform&&(E||x)?`<g${E?` clip-path="${E}"`:""}${x?` mask="${x}"`:""}>`:"")+(b||P)+(u.transform&&(E||x)?"</g>":"")+(1!==m?"</g>":"")+(M?M[1]:"")+v}var rn=String.raw,ri=rn`\p{Emoji}(?:\p{EMod}|[\u{E0020}-\u{E007E}]+\u{E007F}|\uFE0F?\u20E3?)`,ro={emoji:RegExp(RegExp(rn`\p{RI}{2}|(?![#*\d](?!\uFE0F?\u20E3))${ri}(?:\u200D${ri})*`,"gu"),"u"),symbol:/\p{Symbol}/u,math:/\p{Math}/u},ra={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},rs=Object.keys({...ra,...ro});async function*rl(e,t){var r,n;let i=await eB(),{id:o,inheritedStyle:a,parent:s,font:l,debug:u,locale:c,embedFont:f=!0,graphemeImages:d,canLoadAdditionalAssets:h,getTwStyles:p}=t;if(null===e||typeof e>"u")return yield,yield,"";if(!e6(e)||"function"==typeof e.type){let r;if(e6(e)){if(n=e.type,/^class\s/.test(n.toString()))throw Error("Class component is not supported.");r=rl(await e.type(e.props),t),yield(await r.next()).value}else r=tV(String(e),t),yield(await r.next()).value;await r.next();let i=yield;return(await r.next(i)).value}let{type:g,props:m}=e;if(m&&"dangerouslySetInnerHTML"in m)throw Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:v,children:b,tw:y,lang:w=c}=m||{},x=function(e){if(e)return rs.find(t=>t.toLowerCase().startsWith(e.toLowerCase()))}(w);y&&(v=Object.assign(p(y,v),v));let k=i.Node.create();s.insertChild(k,s.getChildCount());let[S,_]=await tW(k,g,a,v,m),T=S.transform===a.transform;if(T||(S.transform.__parent=a.transform),("hidden"===S.overflow||S.clipPath&&"none"!==S.clipPath)&&(_._inheritedClipPathId=`satori_cp-${o}`,_._inheritedMaskId=`satori_om-${o}`),S.maskImage&&(_._inheritedMaskId=`satori_mi-${o}`),"text"===S.backgroundClip){let e={value:""};
5_._inheritedBackgroundClipTextPath=e,S._inheritedBackgroundClipTextPath=e}let E=function(e){let t=typeof e>"u"?[]:[].concat(e).flat(1/0),r=[];for(let e=0;e<t.length;e++){let n=t[e];typeof n>"u"||"boolean"==typeof n||null===n||("number"==typeof n&&(n=String(n)),"string"==typeof n&&r.length&&"string"==typeof r[r.length-1]?r[r.length-1]+=n:r.push(n))}return r}(b),O=[],P=0,I=[];for(let e of E){let r=rl(e,{id:o+"-"+P++,parentStyle:S,inheritedStyle:_,isInheritingTransform:!0,parent:k,font:l,embedFont:f,debug:u,graphemeImages:d,canLoadAdditionalAssets:h,locale:x,getTwStyles:p,onNodeDetected:t.onNodeDetected});h?I.push(...(await r.next()).value||[]):await r.next(),O.push(r)}for(let e of(yield I,O))await e.next();let[A,M]=yield,{left:C,top:L,width:R,height:$}=k.getComputedLayout();C+=A,L+=M;let j="",D="",N="",{children:F,...W}=m;if(null==(r=t.onNodeDetected)||r.call(t,{left:C,top:L,width:R,height:$,type:g,props:W,key:e.key,textContent:e6(F)?void 0:F}),"img"===g){let e=S.__src;D=await rr({id:o,left:C,top:L,width:R,height:$,src:e,isInheritingTransform:T,debug:u},S,_)}else if("svg"===g){let t=S.color,r=await tO(e,t);D=await rr({id:o,left:C,top:L,width:R,height:$,src:r,isInheritingTransform:T,debug:u},S,_)}else{let e=null==v?void 0:v.display;if("div"===g&&b&&"string"!=typeof b&&"flex"!==e&&"none"!==e)throw Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');D=await rr({id:o,left:C,top:L,width:R,height:$,isInheritingTransform:T,debug:u},S,_)}for(let e of O)j+=(await e.next([C,L])).value;return S._inheritedBackgroundClipTextPath&&(N+=to("clipPath",{id:`satori_bct-${o}`,"clip-path":S._inheritedClipPathId?`url(#${S._inheritedClipPathId})`:void 0},S._inheritedBackgroundClipTextPath.value)),N+D+j}var ru="unknown",rc=class{constructor(e){this.fonts=new Map,this.addFonts(e)}get({name:e,weight:t,style:r}){if(!this.fonts.has(e))return null;"normal"===t&&(t=400),"bold"===t&&(t=700),"string"==typeof t&&(t=Number.parseInt(t,10));let n=[...this.fonts.get(e)],i=n[0];for(let e=1;e<n.length;e++){let[,o,a]=i,[,s,l]=n[e];(function(e,t,[r,n],[i,o]){if(r!==i)return r?i&&r!==e?i===e?1:400===e&&500===r||500===e&&400===r?-1:400===e&&500===i||500===e&&400===i?1:e<400?r<e&&i<e?i-r:r<e?-1:i<e?1:r-i:e<r&&e<i?r-i:e<r?-1:e<i?1:i-r:-1:1;if(n!==o){if(n===t)return -1;if(o===t)return 1}return -1})(t,r,[o,a],[s,l])>0&&(i=n[e])}return i[0]}addFonts(e){for(let t of e){let{name:e,data:r,lang:n}=t;if(n&&!rs.includes(n))throw Error(`Invalid value for props \`lang\`: "${n}". The value must be one of the following: ${rs.join(", ")}.`);let i=n??ru,o=g.Ay.parse("buffer"in r?r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength):r,{lowMemory:!0}),a=o.charToGlyphIndex;o.charToGlyphIndex=e=>{let t=a.call(o,e);return 0===t&&o._trackBrokenChars&&o._trackBrokenChars.push(e),t},this.defaultFont||(this.defaultFont=o);let s=`${e.toLowerCase()}_${i}`;this.fonts.has(s)||this.fonts.set(s,[]),this.fonts.get(s).push([o,t.weight,t.style])}}getEngine(e=16,t="normal",{fontFamily:r="sans-serif",fontWeight:n=400,fontStyle:i="normal"},o){if(!this.fonts.size)throw Error("No fonts are loaded. At least one font is required to calculate the layout.");r=(Array.isArray(r)?r:[r]).map(e=>e.toLowerCase());let a=[];r.forEach(e=>{let t=this.get({name:e,weight:n,style:i});if(t)return void a.push(t);let r=this.get({name:e+"_unknown",weight:n,style:i});if(r)return void a.push(r)});let s=Array.from(this.fonts.keys()),l=[],u=[],c=[];for(let e of s)if(!r.includes(e))if(o){let t=function(e){let t=e.split("_"),r=t[t.length-1];return r===ru?void 0:r}(e);t?t===o?l.push(this.get({name:e,weight:n,style:i})):u.push(this.get({name:e,weight:n,style:i})):c.push(this.get({name:e,weight:n,style:i}))}else c.push(this.get({name:e,weight:n,style:i}));let f=new Map,d=(e,t=!0)=>{let r=[...a,...c,...l,...t?u:[]];if(typeof e>"u")return t?r[r.length-1]:void 0;let n=e.charCodeAt(0);if(f.has(n))return f.get(n);let i=r.find((n,i)=>!!n.charToGlyphIndex(e)||t&&i===r.length-1);return i&&f.set(n,i),i},h=(t,r=!1)=>{var n,i;return((r?null==(i=null==(n=t.tables)?void 0:n.os2)?void 0:i.sTypoAscender:0)||t.ascender)/t.unitsPerEm*e},p=(t,r=!1)=>{var n,i;return((r?null==(i=null==(n=t.tables)?void 0:n.os2)?void 0:i.sTypoDescender:0)||t.descender)/t.unitsPerEm*e},g=(r,n=!1)=>{var i,o;if("string"==typeof t&&"normal"===t){let t=(n?null==(o=null==(i=r.tables)?void 0:i.os2)?void 0:o.sTypoLineGap:0)||0;return h(r,n)-p(r,n)+t/r.unitsPerEm*e}if("number"==typeof t)return e*t},m=e=>d(e,!1);return{has:e=>{if(e===`
6`)return!0;let t=m(e);return!!t&&(t._trackBrokenChars=[],t.stringToGlyphs(e),!t._trackBrokenChars.length||(t._trackBrokenChars=void 0,!1))},baseline:(e,t=typeof e>"u"?a[0]:d(e))=>{let r=h(t),n=p(t);return r+(g(t)-(r-n))/2},height:(e,t=typeof e>"u"?a[0]:d(e))=>g(t),measure:(e,t)=>
6this.measure(d,e,t),getSVG:(e,t)=>this.getSVG(d,e,t)}}patchFontFallbackResolver(e,t){let r=[];e._trackBrokenChars=r;let n=e.stringToGlyphs;return e.stringToGlyphs=(i,...o)=>{let a=n.call(e,i,...o);for(let n=0;n<a.length;n++)if(void 0===a[n].unicode){let i=r.shift(),o=t(i);if(o!==e){let t=o.charToGlyph(i),r=e.unitsPerEm/o.unitsPerEm,s=new g.Ay.Path;s.unitsPerEm=e.unitsPerEm,s.commands=t.path.commands.map(e=>{let t={...e};for(let e in t)"number"==typeof t[e]&&(t[e]*=r);return t});let l=new g.Ay.Glyph({...t,advanceWidth:t.advanceWidth*r,xMin:t.xMin*r,xMax:t.xMax*r,yMin:t.yMin*r,yMax:t.yMax*r,path:s});a[n]=l}}return a},()=>{e.stringToGlyphs=n,e._trackBrokenChars=void 0}}measure(e,t,{fontSize:r,letterSpacing:n=0}){let i=e(t),o=this.patchFontFallbackResolver(i,e);try{return i.getAdvanceWidth(t,r,{letterSpacing:n/r})}finally{o()}}getSVG(e,t,{fontSize:r,top:n,left:i,letterSpacing:o=0}){let a=e(t),s=this.patchFontFallbackResolver(a,e);try{return 0===r?"":a.getPath(t.replace(/\n/g,""),i,n,r,{letterSpacing:o/r}).toPathData(1)}finally{s()}}},rf=((e,t,r)=>(r=null!=e?v(x(e)):{},E(!t&&e&&e.__esModule?r:b(r,"default",{value:e,enumerable:!0}),e)))(eF()),rd=["ios","android","windows","macos","web"],rh=["portrait","landscape"];function rp(e){return"string"==typeof e}function rg(e){return"object"==typeof e}function rm(e){return{kind:"complete",style:e}}function rv(e,t={}){let{fractions:r}=t;if(r&&e.includes("/")){let[t="",r=""]=e.split("/",2),n=rv(t),i=rv(r);return n&&i?[n[0]/i[0],i[1]]:null}let n=parseFloat(e);if(Number.isNaN(n))return null;let o=e.match(/(([a-z]{2,}|%))$/);if(!o)return[n,i.none];switch(null==o?void 0:o[1]){case"rem":return[n,i.rem];case"px":return[n,i.px];case"em":return[n,i.em];case"%":return[n,i.percent];case"vw":return[n,i.vw];case"vh":return[n,i.vh];default:return null}}function rb(e,t,r={}){let n=rw(t,r);return null===n?null:rm({[e]:n})}function ry(e,t,r){let n=rw(t);return null!==n&&(r[e]=n),r}function rw(e,t={}){if(void 0===e)return null;let r=rv(String(e),t);return r?rx(...r,t):null}function rx(e,t,r={}){let{isNegative:n,device:o}=r;switch(t){case i.rem:return 16*e*(n?-1:1);case i.px:return e*(n?-1:1);case i.percent:return`${n?"-":""}${e}%`;case i.none:return e*(n?-1:1);case i.vw:return null!=o&&o.windowDimensions?o.windowDimensions.width*(e/100):(rI("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case i.vh:return null!=o&&o.windowDimensions?o.windowDimensions.height*(e/100):(rI("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function rk(e){let t=rv(e);if(!t)return null;let[r,n]=t;switch(n){case i.rem:return 16*r;case i.px:return r;default:return null}}!function(e){e.fontSize="fontSize",e.lineHeight="lineHeight"}(n||(n={})),function(e){e.rem="rem",e.em="em",e.px="px",e.percent="%",e.vw="vw",e.vh="vh",e.none="<no-css-unit>"}(i||(i={}));var rS={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function r_(e){return rS[e??""]||"All"}function rT(e){let t="All";return[e.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(e,r)=>(t=r_(r),"")),t]}function rE(e,t={}){if(e.includes("/")){let r=rP(e,{...t,fractions:!0});if(r)return r}return"["===e[0]&&(e=e.slice(1,-1)),rP(e,t)}function rO(e,t,r={}){let n=rE(t,r);return null===n?null:rm({[e]:n})}function rP(e,t={}){if("px"===e)return 1;let r=rv(e,t);if(!r)return null;let[n,o]=r;return t.fractions&&(o=i.percent,n*=100),o===i.none&&(n/=4,o=i.rem),rx(n,o,t)}var rI=typeof m>"u"||(null==(o=null==m?void 0:m.env)?void 0:o.JEST_WORKER_ID)===void 0?function(...e){console.warn(...e)}:function(...e){},rA=[["aspect-square",rm({aspectRatio:1})],["aspect-video",rm({aspectRatio:16/9})],["items-center",rm({alignItems:"center"})],["items-start",rm({alignItems:"flex-start"})],["items-end",rm({alignItems:"flex-end"})],["items-baseline",rm({alignItems:"baseline"})],["items-stretch",rm({alignItems:"stretch"})],["justify-start",rm({justifyContent:"flex-start"})],["justify-end",rm({justifyContent:"flex-end"})],["justify-center",rm({justifyContent:"center"}
6)],["justify-between",rm({justifyContent:"space-between"})],["justify-around",rm({justifyContent:"space-around"})],["justify-evenly",rm({justifyContent:"space-evenly"})],["content-start",rm({alignContent:"flex-start"})],["content-end",rm({alignContent:"flex-end"})],["content-between",rm({alignContent:"space-between"})],["content-around",rm({alignContent:"space-around"})],["content-stretch",rm({alignContent:"stretch"})],["content-center",rm({alignContent:"center"})],["self-auto",rm({alignSelf:"auto"})],["self-start",rm({alignSelf:"flex-start"})],["self-end",rm({alignSelf:"flex-end"})],["self-center",rm({alignSelf:"center"})],["self-stretch",rm({alignSelf:"stretch"})],["self-baseline",rm({alignSelf:"baseline"})],["direction-inherit",rm({direction:"inherit"})],["direction-ltr",rm({direction:"ltr"})],["direction-rtl",rm({direction:"rtl"})],["hidden",rm({display:"none"})],["flex",rm({display:"flex"})],["flex-row",rm({flexDirection:"row"})],["flex-row-reverse",rm({flexDirection:"row-reverse"})],["flex-col",rm({flexDirection:"column"})],["flex-col-reverse",rm({flexDirection:"column-reverse"})],["flex-wrap",rm({flexWrap:"wrap"})],["flex-wrap-reverse",rm({flexWrap:"wrap-reverse"})],["flex-nowrap",rm({flexWrap:"nowrap"})],["flex-auto",rm({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",rm({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",rm({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",rm({overflow:"hidden"})],["overflow-visible",rm({overflow:"visible"})],["overflow-scroll",rm({overflow:"scroll"})],["absolute",rm({position:"absolute"})],["relative",rm({position:"relative"})],["italic",rm({fontStyle:"italic"})],["not-italic",rm({fontStyle:"normal"})],["oldstyle-nums",rM("oldstyle-nums")],["small-caps",rM("small-caps")],["lining-nums",rM("lining-nums")],["tabular-nums",rM("tabular-nums")],["proportional-nums",rM("proportional-nums")],["font-thin",rm({fontWeight:"100"})],["font-100",rm({fontWeight:"100"})],["font-extralight",rm({fontWeight:"200"})],["font-200",rm({fontWeight:"200"})],["font-light",rm({fontWeight:"300"})],["font-300",rm({fontWeight:"300"})],["font-normal",rm({fontWeight:"normal"})],["font-400",rm({fontWeight:"400"})],["font-medium",rm({fontWeight:"500"})],["font-500",rm({fontWeight:"500"})],["font-semibold",rm({fontWeight:"600"})],["font-600",rm({fontWeight:"600"})],["font-bold",rm({fontWeight:"bold"})],["font-700",rm({fontWeight:"700"})],["font-extrabold",rm({fontWeight:"800"})],["font-800",rm({fontWeight:"800"})],["font-black",rm({fontWeight:"900"})],["font-900",rm({fontWeight:"900"})],["include-font-padding",rm({includeFontPadding:!0})],["remove-font-padding",rm({includeFontPadding:!1})],["max-w-none",rm({maxWidth:"99999%"})],["text-left",rm({textAlign:"left"})],["text-center",rm({textAlign:"center"})],["text-right",rm({textAlign:"right"})],["text-justify",rm({textAlign:"justify"})],["text-auto",rm({textAlign:"auto"})],["underline",rm({textDecorationLine:"underline"})],["line-through",rm({textDecorationLine:"line-through"})],["no-underline",rm({textDecorationLine:"none"})],["uppercase",rm({textTransform:"uppercase"})],["lowercase",rm({textTransform:"lowercase"})],["capitalize",rm({textTransform:"capitalize"})],["normal-case",rm({textTransform:"none"})],["w-auto",rm({width:"auto"})],["h-auto",rm({height:"auto"})],["shadow-sm",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.025,elevation:1})],["shadow",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:.075,elevation:2})],["shadow-md",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:.125,elevation:3})],["shadow-lg",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.15,shadowRadius:8,elevation:8})],["shadow-xl",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.19,shadowRadius:20,elevation:12})],["shadow-2xl",rm({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:.25,shadowRadius:30,elevation:16})],["shadow-none",rm({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]];function rM(e){return{kind:"dependent",complete(t){t.fontVariant&&Array.isArray(t.fontVariant)||(t.fontVariant=[]),t.fontVariant.push(e)}}}var rC=class{constructor(e){this.ir=new Map(rA),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...rA,...e??[]])}getStyle(e){return this.styles.get(e)}setStyle(e,t){this.styles.set(e,t)}getIr(e){return this.ir.get(e)}setIr(e,t){this.ir.set(e,t)}getPrefixMatch(e){return this.prefixes.get(e)}setPrefixMatch(e,t){this.prefixes.set(e,t)}};function rL(e,t){let r=rv(e);if(r){let[e,n]=r;if((n===i.none||n===i.em)&&"number"==typeof t.fontSize)return t.fontSize*e}return e}function rR(e,t,r,n){let i=rx(e,t);return null===i?null:r$(r,n,i)}function r$(e,t,r){switch(e){case"All":return{kind:"complete",style:{[`${t}Top`]:r,[`${t}Right`]:r,[`${t}Bottom`]:r,[`${t}Left`]:r}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${t}${e}`]:r}};case"Vertical":return{kind:"complete",style:{[`${t}Top`]:r,[`${t}Bottom`]:r}};case"Horizontal":return{kind:"complete",style:{[`${t}Left`]:r,[`${t}Right`]:r}};default:return null}}function rj(e,t,r){let n;if(!r)return null;t.includes("/")&&([t="",n]=t.split("/",2));let i="";if(!(i=t.startsWith("[#")||t.startsWith("[rgb")?t.slice(1,-1):function e(t,r){let n=r[t];if(rp(n))return n;if(rg(n)&&rp(n.DEFAULT))return n.DEFAULT;let[i="",...o]=t.split("-");for(;i!==t;){let t=r[i];if(rg(t))return e(o.join("-"),t);if(0===o.length)break;i=`${i}-${o.shift()}`}return""}(t,r)))return null;if(n){let t=Number(n);if(!Number.isNaN(t))return i=rN(i,t/100),rm({[rF[e].color]:i})}return{kind:"dependent",complete(t){let r=t[rF[e].opacity];"number"==typeof r&&(i=rN(i,r)),t[rF[e].color]=i}}}function rD(e,t){let r=parseInt(t,10);return Number.isNaN(r)?null:{kind:"complete",style:{[rF[e].opacity]:r/100}}}function rN(e,t){return e.startsWith("#")?e=function(e){let t=e,r=rB.exec(e=e.replace(rW,(e,t,r,n)=>t+t+r+r+n+n));
6if(!r)return rI(`invalid config hex color value: ${t}`),"rgba(0, 0, 0, 1)";let n=parseInt(r[1],16),i=parseInt(r[2],16),o=parseInt(r[3],16);return`rgba(${n}, ${i}, ${o}, 1)`}(e):e.startsWith("rgb(")&&(e=e.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),e.replace(/, ?\d*\.?(\d+)\)$/,`, ${t})`)}var rF={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"}},rW=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,rB=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;function rz(e){if((null==e?void 0:e.kind)!=="complete")return e;let t=e.style.borderTopRadius;void 0!==t&&(e.style.borderTopLeftRadius=t,e.style.borderTopRightRadius=t,delete e.style.borderTopRadius);let r=e.style.borderBottomRadius;void 0!==r&&(e.style.borderBottomLeftRadius=r,e.style.borderBottomRightRadius=r,delete e.style.borderBottomRadius);let n=e.style.borderLeftRadius;void 0!==n&&(e.style.borderBottomLeftRadius=n,e.style.borderTopLeftRadius=n,delete e.style.borderLeftRadius);let i=e.style.borderRightRadius;return void 0!==i&&(e.style.borderBottomRightRadius=i,e.style.borderTopRightRadius=i,delete e.style.borderRightRadius),e}function rU(e,t,r,n){let i=null;"inset"===e&&(t=t.replace(/^(x|y)-/,(e,t)=>(i="x"===t?"x":"y","")));let o=null==n?void 0:n[t];if(o){let t=rw(o,{isNegative:r});if(null!==t)return rG(e,i,t)}let a=rE(t,{isNegative:r});return null!==a?rG(e,i,a):null}function rG(e,t,r){if("inset"!==e)return rm({[e]:r});switch(t){case null:return rm({top:r,left:r,right:r,bottom:r});case"y":return rm({top:r,bottom:r});case"x":return rm({left:r,right:r})}}function rq(e,t,r){var n;let i=""===(t=t.replace(/^-/,""))?"DEFAULT":t,o=Number(null!=(n=null==r?void 0:r[i])?n:t);return Number.isNaN(o)?null:rm({[`flex${e}`]:o})}function rH(e,t,r={},n){let i=null==n?void 0:n[t];return void 0!==i?rb(e,i,r):rO(e,t,r)}function rY(e,t,r={},n){let i=rw(null==n?void 0:n[t],r);return i?rm({[e]:i}):("screen"===t&&(t=e.includes("Width")?"100vw":"100vh"),rO(e,t,r))}function rV(e){let t=rE(e);return"number"==typeof t?t:null}var rX=class{constructor(e,t={},r,n,i){var o,a,s,l,u,c;this.config=t,this.cache=r,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=n;let f=e.trim().split(":"),d=[];1===f.length?this.string=e:(this.string=null!=(o=f.pop())?o:"",d=f),this.char=this.string[0];let h=function(e){if(!e)return{};let t=Object.entries(e).reduce((e,[t,r])=>{let n=[0,1/0,0],i="string"==typeof r?{min:r}:r,o=i.min?rk(i.min):0;null===o?rI(`invalid screen config value: ${t}->min: ${i.min}`):n[0]=o;let a=i.max?rk(i.max):1/0;return null===a?rI(`invalid screen config value: ${t}->max: ${i.max}`):n[1]=a,e[t]=n,e},{}),r=Object.values(t);r.sort((e,t)=>{let[r,n]=e,[i,o]=t;return n===1/0||o===1/0?r-i:n-o});let n=0;return r.forEach(e=>e[2]=n++),t}(null==(a=this.config.theme)?void 0:a.screens);for(let e of d)if(h[e]){let t=null==(s=h[e])?void 0:s[2];void 0!==t&&(this.order=(null!=(l=this.order)?l:0)+t);let r=null==(u=n.windowDimensions)?void 0:u.width;if(r){let[t,n]=null!=(c=h[e])?c:[0,0];(r<=t||r>n)&&(this.isNull=!0)}else this.isNull=!0}else rd.includes(e)?this.isNull=e!==i:rh.includes(e)?n.windowDimensions?(n.windowDimensions.width>n.windowDimensions.height?"landscape":"portrait")!==e?this.isNull=!0:this.incrementOrder():this.isNull=!0:"retina"===e?2===n.pixelDensity?this.incrementOrder():this.isNull=!0:"dark"===e?"dark"!==n.colorScheme?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(e)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let e=this.cache.getIr(this.rest);if(e)return e;this.parseIsNegative();let t=this.parseUtility();return t?void 0!==this.order?{kind:"ordered",order:this.order,styleIr:t}:t:{kind:"null"}}parseUtility(){var e,t,r,n,o;let a,s=this.config.theme,l=null;switch(this.char){case"m":case"p":{let n=this.peekSlice(1,3).match(/^(t|b|r|l|x|y
6)?-/);if(n){let o="m"===this.char?"margin":"padding";this.advance((null!=(t=null==(e=n[0])?void 0:e.length)?t:0)+1);let a=function(e,t,r,n,o){let a="";if("["===n[0])a=n.slice(1,-1);else{let r=null==o?void 0:o[n];if(r)a=r;else{let r=rE(n);return r&&"number"==typeof r?rR(r,i.px,t,e):null}}if("auto"===a)return r$(t,e,"auto");let s=rv(a);if(!s)return null;let[l,u]=s;return r&&(l=-l),rR(l,u,t,e)}(o,r_(n[1]),this.isNegative,this.rest,null==(r=this.config.theme)?void 0:r[o]);if(a)return a}}}if(this.consumePeeked("h-")&&(l=rH("height",this.rest,this.context,null==s?void 0:s.height))||this.consumePeeked("w-")&&(l=rH("width",this.rest,this.context,null==s?void 0:s.width))||this.consumePeeked("min-w-")&&(l=rY("minWidth",this.rest,this.context,null==s?void 0:s.minWidth))||this.consumePeeked("min-h-")&&(l=rY("minHeight",this.rest,this.context,null==s?void 0:s.minHeight))||this.consumePeeked("max-w-")&&(l=rY("maxWidth",this.rest,this.context,null==s?void 0:s.maxWidth))||this.consumePeeked("max-h-")&&(l=rY("maxHeight",this.rest,this.context,null==s?void 0:s.maxHeight))||this.consumePeeked("leading-")&&(l=function(e,t){var r;let n=rv(null!=(r=null==t?void 0:t[e])?r:e.startsWith("[")?e.slice(1,-1):e);if(!n)return null;let[o,a]=n;if(a===i.none)return{kind:"dependent",complete(e){if("number"!=typeof e.fontSize)return"relative line-height utilities require that font-size be set";e.lineHeight=e.fontSize*o}};let s=rx(o,a);return null!==s?rm({lineHeight:s}):null}(this.rest,null==s?void 0:s.lineHeight))||this.consumePeeked("text-")&&((l=function(e,t,r={}){let n,i=null==t?void 0:t[e];if(!i)return rO("fontSize",e,r);if("string"==typeof i)return rb("fontSize",i);let o={},[a,s]=i,l=null===(n=rw(a))?null:{fontSize:n};if(l&&(o=l),"string"==typeof s)return rm(ry("lineHeight",rL(s,o),o));let{lineHeight:u,letterSpacing:c}=s;return u&&ry("lineHeight",rL(u,o),o),c&&ry("letterSpacing",c,o),rm(o)}(this.rest,null==s?void 0:s.fontSize,this.context))||(l=rj("text",this.rest,null==s?void 0:s.textColor))||this.consumePeeked("opacity-")&&(l=rD("text",this.rest)))||this.consumePeeked("font-")&&(l=function(e,t){let r=null==t?void 0:t[e];if(!r)return null;if("string"==typeof r)return rm({fontFamily:r});let n=r[0];return n?rm({fontFamily:n}):null}(this.rest,null==s?void 0:s.fontFamily))||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&rI("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),l=rb("aspectRatio",this.rest,{fractions:!0}))||this.consumePeeked("tint-")&&(l=rj("tint",this.rest,null==s?void 0:s.colors))||this.consumePeeked("bg-")&&((l=rj("bg",this.rest,null==s?void 0:s.backgroundColor))||this.consumePeeked("opacity-")&&(l=rD("bg",this.rest)))||this.consumePeeked("border")&&((l=function(e,t){let[r,n]=rT(e);if(r.match(/^(-?(\d)+)?$/)){var i=r,o=n,a=null==t?void 0:t.borderWidth;if(!a)return null;let e=a[""===(i=i.replace(/^-/,""))?"DEFAULT":i];return void 0===e?null:rb(`border${"All"===o?"":o}Width`,e)}if(["dashed","solid","dotted"].includes(r=r.replace(/^-/,"")))return rm({borderStyle:r});let s="border";switch(n){case"Bottom":s="borderBottom";break;case"Top":s="borderTop";break;case"Left":s="borderLeft";break;case"Right":s="borderRight"}let l=rj(s,r,null==t?void 0:t.borderColor);if(l)return l;let u=`border${"All"===n?"":n}Width`,c=rO(u,(r=r.replace(/^-/,"")).slice(1,-1));return"number"!=typeof(null==c?void 0:c.style[u])?null:c}(this.rest,s))||this.consumePeeked("-opacity-")&&(l=rD("border",this.rest)))||this.consumePeeked("rounded")&&(l=function(e,t){if(!t)return null;let[r,n]=rT(e);""===(r=r.replace(/^-/,""))&&(r="DEFAULT");let i=`border${"All"===n?"":n}Radius`,o=t[r];if(o)return rz(rb(i,o));let a=rO(i,r);return"number"!=typeof(null==a?void 0:a.style[i])?null:rz(a)}(this.rest,null==s?void 0:s.borderRadius))||this.consumePeeked("bottom-")&&(l=rU("bottom",this.rest,this.isNegative,null==s?void 0:s.inset))||this.consumePeeked("top-")&&(l=rU("top",this.rest,this.isNegative,null==s?void 0:s.inset))||this.consumePeeked("left-")&&(l=rU("left",this.rest,this.isNegative,null==s?void 0:s.inset))||this.consumePeeked("right-")&&(l=rU("right",this.rest,this.isNegative,null==s?void 0:s.inset))||this.consumePeeked("inset-")&&(l=rU("inset",this.rest,this.isNegative,null==s?void 0:s.inset))||this.consumePeeked("flex-")&&(l=this.consumePeeked("grow")?rq("Grow",this.rest,null==s?void 0:s.flexGrow):this.consumePeeked("shrink")?rq("Shrink",this.rest,null==s?void 0:s.flexShrink):function(e,t){var r,n;if(["min-content","revert","unset"].includes(e=(null==t?void 0:t[e])||e))return null;if(e.match(/^\d+(\.\d+)?$/))return rm({flexGrow:Number(e),flexBasis:"0%"});let i=e.match(/^(\d+)\s+(\d+)$/);if(i)return rm({flexGrow:Number(i[1]),flexShrink:Number(i[2])});if(i=e.match(/^(\d+)\s+([^ ]+)$/)){let e=rw(null!=(r=i[2])?r:"");return e?rm({flexGrow:Number(i[1]),flexBasis:e}):null}if(i=e.match(/^(\d+)\s+(\d+)\s+(.+)$/)){let e=rw(null!=(n=i[3])?n:"");return e?rm({flexGrow:Number(i[1]),flexShrink:Number(i[2]),flexBasis:e}):null}return null}(this.rest,null==s?void 0:s.flex))||this.consumePeeked("grow")&&(l=rq("Grow",this.rest,null==s?void 0:s.flexGrow))||this.consumePeeked("shrink")&&(l=rq("Shrink",this.rest,null==s?void 0:s.flexShrink))||this.consumePeeked("shadow-color-opacity-")&&(l=rD("shadow",this.rest))||this.consumePeeked("shadow-opacity-")&&(l=Number.isNaN(a=parseInt(this.rest,10))?null:{kind:"complete",style:{shadowOpacity:a/100}})||this.consumePeeked("shadow-offset-")&&(l=function(e){if(e.includes("/")){let[t="",r=""]=e.split("/",2),n=rV(t),i=rV(r);return null===n||null===i?null:{kind:"complete",style:{shadowOffset:{width:n,height:i}}}}let t=rV(e);return null===t?null:{kind:"complete",style:{shadowOffset:{width:t,height:t}}}}(this.rest))||this.consumePeeked("shadow-radius-")&&(l=rO("shadowRadius",this.rest))||this.consumePeeked("shadow-")&&(l=rj("shadow",this.rest,null==s?void 0:s.colors)))return l;if(this.consumePeeked("elevation-")){let e=parseInt(this.rest,10);if(!Number.isNaN(e))return rm({elevation:e})}if(this.consumePeeked("opacity-")&&(l=function(e,t){let r=null==t?void 0:t[e];if(r){let e=rv(String(r));if(e)return rm({opacity:e[0]})}let n=rv(e);return n?rm({opacity:n[0]/100}):null}(this.rest,null==s?void 0:s.opacity))||this.consumePeeked("tracking-")&&(l=function(e,t,r){let n=null==r?void 0:r[e];if(n){let e=rv(n,{isNegative:t});if(!e)return null;let[r,a]=e;if(a===i.em){var o;return o=r,{kind:"dependent",complete(e){let t=e.fontSize;if("number"!=typeof t||Number.isNaN(t))return"tracking-X relative letter spacing classes require font-size to be set";e.letterSpacing=Math.round((o*t+Number.EPSILON)*100)/100}}}if(a===i.percent)return rI("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=rx(r,a,{isNegative:t});return null!==s?rm({letterSpacing:s}):null}return rO("letterSpacing",e,{isNegative:t})}(this.rest,this.isNegative,null==s?void 0:s.letterSpacing)))return l;if(this.consumePeeked("z-")){let e=Number(null!=(o=null==(n=null==s?void 0:s.zIndex)?void 0:n[this.rest])?o:this.rest);if(!Number.isNaN(e))return rm({zIndex:e})}return rI(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(e){var t;if("m"!==e[0])return!1;let r=e.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!r)return!1;if(!(null!=(t=this.context.device)&&t.windowDimensions))return this.isNull=!0,!0;let n=this.context.device.windowDimensions,[,i="",o="",a=""]=r,s="w"===o?n.width:n.height,l=rv(a,this.context);if(null===l)return this.isNull=!0,!0;let[u,c]=l;return"px"!==c&&(this.isNull=!0),("min"===i?s>=u:s<=u)?this.incrementOrder():this.isNull=!0,!0}advance(e=1){this.position+=e,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(e,t){return this.string.slice(this.position+e,this.position+t)}consumePeeked(e){return this.peekSlice(0,e.length)===e&&(this.advance(e.length),!0)}parseIsNegative(){"-"===this.char&&(this.advance(),this.isNegative=!0,this.context.
6isNegative=!0)}incrementOrder(){var e;this.order=(null!=(e=this.order)?e:0)+1}};function rQ(e){return e.trim().split(/\s+/)}function rJ(e,t,r){return r.indexOf(e)===t}function rK(e){throw Error(`tailwindcss plugin function argument object prop "${e}" not implemented`)}var rZ={addComponents:rK,addBase:rK,addVariant:rK,e:rK,prefix:rK,theme:rK,variants:rK,config:rK,corePlugins:rK,matchUtilities:rK,postcss:null},r0={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"}})}},r1=new WeakMap;async function r2(e,t){let r,n=await eB();if(!n||!n.Node)throw Error("Satori is not initialized: expect `yoga` to be loaded, got "+n);t.fonts=t.fonts||[],r1.has(t.fonts)?r=r1.get(t.fonts):r1.set(t.fonts,r=new rc(t.fonts));let i="width"in t?t.width:void 0,o="height"in t?t.height:void 0,s=function(e,t){if(!t)return e.Node.create();{let r=e.Config.create();return r.setPointScaleFactor(t),e.Node.createWithConfig(r)}}(n,t.pointScaleFactor);i&&s.setWidth(i),o&&s.setHeight(o),s.setFlexDirection(n.FLEX_DIRECTION_ROW),s.setFlexWrap(n.WRAP_WRAP),s.setAlignContent(n.ALIGN_AUTO),s.setAlignItems(n.ALIGN_FLEX_START),s.setJustifyContent(n.JUSTIFY_FLEX_START),s.setOverflow(n.OVERFLOW_HIDDEN);let l={...t.graphemeImages},u=new Set;tb.clear(),ty.clear(),await tE(e);let c=rl(e,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:"normal",color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:i,_viewportHeight:o},parent:s,font:r,embedFont:t.embedFont,debug:t.debug,graphemeImages:l,canLoadAdditionalAssets:!!t.loadAdditionalAsset,onNodeDetected:t.onNodeDetected,getTwStyles:(e,r)=>{let n={...(function({width:e,height:t,config:r}){return a||(a=function(e,t){var r,n;let i=(0,rf.default)({...e,content:["_no_warnings_please"]}),o={},a=null!=(n=null==(r=i.plugins)?void 0:r.reduce((e,t)=>{var r;let n;return{...e,...(r=t.handler,n={},r({addUtilities:e=>{n=e},...rZ}),n)}},{}))?n:{},s={},l=Object.entries(a).map(([e,t])=>"string"==typeof t?(s[e]=t,[e,{kind:"null"}]):[e,rm(t)]).filter(([,e])=>"null"!==e.kind);function u(){return[!!o.windowDimensions&&`w${o.windowDimensions.width}`,!!o.windowDimensions&&`h${o.windowDimensions.height}`,!!o.fontScale&&`fs${o.fontScale}`,"dark"===o.colorScheme&&"dark",2===o.pixelDensity&&"retina"].filter(Boolean).join("--")||"default"}let c=u(),f={};function d(){let e=f[c];if(e)return e;let t=new rC(l);return f[c]=t,t}function h(...e){let t,r,n=d(),a={},l=[],u=[],[c,f]=(t=[],r=null,e.forEach(e=>{if("string"==typeof e)t=[...t,...rQ(e)];else if(Array.isArray(e))t=[...t,...e.flatMap(rQ)];else if("object"==typeof e&&null!==e)for(let[n,i]of Object.entries(e))"boolean"==typeof i?t=[...t,...i?rQ(n):[]]:r?r[n]=i:r={[n]:i}}),[t.filter(Boolean).filter(rJ),r]),p=c.join(" "),g=n.getStyle(p);if(g)return{...g,...f||{}};for(let e of c){let t=n.getIr(e);if(!t&&e in s){let t=h(s[e]);n.setIr(e,rm(t)),a={...a,...t};continue}switch((t=new rX(e,i,n,o,"web").parse()).kind){case"complete":a={...a,...t.style},n.setIr(e,t);break;case"dependent":l.push(t);break;case"ordered":u.push(t);break;case"null":n.setIr(e,t)}}if(u.length>0)for(let e of(u.sort((e,t)=>e.order-t.order),u))switch(e.styleIr.kind){case"complete":a={...a,...e.styleIr.style};break;case"dependent":l.push(e.styleIr)}if(l.length>0){for(let e of l){let t=e.complete(a);t&&rI(t)}var m=a;for(let e in m)e.startsWith("__opacity_")&&delete m[e]}return""!==p&&n.setStyle(p,a),f&&(a={...a,...f}),a}let p=(e,...t)=>{let r="";return e.forEach((e,n)=>{var i;r+=e+(null!=(i=t[n])?i:"")}),h(r)};return p.style=h,p.color=function(e){let t=h(e.split(/\s+/g).map(e=>e.replace(/^(bg|text|border)-/,"")).map(e=>`bg-${e}`).join(" "));return"string"==typeof t.backgroundColor?t.backgroundColor:void 0},p.prefixMatch=(...e)=>{let t=e.sort().join(":"),r=d(),n=r.getPrefixMatch(t);if(void 0!==n)return n;let a="null"!==new rX(`${t}
6:flex`,i,r,o,"web").parse().kind;return r.setPrefixMatch(t,a),a},p.setWindowDimensions=e=>{o.windowDimensions=e,c=u()},p.setFontScale=e=>{o.fontScale=e,c=u()},p.setPixelDensity=e=>{o.pixelDensity=e,c=u()},p.setColorScheme=e=>{o.colorScheme=e,c=u()},p}({...r,plugins:[...(null==r?void 0:r.plugins)??[],r0]},"web")),a.setWindowDimensions({width:+e,height:+t}),a})({width:i,height:o,config:t.tailwindConfig})([e])};return"number"==typeof n.lineHeight&&(n.lineHeight=n.lineHeight/(+n.fontSize||r.fontSize||16)),n.shadowColor&&n.boxShadow&&(n.boxShadow=n.boxShadow.replace(/rgba?\([^)]+\)/,n.shadowColor)),n}}),f=(await c.next()).value;if(t.loadAdditionalAsset&&f.length){let e=function(e){let t={},r={};for(let{word:t,locale:n}of e){let e=(function(e,t){for(let t of Object.keys(ro))if(ro[t].test(e))return[t];let r=Object.keys(ra).filter(t=>ra[t].test(e));if(0===r.length)return["unknown"];if(t){let e=r.findIndex(e=>e===t);-1!==e&&(r.splice(e,1),r.unshift(t))}return r})(t,n).join("|");r[e]=r[e]||"",r[e]+=t}return Object.keys(r).forEach(e=>{t[e]=t[e]||[],"emoji"===e?t[e].push(...r5(ti(r[e],"grapheme"))):(t[e][0]=t[e][0]||"",t[e][0]+=r5(ti(r[e],"grapheme","unknown"===e?void 0:e)).join(""))}),t}(f),n=[],i={};await Promise.all(Object.entries(e).flatMap(([e,r])=>r.map(r=>{let o=`${e}_${r}`;return u.has(o)?null:(u.add(o),t.loadAdditionalAsset(e,r).then(e=>{"string"==typeof e?i[r]=e:e&&(Array.isArray(e)?n.push(...e):n.push(e))}))}))),r.addFonts(n),Object.assign(l,i)}await c.next(),s.calculateLayout(i,o,n.DIRECTION_LTR);let d=(await c.next([0,0])).value,h=s.getComputedWidth(),p=s.getComputedHeight();return s.freeRecursive(),function({width:e,height:t,content:r}){return to("svg",{width:e,height:t,viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg"},r)}({width:h,height:p,content:d})}function r5(e){return Array.from(new Set(e))}}}]);
7//# sourceMappingURL=2fb1244b-45287ba2eb799b31.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.