| 2 | `,dp="/",hp="*",fn="",e2="comment",t2="declaration";function n2(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(h){var g=h.match($x);g&&(n+=g.length);var y=h.lastIndexOf(Qx);r=~y?h.length-y:r+h.length}function l(){var h={line:n,column:r};return function(g){return g.position=new i(h),u(),g}}function i(h){this.start=h,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;function s(h){var g=new Error(t.source+":"+n+":"+r+": "+h);if(g.reason=h,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function a(h){var g=h.exec(e);if(g){var y=g[0];return o(y),e=e.slice(y.length),g}}function u(){a(Gx)}function c(h){var g;for(h=h||[];g=p();)g!==!1&&h.push(g);return h}function p(){var h=l();if(!(dp!=e.charAt(0)||hp!=e.charAt(1))){for(var g=2;fn!=e.charAt(g)&&(hp!=e.charAt(g)||dp!=e.charAt(g+1));)++g;if(g+=2,fn===e.charAt(g-1))return s("End of comment missing");var y=e.slice(2,g-2);return r+=2,o(y),e=e.slice(g),r+=2,h({type:e2,comment:y})}}function m(){var h=l(),g=a(Kx);if(g){if(p(),!a(Yx))return s("property missing ':'");var y=a(Xx),x=h({type:t2,property:gp(g[0].replace(mp,fn)),value:y?gp(y[0].replace(mp,fn)):fn});return a(Zx),x}}function f(){var h=[];c(h);for(var g;g=m();)g!==!1&&(h.push(g),c(h));return h}return u(),f()}function gp(e){return e?e.replace(Jx,fn):fn}xp.exports=n2});var bp=xr(Or=>{"use strict";var r2=Or&&Or.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Or,"__esModule",{value:!0});Or.default=i2;var o2=r2(yp());function i2(e,t){let n=null;if(!e||typeof e!="string")return n;let r=(0,o2.default)(e),o=typeof t=="function";return r.forEach(l=>{if(l.type!=="declaration")return;let{property:i,value:s}=l;o?t(i,s,l):s&&(n=n||{},n[i]=s)}),n}});var vp=xr(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.camelCase=void 0;var l2=/^--[a-zA-Z0-9_-]+$/,s2=/-([a-z])/g,a2=/^[^-]+$/,u2=/^-(webkit|moz|ms|o|khtml)-/,c2=/^-(ms)-/,p2=function(e){return!e||a2.test(e)||l2.test(e)},f2=function(e,t){return t.toUpperCase()},wp=function(e,t){return"".concat(t,"-")},m2=function(e,t){return t===void 0&&(t={}),p2(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(c2,wp):e=e.replace(u2,wp),e.replace(s2,f2))};Vo.camelCase=m2});var Cp=xr((jl,kp)=>{"use strict";var d2=jl&&jl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},h2=d2(bp()),g2=vp();function ql(e,t){var n={};return!e||typeof e!="string"||(0,h2.default)(e,function(r,o){r&&o&&(n[(0,g2.camelCase)(r,t)]=o)}),n}ql.default=ql;kp.exports=ql});var Kf=xr((eS,Gf)=>{"use strict";var ci=Object.prototype.hasOwnProperty,$f=Object.prototype.toString,Vf=Object.defineProperty,Hf=Object.getOwnPropertyDescriptor,Wf=function(t){return typeof Array.isArray=="function"?Array.isArray(t):$f.call(t)==="[object Array]"},Uf=function(t){if(!t||$f.call(t)!=="[object Object]")return!1;var n=ci.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ci.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var o;for(o in t);return typeof o>"u"||ci.call(t,o)},qf=function(t,n){Vf&&n.name==="__proto__"?Vf(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},jf=function(t,n){if(n==="__proto__")if(ci.call(t,n)){if(Hf)return Hf(t,n).value}else return;return t[n]};Gf.exports=function e(){var t,n,r,o,l,i,s=arguments[0],a=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},a=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});a<u;++a)if(t=arguments[a],t!=null)for(n in t)r=jf(s,n),o=jf(t,n),s!==o&&(c&&o&&(Uf(o)||(l=Wf(o)))?(l?(l=!1,i=r&&Wf(r)?r:[]):i=r&&Uf(r)?r:{},qf(s,{name:n,newValue:e(c,i,o)})):typeof o<"u"&&qf(s,{name:n,newValue:o}));return s}});var mv={};el(mv,{Alert:()=>Gu,AppHeader:()=>Zu,AppIcon:()=>Vh,AudioIcon:()=>Qh,BeakerIcon:()=>Hh,BookIcon:()=>Wh,Button:()=>vr,ButtonGroup:()=>Gd,CardIcon:()=>vg,ChatIcon:()=>cg,CheckIcon:()=>Uh,ChevronIcon:()=>Dt,Chip:()=>Kd,ClipboardIcon:()=>qh,ClockIcon:()=>jh,CodeBlock:()=>Ju,CodeIcon:()=>bg,Collapsible:()=>Qu,ColorModeToggle:()=>Zd,CopyButton:()=>tc,DatabaseIcon:()=>wg,Dialog:()=>u1,DialogTitle:()=>fu,DiscordIcon:()=>$h,DownloadIcon:()=>Gh,Dropdown:()=>cr,DropdownItem:()=>c1,ExternalLinkButton:()=>nc,ExternalLinkIcon:()=>rn,EyeIcon:()=>pg,Field:()=>un,FieldStack:()=>Jc,FileUpload:()=>np,GenApiIcon:()=>Kh,GitBranchIcon:()=>Yh,GitHubIcon:()=>Jh,GlobeIcon:()=>Eg,GraduationCapIcon:()=>Xh,Heading:()=>yo,IconButton:()=>Oo,ImageIcon:()=>wo,InfoTip:()=>rp,InlineLink:()=>p1,Input:()=>f1,KeyIcon:()=>Dg,LinkCard:()=>op,LockIcon:()=>eg,MailIcon:()=>tg,Markdown:()=>$m,McpIcon:()=>ng,MediaPlaceholder:()=>Gm,MenuIcon:()=>rg,MicIcon:()=>mg,MoonIcon:()=>vo,MultiSelect:()=>Fd,NavItem:()=>Pd,NewspaperIcon:()=>og,PencilIcon:()=>Cg,PeriodPicker:()=>zd,PlusIcon:()=>ll,Prose:()=>Wd,ReasoningIcon:()=>hg,RocketIcon:()=>gg,ScrollArea:()=>nn,SearchIcon:()=>xg,Section:()=>Ud,Slider:()=>d1,SparkleIcon:()=>yg,SparklesIcon:()=>Zh,SpeakerIcon:()=>dg,SproutIcon:()=>kg,StatCard:()=>qd,SunIcon:()=>ko,Surface:()=>$n,Switch:()=>h1,TabButton:()=>Ui,Table:()=>x1,TableBody:()=>b1,TableCell:()=>k1,TableHead:()=>y1,TableHeaderCell:()=>v1,TableRow:()=>w1,TargetIcon:()=>lg,TerminalIcon:()=>ig,Text:()=>$e,Textarea:()=>du,TokensIcon:()=>sg,Tooltip:()=>pt,TrendUpIcon:()=>ag,VideoIcon:()=>fg,WalletIcon:()=>ug,XIcon:()=>sl,cn:()=>jd,currentPeriod:()=>Sd,getPeriodBucketKeys:()=>Td,periodBucketKeyToDate:()=>Id,setColorMode:()=>Xa,useColorMode:()=>Za,useScrollLock:()=>$d});function ku(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ku(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function so(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ku(e))&&(r&&(r+=" "),r+=t);return r}var L1=(e,t)=>{let n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},M1=(e,t)=>({classGroupId:e,validator:t}),Pu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n});var Cu=[],z1="arbitrary..",_1=e=>{let t=H1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return V1(i);let s=i.split("-"),a=s[0]===""&&s.length>1?1:0;return Au(s,a,t)},getConflictingClassGroupIds:(i,s)=>{if(s){let a=r[i],u=n[i];return a?u?L1(u,a):a:u||Cu}return n[i]||Cu}}},Au=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let o=e[t],l=n.nextPart.get(o);if(l){let u=Au(e,t+1,l);if(u)return u}let i=n.validators;if(i===null)return;let s=t===0?e.join("-"):e.slice(t).join("-"),a=i.length;for(let u=0;u<a;u++){let c=i[u];if(c.validator(s))return c.classGroupId}},V1=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?z1+r:void 0})(),H1=e=>{let{theme:t,classGroups:n}=e;return W1(n,t)},W1=(e,t)=>{let n=Pu();for(let r in e){let o=e[r];il(o,n,r,t)}return n},il=(e,t,n,r)=>{let o=e.length;for(let l=0;l<o;l++){let i=e[l];U1(i,t,n,r)}},U1=(e,t,n,r)=>{if(typeof e=="string"){q1(e,t,n);return}if(typeof e=="function"){j1(e,t,n,r);return}$1(e,t,n,r)},q1=(e,t,n)=>{let r=e===""?t:Su(t,e);r.classGroupId=n},j1=(e,t,n,r)=>{if(G1(e)){il(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(M1(n,e))},$1=(e,t,n,r)=>{let o=Object.entries(e),l=o.length;for(let i=0;i<l;i++){let[s,a]=o[i];il(a,Su(t,s),n,r)}},Su=(e,t)=>{let n=e,r=t.split("-"),o=r.length;for(let l=0;l<o;l++){let i=r[l],s=n.nextPart.get(i);s||(s=Pu(),n.nextPart.set(i,s)),n=s}return n},G1=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,K1=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),o=(l,i)=>{n[l]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(l){let i=n[l];if(i!==void 0)return i;if((i=r[l])!==void 0)return o(l,i),i},set(l,i){l in n?n[l]=i:o(l,i)}}};var Y1=[],Du=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),X1=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=o=>{let l=[],i=0,s=0,a=0,u,c=o.length;for(let g=0;g<c;g++){let y=o[g];if(i===0&&s===0){if(y===":"){l.push(o.slice(a,g)),a=g+1;continue}if(y==="/"){u=g;continue}}y==="["?i++:y==="]"?i--:y==="("?s++:y===")"&&s--}let p=l.length===0?o:o.slice(a),m=p,f=!1;p.endsWith("!")?(m=p.slice(0,-1),f=!0):p.startsWith("!")&&(m=p.slice(1),f=!0);let h=u&&u>a?u-a:void 0;return Du(l,f,m,h)};if(t){let o=t+":",l=r;r=i=>i.startsWith(o)?l(i.slice(o.length)):Du(Y1,!1,i,void 0,!0)}if(n){let o=r;r=l=>n({className:l,parseClassName:o})}return r},Z1=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{let r=[],o=[];for(let l=0;l<n.length;l++){let i=n[l],s=i[0]==="[",a=t.has(i);s||a?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},J1=e=>({cache:K1(e.cacheSize),parseClassName:X1(e),sortModifiers:Z1(e),..._1(e)}),Q1=/\s+/,eh=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:l}=t,i=[],s=e.trim().split(Q1),a="";for(let u=s.length-1;u>=0;u-=1){let c=s[u],{isExternal:p,modifiers:m,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:g}=n(c);if(p){a=c+(a.length>0?" "+a:a);continue}let y=!!g,x=r(y?h.substring(0,g):h);if(!x){if(!y){a=c+(a.length>0?" "+a:a);continue}if(x=r(h),!x){a=c+(a.length>0?" "+a:a);continue}y=!1}let D=m.length===0?"":m.length===1?m[0]:l(m).join(":"),v=f?D+"!":D,E=v+x;if(i.indexOf(E)>-1)continue;i.push(E);let S=o(x,y);for(let k=0;k<S.length;++k){let M=S[k];i.push(v+M)}a=c+(a.length>0?" "+a:a)}return a},th=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Tu(n))&&(o&&(o+=" "),o+=r);return o},Tu=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Tu(e[r]))&&(n&&(n+=" "),n+=t);return n},rl=(e,...t)=>{let n,r,o,l,i=a=>{let u=t.reduce((c,p)=>p(c),e());return n=J1(u),r=n.cache.get,o=n.cache.set,l=s,s(a)},s=a=>{let u=r(a);if(u)return u;let c=eh(a,n);return o(a,c),c};return l=i,(...a)=>l(th(...a))},nh=[],ve=e=>{let t=n=>n[e]||nh;return t.isThemeGetter=!0,t},Iu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ru=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rh=/^\d+\/\d+$/,oh=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ih=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lh=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,sh=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ah=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Nn=e=>rh.test(e),ee=e=>!!e&&!Number.isNaN(Number(e)),Nt=e=>!!e&&Number.isInteger(Number(e)),tl=e=>e.endsWith("%")&&ee(e.slice(0,-1)),Ct=e=>oh.test(e),uh=()=>!0,ch=e=>ih.test(e)&&!lh.test(e),Nu=()=>!1,ph=e=>sh.test(e),fh=e=>ah.test(e),mh=e=>!U(e)&&!q(e),dh=e=>On(e,Lu,Nu),U=e=>Iu.test(e),tn=e=>On(e,Mu,ch),nl=e=>On(e,bh,ee),Eu=e=>On(e,Ou,Nu),hh=e=>On(e,Bu,fh),ao=e=>On(e,zu,ph),q=e=>Ru.test(e),yr=e=>Bn(e,Mu),gh=e=>Bn(e,wh),Fu=e=>Bn(e,Ou),xh=e=>Bn(e,Lu),yh=e=>Bn(e,Bu),uo=e=>Bn(e,zu,!0),On=(e,t,n)=>{let r=Iu.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Bn=(e,t,n=!1)=>{let r=Ru.exec(e);return r?r[1]?t(r[1]):n:!1},Ou=e=>e==="position"||e==="percentage",Bu=e=>e==="image"||e==="url",Lu=e=>e==="length"||e==="size"||e==="bg-size",Mu=e=>e==="length",bh=e=>e==="number",wh=e=>e==="family-name",zu=e=>e==="shadow";var ol=()=>{let e=ve("color"),t=ve("font"),n=ve("text"),r=ve("font-weight"),o=ve("tracking"),l=ve("leading"),i=ve("breakpoint"),s=ve("container"),a=ve("spacing"),u=ve("radius"),c=ve("shadow"),p=ve("inset-shadow"),m=ve("text-shadow"),f=ve("drop-shadow"),h=ve("blur"),g=ve("perspective"),y=ve("aspect"),x=ve("ease"),D=ve("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...E(),q,U],k=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],I=()=>[q,U,a],H=()=>[Nn,"full","auto",...I()],C=()=>[Nt,"none","subgrid",q,U],F=()=>["auto",{span:["full",Nt,q,U]},Nt,q,U],T=()=>[Nt,"auto",q,U],N=()=>["auto","min","max","fr",q,U],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...I()],X=()=>[Nn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],_=()=>[e,q,U],fe=()=>[...E(),Fu,Eu,{position:[q,U]}],w=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Oe=()=>["auto","cover","contain",xh,dh,{size:[q,U]}],We=()=>[tl,yr,tn],b=()=>["","none","full",u,q,U],ie=()=>["",ee,yr,tn],je=()=>["solid","dashed","dotted","double"],In=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[ee,tl,Fu,Eu],we=()=>["","none",h,q,U],ct=()=>["none",ee,q,U],ze=()=>["none",ee,q,U],tt=()=>[ee,q,U],nt=()=>[Nn,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ct],breakpoint:[Ct],color:[uh],container:[Ct],"drop-shadow":[Ct],ease:["in","out","in-out"],font:[mh],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ct],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ct],shadow:[Ct],spacing:["px",ee],text:[Ct],"text-shadow":[Ct],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Nn,U,q,y]}],container:["container"],columns:[{columns:[ee,U,q,s]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:S()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[Nt,"auto",q,U]}],basis:[{basis:[Nn,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ee,Nn,"auto","initial","none",U]}],grow:[{grow:["",ee,q,U]}],shrink:[{shrink:["",ee,q,U]}],order:[{order:[Nt,"first","last","none",q,U]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:X()}],w:[{w:[s,"screen",...X()]}],"min-w":[{"min-w":[s,"screen","none",...X()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...X()]}],h:[{h:["screen","lh",...X()]}],"min-h":[{"min-h":["screen","lh","none",...X()]}],"max-h":[{"max-h":["screen","lh",...X()]}],"font-size":[{text:["base",n,yr,tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,q,nl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",tl,U]}],"font-family":[{font:[gh,U,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,q,U]}],"line-clamp":[{"line-clamp":[ee,"none",q,nl]}],leading:[{leading:[l,...I()]}],"list-image":[{"list-image":["none",q,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[ee,"from-font","auto",q,tn]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[ee,"auto",q,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:w()}],"bg-size":[{bg:Oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Nt,q,U],radial:["",q,U],conic:[Nt,q,U]},yh,hh]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:We()}],"gradient-via-pos":[{via:We()}],"gradient-to-pos":[{to:We()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:b()}],"rounded-s":[{"rounded-s":b()}],"rounded-e":[{"rounded-e":b()}],"rounded-t":[{"rounded-t":b()}],"rounded-r":[{"rounded-r":b()}],"rounded-b":[{"rounded-b":b()}],"rounded-l":[{"rounded-l":b()}],"rounded-ss":[{"rounded-ss":b()}],"rounded-se":[{"rounded-se":b()}],"rounded-ee":[{"rounded-ee":b()}],"rounded-es":[{"rounded-es":b()}],"rounded-tl":[{"rounded-tl":b()}],"rounded-tr":[{"rounded-tr":b()}],"rounded-br":[{"rounded-br":b()}],"rounded-bl":[{"rounded-bl":b()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ee,q,U]}],"outline-w":[{outline:["",ee,yr,tn]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",c,uo,ao]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",p,uo,ao]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[ee,tn]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",m,uo,ao]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[ee,q,U]}],"mix-blend":[{"mix-blend":[...In(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":In()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[q,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:w()}],"mask-size":[{mask:Oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,U]}],filter:[{filter:["","none",q,U]}],blur:[{blur:we()}],brightness:[{brightness:[ee,q,U]}],contrast:[{contrast:[ee,q,U]}],"drop-shadow":[{"drop-shadow":["","none",f,uo,ao]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",ee,q,U]}],"hue-rotate":[{"hue-rotate":[ee,q,U]}],invert:[{invert:["",ee,q,U]}],saturate:[{saturate:[ee,q,U]}],sepia:[{sepia:["",ee,q,U]}],"backdrop-filter":[{"backdrop-filter":["","none",q,U]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[ee,q,U]}],"backdrop-contrast":[{"backdrop-contrast":[ee,q,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ee,q,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ee,q,U]}],"backdrop-invert":[{"backdrop-invert":["",ee,q,U]}],"backdrop-opacity":[{"backdrop-opacity":[ee,q,U]}],"backdrop-saturate":[{"backdrop-saturate":[ee,q,U]}],"backdrop-sepia":[{"backdrop-sepia":["",ee,q,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ee,"initial",q,U]}],ease:[{ease:["linear","initial",x,q,U]}],delay:[{delay:[ee,q,U]}],animate:[{animate:["none",D,q,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,q,U]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:ct()}],"rotate-x":[{"rotate-x":ct()}],"rotate-y":[{"rotate-y":ct()}],"rotate-z":[{"rotate-z":ct()}],scale:[{scale:ze()}],"scale-x":[{"scale-x":ze()}],"scale-y":[{"scale-y":ze()}],"scale-z":[{"scale-z":ze()}],"scale-3d":["scale-3d"],skew:[{skew:tt()}],"skew-x":[{"skew-x":tt()}],"skew-y":[{"skew-y":tt()}],transform:[{transform:[q,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:nt()}],"translate-x":[{"translate-x":nt()}],"translate-y":[{"translate-y":nt()}],"translate-z":[{"translate-z":nt()}],"translate-none":["translate-none"],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,U]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[ee,yr,tn,nl]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},vh=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:l={}})=>(br(e,"cacheSize",t),br(e,"prefix",n),br(e,"experimentalParseClassName",r),co(e.theme,l.theme),co(e.classGroups,l.classGroups),co(e.conflictingClassGroups,l.conflictingClassGroups),co(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),br(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),po(e.theme,o.theme),po(e.classGroups,o.classGroups),po(e.conflictingClassGroups,o.conflictingClassGroups),po(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),_u(e,o,"orderSensitiveModifiers"),e),br=(e,t,n)=>{n!==void 0&&(e[t]=n)},co=(e,t)=>{if(t)for(let n in t)br(e,n,t[n])},po=(e,t)=>{if(t)for(let n in t)_u(e,t,n)},_u=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Vu=(e,...t)=>typeof e=="function"?rl(ol,e,...t):rl(()=>vh(ol(),e),...t),Hu=rl(ol);var kh=Vu({prefix:"polli"});function A(...e){return kh(so(...e))}function Ch(){let e=globalThis.React;if(!e)throw new Error("@pollinations/ui browser bundle requires globalThis.React. Load React before @pollinations/ui.");return e}var Dh=Ch();var{Children:fo,Component:wv,Fragment:Ce,Profiler:vv,PureComponent:kv,StrictMode:Cv,Suspense:Dv,cache:Ev,cloneElement:Wu,createContext:Uu,createElement:mo,createRef:Fv,forwardRef:$,isValidElement:qu,lazy:Pv,memo:ju,startTransition:Av,use:Sv,useActionState:Tv,useCallback:ho,useContext:$u,useDebugValue:Iv,useDeferredValue:Rv,useEffect:ae,useEffectEvent:Nv,useId:Ot,useImperativeHandle:Ov,useInsertionEffect:Bv,useLayoutEffect:go,useMemo:Pe,useOptimistic:Lv,useReducer:Mv,useRef:ne,useState:pe,useSyncExternalStore:xo,useTransition:zv,version:_v}=Dh;var Eh=mo;function d(e,t,n){let r=n===void 0?t:{...t??{},key:String(n)};return Eh(e,r)}var O=d;var Fh={display:"polli:font-heading polli:text-5xl polli:leading-none",title:"polli:font-heading polli:text-4xl polli:leading-none",section:"polli:font-subheading polli:text-2xl polli:leading-tight",subsection:"polli:font-subheading polli:text-xl polli:leading-tight",card:"polli:font-subheading polli:text-lg polli:leading-tight"},Ph={body:"polli:text-base polli:leading-relaxed",sm:"polli:text-sm polli:leading-6",xs:"polli:text-xs polli:leading-normal",micro:"polli:text-micro polli:leading-normal"},Ah={base:"polli:text-theme-text-base",strong:"polli:text-theme-text-strong",soft:"polli:text-theme-text-soft",muted:"polli:text-theme-text-muted"},Sh={normal:"polli:font-normal",medium:"polli:font-medium",semibold:"polli:font-semibold",bold:"polli:font-bold"};function wr(e,t){return A("polli:break-words polli:text-theme-text-strong",Fh[e],t)}function Th({size:e,tone:t,weight:n,className:r}){return A("polli:break-words polli:font-body",Ph[e],Ah[t],Sh[n],r)}function yo({as:e,size:t="section",className:n,children:r,...o}){return d(e||"h2",{...o,className:wr(t,n),children:r})}function $e({as:e,size:t="body",tone:n="base",weight:r="normal",className:o,children:l,...i}){return d(e||"p",{...i,className:Th({size:t,tone:n,weight:r,className:o}),children:l})}var Ih={info:"polli:bg-theme-bg-pale polli:text-theme-text-strong",warning:"polli:bg-intent-warning-bg-light polli:text-intent-warning-text",danger:"polli:bg-intent-danger-bg-light polli:text-intent-danger-text"},Gu=({intent:e="info",title:t,className:n,children:r,...o})=>O("div",{...o,role:e==="danger"?"alert":"status",className:A("polli:rounded-xl polli:px-3 polli:py-2 polli:text-sm",Ih[e],n),children:[t&&d($e,{as:"div",size:"xs",tone:"strong",weight:"bold",className:"polli:mb-1 polli:uppercase polli:tracking-wide",children:t}),d("div",{children:r})]});var Ku='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="16.9 37.9 212.3 26.1" fill="currentColor"><defs><clipPath id="a"><path d="M16.969 37.434h27V64h-27Zm0 0"/></clipPath></defs><g clip-path="url(%23a)"><path d="M16.996 49.113c0-.195 0-.386.012-.597.137-.004.238-.024.234-.188-.004-.074.047-.094.113-.094h.528c.097 0 .16-.035.164-.144 0-.09.043-.125.133-.121q.058.006.117 0c.129-.004.277.039.308-.157a.06.06 0 0 1 .028-.023c.11-.039.21-.11.336-.098.097.008.164-.03.156-.144-.004-.086.04-.11.121-.11q.449 0 .899-.011c.175 0 .199-.02.203-.196.004-.417 0-.835 0-1.253 0-.997.004-1.993 0-2.989 0-.113.039-.156.152-.156.805.004 1.61 0 2.414 0q1.161.001 2.316-.004c.11 0 .172.024.16.149-.007.101.06.125.145.125q.358 0 .723.003c.101 0 .156-.042.16-.148 0-.055.008-.11.086-.125.187-.031.183-.035.187-.23 0-.051.004-.106-.003-.157-.008-.105.027-.16.14-.148.098.012.133-.04.133-.133-.004-.098.004-.195.004-.289.004-.078.035-.129.12-.121q.151.01.15-.137c-.005-.101.038-.144.14-.133.09.008.137-.035.129-.12-.008-.114.043-.153.148-.145.09.004.121-.047.121-.133-.003-.098.004-.195 0-.29q-.006-.114.11-.112.153-.007.3-.008c.083-.004.122-.043.126-.125v-.29c0-.085.03-.128.125-.124.086.008.168-.004.25.004.132.011.175-.051.168-.172-.004-.074.003-.149 0-.223-.008-.098.023-.148.132-.14.094.003.184-.012.278-.012.093.004.136-.047.14-.133 0-.09.004-.18 0-.266-.007-.097.024-.148.133-.136q.14.008.133-.133v-.211c.004-.184.004-.184.18-.188q.113-.001.226-.007c.082-.004.125-.043.125-.133-.004-.102 0-.203 0-.305 0-.07.031-.105.106-.102q.19 0 .379-.003c.082 0 .109.043.109.117-.004.09.004.183 0 .277-.008.106.043.149.148.145.09 0 .176.004.266.004.082 0 .117.035.117.12a4 4 0 0 0 0 .301c0 .067.028.121.098.114.168-.024.172.07.168.195-.004.367-.043.344.336.348.21 0 .21 0 .21.21.005.372-.034.329.333.333.199 0 .199 0 .203.195 0 .39-.004.332.336.34.207.004.207 0 .207.199 0 .063.004.125.004.188-.008.109.035.167.148.156.082-.008.13.02.117.113-.011.11.04.164.153.152.082-.007.125.032.12.114q-.007.169.161.156c.078-.004.11.039.11.113 0 .082.007.168.003.25-.008.113.032.18.157.172.082-.004.113.043.113.125-.004.09 0 .184 0 .277.004.09.043.141.136.137.098-.004.137.04.13.137-.008.09.03.137.128.137h.766c.078 0 .129-.032.129-.114-.004-.144.082-.156.2-.156l4.651.008c.188 0 .204.012.204.2-.004.401-.016.8-.008 1.198.008 1 .011 1.996 0 2.992 0 .165.023.196.187.196.297.004.59 0 .883 0 .09 0 .16.015.152.129-.004.093.051.133.141.133.086 0 .176.007.262.003.101-.007.152.028.136.133-.011.102.043.145.141.145.094-.004.184.004.277 0 .086-.008.137.023.13.117-.008.117.054.152.163.148.168-.004.332.004.5 0 .102-.004.149.028.145.13-.004.105.05.144.148.136q.048.001.094.008c0 .183 0 .37-.012.566-.203.02-.207.02-.242.211-.012.074-.058.078-.113.074-.113-.004-.156.055-.152.164.003.176 0 .352 0 .528 0 .078-.024.129-.114.125-.113-.008-.16.043-.156.156.004.055-.016.113-.086.105-.164-.011-.191.083-.184.215 0 .059-.007.121-.003.184.011.105-.028.16-.137.152-.098-.008-.133.043-.129.137 0 .094-.008.184 0 .277.004.09-.035.13-.125.121q-.148-.016-.145.137c.004.086-.027.137-.12.13-.11-.013-.153.042-.145.148.008.09-.035.128-.125.128-.106-.004-.149.051-.149.153 0 .074-.035.117-.113.113-.113-.004-.156.055-.156.16 0 .059-.016.102-.086.11-.188.027-.188.03-.188.222 0 .059-.004.121 0 .184.004.09-.023.144-.12.14-.102 0-.145.051-.145.149 0 .086-.047.121-.125.117-.11-.004-.153.047-.149.148 0 .09-.047.126-.132.122s-.168.004-.25 0c-.106-.004-.165.043-.157.148.004.094-.043.121-.129.117-.07-.004-.136.02-.132.094.011.176-.09.195-.223.184-.059-.008-.113.003-.172 0-.102-.004-.164.046-.16.148.004.094-.04.125-.125.121-.074-.004-.14.024-.137.106.012.156-.074.175-.195.164-.059-.004-.117.004-.172 0-.113-.012-.18.023-.172.152.004.082-.039.117-.121.113-.094-.004-.184 0-.277 0s-.157.04-.145.14c.008.114-.05.13-.144.13-.25-.008-.5-.004-.75-.008-.114 0-.18.039-.18.156 0 .098-.047.13-.14.13-.262-.005-.52 0-.778 0-.102-.005-.164.026-.164.136.004.097-.05.129-.14.129q-1.236-.006-2.466 0c-.109 0-.152-.043-.156-.145 0-.09-.05-.125-.137-.12q-.227 0-.46.003c-.07 0-.133.016-.133.105 0 .086.066.094.129.098.078.004.125.024.117.113-.008.114.043.176.164.168q.112-.01.113.106c0 .098.059.148.149.152.097 0 .128.047.125.137q0 .146.148.14c.094-.003.188.004.277.004.063 0 .11.02.11.086-.004.16.097.188.226.188.211 0 .422.004.633 0h1.45c.05.004.117-.02.132.07.035.196.04.196.242.196.051 0 .106.003.157 0q.146-.019.14.12c0 .098.04.153.14.145q.13-.011.122.113c-.004.102.035.16.144.157.079 0 .125.039.122.12-.008.106.046.153.152.15.078-.005.125.027.117.116-.008.11.05.153.148.153q.135-.001.122.133c-.004.062.007.14.09.132.195-.02.183.106.175.23-.004.052 0 .099 0 .15-.008.113.035.175.156.167.09-.004.118.04.114.133-.008.266 0 .535-.004.8-.004.114.043.153.148.15.094-.005.184 0 .278 0 .086-.005.129.03.125.124-.008.086 0 .176-.004.262-.004.102.027.164.14.156.082-.004.133.024.13.121-.005.094.038.153.14.149.086 0 .129.039.125.129-.008.097.047.148.144.144.098-.008.133.031.133.13v1.398c.004.086-.02.144-.125.136-.101-.008-.16.043-.156.149.008.093-.04.12-.125.113-.094-.004-.14.047-.137.137.004.105-.043.144-.14.14s-.133.051-.13.141c.009.086-.027.133-.12.129-.098-.008-.149.035-.145.137.004.097-.043.132-.137.132q-.696-.006-1.398 0c-.09 0-.14-.03-.137-.129q.012-.152-.14-.14c-.086.004-.133-.031-.125-.125.007-.102-.043-.145-.141-.145-.082.004-.133-.027-.125-.12.008-.106-.05-.16-.152-.153-.094.008-.125-.035-.125-.121q-.001-.149-.149-.145c-.094.004-.117-.047-.117-.129v-1.41c0-.097.035-.14.129-.136.11.007.156-.047.148-.153-.007-.082.032-.113.11-.11q.166.014.156-.155c-.004-.075.031-.118.11-.11.132.008.16-.062.16-.18 0-.37.003-.37.378-.363.11.004.157-.043.153-.144q-.001-.238.004-.477c0-.105-.047-.156-.153-.14q-.138.012-.125-.122c.008-.109-.047-.152-.148-.152-.074.004-.121-.031-.113-.11.007-.113-.043-.163-.153-.16-.078 0-.125-.027-.117-.117.008-.11-.047-.164-.156-.156-.086.004-.121-.039-.117-.121.004-.113-.055-.148-.164-.148-.172.003-.344 0-.516 0-.059 0-.125 0-.121-.083.012-.175-.098-.183-.23-.183q-.756.006-1.516 0c-.074 0-.16.008-.153-.11.008-.12-.062-.16-.171-.16-.16 0-.325-.007-.489 0-.101 0-.156-.035-.156-.144.004-.094-.05-.137-.14-.133s-.126-.031-.13-.121c-.003-.09-.058-.137-.144-.14-.086 0-.117-.04-.117-.122 0-.097-.051-.148-.145-.148s-.129-.047-.129-.13c-.004-.097-.05-.144-.152-.14-.078 0-.121-.039-.121-.12.004-.114-.055-.161-.16-.153-.082.004-.11-.04-.106-.113q.001-.142-.004-.278c-.004-.074-.035-.137-.113-.14-.086 0-.105.066-.105.14v3.942c0 .164.027.187.191.187.074-.004.152.004.227-.004.101-.008.128.04.12.133-.003.086.005.176.005.262 0 .093.039.144.136.136.094-.003.14.032.133.13-.004.097.04.148.14.144.087-.004.137.031.13.125-.012.101.039.144.136.144.086 0 .13.036.125.13v1.41c0 .081-.023.136-.117.128-.11-.007-.156.047-.148.153.008.082-.024.125-.114.113q-.168-.017-.16.152c.004.086-.035.133-.125.125-.105-.007-.16.04-.148.149.012.094-.031.129-.121.125-.094-.012-.14.039-.14.129.003.101-.04.136-.142.136a84 84 0 0 0-1.398 0c-.086 0-.133-.023-.125-.12.012-.102-.039-.157-.144-.15q-.135.006-.13-.124c0-.098-.046-.149-.144-.145-.086 0-.129-.039-.125-.129.008-.097-.039-.156-.14-.144-.098.008-.133-.035-.13-.133.004-.094-.046-.137-.136-.133-.102.004-.13-.047-.13-.136q.008-.7 0-1.399c0-.09.028-.144.126-.14.098.007.148-.04.14-.141q-.003-.128.122-.121c.113.004.156-.055.156-.16-.004-.059.016-.114.086-.106.176.016.176-.097.176-.219 0-.316.004-.316.308-.32.227 0 .235-.008.235-.226v-3.887c0-.082-.008-.16-.114-.16-.097 0-.105.078-.11.148 0 .09-.003.176 0 .266.005.082-.023.125-.112.113q-.16-.019-.157.145c.004.085-.03.14-.128.136-.106-.004-.153.051-.149.153 0 .05 0 .113-.066.109-.118-.004-.184.055-.235.152a.3.3 0 0 1-.133.106c-.066.035-.101.082-.097.156.004.098-.043.133-.137.125s-.14.04-.137.133c.008.12-.054.144-.164.14-.168-.007-.34 0-.511.004-.059 0-.133.012-.13.082.016.2-.109.192-.245.192-.493-.004-.985 0-1.477 0-.094-.004-.184.008-.176.133.004.109-.054.132-.148.132-.172-.003-.344 0-.516-.003-.101 0-.156.042-.152.148 0 .07-.016.121-.102.117-.12-.008-.172.055-.164.168.004.086-.039.106-.113.102-.106-.012-.16.035-.152.144.007.094-.04.133-.133.133q-.141-.005-.137.137c.004.101-.043.14-.144.133-.094-.008-.137.046-.137.136v.328c0 .293 0 .293.289.293.312.004.254 0 .262.254v.121c-.008.106.035.168.148.168.086 0 .133.04.129.125-.004.11.055.149.156.149.07-.004.11.027.106.101-.012.114.043.16.152.16.07 0 .117.028.117.11v1.45c0 .07-.027.12-.105.112-.114-.007-.164.043-.164.153 0 .078-.035.125-.121.117-.106-.012-.157.043-.153.144 0 .09-.035.137-.125.125-.113-.011-.148.047-.14.149.003.09-.04.129-.125.125q-.154-.012-.149.14c.004.094-.043.13-.137.13q-.696-.008-1.398 0c-.086 0-.137-.028-.129-.122.008-.117-.05-.156-.156-.152q-.118.007-.113-.11.01-.157-.149-.156c-.09 0-.121-.043-.117-.132 0-.098-.055-.149-.148-.145-.086.004-.122-.035-.125-.117 0-.098-.055-.145-.149-.145-.094.004-.121-.047-.121-.129q.006-.712 0-1.425c0-.082.035-.125.117-.121.106.007.152-.043.152-.145 0-.07.028-.121.11-.117.117.004.168-.055.164-.168 0-.067.031-.106.094-.098.164.012.172-.082.175-.207.004-.383-.07-.32.352-.336.16-.008.176-.012.188-.168.02-.254.003-.508-.004-.765 0-.09.02-.149.132-.145.102.004.153-.055.145-.16-.004-.082.004-.164 0-.25-.004-.09.023-.145.125-.137.11.012.148-.047.14-.148q-.005-.129.118-.117c.11.007.152-.047.148-.153q-.012-.123.117-.113c.106.012.157-.04.157-.145 0-.09.039-.14.132-.136.102.004.145-.051.141-.145-.008-.094.031-.129.121-.125.078.008.14-.027.137-.105-.004-.145.07-.172.191-.16.063.003.121 0 .184 0 .098-.004.164-.036.164-.145-.004-.094.047-.121.133-.121q.222.005.449.004a115 115 0 0 1 1.645 0c.082 0 .183.004.19-.098.017-.168.122-.18.247-.176.055 0 .105-.004.16-.004.094-.003.149-.05.153-.144 0-.09.043-.125.128-.129.094-.004.145-.055.141-.152 0-.075.035-.117.113-.114q.155.013.157-.144c0-.082.03-.133.125-.129.066 0 .136-.02.128-.11-.003-.09-.078-.101-.144-.101q-.224-.005-.45-.004c-.1-.004-.16.035-.152.145.004.086-.035.12-.117.117h-2.52c-.066 0-.109-.016-.105-.094.012-.137-.058-.172-.183-.172-.262.008-.52 0-.778 0-.086 0-.136-.031-.129-.12.008-.126-.054-.161-.168-.161-.253.004-.503-.004-.753.004-.102.004-.16-.02-.149-.137.012-.094-.039-.133-.133-.133-.093.004-.183-.004-.277.004-.098.004-.14-.035-.133-.129.004-.105-.05-.14-.148-.14-.086.004-.176 0-.262.004-.09.004-.133-.032-.125-.125.012-.106-.04-.153-.145-.149-.062 0-.128-.004-.125-.082.008-.164-.09-.191-.218-.187-.059.004-.121-.004-.184 0-.098.004-.152-.028-.144-.137q.015-.147-.137-.14c-.078.007-.133-.016-.125-.106.008-.125-.051-.168-.168-.156-.05.004-.09-.012-.106-.075-.05-.195-.054-.195-.254-.199h-.144c-.098.008-.152-.027-.145-.133.004-.062-.015-.125-.09-.12-.187.011-.187-.11-.18-.239.005-.047 0-.098.005-.145.004-.113-.043-.18-.156-.187-.075-.008-.11-.04-.11-.117.004-.094-.047-.137-.137-.133-.066 0-.128-.016-.132-.098-.008-.101-.043-.168-.145-.21-.058-.028-.098-.087-.129-.15a.17.17 0 0 0-.09-.089c-.086-.043-.164-.094-.195-.2-.012-.038-.047-.07-.086-.066-.156.016-.176-.074-.168-.195.004-.058-.004-.113-.004-.172.004-.105-.027-.183-.156-.176-.09.008-.121-.042-.117-.128.004-.09-.004-.176-.004-.266.004-.094-.035-.148-.137-.145-.086.004-.137-.027-.129-.12.008-.106-.047-.153-.152-.145-.086.008-.117-.035-.113-.117 0-.18-.004-.36 0-.54.004-.113-.04-.167-.153-.16-.066.004-.117-.007-.129-.093-.023-.184-.05-.196-.238-.153m13.75.067c0-.446.004-.89 0-1.332 0-.082.008-.153.113-.153.121 0 .157-.07.157-.18-.004-.171 0-.343 0-.515 0-.062.011-.113.09-.113.144 0 .18-.086.171-.207-.004-.059.004-.117 0-.172-.007-.102.02-.16.133-.164.098-.004.137-.067.137-.16l.004-.25c.004-.082.031-.133.125-.13.11.008.156-.054.148-.152-.008-.093.035-.113.117-.113.106 0 .157-.059.153-.168-.004-.078.004-.156 0-.234 0-.082.02-.137.117-.137.102 0 .156-.055.148-.156-.007-.094.036-.13.121-.13.094 0 .153-.034.145-.14-.004-.086.04-.12.121-.113.11.008.156-.05.152-.152-.003-.09.036-.13.125-.13.067 0 .137-.019.137-.093-.004-.184.117-.184.246-.176.047.004.094 0 .145 0 .074-.004.144-.023.144-.117 0-.086-.074-.102-.14-.102-.09.004-.117-.039-.114-.12.004-.094 0-.192 0-.29-.004-.054-.02-.12-.082-.113-.207.016-.195-.117-.187-.254.004-.055-.008-.105-.008-.16 0-.094-.039-.149-.14-.14-.083.003-.13-.024-.118-.114.016-.117-.035-.164-.148-.156-.078.008-.13-.028-.125-.114.004-.117-.051-.164-.168-.16-.078.004-.106-.039-.106-.117.004-.09-.004-.183 0-.277q.014-.16-.148-.145c-.09.012-.129-.023-.121-.117.012-.105-.035-.16-.145-.148-.086.007-.133-.036-.129-.121.004-.106-.039-.16-.148-.153-.086.004-.133-.035-.125-.125.012-.105-.047-.144-.14-.144-.098.004-.137-.043-.126-.137.008-.094-.035-.145-.132-.137-.102.008-.141-.039-.133-.14.008-.079-.028-.133-.114-.121-.152.015-.152-.07-.152-.184-.004-.387.067-.356-.379-.356-.086 0-.125.04-.125.13 0 .093-.004.19 0 .288.004.082-.031.125-.117.118-.117-.012-.156.046-.152.156q.009.116-.11.11c-.113-.013-.164.042-.152.152.008.09-.035.12-.117.113-.102-.004-.157.043-.153.152.004.086-.039.13-.128.121-.09-.004-.141.04-.141.133.004.106-.04.152-.149.145-.09-.012-.132.035-.125.125.008.109-.043.148-.148.14-.082-.008-.121.043-.117.121 0 .094-.004.184 0 .278.004.09-.028.144-.125.14-.098 0-.149.04-.145.145q.006.13-.129.125-.145-.006-.144.14c.004.094-.035.137-.133.133-.098-.008-.145.043-.14.14 0 .099-.005.196-.005.294 0 .055-.015.101-.078.098-.183-.008-.195.105-.183.242.004.05-.004.105 0 .156.008.105-.028.16-.14.152-.067-.004-.126.02-.126.102 0 .078.055.105.121.11.098.003.196.007.293.003.082 0 .125.028.117.117-.011.114.043.16.153.153.078 0 .129.03.125.117 0 .105.047.156.152.156q.123-.007.117.121-.004.136.133.137.151-.002.137.148c-.008.067.015.133.094.13.16-.016.183.07.168.199-.004.058.003.113.003.171 0 .11.04.18.16.172.083 0 .122.035.11.121-.012.118.047.164.156.157.082-.008.113.03.113.105q-.001.152.004.305c0 .062.02.125.094.12.18-.015.188.09.176.224-.004.062.004.12 0 .183q-.006.153.14.14c.106-.011.13.036.126.13-.004.168 0 .336.003.5 0 .078.012.164.11.168.144.004.156.082.156.199q-.006.722 0 1.449c0 .203.04.246.215.25.258.004.285-.023.285-.285zm-7.5-.094c-.047-.016-.062-.05-.058-.094.007-.14-.079-.168-.196-.164-.164.004-.332-.004-.5 0-.086 0-.133-.035-.125-.125.012-.121-.058-.156-.16-.156h-.45c-.1 0-.16.055-.16.152q.002.369.008.739c0 .093.047.148.145.144.113-.008.133.055.129.148-.004.172.004.344 0 .516-.004.106.035.156.144.149.09-.004.13.035.125.125-.003.093 0 .187 0 .277.004.062.02.133.09.129.188-.012.184.105.172.234 0 .05.004.098 0 .145q-.007.166.156.168c.09 0 .13.039.13.125q-.007.147.14.148c.086-.004.133.031.129.121q-.005.13.125.14c.078.013.129.052.137.134.007.105.066.152.164.148.09-.004.117.04.113.121-.004.102.047.156.152.149.09-.008.117.043.114.12-.004.098.039.153.14.145s.133.047.13.137c-.005.098.046.133.136.133.09-.004.176 0 .265 0 .082-.004.137.023.133.117-.004.105.055.148.156.148q.148-.004.29.004c.07 0 .109.032.105.102-.012.14.066.176.188.176.25-.004.5 0 .75-.004.085 0 .136.023.132.117-.004.129.075.148.18.148h2.215c.055 0 .105 0 .156-.027.035-.02.067-.043.067-.09 0-.05-.036-.086-.083-.086-.144-.004-.152-.097-.144-.207q.005-.1-.008-.195c-.004-.063-.031-.129-.094-.129-.187 0-.18-.117-.172-.246.004-.055 0-.106-.003-.16 0-.098-.043-.16-.149-.157q-.128 0-.12-.117c.003-.097-.048-.14-.138-.144-.097-.004-.14-.047-.144-.145s-.059-.148-.153-.14c-.085.004-.109-.036-.105-.11.004-.101-.05-.156-.152-.152-.082 0-.121-.04-.125-.121q-.007-.153-.16-.153c-.07-.003-.106-.035-.102-.105 0-.113-.059-.16-.164-.16-.067 0-.11-.031-.106-.106.008-.113-.043-.172-.16-.168q-.11.002-.11-.113.006-.17-.171-.164c-.04 0-.094-.004-.086-.055.02-.144-.062-.203-.18-.25-.03-.011-.074-.05-.078-.082-.027-.148-.133-.152-.25-.144-.054.004-.113-.004-.168 0-.097.004-.152-.028-.144-.133.004-.105-.055-.14-.153-.14-.086 0-.175-.005-.261 0-.086 0-.133-.036-.13-.13.005-.101-.042-.156-.152-.148q-.122.014-.12-.113c.007-.114-.06-.153-.165-.153-.168.004-.336-.004-.5.004-.093 0-.14-.031-.14-.129 0-.109-.067-.14-.164-.14-.098 0-.192-.004-.313-.008m16.137-.195c0-.055-.008-.106-.004-.16.012-.13-.047-.184-.176-.184-.144.004-.289 0-.433.004-.094 0-.153.039-.149.14.008.106-.047.141-.144.137l-.528.004c-.07 0-.14.016-.136.102.011.156-.079.171-.2.16-.054-.004-.113.004-.168 0-.113-.008-.183.031-.175.156.007.086-.036.113-.122.113-.171-.004-.347.004-.523.008-.098 0-.168.027-.16.14.004.098-.043.122-.133.114-.066-.004-.133.023-.133.098.008.183-.105.195-.238.183-.05-.004-.098.004-.145 0-.109-.004-.171.04-.168.153 0 .093-.05.12-.132.117-.086-.004-.168 0-.25 0-.098 0-.153.043-.153.14 0 .094-.043.133-.136.133-.09-.004-.141.055-.137.14 0 .099-.047.134-.137.134q-.146 0-.14.148.003.117-.11.117c-.101-.004-.156.04-.152.149q.007.121-.121.12c-.102-.003-.149.056-.153.153-.004.063-.023.113-.101.113-.098 0-.149.063-.16.157-.012.07-.04.113-.121.11-.11-.009-.16.05-.157.16 0 .073-.031.116-.11.112q-.146.002-.151.145c-.008.086-.043.125-.13.129-.085.008-.14.05-.144.144 0 .083-.031.125-.125.125-.11-.003-.156.063-.16.168 0 .079-.004.157 0 .239.008.09-.02.144-.121.14-.11-.004-.145.063-.145.16.004.055-.004.11.004.16.012.13 0 .239-.176.235-.046 0-.078.035-.082.086 0 .055.036.082.082.09q.07.014.145.015.353.005.71.004h1.5c.087 0 .192.004.2-.105.016-.149.106-.156.219-.16q.35 0 .7-.012c.1 0 .167-.04.163-.156 0-.078.043-.106.117-.106.102.004.203-.008.305-.008.063-.003.121-.027.117-.097-.008-.172.102-.176.223-.164.055.004.105-.004.16 0 .102 0 .16-.04.16-.149-.004-.086.043-.12.13-.125.085-.004.14-.054.14-.144s.043-.125.129-.121c.097.004.148-.055.144-.149-.004-.093.043-.125.13-.125.093.004.148-.043.14-.14 0-.078.043-.114.113-.121.105-.008.16-.06.152-.168q-.005-.114.114-.11c.101 0 .156-.05.156-.152 0-.094.055-.121.137-.113.101.007.144-.043.144-.141-.004-.09.004-.176 0-.266s.024-.144.121-.14c.09.004.125-.051.13-.133.007-.094.015-.192.015-.29 0-.073.027-.112.11-.112.12.003.155-.067.155-.176-.004-.168 0-.336 0-.504-.004-.082.02-.137.114-.133.12.004.16-.07.16-.18-.004-.16 0-.324 0-.511m-13.774-3.715c-.007-.106-.004-.196.145-.188.078.008.121-.047.121-.125q.005-.157.004-.316c-.004-.313.047-.317-.328-.317-.149 0-.297.012-.438-.046.032-.149-.035-.227-.187-.227h-3.149c-.14 0-.18.04-.18.18 0 .168.008.336.008.5l-.003 2.582c-.004.183.023.207.203.207q.377.005.754.004c.082 0 .136.02.132.117-.003.11.063.144.16.14l.278.004c.062 0 .105.02.101.09-.011.172.07.188.215.188h.739c.054 0 .113-.008.125.078.027.187.03.187.218.187.059 0 .114.004.172 0 .102-.011.16.024.145.137-.012.106.043.133.136.129.094 0 .192.004.29.004.078-.004.125.027.117.117-.008.113.05.156.156.152.066 0 .113.024.11.102-.008.129.062.16.179.164.32.008.324 0 .324-.328 0-.113-.043-.172-.152-.164-.11.008-.125-.05-.121-.137l-.004-.277c-.004-.063-.035-.117-.102-.113-.164.011-.168-.086-.168-.211zm13.77 1.629v-2.66c0-.165-.02-.188-.164-.188q-1.56.001-3.125-.004c-.113 0-.176.043-.172.16.004.106-.055.121-.14.121-.165-.004-.325.004-.489-.004-.133-.003-.184.055-.18.184.004.145.008.29.004.434 0 .097.04.152.14.144.099-.008.13.04.13.133q-.006 1.383 0 2.766c0 .086-.02.136-.121.125-.11-.012-.149.054-.149.152 0 .086-.004.168 0 .254.004.094-.035.14-.133.129-.109-.008-.132.05-.136.144-.024.36-.004.352.351.34.086-.004.137-.05.137-.133-.004-.109.055-.136.148-.136.063 0 .122-.028.114-.098-.008-.16.086-.176.21-.168.051.004.106-.004.157 0 .113.008.18-.031.18-.152q.006-.119.129-.114c.09.004.183 0 .277 0 .078 0 .14-.035.133-.125-.004-.125.062-.144.168-.14.234.004.472-.004.71 0 .126.004.204-.043.204-.18 0-.074.039-.102.11-.102q.14 0 .288-.003c.082 0 .14-.032.137-.121 0-.114.066-.137.164-.133h.684c.222-.004.234-.012.234-.227zm-5.66 1.312c.008-.062.047-.101.105-.12.11-.036.156-.114.153-.231v-2.57c0-.075-.012-.145-.106-.153-.105-.008-.105.074-.11.145 0 .082-.027.124-.116.113q-.178-.02-.157.16c.008.09-.023.133-.12.125-.118-.012-.157.05-.15.16.005.078-.003.156 0 .234.009.106-.042.145-.14.137-.09-.004-.176.004-.266 0-.101-.004-.144.047-.144.14v.306c0 .058-.023.101-.082.097-.172-.015-.195.086-.184.223.004.066-.004.133 0 .199.004.082-.03.121-.117.117-.117-.008-.148.063-.148.164.004.172 0 .344 0 .516.004.09-.028.144-.13.137-.1-.008-.14.047-.136.144.004.086-.004.176 0 .262.004.09-.027.133-.121.125q-.148-.011-.148.137c-.004.086-.012.168-.012.25-.008.722.02 1.441 0 2.164-.008.242.008.492.015.734.004.07.02.137.106.145.086.003.098-.059.105-.125.008-.055.024-.11.09-.106.168.012.184-.098.188-.219v-.187c-.004-.082.023-.133.117-.13.098.005.148-.05.148-.144 0-.09.043-.129.13-.132.105-.004.14-.07.14-.164.004-.09.004-.176.008-.266 0-.066.027-.11.101-.106.121.004.168-.058.172-.168 0-.066.035-.093.098-.097.12-.012.16-.09.164-.2q.005-.119.004-.238c0-.054.011-.101.074-.105.172-.008.188-.125.191-.258v-.184c0-.062.024-.101.094-.101.137 0 .176-.082.176-.207-.004-.235 0-.465.008-.723m-4.836-.265c-.035-.047-.031-.102-.031-.153v-.355c-.004-.074-.032-.145-.11-.14-.148.007-.168-.071-.156-.188.004-.063-.004-.121 0-.184 0-.105-.035-.172-.152-.168-.094.004-.122-.043-.118-.129.004-.097 0-.195-.003-.289q-.007-.129-.137-.129c-.094.004-.184-.004-.278.004-.09.004-.132-.027-.128-.121.003-.082 0-.164 0-.25.003-.102-.036-.164-.141-.16-.102.004-.129-.047-.125-.14.004-.075-.027-.134-.11-.134-.12 0-.18-.043-.171-.168.004-.07-.051-.101-.114-.101-.066-.004-.09.043-.097.101-.004.028-.008.051-.008.079-.004.867-.012 1.73.008 2.593.004.098.043.153.144.149.094-.008.117.039.117.129-.003.254.004.507 0 .761 0 .118.036.188.165.18q.121-.004.113.125-.004.141.004.29c0 .062.027.124.093.12.172-.008.176.098.168.219-.003.055 0 .105 0 .16 0 .102.036.172.153.164.086 0 .129.04.125.13 0 .07.023.144.105.14.153-.004.168.082.16.203-.007.05.004.105 0 .156-.004.117.036.188.164.188q.114 0 .11.117c-.004.11.05.164.16.152.082-.004.11.031.11.11 0 .097.007.19.015.289.008.082.047.132.133.136.074.004.125.028.133.11.003.039.023.07.062.074.047.008.074-.02.094-.059.047-.074.043-.16.043-.242q.005-1.33.004-2.66a3 3 0 0 0-.004-.277c-.004-.07-.035-.125-.11-.121-.148.003-.171-.083-.152-.196.04-.219-.047-.379-.238-.515m9.207 6.035c.12.008.219-.008.21-.168 0-.059.044-.082.102-.082.09.004.184 0 .274 0 .11.004.172-.04.164-.153-.004-.101.05-.129.137-.129.07 0 .132-.023.128-.101-.011-.16.083-.168.2-.16.054.004.113-.004.168-.004.113.008.18-.028.175-.153-.003-.074.024-.12.106-.117.113.012.16-.043.16-.152q.001-.121.125-.113c.106.004.156-.051.148-.153-.003-.09.043-.12.122-.117.113 0 .16-.05.152-.164-.004-.074.039-.113.113-.11.11.005.153-.046.149-.152 0-.07.035-.12.113-.113.129.012.172-.059.168-.176-.004-.05.012-.086.078-.097.188-.028.188-.028.188-.22 0-.058.003-.112 0-.171-.004-.094.023-.152.128-.148q.152.007.145-.145c0-.082.031-.133.125-.129q.136.007.137-.133c-.004-.09.035-.136.133-.132.097.003.144-.055.144-.149q.005-.142.004-.289c-.004-.055.012-.086.078-.094.188-.023.188-.027.188-.222 0-.055.003-.106 0-.16-.008-.114.023-.176.152-.165.078.004.11-.043.11-.117.003-.082-.048-.105-.118-.105-.094 0-.184-.004-.277 0s-.14-.028-.133-.13c.008-.1-.05-.14-.148-.136-.086.004-.176-.004-.262 0-.09.004-.145-.027-.137-.129.012-.117-.055-.152-.16-.152-.219 0-.438-.004-.656 0-.184 0-.207.023-.207.203q-.005.497-.004.988c0 .098-.016.176-.14.164-.106-.007-.138.059-.138.153.004.183 0 .367.004.554 0 .055-.008.098-.082.114-.187.03-.187.035-.187.222 0 .055-.004.114 0 .172.008.094-.028.149-.133.14-.098-.003-.137.044-.137.138 0 .093-.004.183 0 .277 0 .082-.023.125-.113.117q-.16-.019-.156.145c.004.093-.032.136-.133.125s-.14.046-.14.14q-.01.142-.005.278c.004.09-.03.132-.12.125-.098-.008-.153.03-.145.136.011.106-.035.14-.137.133-.086-.008-.133.035-.125.125.004.102-.035.145-.14.145-.079-.004-.137.03-.137.12.004.11-.04.16-.157.153-.054-.004-.113.02-.105.086.016.145-.047.195-.184.195-.07 0-.093.067-.086.13.008.062.055.073.106.07.05 0 .098-.004.168-.008m-15.938-1.024c-.039-.015-.05-.05-.047-.086.008-.129-.039-.191-.175-.175-.067.007-.094-.024-.094-.094.004-.098 0-.192 0-.29-.004-.097-.043-.16-.152-.156-.082.004-.122-.03-.118-.117.012-.11-.039-.168-.152-.156-.098.012-.125-.039-.121-.125q.004-.142-.004-.289c0-.066-.027-.121-.098-.113-.16.015-.18-.075-.171-.203.007-.055 0-.114.003-.172.004-.11-.043-.18-.16-.176-.09 0-.11-.043-.11-.125.005-.168 0-.34 0-.512 0-.101-.034-.172-.151-.168-.094.004-.125-.047-.122-.133v-1.082c0-.093-.039-.148-.14-.148-.254.004-.508 0-.766.004-.066 0-.129.027-.125.101.012.168-.09.188-.215.18-.058-.004-.117.004-.172 0-.101-.004-.164.035-.16.145.004.093-.043.125-.129.12q-.144-.004-.289.005c-.066.004-.105.043-.105.109-.004.066.031.11.094.105.172-.011.18.094.168.22-.004.05.004.105 0 .156-.008.109.03.171.148.167.09-.003.121.047.117.133-.008.086 0 .176-.004.262 0 .09.032.148.13.148.093 0 .128.055.144.137.008.082.05.133.14.125.102-.008.141.043.137.14-.004.063.012.126.086.126.172-.008.191.094.18.226-.004.055 0 .106 0 .16-.004.102.043.16.144.16.086 0 .133.024.125.122-.011.097.04.152.137.148.102-.004.145.043.14.14 0 .079.036.13.118.126.113-.004.148.05.144.152 0 .086.047.137.13.13.109-.009.155.03.148.14-.008.086.039.133.129.129.105-.008.14.039.132.14-.007.086.04.13.13.121.109-.008.152.043.148.149-.004.093.054.133.14.129h.29c.05 0 .109.011.101.074-.02.187.098.2.23.191.067 0 .133.012.2.004.086-.008.12.02.113.11-.012.117.05.171.164.16.078-.008.11.027.105.097-.007.141.067.18.188.168.055-.004.105 0 .16 0 .07 0 .14-.004.14-.097.005-.09-.05-.125-.132-.121-.09.004-.133-.032-.129-.125q.012-.146-.14-.145c-.079 0-.141-.023-.133-.117.004-.11-.043-.156-.153-.152-.07.003-.12-.028-.113-.106.012-.148-.082-.176-.223-.176m15.489 8.383c-.086.008-.102.07-.102.14.004.087-.035.134-.125.126-.117-.012-.156.054-.156.16 0 .074-.028.113-.11.11-.12-.009-.16.058-.156.171.004.063 0 .121.004.184.004.09.04.152.145.14.074-.004.12.02.117.102-.012.125.05.18.172.168.078-.004.117.027.11.11-.017.128.046.175.17.163q.08-.006.157 0c.117.008.172-.039.164-.16-.008-.074.02-.117.106-.113q.17.017.164-.16c-.004-.07.031-.11.105-.102.145.02.188-.055.172-.183-.004-.059 0-.118 0-.172.004-.106-.043-.16-.148-.149-.086.004-.137-.027-.133-.12.008-.106-.04-.153-.145-.15-.07.005-.129-.023-.12-.1.015-.153-.071-.177-.196-.169-.055.008-.113.004-.195.004m-7.38.04c-.023.034-.023.073-.019.112q.007.12-.11.114c-.124-.012-.163.047-.155.164.003.07-.032.11-.102.101-.133-.007-.172.063-.168.18.004.059.004.113 0 .172-.008.11.035.168.152.156.063-.008.121.004.114.086-.008.133.062.18.183.176.07 0 .094.039.086.101-.015.133.047.184.176.172a1 1 0 0 1 .172 0c.113.008.164-.039.156-.152-.008-.082.024-.121.113-.121.106.004.164-.047.157-.16-.004-.067.027-.114.097-.11.149.008.18-.074.168-.199-.004-.05-.004-.105-.004-.156.004-.094-.043-.145-.132-.14-.098.003-.141-.036-.133-.13.011-.093-.035-.144-.13-.136-.109.007-.152-.043-.148-.149 0-.062-.02-.117-.093-.12-.121-.005-.246-.028-.38.038m-7.32 1.285c.059.254.059.25.336.25.114-.004.18-.035.172-.16-.008-.074.024-.117.106-.113.12.008.18-.055.175-.172-.003-.078.043-.102.106-.098.117 0 .156-.066.16-.168v-.183c-.008-.094-.047-.153-.148-.145-.082.004-.125-.027-.125-.113q.008-.166-.16-.156c-.075.008-.122-.028-.114-.106.012-.133-.054-.172-.176-.16-.054.004-.113 0-.168 0-.101-.004-.152.035-.144.14 0 .075-.023.13-.113.126-.11-.004-.157.05-.157.16 0 .062-.023.113-.101.105-.14-.015-.176.067-.172.184 0 .05-.004.105-.004.156-.004.113.043.176.164.168.047-.004.113-.004.11.063-.016.18.109.191.253.222m.747-8.433c.042-.13.023-.172-.098-.18a2 2 0 0 0-.25-.004c-.063.004-.09.043-.094.106 0 .062.024.109.086.109.113.004.23.027.355-.031m13.813-.188c-.043.004-.09 0-.133.012-.058.012-.09.05-.086.113 0 .067.047.09.106.094.086.004.172 0 .261 0 .07-.004.098-.047.102-.113.004-.067-.04-.094-.098-.102-.043-.004-.086-.004-.152-.004m0 0"/></g><path d="M82.117 39.523c-.152.172-.191 2.747-.172 9.192l.059 8.945h4.773l.059-9.039c.039-7.113 0-9.078-.191-9.21-.438-.266-4.278-.192-4.528.112m7.621.117c-.21.4-.265 16.895-.054 17.696.093.398.187.418 2.441.418 1.969 0 2.371-.059 2.465-.305.21-.535.133-17.43-.074-17.828-.192-.324-.422-.363-2.391-.363-1.965 0-2.195.039-2.387.383m7.774-.27c-.075.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m50.312.152c-.156.172-.21.88-.172 1.965l.055 1.68h4.777l.055-1.793c.04-1.316-.02-1.852-.191-1.965-.133-.074-1.164-.152-2.27-.152-1.512 0-2.101.078-2.254.265m76.512-.152c-.074.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m-86.539 1.527c-.059.172-.117 1.145-.117 2.192v1.887h-.84c-.973 0-1.07.136-1.07 1.601 0 1.184.21 1.45 1.183 1.45h.727v2.042c0 1.145.058 2.899.132 3.907l.118 1.87h1.832l.058.895.055.918h5.54l.058-1.316c.039-.934-.02-1.375-.192-1.469-.133-.098-.781-.172-1.449-.172h-1.187l.039-3.3.058-3.278 1.336-.098 1.336-.093v-2.86l-1.336-.097-1.336-.094-.058-2.156-.055-2.133h-2.352c-1.984 0-2.386.054-2.48.304m-88.414 4.215c-.078.055-.137 4.04-.137 8.848 0 8.14.02 8.75.344 8.883.172.097 1.3.133 2.484.097l2.14-.058v-5.13h3.532c2.695 0 3.535-.058 3.555-.245.02-.117.035-.535.054-.899.02-.668.02-.668 1.032-.722l.996-.059v-8.906l-.594-.113a7.4 7.4 0 0 0-1.05-.114c-.419 0-.458-.078-.458-.86v-.858H55.38l-.059.707c-.054.726-.054.726-.953.78l-.918.06v-1.547h-1.97c-1.085 0-2.042.058-2.097.136m9.031 6.235v3.336l-2.023.058c-1.11.035-2.063.02-2.102-.02-.039-.038-.074-1.562-.074-3.394v-3.3h4.2Zm9.32-5.473c-.054.875-.074.914-.629.875a5.6 5.6 0 0 0-.992.059l-.441.078v8.941l1.012.059.996.054.054.918.059.895 4.91-.04 4.906-.054.059-.918.059-.894h2.082v-4.461c0-4.328-.02-4.485-.383-4.598-.211-.074-.668-.094-1.012-.055-.594.055-.613.036-.707-.8l-.098-.86-4.906-.058-4.91-.04Zm6.914 5.492v3.336h-4.007v-6.676h4.007Zm22.864-6.254c-.075.055-.133 2.934-.133 6.387v6.273l2.351-.058 2.329-.055.058-6.351.035-6.332h-2.25c-1.242 0-2.332.058-2.39.136m6.972 6.196.059 6.351h4.773l.059-4.824.04-4.809h4.007l.039 4.809.059 4.824h4.773l.059-5.379.039-5.379-.996-.054-1.012-.059-.055-.914-.058-.898-3.094.039-3.094.058-.059.703-.058.727h-1.89v-1.527h-3.63Zm17-4.864.055 1.489 3.785.058 3.781.035-.058.918-.059.895-3.148.097-3.153.094-.019.762v.766l-.973.054c-.824.04-.996.133-1.09.477-.152.555-.152 1.773 0 2.879l.133.879h1.832l.059.894.058.918 2.922.055 2.903.058v-1.562l.918.055c.898.058.898.058.953.761l.058.727h3.61V46.922l-.574-.133c-.305-.074-.649-.074-.743-.02-.441.29-.785-.132-.785-.953v-.84h-10.523Zm7.602 7.399v.86h-3.629v-1.716h3.629Zm18.621-8.637c-.055.133-.074 2.992-.055 6.352l.055 6.101h4.777V45.074l-2.351-.058c-1.778-.04-2.367.02-2.426.191m9.168 0a5.3 5.3 0 0 0-.133.914c-.058.668-.058.668-1.07.727l-.992.054.039 4.426.054 4.422.997.059.992.058.058.895.055.898 4.93.055 4.906.039v-1.906h2.101v-8.961h-.742c-1.207 0-1.36-.137-1.36-1.07v-.84h-4.866c-3.746 0-4.91.058-4.969.23m6.973 6.16v3.336h-4.012v-6.676h4.012Zm7.179-6.234c-.054.113-.035 8.406.059 11.894l.02.727h2.367c1.988 0 2.386-.059 2.484-.305.059-.172.113-2.347.113-4.863v-4.574l1.97.054 1.948.059.094 4.766.098 4.77h4.773V46.98l-.957-.094-.953-.098-.094-.855-.097-.86-3.094-.058-3.113-.04v1.528h-1.91v-1.527h-1.798c-.992 0-1.851.078-1.91.156m18.321.075a5 5 0 0 0-.137.914c-.055.668-.055.668-1.05.727l-1.013.054v1.891c0 1.027.059 2 .118 2.172.074.23.379.305 1.03.305h.934l.06.8.058.82 2.73.06 2.711.058v1.695h-3.57c-1.989 0-3.707.074-3.84.172-.172.094-.23.535-.191 1.469l.058 1.316h10.313l.058-.898.055-.895.996-.058.992-.059.059-1.617c.074-2.367.035-2.48-1.11-2.48h-.937l-.055-.821-.058-.8-2.77-.094-2.77-.098v-1.715l3.516-.059c1.95-.02 3.61-.113 3.723-.207.133-.117.191-.726.152-1.527l-.074-1.355h-4.95c-3.8 0-4.984.058-5.038.23m19.902 0c-.04.133-.04.8.035 1.488l.117 1.239 3.684.058 3.668.035v1.91h-6.3v1.715h-2.102v4.176l1.011.059.992.054.06.918.054.914 2.906-.058 2.902-.055.059-.726c.055-.707.074-.707.894-.707.825 0 .844 0 .899.707l.059.726 1.87.055 1.852.058V52.32c0-4.215-.055-5.433-.226-5.453-.137-.02-.594-.039-1.012-.058-.766-.02-.766-.02-.863-.875l-.094-.86-5.176-.058c-4.05-.04-5.215 0-5.289.191m7.504 8.637v.879l-1.758-.059-1.773-.055-.059-.535c-.113-1.011 0-1.086 1.871-1.086h1.719Zm7.449-2.477v6.387h4.719l.113-2.156a67 67 0 0 0 0-8.293l-.113-2.328h-4.719Zm-22.137 2.27c-.152.172-.21.894-.171 2.133l.058 1.89 2.063.055 2.062.058-.058-2.156-.055-2.152-1.836-.059c-1.414-.039-1.89.02-2.063.23m0 0"/></svg>';var Yu=`url('${Ku}')`,Nh={WebkitMaskImage:Yu,WebkitMaskPosition:"center",WebkitMaskRepeat:"no-repeat",WebkitMaskSize:"contain",maskImage:Yu,maskPosition:"center",maskRepeat:"no-repeat",maskSize:"contain"};function Xu(e){return e===window?window.scrollY:e.scrollTop}function Zu({children:e,navLabel:t,autoHide:n=!1,scrollTargetRef:r,brandHref:o="https://pollinations.ai",brandLabel:l="Pollinations",className:i,innerClassName:s,navClassName:a}){let[u,c]=pe(!1);return ae(()=>{if(!n||typeof window>"u"){c(!1);return}let p=r?.current??window,m=Xu(p),f=0,h=()=>{f||(f=window.requestAnimationFrame(()=>{f=0;let g=Xu(p),y=g-m;g<16?c(!1):y>8?c(!0):y<-8&&c(!1),m=g}))};return p.addEventListener("scroll",h,{passive:!0}),()=>{f&&window.cancelAnimationFrame(f),p.removeEventListener("scroll",h)}},[n,r]),d("header",{className:A("polli:sticky polli:top-0 polli:z-30 polli:bg-app-bg polli:py-4","polli:transition-transform polli:duration-200 polli:ease-out",n&&"polli:will-change-transform",u?"polli:-translate-y-full":"polli:translate-y-0",i),onFocusCapture:()=>c(!1),children:O("div",{className:A("polli:mx-auto polli:flex polli:w-full polli:max-w-5xl polli:flex-col polli:gap-4 polli:px-4 polli:sm:flex-row polli:sm:items-center polli:sm:justify-between polli:sm:px-6",s),children:[O("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"polli:inline-flex polli:shrink-0 polli:items-center polli:text-theme-text-strong",children:[d("span",{className:"polli:sr-only",children:l}),d("span",{"aria-hidden":"true",className:"polli:block polli:h-7 polli:w-[220px] polli:max-w-full polli:bg-current",style:Nh})]}),e?d("nav",{"aria-label":t,className:A("polli:flex polli:min-w-0 polli:flex-wrap polli:gap-2",a),children:e}):null]})})}var Oh={y:"polli:overflow-y-auto polli:overflow-x-hidden",x:"polli:overflow-x-auto polli:overflow-y-hidden"};function Bh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var nn=$(({axis:e="y",className:t,children:n,...r},o)=>{let l=ne(null),i=ho(s=>{l.current=s,Bh(o,s)},[o]);return ae(()=>{let s=l.current;if(!s)return;let a=null,u=()=>{a!==null&&(window.clearTimeout(a),a=null)},c=()=>{s.dataset.scrollbarActive="true",u()},p=()=>{s.dataset.scrollbarActive="false",u()},m=()=>{u(),a=window.setTimeout(p,2e3)},f=()=>{c(),m()};return p(),s.addEventListener("scroll",f,{passive:!0}),s.addEventListener("wheel",f,{passive:!0}),s.addEventListener("touchstart",f,{passive:!0}),s.addEventListener("pointerdown",f),s.addEventListener("keydown",f),s.addEventListener("focusin",f),s.addEventListener("focusout",m),()=>{u(),s.removeEventListener("scroll",f),s.removeEventListener("wheel",f),s.removeEventListener("touchstart",f),s.removeEventListener("pointerdown",f),s.removeEventListener("keydown",f),s.removeEventListener("focusin",f),s.removeEventListener("focusout",m)}},[]),d("div",{...r,ref:i,className:A("polli-scrollbar-subtle polli:min-w-0 polli:max-w-full",Oh[e],t),children:n})});nn.displayName="ScrollArea";var Ju=({code:e,codeClassName:t,className:n,...r})=>d(nn,{...r,axis:"x",className:A("polli:rounded-lg polli:border polli:border-theme-border polli:bg-theme-bg-pale",n),children:d("pre",{className:A("polli:p-4 polli:font-mono polli:text-xs polli:leading-6 polli:text-theme-text-strong",t),children:d("code",{children:e})})});var Dt=({expanded:e,className:t})=>d("svg",{"aria-hidden":"true",width:"12",height:"12",viewBox:"0 0 12 12",className:A("polli:shrink-0 polli:transition-transform polli:duration-200 polli:ease-out",e&&"polli:rotate-180",t),children:d("path",{d:"M3 4.5 6 7.5l3-3",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})});var Qu=({label:e,expanded:t,onToggle:n,children:r,disabled:o=!1,wrapperClassName:l,triggerClassName:i,hoverClassName:s="polli:hover:bg-theme-bg-active",focusClassName:a,panelClassName:u="polli:border-t polli:border-theme-border polli:px-3 polli:pt-3 polli:pb-3",ariaLabel:c})=>O("div",{className:A("polli:rounded-lg polli:border polli:transition-all",l,o&&"polli:opacity-50"),children:[O("button",{type:"button","aria-expanded":t,"aria-label":c,disabled:o,onClick:n,className:A("polli-control polli:w-full polli:flex polli:items-center polli:gap-3 polli:px-3 polli:py-2 polli:text-left polli:transition-colors",t?"polli:rounded-t-lg":"polli:rounded-lg",i,!o&&s,a,o?"polli:cursor-not-allowed":"polli:cursor-pointer"),children:[d("div",{className:"polli:flex-1 polli:min-w-0",children:e}),d(Dt,{expanded:t,className:"polli:text-theme-text-soft"})]}),t&&d("div",{className:u,children:r})]});var ec=288,bo=12,pt=({children:e,content:t,align:n="start",ariaLabel:r,clampToViewport:o=!0,className:l,onClick:i,style:s,triggerAs:a="button",displayContents:u=!1})=>{let[c,p]=pe(!1),[m,f]=pe({top:0,left:0,maxWidth:ec}),h=ne(null),g=()=>{if(h.current){let S=h.current.getBoundingClientRect(),k=Math.min(ec,window.innerWidth-bo*2),M=n==="center"?S.left+S.width/2:S.left,I=n==="center"?"translateX(-50%)":void 0;o&&(M=Math.min(Math.max(S.left,bo),Math.max(bo,window.innerWidth-k-bo)),I=void 0),f({top:S.bottom+4,left:M,maxWidth:k,transform:I})}},y=A("polli-control polli:relative polli:cursor-help polli:text-left polli:inline-flex polli:items-center",l),v=O(Ce,{children:[d("span",{className:u?"polli:contents":"polli:cursor-help",children:e}),t?d("span",{style:{top:m.top,left:m.left,maxWidth:m.maxWidth,transform:m.transform},className:`${c?"polli:visible polli:opacity-100":"polli:invisible polli:opacity-0"} polli:fixed polli:w-max polli:px-2 polli:py-1 polli:bg-theme-bg-pale polli:text-theme-text-base polli:font-normal polli:leading-snug polli:tracking-normal polli:normal-case polli:not-italic polli:border polli:border-theme-border polli:text-xs polli:rounded-md polli:shadow-sm polli:z-50 polli:pointer-events-none polli:transition-opacity polli:whitespace-pre-line polli:break-words`,children:t}):null]}),E={"aria-label":r,className:y,onMouseEnter:()=>{g(),p(!0)},onMouseLeave:()=>p(!1),onClick:S=>{S.stopPropagation(),i&&i(),a!=="span"&&(g(),p(k=>!k))},style:s};return a==="span"?d("span",{ref:S=>{h.current=S},...E,children:v}):d("button",{ref:S=>{h.current=S},type:"button","aria-label":r,className:y,onMouseEnter:E.onMouseEnter,onMouseLeave:E.onMouseLeave,onClick:E.onClick,style:s,children:v})};function tc({value:e,children:t,copiedTimeoutMs:n=2e3,tooltip:r="\u{1F4CB} Click to copy",tooltipAlign:o,tooltipClampToViewport:l,copiedTooltip:i="\u2705 Copied!",tooltipClassName:s,className:a,onCopied:u,onCopyError:c,...p}){let[m,f]=pe(!1),h=ne(null);ae(()=>()=>{h.current&&clearTimeout(h.current)},[]);async function g(x){x.stopPropagation();try{let D=typeof e=="function"?await e():e;await navigator.clipboard.writeText(D),f(!0),u?.(),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>f(!1),n)}catch(D){c?.(D)}}let y=d("button",{...p,type:"button",onClick:g,className:A("polli-control",typeof a=="function"?a(m):a),children:typeof t=="function"?t(m):t});return r===null?y:d(pt,{triggerAs:"span",content:m?i:r,align:o,clampToViewport:l,className:s,children:y})}var Lh={sm:"polli:px-2 polli:pt-0.5 polli:pb-1",md:"polli:px-4 polli:pt-1.5 polli:pb-2",lg:"polli:px-6 polli:py-3"},Mh="polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:transition-colors",zh={danger:"polli:bg-intent-danger-bg-light polli:text-intent-danger-text polli:hover:bg-intent-danger-bg-hover polli:transition-colors",info:"polli:bg-intent-info-bg-light polli:text-intent-info-text polli:hover:bg-intent-info-bg-hover polli:transition-colors"},_h=({intent:e,size:t,className:n,disabled:r})=>{let o=e?zh[e]:Mh;return A("polli-control polli:inline-flex polli:items-center polli:justify-center polli:rounded-full polli:self-center polli:font-medium polli:leading-normal polli:box-border",r?"polli:opacity-50 polli:cursor-not-allowed":"polli:hover:filter polli:hover:brightness-105 polli:cursor-pointer",o,Lh[t||"md"],n)};function vr({as:e,children:t,intent:n,size:r,className:o,disabled:l,...i}){return d(e||"button",{"data-intent":n,className:_h({intent:n,size:r,className:o,disabled:l}),disabled:l,...i,children:t})}var Z={fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};function Vh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"2",y:"4",width:"20",height:"14",rx:"2"}),d("path",{d:"M2 20h20"})]})}function Hh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M9 3h6"}),d("path",{d:"M10 3v6.5L4.5 18a2 2 0 0 0 1.7 3h11.6a2 2 0 0 0 1.7-3L14 9.5V3"}),d("path",{d:"M7 14h10"})]})}function Wh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M4 4h5a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4z"}),d("path",{d:"M20 4h-5a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h6z"})]})}function Uh(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,strokeWidth:2.5,...e,children:d("polyline",{points:"20 6 9 17 4 12"})})}function qh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),d("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})}function jh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"12",cy:"12",r:"9"}),d("path",{d:"M12 7v5l3 2"})]})}function $h(e){return d("svg",{viewBox:"0 0 24 24","aria-hidden":"true",...e,children:d("path",{fill:"currentColor",d:"M20.32 4.37A19.8 19.8 0 0 0 15.36 2.83a.07.07 0 0 0-.08.04c-.21.38-.45.88-.62 1.27a18.27 18.27 0 0 0-5.52 0 12.84 12.84 0 0 0-.63-1.27.08.08 0 0 0-.08-.04A19.74 19.74 0 0 0 3.47 4.37a.07.07 0 0 0-.03.03C.31 9.07-.55 13.61-.13 18.1a.08.08 0 0 0 .03.06 19.9 19.9 0 0 0 6.08 3.07.08.08 0 0 0 .09-.03c.47-.64.88-1.31 1.24-2.02a.08.08 0 0 0-.04-.1 13.08 13.08 0 0 1-1.9-.91.08.08 0 0 1-.01-.13c.13-.1.25-.2.37-.29a.07.07 0 0 1 .08-.01 14.24 14.24 0 0 0 12.38 0 .07.07 0 0 1 .08.01c.12.1.25.2.38.3a.08.08 0 0 1-.01.12 12.22 12.22 0 0 1-1.9.9.08.08 0 0 0-.04.11c.36.7.77 1.38 1.23 2.02a.08.08 0 0 0 .1.03 19.84 19.84 0 0 0 6.08-3.07.08.08 0 0 0 .03-.05c.5-5.2-.84-9.7-3.77-13.71a.06.06 0 0 0-.03-.03ZM8.02 15.37c-1.18 0-2.16-1.08-2.16-2.4 0-1.32.96-2.4 2.16-2.4 1.2 0 2.18 1.09 2.16 2.4 0 1.32-.96 2.4-2.16 2.4Zm7.96 0c-1.18 0-2.16-1.08-2.16-2.4 0-1.32.96-2.4 2.16-2.4 1.2 0 2.18 1.09 2.16 2.4 0 1.32-.95 2.4-2.16 2.4Z"})})}function Gh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),d("polyline",{points:"7 10 12 15 17 10"}),d("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]})}function rn(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M7 17 17 7M9 7h8v8"})})}function Kh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"m8 3 4 1.5L16 3v18l-4-1.5L8 21z"}),d("path",{d:"M8 3v18M16 3v18"})]})}function Yh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("line",{x1:"6",y1:"3",x2:"6",y2:"15"}),d("circle",{cx:"18",cy:"6",r:"3"}),d("circle",{cx:"6",cy:"18",r:"3"}),d("path",{d:"M18 9a9 9 0 0 1-9 9"})]})}function Xh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M21.42 10.92a1 1 0 0 0-.02-1.84L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z"}),d("path",{d:"M22 10v6"}),d("path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5"})]})}function Zh(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M12 3l1.9 5.8a2 2 0 0 0 1.3 1.3L21 12l-5.8 1.9a2 2 0 0 0-1.3 1.3L12 21l-1.9-5.8a2 2 0 0 0-1.3-1.3L3 12l5.8-1.9a2 2 0 0 0 1.3-1.3z"})})}function Jh(e){return d("svg",{viewBox:"0 0 24 24","aria-hidden":"true",...e,children:d("path",{fill:"currentColor",d:"M12 .5A11.5 11.5 0 0 0 8.36 22.9c.58.11.79-.25.79-.56v-2.16c-3.21.7-3.89-1.38-3.89-1.38-.53-1.34-1.29-1.7-1.29-1.7-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.04 1.76 2.71 1.25 3.37.96.11-.75.4-1.25.74-1.54-2.56-.29-5.26-1.28-5.26-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.46.11-3.06 0 0 .97-.31 3.16 1.18a10.88 10.88 0 0 1 5.76 0c2.19-1.49 3.15-1.18 3.15-1.18.63 1.6.23 2.77.11 3.06.74.81 1.19 1.84 1.19 3.1 0 4.43-2.7 5.4-5.27 5.69.41.36.78 1.06.78 2.14v3.19c0 .31.21.68.8.56A11.5 11.5 0 0 0 12 .5Z"})})}function wo(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),d("circle",{cx:"9",cy:"9",r:"2"}),d("path",{d:"m21 15-5-5L5 21"})]})}function Qh(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M9 18V5l12-2v13"}),d("circle",{cx:"6",cy:"18",r:"3"}),d("circle",{cx:"18",cy:"16",r:"3"})]})}function eg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),d("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})}function tg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),d("path",{d:"m3 7 9 7 9-7"})]})}function ng(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"2",y:"7",width:"8",height:"10",rx:"1.5"}),d("rect",{x:"14",y:"7",width:"8",height:"10",rx:"1.5"}),d("path",{d:"M10 12h4"})]})}function rg(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M4 7h16M4 12h16M4 17h16"})})}function og(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M5 4h12a1 1 0 0 1 1 1v14a1 1 0 0 0 1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1z"}),d("path",{d:"M18 8h2a1 1 0 0 1 1 1v9a2 2 0 0 1-2 2"}),d("path",{d:"M7 8h7M7 12h7M7 16h4"})]})}function ll(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M12 5v14M5 12h14"})})}function ig(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("polyline",{points:"4 8 8 12 4 16"}),d("line",{x1:"12",y1:"20",x2:"20",y2:"20"})]})}function lg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"12",cy:"12",r:"9"}),d("circle",{cx:"12",cy:"12",r:"5"}),d("circle",{cx:"12",cy:"12",r:"1.6",fill:"currentColor",stroke:"none"})]})}function sg(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M4 9h16M4 15h16M10 3 8 21M16 3l-2 18"})})}function ag(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("polyline",{points:"3 17 9 11 13 15 21 7"}),d("polyline",{points:"15 7 21 7 21 13"})]})}function ug(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M3 7a2 2 0 0 1 2-2h13a2 2 0 0 1 2 2v2H5a2 2 0 0 0-2 2V7Z"}),d("path",{d:"M3 11a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6Z"}),d("circle",{cx:"17",cy:"14",r:"1.25",fill:"currentColor"})]})}function vo(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z"})})}function ko(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"12",cy:"12",r:"4"}),d("path",{d:"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"})]})}function sl(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M18 6 6 18M6 6l12 12"})})}function cg(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})})}function pg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z"}),d("circle",{cx:"12",cy:"12",r:"3"})]})}function fg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"m22 8-6 4 6 4V8z"}),d("rect",{x:"2",y:"6",width:"14",height:"12",rx:"2"})]})}function mg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z"}),d("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),d("path",{d:"M12 19v3"})]})}function dg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M11 5 6 9H2v6h4l5 4z"}),d("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),d("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]})}function hg(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"M9 18h6M10 22h4M15.1 14c.2-1 .6-1.7 1.4-2.5A4.6 4.6 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.8.8 1.2 1.5 1.4 2.5"})})}function gg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),d("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),d("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),d("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})]})}function xg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"11",cy:"11",r:"7"}),d("path",{d:"m21 21-4.3-4.3"})]})}function yg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M9.94 15.5A2 2 0 0 0 8.5 14.06l-6.14-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0L14.06 8.5A2 2 0 0 0 15.5 9.94l6.14 1.58a.5.5 0 0 1 0 .96L15.5 14.06a2 2 0 0 0-1.44 1.44l-1.58 6.14a.5.5 0 0 1-.96 0z"}),d("path",{d:"M20 3v4"}),d("path",{d:"M22 5h-4"}),d("path",{d:"M4 17v2"}),d("path",{d:"M5 18H3"})]})}function bg(e){return d("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:d("path",{d:"m16 18 6-6-6-6M8 6l-6 6 6 6"})})}function wg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),d("path",{d:"M3 5v14a9 3 0 0 0 18 0V5"}),d("path",{d:"M3 12a9 3 0 0 0 18 0"})]})}function vg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),d("path",{d:"M2 10h20"})]})}function kg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M7 20h10"}),d("path",{d:"M10 20c5.5-2.5.8-6.4 3-10"}),d("path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z"}),d("path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z"})]})}function Cg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("path",{d:"M12 20h9"}),d("path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z"})]})}function Dg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"7.5",cy:"15.5",r:"5.5"}),d("path",{d:"m21 2-9.6 9.6"}),d("path",{d:"m15.5 7.5 3 3L22 7l-3-3"})]})}function Eg(e){return O("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",...Z,...e,children:[d("circle",{cx:"12",cy:"12",r:"10"}),d("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),d("path",{d:"M2 12h20"})]})}function nc(e){let{size:t="md",className:n,children:r}=e,o=O(Ce,{children:[d("span",{children:r}),d(rn,{className:"polli:h-4 polli:w-4 polli:shrink-0 polli:opacity-60","aria-hidden":"true"})]});if("href"in e){let{href:c,target:p="_blank",rel:m=p==="_blank"?"noopener noreferrer":void 0,size:f,className:h,children:g,...y}=e;return d(vr,{as:"a",href:c,target:p,rel:m,size:t,className:A("polli:gap-2",n),...y,children:o})}let{type:l="button",size:i,className:s,children:a,...u}=e;return d(vr,{as:"button",type:l,size:t,className:A("polli:gap-2",n),...u,children:o})}var ot=(e,t=[])=>({parts:(...n)=>{if(Fg(t))return ot(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>ot(e,[...t,...n]),omit:(...n)=>ot(e,t.filter(r=>!n.includes(r))),rename:n=>ot(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${Ln(e)}"][data-part="${Ln(r)}"]`,`& [data-scope="${Ln(e)}"][data-part="${Ln(r)}"]`].join(", "),attrs:{"data-scope":Ln(e),"data-part":Ln(r)}}}),{})}),Ln=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Fg=e=>e.length===0;var Pg=ot("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),qe=Pg.build();function rc(e){return e==null?[]:Array.isArray(e)?e:[e]}var Ag=e=>e!=null&&typeof e=="object";var Mn=e=>typeof e=="string",Be=e=>typeof e=="function",oc=e=>e==null,al=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Sg=e=>Object.prototype.toString.call(e),ic=Function.prototype.toString,Tg=ic.call(Object),lc=e=>{if(!Ag(e)||Sg(e)!="[object Object]"||Ng(e))return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let n=al(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ic.call(n)==Tg},Ig=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Rg=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Ng=e=>Ig(e)||Rg(e);var sc=e=>e(),ul=()=>{},Bt=(...e)=>(...t)=>{e.forEach(function(n){n?.(...t)})};function Lt(e){if(!lc(e)||e===void 0)return e;let t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(let r of t){let o=e[r];o!==void 0&&(n[r]=Lt(o))}return n}function zn(...e){let t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function cl(...e){let t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function kr(e,t){if(e==null)throw new Error(t())}function Og(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Se(e={}){let{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:l,defaultValue:i}=e,s=Uu(i);s.displayName=t;function a(){let u=$u(s);if(!u&&n){let c=new Error(l??Og(r,o));throw c.name="ContextError",al(Error,"captureStackTrace")&&Be(Error.captureStackTrace)&&Error.captureStackTrace(c,a),c}return u}return[s.Provider,a,s]}var[_n,De]=Se({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var ac=e=>e.children(De());function Ge(...e){return t=>{let n=[];for(let r of e)if(typeof r=="function"){let o=r(t);typeof o=="function"&&n.push(o)}else r&&(r.current=t);if(n.length)return()=>{for(let r of n)r()}}}var Bg=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),Lg=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,uc=e=>{let t={},n;for(;n=Lg.exec(e);)t[n[1]]=n[2];return t},Mg=(e,t)=>{if(Mn(e)){if(Mn(t))return`${e};${t}`;e=uc(e)}else Mn(t)&&(t=uc(t));return Object.assign({},e??{},t??{})};function j(...e){let t={};for(let n of e){if(!n)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof n[o]=="function"){t[o]=Bt(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=Bg(t[o],n[o]);continue}if(o==="style"){t[o]=Mg(t[o],n[o]);continue}t[o]=n[o]!==void 0?n[o]:t[o]}for(let o in n)t[o]===void 0&&(t[o]=n[o]);let r=Object.getOwnPropertySymbols(n);for(let o of r)t[o]=n[o]}return t}var Mt=".",fc="#",cc=new WeakMap,mc=new WeakMap;function pl(e){return e.join(Mt)}function zg(e){return e.includes(Mt)}function dc(e){return e.startsWith(fc)}function _g(e){return e.startsWith(Mt)}function Vg(e){return dc(e)?e.slice(fc.length):e}function fl(e,t){return e?`${e}${Mt}${t}`:t}function Hg(e){let t=new Map,n=new Map,r=(o,l)=>{t.set(o,l);let i=l.id;i&&(n.has(i)&&cl(`[zag-js] Duplicate state id: "${i}"`),n.set(i,o));let s=l.states;if(s){kr(l.initial,()=>`[zag-js] Compound state "${o}" has child states but no "initial" property`),l.initial in s||cl(`[zag-js] Compound state "${o}" has initial "${String(l.initial)}" which is not a child state`);for(let[a,u]of Object.entries(s)){if(!u)continue;let c=fl(o,a);r(c,u)}}};for(let[o,l]of Object.entries(e.states))l&&r(o,l);return{index:t,idIndex:n}}function Vn(e){let t=cc.get(e);if(t)return t;let{index:n,idIndex:r}=Hg(e);return cc.set(e,n),mc.set(e,r),n}function Wg(e,t){return Vn(e),mc.get(e)?.get(t)}function ml(e){return e?String(e).split(Mt).filter(Boolean):[]}function Co(e,t){if(!t)return[];let n=Vn(e),r=ml(t),o=[],l=[];for(let i of r){l.push(i);let s=pl(l),a=n.get(s);if(!a)break;o.push({path:s,state:a})}return o}function Cr(e,t){let n=Vn(e),r=ml(t);if(!r.length)return t;let o=[];for(let s of r){o.push(s);let a=pl(o);if(!n.has(a))return t}let l=pl(o),i=n.get(l);for(;i?.initial;){let s=`${l}${Mt}${i.initial}`,a=n.get(s);if(!a)break;l=s,i=a}return l}function pc(e,t){return Vn(e).has(t)}function dl(e,t,n){let r=String(t);if(dc(r)){let o=Vg(r),l=Wg(e,o);return kr(l,()=>`[zag-js] Unknown state id: "${o}"`),Cr(e,l)}if(_g(r)&&n){let o=fl(n,r.slice(1));return Cr(e,o)}if(!zg(r)&&n){let o=ml(n);for(let l=o.length-1;l>=1;l--){let i=o.slice(0,l).join(Mt),s=fl(i,r);if(pc(e,s))return Cr(e,s)}if(pc(e,r))return Cr(e,r)}return Cr(e,r)}function hc(e,t,n){let r=Co(e,t);for(let l=r.length-1;l>=0;l--){let s=r[l]?.state.on?.[n];if(s)return{transitions:s,source:r[l]?.path}}return{transitions:e.on?.[n],source:void 0}}function gc(e,t,n,r){let o=t?Co(e,t):[],l=Co(e,n),i=0;for(;i<o.length&&i<l.length&&o[i]?.path===l[i]?.path;)i+=1;let s=o.slice(i).reverse(),a=l.slice(i),u=o.at(-1)?.path===l.at(-1)?.path;return r&&u&&(s=o.slice().reverse(),a=l),{exiting:s,entering:a}}function xc(e,t){return e?e===t||e.startsWith(`${t}${Mt}`):!1}function yc(e,t,n){return Co(e,t).some(r=>r.state.tags?.includes(n))}function Hn(e){return Vn(e),e}var zt=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(zt||{}),Dr="__init__";var Ug=Object.defineProperty,qg=(e,t,n)=>t in e?Ug(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Do=(e,t,n)=>qg(e,typeof t!="symbol"?t+"":t,n);var Er=()=>{},Fr=e=>typeof e=="object"&&e!==null;var Ee=e=>e?"":void 0,Pr=e=>e?"true":void 0;var jg=1,$g=9,Gg=11;var se=e=>Fr(e)&&e.nodeType===jg&&typeof e.nodeName=="string",Ar=e=>Fr(e)&&e.nodeType===$g,Kg=e=>Fr(e)&&e===e.window;var bc=e=>se(e)?e.localName||"":"#document";function wc(e){return["html","body","#document"].includes(bc(e))}var vc=e=>Fr(e)&&e.nodeType!==void 0,Et=e=>vc(e)&&e.nodeType===Gg&&"host"in e,hl=e=>se(e)&&e.localName==="input";var kc=e=>se(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function on(e){if(!e)return!1;let t=e.getRootNode();return Ft(t)===e}var Yg=/(textarea|select)/;function Cc(e){if(e==null||!se(e))return!1;try{return hl(e)&&e.selectionStart!=null||Yg.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function ln(e,t){if(!e||!t||!se(e)||!vc(t))return!1;if(se(t)&&e===t||e.contains(t))return!0;let n=t.getRootNode?.();if(n&&Et(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function xe(e){return Ar(e)?e:Kg(e)?e.document:e?.ownerDocument??document}function Xg(e){return xe(e).documentElement}function Ae(e){return Et(e)?Ae(e.host):Ar(e)?e.defaultView??window:se(e)?e.ownerDocument?.defaultView??window:window}function Ft(e){let t=e.activeElement;for(;t?.shadowRoot;){let n=t.shadowRoot.activeElement;if(!n||n===t)break;t=n}return t}function Dc(e){if(bc(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Et(e)&&e.host||Xg(e);return Et(t)?t.host:t}function Eo(e){let t;try{if(t=e.getRootNode({composed:!0}),Ar(t)||Et(t))return t}catch{}return e.ownerDocument??document}var gl=new WeakMap;function ft(e){return gl.has(e)||gl.set(e,Ae(e).getComputedStyle(e)),gl.get(e)}var xl=new Set(["menu","listbox","dialog","grid","tree","region","application"]),Zg=e=>xl.has(e),Ec=e=>e.getAttribute("aria-controls")?.split(" ")||[];function Fo(e,t){let n=new Set,r=Eo(e),o=l=>{let i=l.querySelectorAll("[aria-controls]");for(let s of i){if(s.getAttribute("aria-expanded")!=="true")continue;let a=Ec(s);for(let u of a){if(!u||n.has(u))continue;n.add(u);let c=r.getElementById(u);if(c){let p=c.getAttribute("role"),m=c.getAttribute("aria-modal")==="true";if(p&&Zg(p)&&!m&&(c===t||c.contains(t)||o(c)))return!0}}}return!1};return o(e)}function yl(e,t){let n=Eo(e),r=new Set,o=l=>{let i=l.querySelectorAll("[aria-controls]");for(let s of i){if(s.getAttribute("aria-expanded")!=="true")continue;let a=Ec(s);for(let u of a){if(!u||r.has(u))continue;r.add(u);let c=n.getElementById(u);if(c){let p=c.getAttribute("role"),m=c.getAttribute("aria-modal")==="true";p&&xl.has(p)&&!m&&(t(c),o(c))}}}};o(e)}function Fc(e){let t=new Set;return yl(e,n=>{e.contains(n)||t.add(n)}),Array.from(t)}function Jg(e){let t=e.getAttribute("role");return!!(t&&xl.has(t))}function Qg(e){return e.hasAttribute("aria-controls")&&e.getAttribute("aria-expanded")==="true"}function Pc(e){return Qg(e)?!0:!!e.querySelector?.('[aria-controls][aria-expanded="true"]')}function Ac(e){if(!e.id)return!1;let t=Eo(e),n=CSS.escape(e.id),r=`[aria-controls~="${n}"][aria-expanded="true"], [aria-controls="${n}"][aria-expanded="true"]`;return!!(t.querySelector(r)&&Jg(e))}var bl=()=>typeof document<"u";function ex(){return navigator.userAgentData?.platform??navigator.platform}var wl=e=>bl()&&e.test(ex());var tx=e=>bl()&&e.test(navigator.vendor),vl=()=>bl()&&!!navigator.maxTouchPoints,nx=()=>wl(/^iPhone/i),rx=()=>wl(/^iPad/i)||Po()&&navigator.maxTouchPoints>1,kl=()=>nx()||rx(),ox=()=>Po()||kl(),Po=()=>wl(/^Mac/i),Sc=()=>ox()&&tx(/apple/i);function ix(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function _e(e){return ix(e)?.[0]??e.target}var Tc=e=>e.button===0,Ic=e=>e.button===2||Po()&&e.ctrlKey&&e.button===0;var Le=(e,t,n,r)=>{let o=typeof e=="function"?e():e;return o?.addEventListener(t,n,r),()=>{o?.removeEventListener(t,n,r)}};var Rc=e=>se(e)&&e.tagName==="IFRAME",lx=/^(audio|video|details)$/;function Nc(e){let t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var sx=e=>!Number.isNaN(Nc(e)),ax=e=>Nc(e)<0;function ux(e){return hl(e)&&e.type==="radio"}function cx(e){if(!ux(e)||!e.name||e.checked)return!0;let t=`input[type="radio"][name="${CSS.escape(e.name)}"]`,n=e.form??e.ownerDocument,r=Array.from(n.querySelectorAll(t)).filter(l=>l.form===e.form&&Ke(l)),o=r.find(l=>l.checked);return o?o===e:r[0]===e}function px(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;let n=t(e);return(n===!0?e.shadowRoot:n)||null}function Oc(e,t,n){let r=[...e],o=[...e],l=new Set,i=new Map;e.forEach((a,u)=>i.set(a,u));let s=0;for(;s<o.length;){let a=o[s++];if(!a||l.has(a))continue;l.add(a);let u=px(a,t);if(u){let c=Array.from(u.querySelectorAll(Ao)).filter(n),p=i.get(a);if(p!==void 0){let m=p+1;r.splice(m,0,...c),c.forEach((f,h)=>{i.set(f,m+h)});for(let f=m+c.length;f<r.length;f++)i.set(r[f],f)}else{let m=r.length;r.push(...c),c.forEach((f,h)=>{i.set(f,m+h)})}o.push(...c)}}return r}var Ao="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",So=(e,t={})=>{if(!e)return[];let{includeContainer:n=!1,getShadowRoot:r}=t,o=Array.from(e.querySelectorAll(Ao));(n==!0||n=="if-empty"&&o.length===0)&&se(e)&&Ke(e)&&o.unshift(e);let i=[];for(let s of o)if(Ke(s)){if(Rc(s)&&s.contentDocument){let a=s.contentDocument.body;i.push(...So(a,{getShadowRoot:r}));continue}i.push(s)}return r?Oc(i,r,Ke):i};function Ke(e){return!se(e)||e.closest("[inert]")?!1:e.matches(Ao)&&kc(e)}function sn(e,t={}){if(!e)return[];let{includeContainer:n,getShadowRoot:r}=t,o=Array.from(e.querySelectorAll(Ao));n&&_t(e)&&o.unshift(e);let l=[];for(let i of o)if(_t(i)){if(Rc(i)&&i.contentDocument){let s=i.contentDocument.body;l.push(...sn(s,{getShadowRoot:r}));continue}l.push(i)}if(r){let i=Oc(l,r,_t);return!i.length&&n?o:i}return!l.length&&n?o:l}function _t(e){return se(e)&&e.tabIndex>0?!0:!Ke(e)||ax(e)?!1:cx(e)}function Cl(e,t={}){let n=sn(e,t),r=n[0]||null,o=n[n.length-1]||null;return[r,o]}function Bc(e,t={}){let{current:n,getShadowRoot:r}=t,o=sn(e,{getShadowRoot:r}),l=e?.ownerDocument||document,i=n??Ft(l);if(!i)return null;let s=o.indexOf(i);return o[s+1]||null}function Wn(e){return e.tabIndex<0&&(lx.test(e.localName)||Cc(e))&&!sx(e)?0:e.tabIndex}function Sr(e){let{root:t,getInitialEl:n,filter:r,enabled:o=!0}=e;if(!o)return;let l=null;if(l||(l=typeof n=="function"?n():n),l||(l=t?.querySelector("[data-autofocus],[autofocus]")),!l){let i=sn(t);l=r?i.filter(r)[0]:i[0]}return l||t||void 0}var fx=class Lc{constructor(){Do(this,"id",null),Do(this,"fn_cleanup"),Do(this,"cleanup",()=>{this.cancel()})}static create(){return new Lc}request(t){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=t?.()})}cancel(){this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function me(e){let t=fx.create();return t.request(e),t.cleanup}function To(e){let t=new Set;function n(r){let o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function Io(e){let t=Dc(e);return wc(t)?xe(t).body:se(t)&&hx(t)?t:Io(t)}var mx=/auto|scroll|overlay|hidden|clip/,dx=new Set(["inline","contents"]);function hx(e){let t=Ae(e),{overflow:n,overflowX:r,overflowY:o,display:l}=t.getComputedStyle(e);return mx.test(n+o+r)&&!dx.has(l)}function gx(e,t={}){let{triggerElement:n,onFocus:r,onFocusEnter:o,getShadowRoot:l}=t,i=e?.ownerDocument||document,s=i.body;function a(u){if(u.key!=="Tab")return;let c=null,[p,m]=Cl(e,{includeContainer:!0,getShadowRoot:l}),f=Bc(s,{current:n,getShadowRoot:l}),h=!p&&!m;u.shiftKey&&on(f)?(o?.(),c=m):u.shiftKey&&(on(p)||h)?c=n:!u.shiftKey&&on(n)?(o?.(),c=p):!u.shiftKey&&(on(m)||h)&&(c=f),c&&(u.preventDefault(),typeof r=="function"?r(c):c.focus())}return Le(i,"keydown",a,!0)}function Mc(e,t){let{defer:n,triggerElement:r,...o}=t,l=n?me:s=>s(),i=[];return i.push(l(()=>{let s=typeof e=="function"?e():e,a=typeof r=="function"?r():r;i.push(gx(s,{triggerElement:a,...o}))})),()=>{i.forEach(s=>s?.())}}function Ro(e,t){return Array.from(e?.querySelectorAll(t)??[])}function an(e,t){if(!e)return Er;let n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return xx(n,t)?Er:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")})}function zc(e,t,n){if(!e)return Er;let r=e.style.getPropertyValue(t);return r===n?Er:(e.style.setProperty(t,n),()=>{e.style.setProperty(t,r),e.style.length===0&&e.removeAttribute("style")})}function xx(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function yx(e,t,n){let{signal:r}=t;return[new Promise((i,s)=>{let a=setTimeout(()=>{s(new Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener("abort",()=>{clearTimeout(a),s(new DOMException("Promise aborted","AbortError"))}),e.then(u=>{r.aborted||(clearTimeout(a),i(u))}).catch(u=>{r.aborted||(clearTimeout(a),s(u))})}),()=>t.abort()]}function _c(e,t){let{timeout:n,rootNode:r}=t,o=Ae(r),l=xe(r),i=new o.AbortController;return yx(new Promise(s=>{let a=e();if(a){s(a);return}let u=new o.MutationObserver(()=>{let c=e();c&&c.isConnected&&(u.disconnect(),s(c))});u.observe(l.body,{childList:!0,subtree:!0})}),i,n)}function Vc(e){let t=()=>e.getRootNode?.()??document,n=()=>xe(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Ft(t()),isActiveElement:on,getById:i=>t().getElementById(i)}}function bx(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Dl=e=>{let t=ju($((n,r)=>{let{asChild:o,children:l,...i}=n;if(!o)return mo(e,{...i,ref:r},l);if(!qu(l))return null;let s=fo.only(l),a=bx(s);return Wu(s,{...j(i,s.props),ref:r?Ge(r,a):a})}));return t.displayName=e.displayName||e.name,t},wx=()=>{let e=new Map;return new Proxy(Dl,{apply(t,n,r){return Dl(r[0])},get(t,n){let r=n;return e.has(r)||e.set(r,Dl(r)),e.get(r)}})},K=wx();function vx(){let e=globalThis.ReactDOM;if(!e)throw new Error("@pollinations/ui browser bundle requires globalThis.ReactDOM. Load ReactDOM before @pollinations/ui.");return e}var kx=vx();var{createPortal:Hc,flushSync:Tr}=kx;var No=typeof globalThis.document<"u"?go:ae;function Ir(e){let t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=pe(t),[o,l]=pe(r),i=e().value!==void 0,s=ne(o);s.current=i?e().value:o;let a=ne(s.current);No(()=>{a.current=s.current},[o,e().value]);let u=p=>{let m=a.current,f=Be(p)?p(m):p;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:f,prev:m}),i||l(f),n(f,m)||e().onChange?.(f,m)};function c(){return i?e().value:o}return{initial:r,ref:s,get:c,set(p){(e().sync?Tr:sc)(()=>u(p))},invoke(p,m){e().onChange?.(p,m)},hash(p){return e().hash?.(p)??String(p)}}}Ir.cleanup=e=>{ae(()=>e,[])};Ir.ref=e=>{let t=ne(e);return{get:()=>t.current,set:n=>{t.current=n}}};function Wc(e){let t=ne(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Uc=(e,t)=>{let n=ne(!1),r=ne(!1);ae(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),ae(()=>(n.current=!0,()=>{n.current=!1}),[])};function Un(e,t={}){let n=Pe(()=>{let{id:F,ids:T,getRootNode:N}=t;return Vc({id:F,ids:T,getRootNode:N})},[t]),r=(...F)=>{e.debug&&console.log(...F)},o=e.props?.({props:Lt(t),scope:n})??t,l=Cx(o),i=e.context?.({prop:l,bindable:Ir,scope:n,flush:qc,getContext(){return a},getComputed(){return S},getRefs(){return g},getEvent(){return f()}}),s=jc(i),a={get(F){return s.current?.[F].ref.current},set(F,T){s.current?.[F].set(T)},initial(F){return s.current?.[F].initial},hash(F){let T=s.current?.[F].get();return s.current?.[F].hash(T)}},u=ne(new Map),c=ne(null),p=ne(null),m=ne({type:""}),f=()=>({...m.current,current(){return m.current},previous(){return p.current}}),h=()=>({...k,matches(...F){return F.some(T=>xc(k.ref.current,T))},hasTag(F){return yc(e,k.ref.current,F)}}),g=Wc(e.refs?.({prop:l,context:a})??{}),y=()=>({state:h(),context:a,event:f(),prop:l,send:C,action:x,guard:D,track:Uc,refs:g,computed:S,flush:qc,scope:n,choose:E}),x=F=>{let T=Be(F)?F(y()):F;if(!T)return;let N=T.map(L=>{let R=e.implementations?.actions?.[L];return R||zn(`[zag-js] No implementation found for action "${JSON.stringify(L)}"`),R});for(let L of N)L?.(y())},D=F=>{if(Be(F))return F(y());let T=e.implementations?.guards?.[F];return T||zn(`[zag-js] No implementation found for guard "${JSON.stringify(F)}"`),T?.(y())},v=F=>{let T=Be(F)?F(y()):F;if(!T)return;let N=T.map(R=>{let W=e.implementations?.effects?.[R];return W||zn(`[zag-js] No implementation found for effect "${JSON.stringify(R)}"`),W}),L=[];for(let R of N){let W=R?.(y());W&&L.push(W)}return()=>L.forEach(R=>R?.())},E=F=>rc(F).find(T=>{let N=!T.guard;return Mn(T.guard)?N=!!D(T.guard):Be(T.guard)&&(N=T.guard(y())),N}),S=F=>{kr(e.computed,()=>"[zag-js] No computed object found on machine");let T=e.computed[F];return T({context:a,event:f(),prop:l,refs:g,scope:n,computed:S})},k=Ir(()=>({defaultValue:dl(e,e.initialState({prop:l})),onChange(F,T){let{exiting:N,entering:L}=gc(e,T,F,c.current?.reenter);if(N.forEach(R=>{u.current.get(R.path)?.(),u.current.delete(R.path)}),N.forEach(R=>{x(R.state?.exit)}),x(c.current?.actions),L.forEach(R=>{let W=v(R.state?.effects);if(W){let X=u.current.get(R.path);u.current.set(R.path,X?Bt(X,W):W)}}),T===Dr){x(e.entry);let R=v(e.effects);if(R){let W=u.current.get(Dr);u.current.set(Dr,W?Bt(W,R):R)}}L.forEach(R=>{x(R.state?.entry)})}})),M=ne(void 0),I=ne(zt.NotStarted);No(()=>{queueMicrotask(()=>{let T=I.current===zt.Started;I.current=zt.Started,r(T?"rehydrating...":"initializing...");let N=M.current??k.initial;k.invoke(N,T?k.get():Dr)});let F=u.current;return()=>{let T=H();r("unmounting..."),M.current=T,I.current=zt.Stopped,F.forEach(N=>N?.()),u.current=new Map,c.current=null,queueMicrotask(()=>{x(e.exit),I.current=zt.Stopped})}},[]);let H=()=>"ref"in k?k.ref.current:k.get(),C=F=>{queueMicrotask(()=>{if(I.current!==zt.Started)return;p.current=m.current,m.current=F;let T=H(),{transitions:N,source:L}=hc(e,T,F.type),R=E(N);if(!R)return;c.current=R;let W=dl(e,R.target??T,L);r("transition",F.type,R.target||T,`(${R.actions})`),W!==T?Tr(()=>k.set(W)):R.reenter?k.invoke(T,T):x(R.actions??[])})};return e.watch?.(y()),{state:h(),send:C,context:a,prop:l,scope:n,refs:g,computed:S,event:f(),getStatus:()=>I.current}}function jc(e){let t=ne(e);return t.current=e,t}function Cx(e){let t=jc(e);return function(r){return t.current[r]}}function qc(e){queueMicrotask(()=>{Tr(()=>e())})}function $c(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var qn=$c(e=>e);var El=$((e,t)=>{let n=De(),r=j(n.getErrorTextProps(),e);return n?.invalid?d(K.span,{...r,ref:t}):null});El.displayName="FieldErrorText";var Fl=$((e,t)=>{let n=j(De()?.getHelperTextProps(),e);return d(K.span,{...n,ref:t})});Fl.displayName="FieldHelperText";var Pl=$((e,t)=>{let n=j(De()?.getInputProps(),e);return d(K.input,{...n,ref:t})});Pl.displayName="FieldInput";var Al=e=>{let{value:t,children:n}=e,r=De();return d(_n,{value:Pe(()=>{if(!r)throw new Error("Field.Item must be used within Field.Root");let o=`field::${r.ids.control}::item::${t}`,l=`${o}::label`,i=()=>({...r.getInputProps(),id:o});return{...r,ids:{...r.ids,control:o,label:l},getLabelProps:()=>({...r.getLabelProps(),id:l,htmlFor:o}),getInputProps:()=>({...i(),...qe.input.attrs}),getSelectProps:()=>({...i(),...qe.select.attrs}),getTextareaProps:()=>({...i(),...qe.textarea.attrs})}},[r,t]),children:n})};Al.displayName="FieldItem";var Sl=$((e,t)=>{let n=j(De()?.getLabelProps(),e);return d(K.label,{...n,ref:t})});Sl.displayName="FieldLabel";var Tl=$(({fallback:e,...t},n)=>{let r=De();if(!r.required)return e;let o=j(r.getRequiredIndicatorProps(),t);return d(K.span,{...o,ref:n,children:t.children??"*"})});Tl.displayName="FieldRequiredIndicator";var[MD,Vt]=Se({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var[VD,Gc]=Se({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1});var Kc=typeof window<"u"?go:ae;var Yc=(e={})=>{let t=Gc(),n=Vt(),{ids:r,target:o,disabled:l=!!t?.disabled,invalid:i=!1,readOnly:s=!1,required:a=!1}=e,[u,c]=pe(!1),[p,m]=pe(!1),f=Ot(),h=e.id??f,g=ne(null),y=r?.control??`field::${h}`,x=r?.errorText??`field::${h}::error-text`,D=r?.helperText??`field::${h}::helper-text`,v=r?.label??`field::${h}::label`;Kc(()=>{let R=g.current;if(!R)return;let W=()=>{let _=n.getRootNode();c(!!_.getElementById(x)),m(!!_.getElementById(D))};W();let X=new(n.getWindow()).MutationObserver(W);return X.observe(R,{childList:!0,subtree:!0}),()=>X.disconnect()},[n,x,D]);let E=Pe(()=>{let R=[];return u&&i&&R.push(x),p&&R.push(D),R.join(" ")||void 0},[i,x,D,u,p]),S=Pe(()=>()=>({...qe.root.attrs,id:y,ref:g,role:"group","data-disabled":Ee(l),"data-invalid":Ee(i),"data-readonly":Ee(s)}),[l,i,s,y]),k=o?`field::${h}::item::${o}`:void 0,M=Pe(()=>()=>({...qe.label.attrs,id:v,"data-disabled":Ee(l),"data-invalid":Ee(i),"data-readonly":Ee(s),"data-required":Ee(a),htmlFor:k??h}),[l,i,s,a,h,v,k]),I=Pe(()=>()=>({"aria-describedby":E,"aria-invalid":Pr(i),"data-invalid":Ee(i),"data-required":Ee(a),"data-readonly":Ee(s),id:h,required:a,disabled:l,readOnly:s}),[E,i,a,s,h,l]),H=Pe(()=>()=>({...I(),...qe.input.attrs}),[I]),C=Pe(()=>()=>({...I(),...qe.textarea.attrs}),[I]),F=Pe(()=>()=>({...I(),...qe.select.attrs}),[I]),T=Pe(()=>()=>({id:D,...qe.helperText.attrs,"data-disabled":Ee(l)}),[l,D]),N=Pe(()=>()=>({id:x,...qe.errorText.attrs,"aria-live":"polite"}),[x]),L=Pe(()=>()=>({"aria-hidden":!0,...qe.requiredIndicator.attrs}),[]);return{ariaDescribedby:E,ids:{root:y,control:h,label:v,errorText:x,helperText:D},refs:{rootRef:g},disabled:l,invalid:i,readOnly:s,required:a,getLabelProps:M,getRootProps:S,getInputProps:H,getTextareaProps:C,getSelectProps:F,getHelperTextProps:T,getErrorTextProps:N,getRequiredIndicatorProps:L}};var Ye=()=>(e,t)=>t.reduce((n,r)=>{let[o,l]=n,i=r;return l[i]!==void 0&&(o[i]=l[i]),delete l[i],[o,l]},[{},{...e}]);var Dx=Ye(),Il=$((e,t)=>{let[n,r]=Dx(e,["id","ids","disabled","invalid","readOnly","required","target"]),o=Yc(n),l=j(o.getRootProps(),r);return d(_n,{value:o,children:d(K.div,{...l,ref:Ge(t,o.refs.rootRef)})})});Il.displayName="FieldRoot";var Ex=Ye(),Rl=$((e,t)=>{let[{value:n},r]=Ex(e,["value"]),o=j(n.getRootProps(),r);return d(_n,{value:n,children:d(K.div,{...o,ref:t})})});Rl.displayName="FieldRootProvider";var Nl=$((e,t)=>{let n=j(De()?.getSelectProps(),e);return d(K.select,{...n,ref:t})});Nl.displayName="FieldSelect";var Xc=e=>{if(!e)return;let t=ft(e),n=Ae(e),r=xe(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let u;t.boxSizing==="content-box"?u=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):u=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&u>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),u=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${u}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);let l=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(l,"value");i&&Object.defineProperty(e,"value",{...i,set(u){let c=i.get?.call(this);i.set?.call(this,u),o(),c!==u&&queueMicrotask(()=>{e.dispatchEvent(new n.InputEvent("input",{bubbles:!0}))})}});let s=new n.ResizeObserver(()=>{requestAnimationFrame(()=>o())});s.observe(e);let a=new n.MutationObserver(()=>o());return a.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),r.fonts?.removeEventListener("loadingdone",o),s.disconnect(),a.disconnect()}};var Ol=$((e,t)=>{let{autoresize:n,...r}=e,o=ne(null),l=j(De()?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return ae(()=>{if(n)return Xc(o.current)},[n]),d(K.textarea,{...l,ref:Ge(t,o)})});Ol.displayName="FieldTextarea";var Zc=Object.defineProperty,jn=(e,t)=>{let n={};for(var r in e)Zc(n,r,{get:e[r],enumerable:!0});return t||Zc(n,Symbol.toStringTag,{value:"Module"}),n};var un=jn({Context:()=>ac,ErrorText:()=>El,HelperText:()=>Fl,Input:()=>Pl,Item:()=>Al,Label:()=>Sl,RequiredIndicator:()=>Tl,Root:()=>Il,RootProvider:()=>Rl,Select:()=>Nl,Textarea:()=>Ol});function Jc({label:e,children:t,className:n,labelClassName:r}){return O(un.Root,{className:A("polli:flex polli:flex-col polli:gap-2",n),children:[d(un.Label,{className:A("polli:text-sm polli:font-semibold polli:text-theme-text-strong",r),children:e}),t]})}function Fx(e,t){if(!t)return!0;let n=t.split(",").map(r=>r.trim()).filter(Boolean);return n.length===0?!0:n.some(r=>{if(r.startsWith("."))return e.name.toLowerCase().endsWith(r.toLowerCase());if(r.endsWith("/*")){let o=r.slice(0,r.length-1);return e.type.startsWith(o)}return e.type===r})}function Qc(e,t,{maxFiles:n,maxSizeBytes:r,accept:o}){let l=[],i=[],s=Math.max(0,n-t.length);for(let a of e)Fx(a,o)?a.size>r?i.push({file:a,reason:"size"}):s<=0?i.push({file:a,reason:"count"}):(l.push(a),s-=1):i.push({file:a,reason:"type"});return{accepted:l,rejected:i}}var Px={danger:"polli:bg-intent-danger-bg-light polli:hover:bg-intent-danger-bg-hover polli:text-intent-danger-text",info:"polli:bg-intent-info-bg-light polli:hover:bg-intent-info-bg-hover polli:text-intent-info-text"},Ax="polli:bg-theme-bg-active polli:hover:bg-theme-bg-hover polli:text-theme-text-soft polli:hover:text-theme-text-strong",Oo=({intent:e,title:t,tooltip:n,tooltipAlign:r,tooltipClampToViewport:o,onClick:l,children:i,className:s})=>{let a=d("button",{type:"button",onClick:l,"aria-label":t,"data-intent":e,className:A("polli-control polli:inline-flex polli:h-6 polli:w-6 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded polli:transition-colors",e?Px[e]:Ax,s),children:i}),u=n??t;return u?d(pt,{triggerAs:"span",content:u,align:r,clampToViewport:o,children:a}):a};var Sx=new Set(["image/gif","image/jpeg","image/png","image/webp"]),Tx=64,Ix=112,tp={sm:"polli:h-16 polli:w-16",lg:"polli:h-28 polli:w-28"};function ep(e){return Sx.has(e.type)}function Rx(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Nx({icon:e,size:t}){return d("div",{className:A("polli:flex polli:items-center polli:justify-center polli:rounded-lg polli:bg-theme-bg-active polli:text-theme-text-soft",tp[t]),children:e})}function Ox({file:e,placeholderIcon:t,size:n="sm"}){let r=ne(null),[o,l]=pe(()=>ep(e)),i=n==="lg"?Ix:Tx;return ae(()=>{if(!ep(e)){l(!1);return}let s=!1;l(!0);async function a(){try{let u=await createImageBitmap(e);if(s){u.close();return}let c=r.current,p=c?.getContext("2d");if(!c||!p){u.close(),l(!1);return}c.width=i,c.height=i;let m=Math.max(i/u.width,i/u.height),f=u.width*m,h=u.height*m,g=(i-f)/2,y=(i-h)/2;p.clearRect(0,0,i,i),p.drawImage(u,g,y,f,h),u.close()}catch{s||l(!1)}}return a(),()=>{s=!0}},[e,i]),o?d("canvas",{ref:r,role:"img","aria-label":e.name,className:A("polli:rounded-lg",tp[n]),width:i,height:i}):d(Nx,{icon:t,size:n})}function np({value:e,onChange:t,onReject:n,maxFiles:r=4,maxSizeBytes:o=10*1024*1024,accept:l="image/*",icon:i=d(wo,{className:"polli:h-6 polli:w-6"}),label:s=O(Ce,{children:["Drag images here or ",d("span",{className:"polli:underline",children:"browse"})]}),previewIcon:a=d(wo,{className:"polli:h-5 polli:w-5"}),disabled:u=!1,className:c}){ae(()=>{let v=E=>E.preventDefault();return document.addEventListener("dragover",v),document.addEventListener("drop",v),()=>{document.removeEventListener("dragover",v),document.removeEventListener("drop",v)}},[]);function p(v){if(u||v.length===0)return;let{accepted:E,rejected:S}=Qc(v,e,{maxFiles:r,maxSizeBytes:o,accept:l});E.length>0&&t([...e,...E]),S.length>0&&n?.(S)}let m=e.length>0,f=!u&&e.length<r,h=r===1,g=h?"lg":"sm",y=Ot(),x=`${y}-add`;function D(v){p(Array.from(v.target.files??[])),v.target.value=""}return d("div",{className:A("polli:flex polli:flex-col polli:gap-2",c),children:d("fieldset",{disabled:u,className:A("polli:m-0","polli:rounded-xl polli:border polli:border-dashed polli:border-theme-border polli:bg-theme-bg-pale","polli:px-4 polli:py-4 polli:text-center polli:text-sm","polli:text-theme-text-soft polli:transition-colors",u?"polli:opacity-50":"polli:hover:bg-theme-bg-hover"),onDragOver:v=>v.preventDefault(),onDrop:v=>{v.preventDefault(),!u&&p(Array.from(v.dataTransfer.files))},children:m?O("div",{className:"polli:flex polli:flex-col polli:gap-3",children:[O("ul",{className:A("polli:m-0 polli:grid polli:grid-cols-[repeat(auto-fill,minmax(5rem,1fr))] polli:gap-3 polli:p-0",h&&"polli:flex polli:justify-center"),children:[e.map((v,E)=>O("li",{className:A("polli:relative polli:flex polli:min-w-0 polli:list-none polli:flex-col polli:items-center polli:gap-1",h&&"polli:max-w-full"),children:[d(Ox,{file:v,placeholderIcon:a,size:g}),d("span",{className:A("polli:max-w-full polli:truncate polli:text-xs polli:font-medium polli:text-theme-text-base",h?"polli:w-36":"polli:w-16"),children:v.name}),d("span",{className:"polli:text-micro polli:text-theme-text-muted",children:Rx(v.size)}),!u&&d("div",{className:"polli:absolute polli:-top-2 polli:right-1",children:d(Oo,{intent:"danger",title:`Remove ${v.name}`,onClick:()=>t(e.filter((S,k)=>k!==E)),children:d(sl,{className:"polli:h-3 polli:w-3"})})})]},`${v.name}-${E}`)),!h&&f&&d("li",{className:"polli:flex polli:list-none",children:O("label",{htmlFor:x,className:"polli-control polli:flex polli:min-h-20 polli:w-full polli:cursor-pointer polli:flex-col polli:items-center polli:justify-center polli:gap-1 polli:rounded-lg polli:bg-theme-bg-active polli:px-3 polli:py-2 polli:text-theme-text-soft polli:transition-colors polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-strong",children:[d(ll,{className:"polli:h-5 polli:w-5"}),d("span",{className:"polli:text-xs polli:font-medium",children:"Add"}),d("input",{id:x,type:"file",accept:l,multiple:!0,disabled:u||!f,className:"polli:sr-only",onChange:D})]})})]}),r>1&&O("span",{className:"polli:text-xs polli:text-theme-text-muted",children:[e.length," / ",r," files"]})]}):O("label",{htmlFor:y,className:A("polli-control polli:flex polli:min-h-32 polli:flex-col polli:items-center polli:justify-center polli:gap-2 polli:rounded-lg",f?"polli:cursor-pointer":"polli:cursor-not-allowed"),children:[i,d("span",{children:s}),d("input",{id:y,type:"file",accept:l,multiple:r>1,disabled:u||!f,className:"polli:sr-only",onChange:D})]})})})}var rp=({text:e,content:t,label:n="More info"})=>d(pt,{content:t??e,ariaLabel:n,className:"polli:ml-1",children:d("span",{className:"polli:inline-flex polli:h-3.5 polli:w-3.5 polli:items-center polli:justify-center polli:rounded-full polli:border polli:border-theme-border polli:bg-theme-bg-active polli:font-bold polli:text-micro polli:text-theme-text-strong polli:transition-colors",children:"i"})});var Bx={panel:"polli:rounded-2xl polli:bg-theme-bg-pale polli:p-6 polli:shadow-container",card:"polli:rounded-xl polli:bg-surface-opaque polli:p-4 polli:shadow-well","card-themed":"polli:rounded-xl polli:bg-theme-bg-pale polli:p-4 polli:shadow-well"},$n=({variant:e="card",className:t,children:n,...r})=>d("div",{...r,className:A("polli:min-w-0",Bx[e],t),children:n});function Lx(e){return typeof e=="string"&&/^https?:\/\//.test(e)}function op({as:e,external:t,showIcon:n=!0,className:r,surfaceClassName:o,children:l,...i}){let s=e||"a",a=t??Lx(i.href);return d(s,{target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,className:A("polli:group polli:block polli:h-full polli:rounded-xl polli:outline-none",r),...i,children:O($n,{variant:"card",className:A("polli:relative polli:flex polli:h-full polli:flex-col polli:gap-2 polli:bg-surface-opaque/80 polli:p-5",n&&a&&"polli:pr-10","polli:transition polli:group-hover:-translate-y-0.5 polli:group-hover:bg-surface-opaque/95","polli:group-focus-visible:ring-2 polli:group-focus-visible:ring-theme-border",o),children:[n&&a&&d(rn,{"aria-hidden":"true",className:"polli:absolute polli:top-4 polli:right-4 polli:h-3.5 polli:w-3.5 polli:text-theme-text-soft"}),l]})})}function ip(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Mx=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zx=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_x={};function Bo(e,t){return((t||_x).jsx?zx:Mx).test(e)}var Vx=/[ \t\n\f\r]/g;function Bl(e){return typeof e=="object"?e.type==="text"?lp(e.value):!1:lp(e)}function lp(e){return e.replace(Vx,"")===""}var Pt=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Pt.prototype.normal={};Pt.prototype.property={};Pt.prototype.space=void 0;function Ll(e,t){let n={},r={};for(let o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Pt(n,r,t)}function Rr(e){return e.toLowerCase()}var Fe=class{constructor(t,n){this.attribute=n,this.property=t}};Fe.prototype.attribute="";Fe.prototype.booleanish=!1;Fe.prototype.boolean=!1;Fe.prototype.commaOrSpaceSeparated=!1;Fe.prototype.commaSeparated=!1;Fe.prototype.defined=!1;Fe.prototype.mustUseProperty=!1;Fe.prototype.number=!1;Fe.prototype.overloadedBoolean=!1;Fe.prototype.property="";Fe.prototype.spaceSeparated=!1;Fe.prototype.space=void 0;var Nr={};el(Nr,{boolean:()=>Q,booleanish:()=>de,commaOrSpaceSeparated:()=>Ve,commaSeparated:()=>Ht,number:()=>B,overloadedBoolean:()=>Lo,spaceSeparated:()=>oe});var Hx=0,Q=cn(),de=cn(),Lo=cn(),B=cn(),oe=cn(),Ht=cn(),Ve=cn();function cn(){return 2**++Hx}var Ml=Object.keys(Nr),pn=class extends Fe{constructor(t,n,r,o){let l=-1;if(super(t,n),sp(this,"space",o),typeof r=="number")for(;++l<Ml.length;){let i=Ml[l];sp(this,Ml[l],(r&Nr[i])===Nr[i])}}};pn.prototype.defined=!0;function sp(e,t,n){n&&(e[t]=n)}function Xe(e){let t={},n={};for(let[r,o]of Object.entries(e.properties)){let l=new pn(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[Rr(r)]=r,n[Rr(l.attribute)]=r}return new Pt(t,n,e.space)}var zl=Xe({properties:{ariaActiveDescendant:null,ariaAtomic:de,ariaAutoComplete:null,ariaBusy:de,ariaChecked:de,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:de,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:de,ariaFlowTo:oe,ariaGrabbed:de,ariaHasPopup:null,ariaHidden:de,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:B,ariaLive:null,ariaModal:de,ariaMultiLine:de,ariaMultiSelectable:de,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:de,ariaReadOnly:de,ariaRelevant:null,ariaRequired:de,ariaRoleDescription:oe,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:de,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Mo(e,t){return t in e?e[t]:t}function zo(e,t){return Mo(e,t.toLowerCase())}var ap=Xe({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ht,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:oe,autoFocus:Q,autoPlay:Q,blocking:oe,capture:null,charSet:null,checked:Q,cite:null,className:oe,cols:B,colSpan:null,content:null,contentEditable:de,controls:Q,controlsList:oe,coords:B|Ht,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:Lo,draggable:de,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:oe,height:B,hidden:Lo,high:B,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:oe,itemRef:oe,itemScope:Q,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Q,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:Q,muted:Q,name:null,nonce:null,noModule:Q,noValidate:Q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Q,optimum:B,pattern:null,ping:oe,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:oe,required:Q,reversed:Q,rows:B,rowSpan:B,sandbox:oe,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:de,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:Q,useMap:null,value:de,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Q,declare:Q,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:Q,noHref:Q,noShade:Q,noWrap:Q,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:de,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Q,disableRemotePlayback:Q,prefix:null,property:null,results:B,security:null,unselectable:null},space:"html",transform:zo});var up=Xe({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ve,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:oe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:Q,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ht,g2:Ht,glyphName:Ht,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:Ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ve,rev:Ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ve,requiredFeatures:Ve,requiredFonts:Ve,requiredFormats:Ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:Ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ve,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Mo});var _l=Xe({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}});var Vl=Xe({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:zo});var Hl=Xe({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var Wl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Wx=/[A-Z]/g,cp=/-[a-z]/g,Ux=/^data[-\w.:]+$/i;function Ul(e,t){let n=Rr(t),r=t,o=Fe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ux.test(t)){if(t.charAt(4)==="-"){let l=t.slice(5).replace(cp,jx);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let l=t.slice(4);if(!cp.test(l)){let i=l.replace(Wx,qx);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=pn}return new o(r,t)}function qx(e){return"-"+e.toLowerCase()}function jx(e){return e.charAt(1).toUpperCase()}var pp=Ll([zl,ap,_l,Vl,Hl],"html"),_o=Ll([zl,up,_l,Vl,Hl],"svg");function fp(e){return e.join(" ").trim()}var Pp=vu(Cp(),1);var Ho=Dp("end"),Gn=Dp("start");function Dp(e){return t;function t(n){let r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function $l(e){let t=Gn(e),n=Ho(e);if(t&&n)return{start:t,end:n}}function Wt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ep(e.position):"start"in e||"end"in e?Ep(e):"line"in e||"column"in e?Gl(e):""}function Gl(e){return Fp(e&&e.line)+":"+Fp(e&&e.column)}function Ep(e){return Gl(e&&e.start)+"-"+Gl(e&&e.end)}function Fp(e){return e&&typeof e=="number"?e:1}var ye=class extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",l={},i=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?o=t:!l.cause&&t&&(i=!0,o=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof r=="string"){let a=r.indexOf(":");a===-1?l.ruleId=r:(l.source=r.slice(0,a),l.ruleId=r.slice(a+1))}if(!l.place&&l.ancestors&&l.ancestors){let a=l.ancestors[l.ancestors.length-1];a&&(l.place=a.position)}let s=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=s?s.line:void 0,this.name=Wt(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=i&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ye.prototype.file="";ye.prototype.name="";ye.prototype.reason="";ye.prototype.message="";ye.prototype.stack="";ye.prototype.column=void 0;ye.prototype.line=void 0;ye.prototype.ancestors=void 0;ye.prototype.cause=void 0;ye.prototype.fatal=void 0;ye.prototype.place=void 0;ye.prototype.ruleId=void 0;ye.prototype.source=void 0;var Kl={}.hasOwnProperty,x2=new Map,y2=/[A-Z]/g,b2=new Set(["table","tbody","thead","tfoot","tr"]),w2=new Set(["td","th"]),Ap="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Yl(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=A2(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=P2(n,t.jsx,t.jsxs)}let o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?_o:pp,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=Sp(o,e,void 0);return l&&typeof l!="string"?l:o.create(e,o.Fragment,{children:l||void 0},void 0)}function Sp(e,t,n){if(t.type==="element")return v2(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return k2(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return D2(e,t,n);if(t.type==="mdxjsEsm")return C2(e,t);if(t.type==="root")return E2(e,t,n);if(t.type==="text")return F2(e,t)}function v2(e,t,n){let r=e.schema,o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=_o,e.schema=o),e.ancestors.push(t);let l=Ip(e,t.tagName,!1),i=S2(e,t),s=Zl(e,t);return b2.has(t.tagName)&&(s=s.filter(function(a){return typeof a=="string"?!Bl(a):!0})),Tp(e,i,l,t),Xl(i,s),e.ancestors.pop(),e.schema=r,e.create(t,l,i,n)}function k2(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Br(e,t.position)}function C2(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Br(e,t.position)}function D2(e,t,n){let r=e.schema,o=r;t.name==="svg"&&r.space==="html"&&(o=_o,e.schema=o),e.ancestors.push(t);let l=t.name===null?e.Fragment:Ip(e,t.name,!0),i=T2(e,t),s=Zl(e,t);return Tp(e,i,l,t),Xl(i,s),e.ancestors.pop(),e.schema=r,e.create(t,l,i,n)}function E2(e,t,n){let r={};return Xl(r,Zl(e,t)),e.create(t,e.Fragment,r,n)}function F2(e,t){return t.value}function Tp(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Xl(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function P2(e,t,n){return r;function r(o,l,i,s){let u=Array.isArray(i.children)?n:t;return s?u(l,i,s):u(l,i)}}function A2(e,t){return n;function n(r,o,l,i){let s=Array.isArray(l.children),a=Gn(r);return t(o,l,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function S2(e,t){let n={},r,o;for(o in t.properties)if(o!=="children"&&Kl.call(t.properties,o)){let l=I2(e,o,t.properties[o]);if(l){let[i,s]=l;e.tableCellAlignToStyle&&i==="align"&&typeof s=="string"&&w2.has(t.tagName)?r=s:n[i]=s}}if(r){let l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function T2(e,t){let n={};for(let r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){let l=r.data.estree.body[0];l.type;let i=l.expression;i.type;let s=i.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Br(e,t.position);else{let o=r.name,l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){let s=r.value.data.estree.body[0];s.type,l=e.evaluater.evaluateExpression(s.expression)}else Br(e,t.position);else l=r.value===null?!0:r.value;n[o]=l}return n}function Zl(e,t){let n=[],r=-1,o=e.passKeys?new Map:x2;for(;++r<t.children.length;){let l=t.children[r],i;if(e.passKeys){let a=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(a){let u=o.get(a)||0;i=a+"-"+u,o.set(a,u+1)}}let s=Sp(e,l,i);s!==void 0&&n.push(s)}return n}function I2(e,t,n){let r=Ul(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?ip(n):fp(n)),r.property==="style"){let o=typeof n=="object"?n:R2(e,String(n));return e.stylePropertyNameCase==="css"&&(o=N2(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?Wl[r.property]||r.property:r.attribute,n]}}function R2(e,t){try{return(0,Pp.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let r=n,o=new ye("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=Ap+"#cannot-parse-style-attribute",o}}function Ip(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){let o=t.split("."),l=-1,i;for(;++l<o.length;){let s=Bo(o[l])?{type:"Identifier",name:o[l]}:{type:"Literal",value:o[l]};i=i?{type:"MemberExpression",object:i,property:s,computed:!!(l&&s.type==="Literal"),optional:!1}:s}r=i}else r=Bo(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){let o=r.value;return Kl.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);Br(e)}function Br(e,t){let n=new ye("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ap+"#cannot-handle-mdx-estrees-without-createevaluater",n}function N2(e){let t={},n;for(n in e)Kl.call(e,n)&&(t[O2(n)]=e[n]);return t}function O2(e){let t=e.replace(y2,B2);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function B2(e){return"-"+e.toLowerCase()}var Lr={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var L2={};function mn(e,t){let n=t||L2,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Np(e,r,o)}function Np(e,t,n){if(M2(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Rp(e.children,t,n)}return Array.isArray(e)?Rp(e,t,n):""}function Rp(e,t,n){let r=[],o=-1;for(;++o<e.length;)r[o]=Np(e[o],t,n);return r.join("")}function M2(e){return!!(e&&typeof e=="object")}var Op=document.createElement("i");function Kn(e){let t="&"+e+";";Op.innerHTML=t;let n=Op.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function be(e,t,n,r){let o=e.length,l=0,i;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)i=r.slice(l,l+1e4),i.unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function Me(e,t){return e.length>0?(be(e,e.length,0,t),e):t}var Bp={}.hasOwnProperty;function Wo(e){let t={},n=-1;for(;++n<e.length;)z2(t,e[n]);return t}function z2(e,t){let n;for(n in t){let o=(Bp.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n],i;if(l)for(i in l){Bp.call(o,i)||(o[i]=[]);let s=l[i];_2(o[i],Array.isArray(s)?s:s?[s]:[])}}}function _2(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);be(e,0,0,r)}function Uo(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var ke=Ut(/[A-Za-z]/),he=Ut(/[\dA-Za-z]/),Lp=Ut(/[#-'*+\--9=?A-Z^-~]/);function dn(e){return e!==null&&(e<32||e===127)}var Mr=Ut(/\d/),Mp=Ut(/[\dA-Fa-f]/),zp=Ut(/[!-/:-@[-`{-~]/);function V(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function Y(e){return e===-2||e===-1||e===32}var hn=Ut(/\p{P}|\p{S}/u),mt=Ut(/\s/);function Ut(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ze(e){let t=[],n=-1,r=0,o=0;for(;++n<e.length;){let l=e.charCodeAt(n),i="";if(l===37&&he(e.charCodeAt(n+1))&&he(e.charCodeAt(n+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(i=String.fromCharCode(l));else if(l>55295&&l<57344){let s=e.charCodeAt(n+1);l<56320&&s>56319&&s<57344?(i=String.fromCharCode(l,s),o=1):i="\uFFFD"}else i=String.fromCharCode(l);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function G(e,t,n,r){let o=r?r-1:Number.POSITIVE_INFINITY,l=0;return i;function i(a){return Y(a)?(e.enter(n),s(a)):t(a)}function s(a){return Y(a)&&l++<o?(e.consume(a),s):(e.exit(n),t(a))}}var _p={tokenize:V2};function V2(e){let t=e.attempt(this.parser.constructs.contentInitial,r,o),n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),G(e,t,"linePrefix")}function o(s){return e.enter("paragraph"),l(s)}function l(s){let a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,i(s)}function i(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return V(s)?(e.consume(s),e.exit("chunkText"),l):(e.consume(s),i)}}var Hp={tokenize:H2},Vp={tokenize:W2};function H2(e){let t=this,n=[],r=0,o,l,i;return s;function s(v){if(r<n.length){let E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,a,u)(v)}return u(v)}function a(v){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&D();let E=t.events.length,S=E,k;for(;S--;)if(t.events[S][0]==="exit"&&t.events[S][1].type==="chunkFlow"){k=t.events[S][1].end;break}x(r);let M=E;for(;M<t.events.length;)t.events[M][1].end={...k},M++;return be(t.events,S+1,0,t.events.slice(E)),t.events.length=M,u(v)}return s(v)}function u(v){if(r===n.length){if(!o)return m(v);if(o.currentConstruct&&o.currentConstruct.concrete)return h(v);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vp,c,p)(v)}function c(v){return o&&D(),x(r),m(v)}function p(v){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,h(v)}function m(v){return t.containerState={},e.attempt(Vp,f,h)(v)}function f(v){return r++,n.push([t.currentConstruct,t.containerState]),m(v)}function h(v){if(v===null){o&&D(),x(0),e.consume(v);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:l}),g(v)}function g(v){if(v===null){y(e.exit("chunkFlow"),!0),x(0),e.consume(v);return}return V(v)?(e.consume(v),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(v),g)}function y(v,E){let S=t.sliceStream(v);if(E&&S.push(null),v.previous=l,l&&(l.next=v),l=v,o.defineSkip(v.start),o.write(S),t.parser.lazy[v.start.line]){let k=o.events.length;for(;k--;)if(o.events[k][1].start.offset<i&&(!o.events[k][1].end||o.events[k][1].end.offset>i))return;let M=t.events.length,I=M,H,C;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(H){C=t.events[I][1].end;break}H=!0}for(x(r),k=M;k<t.events.length;)t.events[k][1].end={...C},k++;be(t.events,I+1,0,t.events.slice(M)),t.events.length=k}}function x(v){let E=n.length;for(;E-- >v;){let S=n[E];t.containerState=S[1],S[0].exit.call(t,e)}n.length=v}function D(){o.write([null]),l=void 0,o=void 0,t.containerState._closeFlow=void 0}}function W2(e,t,n){return G(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function At(e){if(e===null||te(e)||mt(e))return 1;if(hn(e))return 2}function qt(e,t,n){let r=[],o=-1;for(;++o<e.length;){let l=e[o].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}var zr={name:"attention",resolveAll:U2,tokenize:q2};function U2(e,t){let n=-1,r,o,l,i,s,a,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let p={...e[r][1].end},m={...e[n][1].start};Wp(p,-a),Wp(m,a),i={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},l={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},o={type:a>1?"strong":"emphasis",start:{...i.start},end:{...s.end}},e[r][1].end={...i.start},e[n][1].start={...s.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Me(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Me(u,[["enter",o,t],["enter",i,t],["exit",i,t],["enter",l,t]]),u=Me(u,qt(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Me(u,[["exit",l,t],["enter",s,t],["exit",s,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Me(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,be(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function q2(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=At(r),l;return i;function i(a){return l=a,e.enter("attentionSequence"),s(a)}function s(a){if(a===l)return e.consume(a),s;let u=e.exit("attentionSequence"),c=At(a),p=!c||c===2&&o||n.includes(a),m=!o||o===2&&c||n.includes(r);return u._open=!!(l===42?p:p&&(o||!m)),u._close=!!(l===42?m:m&&(c||!p)),t(a)}}function Wp(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Jl={name:"autolink",tokenize:j2};function j2(e,t,n){let r=0;return o;function o(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(f){return ke(f)?(e.consume(f),i):f===64?n(f):u(f)}function i(f){return f===43||f===45||f===46||he(f)?(r=1,s(f)):u(f)}function s(f){return f===58?(e.consume(f),r=0,a):(f===43||f===45||f===46||he(f))&&r++<32?(e.consume(f),s):(r=0,u(f))}function a(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||dn(f)?n(f):(e.consume(f),a)}function u(f){return f===64?(e.consume(f),c):Lp(f)?(e.consume(f),u):n(f)}function c(f){return he(f)?p(f):n(f)}function p(f){return f===46?(e.consume(f),r=0,c):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):m(f)}function m(f){if((f===45||he(f))&&r++<63){let h=f===45?m:p;return e.consume(f),h}return n(f)}}var dt={partial:!0,tokenize:$2};function $2(e,t,n){return r;function r(l){return Y(l)?G(e,o,"linePrefix")(l):o(l)}function o(l){return l===null||V(l)?t(l):n(l)}}var qo={continuation:{tokenize:K2},exit:Y2,name:"blockQuote",tokenize:G2};function G2(e,t,n){let r=this;return o;function o(i){if(i===62){let s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),l}return n(i)}function l(i){return Y(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function K2(e,t,n){let r=this;return o;function o(i){return Y(i)?G(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):l(i)}function l(i){return e.attempt(qo,t,n)(i)}}function Y2(e){e.exit("blockQuote")}var jo={name:"characterEscape",tokenize:X2};function X2(e,t,n){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),o}function o(l){return zp(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}var $o={name:"characterReference",tokenize:Z2};function Z2(e,t,n){let r=this,o=0,l,i;return s;function s(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),a}function a(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),l=31,i=he,c(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,i=Mp,c):(e.enter("characterReferenceValue"),l=7,i=Mr,c(p))}function c(p){if(p===59&&o){let m=e.exit("characterReferenceValue");return i===he&&!Kn(r.sliceSerialize(m))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(p)&&o++<l?(e.consume(p),c):n(p)}}var Up={partial:!0,tokenize:Q2},Go={concrete:!0,name:"codeFenced",tokenize:J2};function J2(e,t,n){let r=this,o={partial:!0,tokenize:S},l=0,i=0,s;return a;function a(k){return u(k)}function u(k){let M=r.events[r.events.length-1];return l=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,s=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(k)}function c(k){return k===s?(i++,e.consume(k),c):i<3?n(k):(e.exit("codeFencedFenceSequence"),Y(k)?G(e,p,"whitespace")(k):p(k))}function p(k){return k===null||V(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(Up,g,E)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===null||V(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(k)):Y(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),G(e,f,"whitespace")(k)):k===96&&k===s?n(k):(e.consume(k),m)}function f(k){return k===null||V(k)?p(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(k))}function h(k){return k===null||V(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(k)):k===96&&k===s?n(k):(e.consume(k),h)}function g(k){return e.attempt(o,E,y)(k)}function y(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),x}function x(k){return l>0&&Y(k)?G(e,D,"linePrefix",l+1)(k):D(k)}function D(k){return k===null||V(k)?e.check(Up,g,E)(k):(e.enter("codeFlowValue"),v(k))}function v(k){return k===null||V(k)?(e.exit("codeFlowValue"),D(k)):(e.consume(k),v)}function E(k){return e.exit("codeFenced"),t(k)}function S(k,M,I){let H=0;return C;function C(R){return k.enter("lineEnding"),k.consume(R),k.exit("lineEnding"),F}function F(R){return k.enter("codeFencedFence"),Y(R)?G(k,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):T(R)}function T(R){return R===s?(k.enter("codeFencedFenceSequence"),N(R)):I(R)}function N(R){return R===s?(H++,k.consume(R),N):H>=i?(k.exit("codeFencedFenceSequence"),Y(R)?G(k,L,"whitespace")(R):L(R)):I(R)}function L(R){return R===null||V(R)?(k.exit("codeFencedFence"),M(R)):I(R)}}}function Q2(e,t,n){let r=this;return o;function o(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),l)}function l(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}var _r={name:"codeIndented",tokenize:ty},ey={partial:!0,tokenize:ny};function ty(e,t,n){let r=this;return o;function o(u){return e.enter("codeIndented"),G(e,l,"linePrefix",5)(u)}function l(u){let c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?i(u):n(u)}function i(u){return u===null?a(u):V(u)?e.attempt(ey,i,a)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||V(u)?(e.exit("codeFlowValue"),i(u)):(e.consume(u),s)}function a(u){return e.exit("codeIndented"),t(u)}}function ny(e,t,n){let r=this;return o;function o(i){return r.parser.lazy[r.now().line]?n(i):V(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),o):G(e,l,"linePrefix",5)(i)}function l(i){let s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):V(i)?o(i):n(i)}}var Ql={name:"codeText",previous:oy,resolve:ry,tokenize:iy};function ry(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function oy(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function iy(e,t,n){let r=this,o=0,l,i;return s;function s(m){return e.enter("codeText"),e.enter("codeTextSequence"),a(m)}function a(m){return m===96?(e.consume(m),o++,a):(e.exit("codeTextSequence"),u(m))}function u(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),u):m===96?(i=e.enter("codeTextSequence"),l=0,p(m)):V(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(m))}function c(m){return m===null||m===32||m===96||V(m)?(e.exit("codeTextData"),u(m)):(e.consume(m),c)}function p(m){return m===96?(e.consume(m),l++,p):l===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(i.type="codeTextData",c(m))}}var Ko=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){let o=n||0;this.setCursor(Math.trunc(t));let l=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&Vr(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Vr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Vr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);Vr(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Vr(this.left,n.reverse())}}};function Vr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Yo(e){let t={},n=-1,r,o,l,i,s,a,u,c=new Ko(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,l=0,l<a.length&&a[l][1].type==="lineEndingBlank"&&(l+=2),l<a.length&&a[l][1].type==="content"))for(;++l<a.length&&a[l][1].type!=="content";)a[l][1].type==="chunkText"&&(a[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,ly(c,n)),n=t[n],u=!0);else if(r[1]._container){for(l=n,o=void 0;l--;)if(i=c.get(l),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(o&&(c.get(o)[1].type="lineEndingBlank"),i[1].type="lineEnding",o=l);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;o&&(r[1].end={...c.get(o)[1].start},s=c.slice(o,n),s.unshift(r),c.splice(o,n-o+1,s))}}return be(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function ly(e,t){let n=e.get(t)[1],r=e.get(t)[2],o=t-1,l=[],i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));let s=i.events,a=[],u={},c,p,m=-1,f=n,h=0,g=0,y=[g];for(;f;){for(;e.get(++o)[1]!==f;);l.push(o),f._tokenizer||(c=r.sliceStream(f),f.next||c.push(null),p&&i.defineSkip(f.start),f._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(c),f._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),p=f,f=f.next}for(f=n;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(g=m+1,y.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(i.events=[],f?(f._tokenizer=void 0,f.previous=void 0):y.pop(),m=y.length;m--;){let x=s.slice(y[m],y[m+1]),D=l.pop();a.push([D,D+x.length-1]),e.splice(D,2,x)}for(a.reverse(),m=-1;++m<a.length;)u[h+a[m][0]]=h+a[m][1],h+=a[m][1]-a[m][0]-1;return u}var es={resolve:ay,tokenize:uy},sy={partial:!0,tokenize:cy};function ay(e){return Yo(e),e}function uy(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(s)}function o(s){return s===null?l(s):V(s)?e.check(sy,i,l)(s):(e.consume(s),o)}function l(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function i(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function cy(e,t,n){let r=this;return o;function o(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),G(e,l,"linePrefix")}function l(i){if(i===null||V(i))return n(i);let s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Xo(e,t,n,r,o,l,i,s,a){let u=a||Number.POSITIVE_INFINITY,c=0;return p;function p(x){return x===60?(e.enter(r),e.enter(o),e.enter(l),e.consume(x),e.exit(l),m):x===null||x===32||x===41||dn(x)?n(x):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(x))}function m(x){return x===62?(e.enter(l),e.consume(x),e.exit(l),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===62?(e.exit("chunkString"),e.exit(s),m(x)):x===null||x===60||V(x)?n(x):(e.consume(x),x===92?h:f)}function h(x){return x===60||x===62||x===92?(e.consume(x),f):f(x)}function g(x){return!c&&(x===null||x===41||te(x))?(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(x)):c<u&&x===40?(e.consume(x),c++,g):x===41?(e.consume(x),c--,g):x===null||x===32||x===40||dn(x)?n(x):(e.consume(x),x===92?y:g)}function y(x){return x===40||x===41||x===92?(e.consume(x),g):g(x)}}function Zo(e,t,n,r,o,l){let i=this,s=0,a;return u;function u(f){return e.enter(r),e.enter(o),e.consume(f),e.exit(o),e.enter(l),c}function c(f){return s>999||f===null||f===91||f===93&&!a||f===94&&!s&&"_hiddenFootnoteSupport"in i.parser.constructs?n(f):f===93?(e.exit(l),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):V(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===null||f===91||f===93||V(f)||s++>999?(e.exit("chunkString"),c(f)):(e.consume(f),a||(a=!Y(f)),f===92?m:p)}function m(f){return f===91||f===92||f===93?(e.consume(f),s++,p):p(f)}}function Jo(e,t,n,r,o,l){let i;return s;function s(m){return m===34||m===39||m===40?(e.enter(r),e.enter(o),e.consume(m),e.exit(o),i=m===40?41:m,a):n(m)}function a(m){return m===i?(e.enter(o),e.consume(m),e.exit(o),e.exit(r),t):(e.enter(l),u(m))}function u(m){return m===i?(e.exit(l),a(i)):m===null?n(m):V(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),G(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===i||m===null||V(m)?(e.exit("chunkString"),u(m)):(e.consume(m),m===92?p:c)}function p(m){return m===i||m===92?(e.consume(m),c):c(m)}}function gn(e,t){let n;return r;function r(o){return V(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Y(o)?G(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}var ts={name:"definition",tokenize:fy},py={partial:!0,tokenize:my};function fy(e,t,n){let r=this,o;return l;function l(f){return e.enter("definition"),i(f)}function i(f){return Zo.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function s(f){return o=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),a):n(f)}function a(f){return te(f)?gn(e,u)(f):u(f)}function u(f){return Xo(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return e.attempt(py,p,p)(f)}function p(f){return Y(f)?G(e,m,"whitespace")(f):m(f)}function m(f){return f===null||V(f)?(e.exit("definition"),r.parser.defined.push(o),t(f)):n(f)}}function my(e,t,n){return r;function r(s){return te(s)?gn(e,o)(s):n(s)}function o(s){return Jo(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function l(s){return Y(s)?G(e,i,"whitespace")(s):i(s)}function i(s){return s===null||V(s)?t(s):n(s)}}var ns={name:"hardBreakEscape",tokenize:dy};function dy(e,t,n){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),o}function o(l){return V(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}var rs={name:"headingAtx",resolve:hy,tokenize:gy};function hy(e,t){let n=e.length-2,r=3,o,l;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},be(e,r,n-r+1,[["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t]])),e}function gy(e,t,n){let r=0;return o;function o(c){return e.enter("atxHeading"),l(c)}function l(c){return e.enter("atxHeadingSequence"),i(c)}function i(c){return c===35&&r++<6?(e.consume(c),i):c===null||te(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||V(c)?(e.exit("atxHeading"),t(c)):Y(c)?G(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||te(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}var qp=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],os=["pre","script","style","textarea"];var is={concrete:!0,name:"htmlFlow",resolveTo:by,tokenize:wy},xy={partial:!0,tokenize:ky},yy={partial:!0,tokenize:vy};function by(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function wy(e,t,n){let r=this,o,l,i,s,a;return u;function u(b){return c(b)}function c(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),p}function p(b){return b===33?(e.consume(b),m):b===47?(e.consume(b),l=!0,g):b===63?(e.consume(b),o=3,r.interrupt?t:w):ke(b)?(e.consume(b),i=String.fromCharCode(b),y):n(b)}function m(b){return b===45?(e.consume(b),o=2,f):b===91?(e.consume(b),o=5,s=0,h):ke(b)?(e.consume(b),o=4,r.interrupt?t:w):n(b)}function f(b){return b===45?(e.consume(b),r.interrupt?t:w):n(b)}function h(b){let ie="CDATA[";return b===ie.charCodeAt(s++)?(e.consume(b),s===ie.length?r.interrupt?t:T:h):n(b)}function g(b){return ke(b)?(e.consume(b),i=String.fromCharCode(b),y):n(b)}function y(b){if(b===null||b===47||b===62||te(b)){let ie=b===47,je=i.toLowerCase();return!ie&&!l&&os.includes(je)?(o=1,r.interrupt?t(b):T(b)):qp.includes(i.toLowerCase())?(o=6,ie?(e.consume(b),x):r.interrupt?t(b):T(b)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):l?D(b):v(b))}return b===45||he(b)?(e.consume(b),i+=String.fromCharCode(b),y):n(b)}function x(b){return b===62?(e.consume(b),r.interrupt?t:T):n(b)}function D(b){return Y(b)?(e.consume(b),D):C(b)}function v(b){return b===47?(e.consume(b),C):b===58||b===95||ke(b)?(e.consume(b),E):Y(b)?(e.consume(b),v):C(b)}function E(b){return b===45||b===46||b===58||b===95||he(b)?(e.consume(b),E):S(b)}function S(b){return b===61?(e.consume(b),k):Y(b)?(e.consume(b),S):v(b)}function k(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),a=b,M):Y(b)?(e.consume(b),k):I(b)}function M(b){return b===a?(e.consume(b),a=null,H):b===null||V(b)?n(b):(e.consume(b),M)}function I(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||te(b)?S(b):(e.consume(b),I)}function H(b){return b===47||b===62||Y(b)?v(b):n(b)}function C(b){return b===62?(e.consume(b),F):n(b)}function F(b){return b===null||V(b)?T(b):Y(b)?(e.consume(b),F):n(b)}function T(b){return b===45&&o===2?(e.consume(b),W):b===60&&o===1?(e.consume(b),X):b===62&&o===4?(e.consume(b),Oe):b===63&&o===3?(e.consume(b),w):b===93&&o===5?(e.consume(b),fe):V(b)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(xy,We,N)(b)):b===null||V(b)?(e.exit("htmlFlowData"),N(b)):(e.consume(b),T)}function N(b){return e.check(yy,L,We)(b)}function L(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),R}function R(b){return b===null||V(b)?N(b):(e.enter("htmlFlowData"),T(b))}function W(b){return b===45?(e.consume(b),w):T(b)}function X(b){return b===47?(e.consume(b),i="",_):T(b)}function _(b){if(b===62){let ie=i.toLowerCase();return os.includes(ie)?(e.consume(b),Oe):T(b)}return ke(b)&&i.length<8?(e.consume(b),i+=String.fromCharCode(b),_):T(b)}function fe(b){return b===93?(e.consume(b),w):T(b)}function w(b){return b===62?(e.consume(b),Oe):b===45&&o===2?(e.consume(b),w):T(b)}function Oe(b){return b===null||V(b)?(e.exit("htmlFlowData"),We(b)):(e.consume(b),Oe)}function We(b){return e.exit("htmlFlow"),t(b)}}function vy(e,t,n){let r=this;return o;function o(i){return V(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),l):n(i)}function l(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}function ky(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(dt,t,n)}}var ls={name:"htmlText",tokenize:Cy};function Cy(e,t,n){let r=this,o,l,i;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),a}function a(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),S):w===63?(e.consume(w),v):ke(w)?(e.consume(w),I):n(w)}function u(w){return w===45?(e.consume(w),c):w===91?(e.consume(w),l=0,h):ke(w)?(e.consume(w),D):n(w)}function c(w){return w===45?(e.consume(w),f):n(w)}function p(w){return w===null?n(w):w===45?(e.consume(w),m):V(w)?(i=p,X(w)):(e.consume(w),p)}function m(w){return w===45?(e.consume(w),f):p(w)}function f(w){return w===62?W(w):w===45?m(w):p(w)}function h(w){let Oe="CDATA[";return w===Oe.charCodeAt(l++)?(e.consume(w),l===Oe.length?g:h):n(w)}function g(w){return w===null?n(w):w===93?(e.consume(w),y):V(w)?(i=g,X(w)):(e.consume(w),g)}function y(w){return w===93?(e.consume(w),x):g(w)}function x(w){return w===62?W(w):w===93?(e.consume(w),x):g(w)}function D(w){return w===null||w===62?W(w):V(w)?(i=D,X(w)):(e.consume(w),D)}function v(w){return w===null?n(w):w===63?(e.consume(w),E):V(w)?(i=v,X(w)):(e.consume(w),v)}function E(w){return w===62?W(w):v(w)}function S(w){return ke(w)?(e.consume(w),k):n(w)}function k(w){return w===45||he(w)?(e.consume(w),k):M(w)}function M(w){return V(w)?(i=M,X(w)):Y(w)?(e.consume(w),M):W(w)}function I(w){return w===45||he(w)?(e.consume(w),I):w===47||w===62||te(w)?H(w):n(w)}function H(w){return w===47?(e.consume(w),W):w===58||w===95||ke(w)?(e.consume(w),C):V(w)?(i=H,X(w)):Y(w)?(e.consume(w),H):W(w)}function C(w){return w===45||w===46||w===58||w===95||he(w)?(e.consume(w),C):F(w)}function F(w){return w===61?(e.consume(w),T):V(w)?(i=F,X(w)):Y(w)?(e.consume(w),F):H(w)}function T(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),o=w,N):V(w)?(i=T,X(w)):Y(w)?(e.consume(w),T):(e.consume(w),L)}function N(w){return w===o?(e.consume(w),o=void 0,R):w===null?n(w):V(w)?(i=N,X(w)):(e.consume(w),N)}function L(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||te(w)?H(w):(e.consume(w),L)}function R(w){return w===47||w===62||te(w)?H(w):n(w)}function W(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function X(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),_}function _(w){return Y(w)?G(e,fe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):fe(w)}function fe(w){return e.enter("htmlTextData"),i(w)}}var xn={name:"labelEnd",resolveAll:Py,resolveTo:Ay,tokenize:Sy},Dy={tokenize:Ty},Ey={tokenize:Iy},Fy={tokenize:Ry};function Py(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){let o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&be(e,0,e.length,n),e}function Ay(e,t){let n=e.length,r=0,o,l,i,s;for(;n--;)if(o=e[n][1],l){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(l=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(i=n);let a={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[l][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[i-2][1].start}};return s=[["enter",a,t],["enter",u,t]],s=Me(s,e.slice(l+1,l+r+3)),s=Me(s,[["enter",c,t]]),s=Me(s,qt(t.parser.constructs.insideSpan.null,e.slice(l+r+4,i-3),t)),s=Me(s,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),s=Me(s,e.slice(i+1)),s=Me(s,[["exit",a,t]]),be(e,l,e.length,s),e}function Sy(e,t,n){let r=this,o=r.events.length,l,i;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){l=r.events[o][1];break}return s;function s(m){return l?l._inactive?p(m):(i=r.parser.defined.includes(Te(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),a):n(m)}function a(m){return m===40?e.attempt(Dy,c,i?c:p)(m):m===91?e.attempt(Ey,c,i?u:p)(m):i?c(m):p(m)}function u(m){return e.attempt(Fy,c,p)(m)}function c(m){return t(m)}function p(m){return l._balanced=!0,n(m)}}function Ty(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),o}function o(p){return te(p)?gn(e,l)(p):l(p)}function l(p){return p===41?c(p):Xo(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function i(p){return te(p)?gn(e,a)(p):c(p)}function s(p){return n(p)}function a(p){return p===34||p===39||p===40?Jo(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):c(p)}function u(p){return te(p)?gn(e,c)(p):c(p)}function c(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Iy(e,t,n){let r=this;return o;function o(s){return Zo.call(r,e,l,i,"reference","referenceMarker","referenceString")(s)}function l(s){return r.parser.defined.includes(Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function i(s){return n(s)}}function Ry(e,t,n){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),o}function o(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}var ss={name:"labelStartImage",resolveAll:xn.resolveAll,tokenize:Ny};function Ny(e,t,n){let r=this;return o;function o(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),l}function l(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),i):n(s)}function i(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}var as={name:"labelStartLink",resolveAll:xn.resolveAll,tokenize:Oy};function Oy(e,t,n){let r=this;return o;function o(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),l}function l(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}var Hr={name:"lineEnding",tokenize:By};function By(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),G(e,t,"linePrefix")}}var yn={name:"thematicBreak",tokenize:Ly};function Ly(e,t,n){let r=0,o;return l;function l(u){return e.enter("thematicBreak"),i(u)}function i(u){return o=u,s(u)}function s(u){return u===o?(e.enter("thematicBreakSequence"),a(u)):r>=3&&(u===null||V(u))?(e.exit("thematicBreak"),t(u)):n(u)}function a(u){return u===o?(e.consume(u),r++,a):(e.exit("thematicBreakSequence"),Y(u)?G(e,s,"whitespace")(u):s(u))}}var Ie={continuation:{tokenize:Vy},exit:Wy,name:"list",tokenize:_y},My={partial:!0,tokenize:Uy},zy={partial:!0,tokenize:Hy};function _y(e,t,n){let r=this,o=r.events[r.events.length-1],l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,i=0;return s;function s(f){let h=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Mr(f)){if(r.containerState.type||(r.containerState.type=h,e.enter(h,{_container:!0})),h==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(yn,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(f)}return n(f)}function a(f){return Mr(f)&&++i<10?(e.consume(f),a):(!r.interrupt||i<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(dt,r.interrupt?n:c,e.attempt(My,m,p))}function c(f){return r.containerState.initialBlankLine=!0,l++,m(f)}function p(f){return Y(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),m):n(f)}function m(f){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function Vy(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(dt,o,l);function o(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(s)}function l(s){return r.containerState.furtherBlankLines||!Y(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(zy,t,i)(s))}function i(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,G(e,e.attempt(Ie,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Hy(e,t,n){let r=this;return G(e,o,"listItemIndent",r.containerState.size+1);function o(l){let i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(l):n(l)}}function Wy(e){e.exit(this.containerState.type)}function Uy(e,t,n){let r=this;return G(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(l){let i=r.events[r.events.length-1];return!Y(l)&&i&&i[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}var Qo={name:"setextUnderline",resolveTo:qy,tokenize:jy};function qy(e,t){let n=e.length,r,o,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);let i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",l?(e.splice(o,0,["enter",i,t]),e.splice(l+1,0,["exit",e[r][1],t]),e[r][1].end={...e[l][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}function jy(e,t,n){let r=this,o;return l;function l(u){let c=r.events.length,p;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){p=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),o=u,i(u)):n(u)}function i(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===o?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),Y(u)?G(e,a,"lineSuffix")(u):a(u))}function a(u){return u===null||V(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}var jp={tokenize:$y};function $y(e){let t=this,n=e.attempt(dt,r,e.attempt(this.parser.constructs.flowInitial,o,G(e,e.attempt(this.parser.constructs.flow,o,e.attempt(es,o)),"linePrefix")));return n;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var $p={resolveAll:Xp()},Gp=Yp("string"),Kp=Yp("text");function Yp(e){return{resolveAll:Xp(e==="text"?Gy:void 0),tokenize:t};function t(n){let r=this,o=this.parser.constructs[e],l=n.attempt(o,i,s);return i;function i(c){return u(c)?l(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),a}function a(c){return u(c)?(n.exit("data"),l(c)):(n.consume(c),a)}function u(c){if(c===null)return!0;let p=o[c],m=-1;if(p)for(;++m<p.length;){let f=p[m];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function Xp(e){return t;function t(n,r){let o=-1,l;for(;++o<=n.length;)l===void 0?n[o]&&n[o][1].type==="data"&&(l=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==l+2&&(n[l][1].end=n[o-1][1].end,n.splice(l+2,o-l-2),o=l+2),l=void 0);return e?e(n,r):n}}function Gy(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let r=e[n-1][1],o=t.sliceStream(r),l=o.length,i=-1,s=0,a;for(;l--;){let u=o[l];if(typeof u=="string"){for(i=u.length;u.charCodeAt(i-1)===32;)s++,i--;if(i)break;i=-1}else if(u===-2)a=!0,s++;else if(u!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let u={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?i:r.start._bufferIndex+i,_index:r.start._index+l,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}var us={};el(us,{attentionMarkers:()=>tb,contentInitial:()=>Yy,disable:()=>nb,document:()=>Ky,flow:()=>Zy,flowInitial:()=>Xy,insideSpan:()=>eb,string:()=>Jy,text:()=>Qy});var Ky={42:Ie,43:Ie,45:Ie,48:Ie,49:Ie,50:Ie,51:Ie,52:Ie,53:Ie,54:Ie,55:Ie,56:Ie,57:Ie,62:qo},Yy={91:ts},Xy={[-2]:_r,[-1]:_r,32:_r},Zy={35:rs,42:yn,45:[Qo,yn],60:is,61:Qo,95:yn,96:Go,126:Go},Jy={38:$o,92:jo},Qy={[-5]:Hr,[-4]:Hr,[-3]:Hr,33:ss,38:$o,42:zr,60:[Jl,ls],91:as,92:[ns,jo],93:xn,95:zr,96:Ql},eb={null:[zr,$p]},tb={null:[42,95]},nb={null:[]};function Zp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},o={},l=[],i=[],s=[],a=!0,u={attempt:H(M),check:H(I),consume:E,enter:S,exit:k,interrupt:H(I,{interrupt:!0})},c={code:null,containerState:{},defineSkip:x,events:[],now:y,parser:e,previous:null,sliceSerialize:h,sliceStream:g,write:f},p=t.tokenize.call(c,u),m;return t.resolveAll&&l.push(t),c;function f(N){return i=Me(i,N),D(),i[i.length-1]!==null?[]:(C(t,0),c.events=qt(l,c.events,c),c.events)}function h(N,L){return ob(g(N),L)}function g(N){return rb(i,N)}function y(){let{_bufferIndex:N,_index:L,line:R,column:W,offset:X}=r;return{_bufferIndex:N,_index:L,line:R,column:W,offset:X}}function x(N){o[N.line]=N.column,T()}function D(){let N;for(;r._index<i.length;){let L=i[r._index];if(typeof L=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<L.length;)v(L.charCodeAt(r._bufferIndex));else v(L)}}function v(N){a=void 0,m=N,p=p(N)}function E(N){V(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,T()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=N,a=!0}function S(N,L){let R=L||{};return R.type=N,R.start=y(),c.events.push(["enter",R,c]),s.push(R),R}function k(N){let L=s.pop();return L.end=y(),c.events.push(["exit",L,c]),L}function M(N,L){C(N,L.from)}function I(N,L){L.restore()}function H(N,L){return R;function R(W,X,_){let fe,w,Oe,We;return Array.isArray(W)?ie(W):"tokenize"in W?ie([W]):b(W);function b(we){return ct;function ct(ze){let tt=ze!==null&&we[ze],nt=ze!==null&&we.null,Qi=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(nt)?nt:nt?[nt]:[]];return ie(Qi)(ze)}}function ie(we){return fe=we,w=0,we.length===0?_:je(we[w])}function je(we){return ct;function ct(ze){return We=F(),Oe=we,we.partial||(c.currentConstruct=we),we.name&&c.parser.constructs.disable.null.includes(we.name)?ce(ze):we.tokenize.call(L?Object.assign(Object.create(c),L):c,u,In,ce)(ze)}}function In(we){return a=!0,N(Oe,We),X}function ce(we){return a=!0,We.restore(),++w<fe.length?je(fe[w]):_}}}function C(N,L){N.resolveAll&&!l.includes(N)&&l.push(N),N.resolve&&be(c.events,L,c.events.length-L,N.resolve(c.events.slice(L),c)),N.resolveTo&&(c.events=N.resolveTo(c.events,c))}function F(){let N=y(),L=c.previous,R=c.currentConstruct,W=c.events.length,X=Array.from(s);return{from:W,restore:_};function _(){r=N,c.previous=L,c.currentConstruct=R,c.events.length=W,s=X,T()}}function T(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function rb(e,t){let n=t.start._index,r=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex,i;if(n===o)i=[e[n].slice(r,l)];else{if(i=e.slice(n,o),r>-1){let s=i[0];typeof s=="string"?i[0]=s.slice(r):i.shift()}l>0&&i.push(e[o].slice(0,l))}return i}function ob(e,t){let n=-1,r=[],o;for(;++n<e.length;){let l=e[n],i;if(typeof l=="string")i=l;else switch(l){case-5:{i="\r";break}case-4:{i=` |