dslinter 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{d as ve,e as he,b as z,j as e,r as y,h as _e,g as je,f as we,u as Se,D as Ne,c as Oe,R as ke,a as Pe}from"./index-B432JkIx.js";function ze(t,r={}){const n=r.globKeyFromRelPath??(r.stripPrefixes?ve({stripPrefixes:r.stripPrefixes}):he);return o=>z(o,t,{...r,globKeyFromRelPath:n})}function A(t){return JSON.stringify(t?.playgrounds??[])}function Ae(){return e.jsx("img",{src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Crect fill='%23cbd5e1' width='120' height='80'/%3E%3C/svg%3E",className:"rounded-md border border-gray-300"})}const F=Object.freeze(Object.defineProperty({__proto__:null,AvatarImage:Ae},Symbol.toStringTag,{value:"Module"})),x={base:["relative isolate inline-flex items-center justify-center rounded-md border font-medium whitespace-nowrap","focus:outline-hidden focus-visible:shadow-xs","data-disabled:cursor-default data-disabled:opacity-50","[&_svg]:size-5 [&_svg]:shrink-0 [&_svg]:text-(--btn-icon)"],solid:["border-transparent bg-(--btn-border)","before:absolute before:inset-0 before:-z-10 before:rounded-[calc(var(--radius-md)-1px)] before:bg-(--btn-bg)","before:shadow-xs","after:absolute after:inset-0 after:-z-10 after:rounded-[calc(var(--radius-md)-1px)]","after:shadow-[inset_0_1px_rgba(255,255,255,0.15)]","hover:not-data-disabled:after:bg-(--btn-hover-overlay)","data-disabled:before:shadow-none data-disabled:after:shadow-none"],variants:{black:["text-white [--btn-bg:var(--color-foreground)] [--btn-border:var(--color-foreground)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],dark:["text-[#ECEDEE] [--btn-bg:#26292B] [--btn-border:#E5F2FE42] [--btn-hover-overlay:var(--color-white)]/5","[--btn-icon:#E1F1FF69]","after:shadow-none"],muted:["text-white [--btn-bg:transparent] [--btn-border:#FFFFFF1A] [--btn-hover-overlay:var(--color-white)]/5","[--btn-icon:#E1F1FF69]","after:shadow-none"],white:["text-foreground [--btn-bg:var(--color-surface-elevated)] [--btn-border:var(--color-surface-border)] [--btn-hover-overlay:var(--color-foreground)]/2.5 hover:[--btn-border:var(--color-surface-border)]","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"],primary:["text-white [--btn-bg:var(--color-primary)] [--btn-border:var(--color-primary)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],danger:["text-white [--btn-bg:var(--color-danger)] [--btn-border:var(--color-danger)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],gitlab:["text-white [--btn-bg:#E3622B] [--btn-border:#C14510] [--btn-hover-overlay:var(--color-white)]/10"],bitbucket:["text-white [--btn-bg:#0052CC] [--btn-border:#0042A4] [--btn-hover-overlay:var(--color-white)]/10"],nightwatch:["text-white [--btn-bg:#2f4e45] [--btn-border:#83FFD44D] [--btn-hover-overlay:var(--color-white)]/10 after:shadow-none"],ghost:["border-transparent text-foreground","hover:not-data-disabled:bg-muted"],outline:["border-surface-border text-foreground","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"],"danger-outline":["hover:text-danger/90 border-surface-border bg-surface-elevated text-danger","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-danger)] hover:[--btn-icon:var(--color-danger)]"],icon:["border-transparent","text-muted-foreground hover:not-data-disabled:text-foreground focus-visible:not-data-disabled:text-foreground active:not-data-disabled:text-foreground","hover:not-data-disabled:bg-muted hover:not-data-disabled:shadow-xs focus:outline-hidden focus-visible:not-data-disabled:shadow-xs active:not-data-disabled:bg-surface-elevated active:not-data-disabled:shadow-xs! disabled:opacity-50 disabled:hover:bg-transparent data-[state=focus]:not-data-disabled:bg-surface-elevated! data-[state=focus]:not-data-disabled:shadow-xs! data-[state=open]:not-data-disabled:bg-surface-elevated data-[state=open]:not-data-disabled:shadow-xs"],"icon-outline":["border-surface-border bg-surface-elevated text-foreground","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"]},sizes:{small:"min-h-7 px-4",default:"min-h-8 px-4",large:"min-h-10 px-5 sm:px-8"},iconSizes:{small:"size-5 rounded-sm p-0 *:size-4 [&_svg]:size-4",medium:"size-6 rounded-md p-0 *:size-4 [&_svg]:size-4",default:"size-8 rounded-md p-0 *:size-5 [&_svg]:size-5"}},T=new Set(["icon","icon-outline"]),Fe=new Set(["ghost","outline","danger-outline","icon","icon-outline"]);function f(...t){const r=[],n=o=>{if(o){if(Array.isArray(o)){o.forEach(n);return}r.push(o)}};return t.forEach(n),r.join(" ")}function Te(t,r){if(T.has(t)){const o=r in x.iconSizes?r:"default";return x.iconSizes[o]}const n=r in x.sizes?r:"default";return x.sizes[n]}function Ce({variant:t="white",size:r="default",loading:n=!1,disabled:o,className:s,onClick:a,children:i,as:c,href:d,...m}){const u=t in x.variants?t:"white",l=o??n,g=T.has(u),b=f(x.base,!Fe.has(u)&&x.solid,x.variants[u],Te(u,r),s);if(c==="a"||c!=="button"&&d!==void 0){const h=m;return e.jsx("a",{...h,href:d,onClick:l?ye=>ye.preventDefault():a,"data-disabled":l||void 0,"aria-disabled":l||void 0,className:f("relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-x-1.5",!g&&"[&>svg:nth-child(1)]:-ml-1.5 [&>svg:nth-child(2)]:-mr-1.5",b),children:e.jsx(_,{children:i})})}const p=m;return e.jsx("button",{type:p.type??"button",...p,onClick:l?h=>h.preventDefault():a,disabled:l||void 0,"data-disabled":l||void 0,"aria-busy":n||void 0,className:f("relative shrink-0 cursor-default",b),children:e.jsxs(_,{children:[e.jsx("span",{className:f("pointer-events-none absolute inset-0 flex items-center justify-center opacity-0",n&&"opacity-100"),"aria-hidden":!0,children:e.jsx(Me,{})}),e.jsx("span",{className:f("inline-flex min-w-0 items-center justify-center gap-x-1.5",!g&&"[&>svg:nth-child(1)]:-ml-1.5 [&>svg:nth-child(2)]:-mr-1.5",n&&"opacity-0"),children:i})]})})}function Me(){return e.jsx("span",{"aria-hidden":!0,className:"inline-block size-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent"})}function _({children:t}){return e.jsxs(e.Fragment,{children:[t,e.jsx("span",{"aria-hidden":!0,className:"absolute top-1/2 left-1/2 size-[max(100%,2.75rem)] -translate-1/2 pointer-fine:hidden"})]})}const C=Object.freeze(Object.defineProperty({__proto__:null,Button:Ce,TouchTarget:_},Symbol.toStringTag,{value:"Module"}));function Be({children:t}){return e.jsx("div",{className:"rounded-md p-4",style:{backgroundColor:"#f1f5f9",color:"#334155",border:"1px solid #cbd5e1"},children:t})}const M=Object.freeze(Object.defineProperty({__proto__:null,CalloutPanel:Be},Symbol.toStringTag,{value:"Module"}));function Ee({children:t}){return e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-[13px] p-[19px]",children:[e.jsx("div",{className:"rounded bg-gray-100 p-[11px]",children:t}),e.jsx("div",{className:"rounded bg-gray-50 p-[7px]",children:t})]})}const B=Object.freeze(Object.defineProperty({__proto__:null,ChaosGrid:Ee},Symbol.toStringTag,{value:"Module"}));function Ie({title:t,children:r}){return e.jsxs("article",{className:"rounded-ds-lg border border-surface-border bg-surface-elevated p-layout-md shadow-xs",children:[e.jsx("h3",{className:"mb-layout-sm text-lg font-semibold text-foreground",children:t}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r})]})}const E=Object.freeze(Object.defineProperty({__proto__:null,ContentCard:Ie},Symbol.toStringTag,{value:"Module"}));function Le({label:t}){return e.jsx("span",{className:"rounded-full bg-amber-100 px-3 py-1 text-xs text-amber-900",children:t})}const I=Object.freeze(Object.defineProperty({__proto__:null,DeprecatedChip:Le},Symbol.toStringTag,{value:"Module"}));function De({children:t}){return e.jsxs("div",{className:"grid grid-cols-2 gap-[13px] p-[19px]",children:[e.jsx("div",{className:"rounded bg-gray-100 p-[11px]",children:t}),e.jsx("div",{className:"rounded bg-gray-50 p-[7px]",children:t})]})}const L=Object.freeze(Object.defineProperty({__proto__:null,FeatureGrid:De},Symbol.toStringTag,{value:"Module"}));function $e({children:t}){return e.jsx("div",{className:"rounded-lg px-4 py-3 text-[#ffffff]",style:{backgroundColor:"#ff0066"},children:t})}const D=Object.freeze(Object.defineProperty({__proto__:null,FlashBanner:$e},Symbol.toStringTag,{value:"Module"}));function Re({children:t}){return e.jsx("div",{className:"flex flex-col gap-layout-md",children:t})}const $=Object.freeze(Object.defineProperty({__proto__:null,FlexStack:Re},Symbol.toStringTag,{value:"Module"}));function Ke({id:t,label:r}){const n=`${t}-label`;return e.jsxs("div",{className:"flex flex-col gap-layout-xs",children:[e.jsx("label",{htmlFor:t,id:n,className:"text-sm font-medium text-gray-800",children:r}),e.jsx("input",{id:t,"aria-labelledby":n,className:"rounded-ds border border-surface-border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none ring-primary focus-visible:ring-2"})]})}const R=Object.freeze(Object.defineProperty({__proto__:null,FormField:Ke},Symbol.toStringTag,{value:"Module"}));function Ue({pressedTone:t,children:r}){const n=t==="on";return e.jsx("button",{type:"button","aria-pressed":n,className:`rounded px-3 py-1 text-sm ${n?"bg-gray-900 text-white":"bg-gray-200"}`,children:r})}const K=Object.freeze(Object.defineProperty({__proto__:null,InconsistentToggle:Ue},Symbol.toStringTag,{value:"Module"})),j={info:"border-primary/30 bg-primary/5 text-gray-900",success:"border-success/30 bg-success/5 text-gray-900",warning:"border-warning/40 bg-warning/10 text-gray-900",danger:"border-danger/40 bg-danger/5 text-gray-900"},Ge={info:"status",success:"status",warning:"alert",danger:"alert"};function Je({children:t,variant:r="info",title:n}){const o=r in j?r:"info";return e.jsxs("div",{role:Ge[o],className:`rounded-ds border px-layout-sm py-layout-xs text-sm ${j[o]}`,children:[n?e.jsx("p",{className:"mb-1 font-semibold",children:n}):null,e.jsx("div",{className:"text-gray-800 [&_p]:m-0 [&_p+_p]:mt-2",children:t})]})}const U=Object.freeze(Object.defineProperty({__proto__:null,InlineAlert:Je},Symbol.toStringTag,{value:"Module"}));function Ve({children:t}){return e.jsx("code",{className:"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs text-gray-800 ring-1 ring-surface-border",children:t})}const G=Object.freeze(Object.defineProperty({__proto__:null,InlineCode:Ve},Symbol.toStringTag,{value:"Module"}));function He({children:t}){return e.jsx("div",{className:"rounded-md p-4",style:{backgroundColor:"#00ff99",color:"#333333",border:"2px solid #9933ff"},children:t})}const J=Object.freeze(Object.defineProperty({__proto__:null,InlinePaint:He},Symbol.toStringTag,{value:"Module"}));function V(t){const{title:r="Kitchen sink",subtitle:n,confirmLabel:o,cancelLabel:s,...a}=t;return e.jsxs("div",{role:"dialog","aria-label":r,className:"rounded-lg border border-gray-300 bg-white p-4 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r}),n?e.jsx("p",{className:"text-sm text-gray-600",children:n}):null,e.jsxs("div",{className:"mt-3 flex gap-2 text-sm",children:[s?e.jsx("button",{type:"button",className:"rounded border px-3 py-1",children:s}):null,o?e.jsx("button",{type:"button",className:"rounded bg-gray-900 px-3 py-1 text-white",children:o}):null]}),e.jsxs("details",{className:"mt-2 text-xs text-gray-500",children:[e.jsx("summary",{children:"Debug props"}),e.jsx("pre",{children:JSON.stringify(a,null,2)})]})]})}const H=Object.freeze(Object.defineProperty({__proto__:null,KitchenSinkModal:V},Symbol.toStringTag,{value:"Module"}));function We(){return e.jsxs("div",{className:"animate-pulse space-y-layout-sm rounded-ds border border-surface-border bg-surface-elevated p-layout-md",children:[e.jsx("div",{className:"h-4 w-2/3 rounded bg-gray-200"}),e.jsx("div",{className:"h-4 w-full rounded bg-gray-200"}),e.jsx("div",{className:"h-4 w-5/6 rounded bg-gray-200"})]})}const W=Object.freeze(Object.defineProperty({__proto__:null,LoadingSkeleton:We},Symbol.toStringTag,{value:"Module"}));function Qe(){return e.jsx("img",{src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Crect fill='%23cbd5e1' width='120' height='80'/%3E%3C/svg%3E",className:"rounded-md border border-gray-300"})}const Q=Object.freeze(Object.defineProperty({__proto__:null,MysteryImage:Qe},Symbol.toStringTag,{value:"Module"}));function Ye({href:t,children:r}){return e.jsx("a",{href:t,className:"text-primary underline-offset-4 hover:underline focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:r})}const Y=Object.freeze(Object.defineProperty({__proto__:null,NavLink:Ye},Symbol.toStringTag,{value:"Module"}));function Xe({title:t,subtitle:r}){return e.jsxs("header",{className:"border-b border-surface-border bg-surface-elevated px-layout-lg py-layout-md",children:[e.jsx("h1",{className:"text-2xl font-bold tracking-tight text-gray-900",children:t}),r?e.jsx("p",{className:"mt-layout-xs text-gray-600",children:r}):null]})}const X=Object.freeze(Object.defineProperty({__proto__:null,PageHero:Xe},Symbol.toStringTag,{value:"Module"}));function Ze({value:t=0,max:r=100,isIndeterminate:n=!1}){const o=Math.max(1,Number(r)||100),s=Number(t),a=Number.isFinite(s)?Math.min(Math.max(s,0),o):0,i=n?void 0:Math.round(a/o*100);return e.jsx("div",{role:"progressbar","aria-valuemin":n?void 0:0,"aria-valuemax":n?void 0:o,"aria-valuenow":n?void 0:a,"aria-label":n?"Loading":`${i}% complete`,className:"h-2 w-full max-w-md overflow-hidden rounded-full bg-gray-200",children:n?e.jsx("div",{className:"h-full w-full",children:e.jsx("div",{className:"h-full w-1/3 rounded-full bg-primary animate-progress-indeterminate"})}):e.jsx("div",{className:"h-full rounded-full bg-primary transition-[width] duration-300 ease-out",style:{width:`${a/o*100}%`}})})}const Z=Object.freeze(Object.defineProperty({__proto__:null,ProgressBar:Ze},Symbol.toStringTag,{value:"Module"}));function qe({children:t}){return e.jsx("div",{className:"rounded-lg px-4 py-3 text-[#ffffff]",style:{backgroundColor:"#dc2626"},children:t})}const q=Object.freeze(Object.defineProperty({__proto__:null,PromoBanner:qe},Symbol.toStringTag,{value:"Module"}));function et({pressedTone:t,children:r}){const n=t==="on";return e.jsx("button",{type:"button","aria-pressed":n,className:`rounded px-3 py-1 text-sm ${n?"bg-gray-900 text-white":"bg-gray-200"}`,children:r})}const ee=Object.freeze(Object.defineProperty({__proto__:null,SegmentedPill:et},Symbol.toStringTag,{value:"Module"}));function tt(t){return t.split(",").map(r=>r.trim()).filter(Boolean).map(r=>({value:r,label:r}))}function rt({id:t,label:r,options:n,helperText:o,errorMessage:s,disabled:a,required:i,defaultValue:c}){const d=`${t}-label`,m=`${t}-helper`,u=`${t}-error`,l=!!(s&&s.trim().length>0),g=[o?.trim()?m:null,l?u:null].filter(Boolean).join(" ")||void 0,b=tt(n),v=["w-full rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",l?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:d,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("select",{id:t,"aria-labelledby":d,"aria-invalid":l||void 0,"aria-describedby":g,"aria-required":i||void 0,disabled:a,required:i,defaultValue:c,className:v,children:b.map(p=>e.jsx("option",{value:p.value,children:p.label},p.value))}),o?.trim()?e.jsx("p",{id:m,className:"text-xs text-gray-600",children:o}):null,l?e.jsx("p",{id:u,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const te=Object.freeze(Object.defineProperty({__proto__:null,SelectField:rt},Symbol.toStringTag,{value:"Module"})),w={primary:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 focus-visible:outline-primary",secondary:"border border-surface-border bg-surface-elevated text-gray-800 shadow-xs hover:bg-gray-50 focus-visible:outline-gray-400",danger:"bg-danger text-danger-foreground shadow-xs hover:bg-danger/90 focus-visible:outline-danger",success:"bg-success text-success-foreground shadow-xs hover:bg-success/90 focus-visible:outline-success",warning:"bg-warning text-warning-foreground shadow-xs hover:bg-warning/90 focus-visible:outline-warning",ghost:"bg-transparent text-gray-800 hover:bg-gray-100 focus-visible:outline-gray-400"},S={sm:"px-layout-sm py-1 text-xs",md:"px-layout-md py-layout-xs text-sm"};function nt({children:t,variant:r="primary",size:n="md",type:o="button",disabled:s=!1,isLoading:a=!1}){const i=r in w?r:"primary",c=n in S?n:"md",d=a&&!s;return e.jsxs("button",{type:o,disabled:s||d,"aria-busy":d||void 0,className:`inline-flex items-center justify-center gap-1.5 rounded-ds font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 ${w[i]} ${S[c]}`,children:[d?e.jsx("span",{className:"inline-block size-3.5 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":!0}):null,e.jsx("span",{className:d?"opacity-90":void 0,children:t}),d?e.jsx("span",{className:"sr-only",children:"Loading"}):null]})}const re=Object.freeze(Object.defineProperty({__proto__:null,SemanticButton:nt},Symbol.toStringTag,{value:"Module"}));function ot(t){const{title:r="Notification settings",subtitle:n,confirmLabel:o,cancelLabel:s,...a}=t;return e.jsxs("div",{role:"dialog","aria-label":r,className:"rounded-lg border border-gray-300 bg-white p-4 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r}),n?e.jsx("p",{className:"text-sm text-gray-600",children:n}):null,e.jsxs("div",{className:"mt-3 flex gap-2 text-sm",children:[s?e.jsx("button",{type:"button",className:"rounded border px-3 py-1",children:s}):null,o?e.jsx("button",{type:"button",className:"rounded bg-gray-900 px-3 py-1 text-white",children:o}):null]}),e.jsxs("details",{className:"mt-2 text-xs text-gray-500",children:[e.jsx("summary",{children:"Extra props (debug)"}),e.jsx("pre",{children:JSON.stringify(a,null,2)})]})]})}const ne=Object.freeze(Object.defineProperty({__proto__:null,SettingsDialog:ot},Symbol.toStringTag,{value:"Module"})),N={primary:"bg-[#5b21b6] text-white hover:bg-[#4a148c]",secondary:"bg-[#e2e8f0] text-gray-800 hover:bg-[#cbd5e1]",danger:"bg-[#dc2626] text-white hover:bg-[#b91c1c]",success:"bg-[#16a34a] text-white hover:bg-[#15803d]",warning:"bg-[#f59e0b] text-gray-800 hover:bg-[#d97706]",ghost:"bg-transparent text-gray-800 hover:bg-gray-100"},O={sm:"text-xs py-1 px-3",md:"text-sm py-2 px-4",lg:"text-lg py-3 px-6"};function oe({children:t,variant:r="primary",size:n="md"}){const o=r in N?r:"primary",s=n in O?n:"md";return e.jsx("button",{type:"button",className:`rounded-md font-medium ${N[o]} ${O[s]}`,children:t})}const se=Object.freeze(Object.defineProperty({__proto__:null,LegacyButton:oe},Symbol.toStringTag,{value:"Module"}));function st(){return y.useEffect(()=>{console.warn("smelly-input: console noise"),console.error("smelly-input: console.error");try{JSON.parse("{")}catch{}},[]),e.jsx("div",{className:"space-y-3 rounded border border-dashed text-[#000000] border-amber-400 p-3 text-xs shadow-[0_0_0_1px] ring-[12px]",children:e.jsx(e.Fragment,{children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"font-medium text-amber-900",children:"Smelly input (governance demo)"}),e.jsx("span",{style:{display:"block"},children:"Inline style (prefer tokens / utilities)"}),e.jsx(oe,{variant:"ghost",size:"sm",children:"Deprecated control"}),e.jsx(V,{title:"Smell",subtitle:"Kitchen sink",icon:"⚠️",confirmLabel:"OK",cancelLabel:"Cancel",width:"max-w-md",dismissible:!0,initialFocus:"confirm",bannerTone:"warning",footerAlign:"end",scrollLock:!0,overlayBlur:!0,analyticsId:"smelly-input",testId:"smelly-modal",role:"dialog",portal:!0}),e.jsx("input",{type:"text",placeholder:"Unlabeled field",className:"w-full rounded border px-2 py-1"}),e.jsx("button",{type:"button",className:"h-8 w-8 rounded bg-slate-200"}),e.jsx("img",{src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",width:16,height:16,className:"inline-block"}),e.jsx("a",{className:"text-blue-600 underline",children:"Link without href"}),e.jsx("a",{href:"#",className:"text-blue-600 underline",children:"Placeholder href"})]})})})}const ae=Object.freeze(Object.defineProperty({__proto__:null,SmellyInput:st},Symbol.toStringTag,{value:"Module"})),k={sm:"size-4 border-2",md:"size-8 border-2",lg:"size-12 border-[3px]"};function at({label:t,size:r="md"}){const n=r in k?r:"md";return e.jsxs("span",{role:"status",className:"inline-flex items-center gap-2 text-primary",children:[e.jsx("span",{className:`inline-block animate-spin rounded-full border-current border-t-transparent ${k[n]}`,"aria-hidden":!0}),e.jsx("span",{className:"sr-only",children:t})]})}const le=Object.freeze(Object.defineProperty({__proto__:null,Spinner:at},Symbol.toStringTag,{value:"Module"})),lt={neutral:"bg-gray-100 text-gray-800 border-surface-border",success:"bg-emerald-50 text-emerald-900 border-emerald-200",danger:"bg-danger/10 text-danger border-danger/30"};function it({children:t,tone:r="neutral"}){return e.jsx("span",{className:`inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium ${lt[r]}`,children:t})}const ie=Object.freeze(Object.defineProperty({__proto__:null,StatusBadge:it},Symbol.toStringTag,{value:"Module"})),P={neutral:"bg-gray-100 text-gray-800 border-surface-border",success:"bg-emerald-50 text-emerald-900 border-emerald-200",warning:"bg-amber-50 text-amber-950 border-amber-200",danger:"bg-danger/10 text-danger border-danger/30"};function dt({children:t,tone:r="neutral",dismissible:n=!1}){const[o,s]=y.useState(!0),a=r in P?r:"neutral";return o?e.jsxs("span",{className:`inline-flex max-w-full items-center gap-1 rounded-full border px-2.5 py-0.5 text-xs font-medium ${P[a]}`,children:[e.jsx("span",{className:"min-w-0 truncate",children:t}),n?e.jsx("button",{type:"button",className:"-mr-0.5 inline-flex size-5 shrink-0 items-center justify-center rounded-full hover:bg-black/5 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-gray-400","aria-label":"Remove",onClick:()=>s(!1),children:e.jsx("span",{"aria-hidden":!0,className:"text-xs leading-none",children:"×"})}):null]}):null}const de=Object.freeze(Object.defineProperty({__proto__:null,Tag:dt},Symbol.toStringTag,{value:"Module"}));function ct({id:t,label:r,placeholder:n,helperText:o,errorMessage:s,disabled:a,required:i,defaultValue:c}){const d=`${t}-label`,m=`${t}-helper`,u=`${t}-error`,l=!!(s&&s.trim().length>0),g=[o?.trim()?m:null,l?u:null].filter(Boolean).join(" ")||void 0,b=["w-full rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",l?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:d,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("input",{id:t,"aria-labelledby":d,"aria-invalid":l||void 0,"aria-describedby":g,"aria-required":i||void 0,disabled:a,required:i,placeholder:n,defaultValue:c,className:b}),o?.trim()?e.jsx("p",{id:m,className:"text-xs text-gray-600",children:o}):null,l?e.jsx("p",{id:u,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const ce=Object.freeze(Object.defineProperty({__proto__:null,TextField:ct},Symbol.toStringTag,{value:"Module"}));function ut({children:t,href:r,external:n=!1}){return e.jsxs("a",{href:r,className:"font-medium text-primary underline decoration-primary/30 underline-offset-2 transition hover:text-primary/80 hover:decoration-primary/60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",...n?{target:"_blank",rel:"noopener noreferrer"}:{},children:[t,n?e.jsx("span",{className:"sr-only",children:" (opens in a new tab)"}):null]})}const ue=Object.freeze(Object.defineProperty({__proto__:null,TextLink:ut},Symbol.toStringTag,{value:"Module"}));function bt({id:t,label:r,placeholder:n,helperText:o,errorMessage:s,disabled:a,required:i,rows:c=4,defaultValue:d}){const m=typeof c=="number"&&!Number.isNaN(c)?c:Math.max(1,parseInt(String(c??4),10)||4),u=`${t}-label`,l=`${t}-helper`,g=`${t}-error`,b=!!(s&&s.trim().length>0),v=[o?.trim()?l:null,b?g:null].filter(Boolean).join(" ")||void 0,p=["w-full resize-y rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",b?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:u,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("textarea",{id:t,"aria-labelledby":u,"aria-invalid":b||void 0,"aria-describedby":v,"aria-required":i||void 0,disabled:a,required:i,placeholder:n,rows:m,defaultValue:d,className:p}),o?.trim()?e.jsx("p",{id:l,className:"text-xs text-gray-600",children:o}):null,b?e.jsx("p",{id:g,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const be=Object.freeze(Object.defineProperty({__proto__:null,TextareaField:bt},Symbol.toStringTag,{value:"Module"}));function mt({src:t,name:r}){return e.jsx("img",{src:t,alt:`Avatar of ${r}`,className:"h-12 w-12 rounded-full border-2 border-surface-border object-cover"})}const me=Object.freeze(Object.defineProperty({__proto__:null,UserAvatar:mt},Symbol.toStringTag,{value:"Module"}));function gt(){return e.jsxs("div",{className:"rounded border border-blue-200 bg-blue-50 p-3 text-sm text-blue-900",children:[e.jsx("p",{className:"font-medium",children:"Alex Morgan"}),e.jsx("p",{className:"text-blue-800/90",children:"Engineering · Remote"})]})}const ge=Object.freeze(Object.defineProperty({__proto__:null,Card:gt},Symbol.toStringTag,{value:"Module"}));function pt(){return e.jsxs("div",{className:"rounded border border-rose-200 bg-rose-50 p-3 text-sm text-rose-900",children:[e.jsx("p",{className:"font-medium",children:"Order #1042"}),e.jsx("p",{className:"text-rose-800/90",children:"Shipped · Arrives Thu"})]})}const pe=Object.freeze(Object.defineProperty({__proto__:null,Card:pt},Symbol.toStringTag,{value:"Module"})),xt="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='24' r='14' fill='%232563eb'/%3E%3Cpath fill='%2394a3b8' d='M8 58c4-14 16-22 28-22s24 8 28 22'/%3E%3C/svg%3E",ft={UserAvatar:{src:xt},TextField:{id:"demo-text",label:"Email",placeholder:"you@example.com"},SelectField:{id:"demo-select",label:"Plan",options:"Free, Pro, Enterprise",defaultValue:"Free"},TextareaField:{id:"demo-textarea",label:"Notes",rows:4},TextLink:{href:"/governance"},ProgressBar:{value:45,max:100},InlineAlert:{children:"You can edit props in the playground panel to try different variants."},Spinner:{label:"Loading"}},yt=Object.assign({"../components/AvatarImage.tsx":F,"../components/Button.tsx":C,"../components/CalloutPanel.tsx":M,"../components/ChaosGrid.tsx":B,"../components/ContentCard.tsx":E,"../components/DeprecatedChip.tsx":I,"../components/FeatureGrid.tsx":L,"../components/FlashBanner.tsx":D,"../components/FlexStack.tsx":$,"../components/FormField.tsx":R,"../components/InconsistentToggle.tsx":K,"../components/InlineAlert.tsx":U,"../components/InlineCode.tsx":G,"../components/InlinePaint.tsx":J,"../components/KitchenSinkModal.tsx":H,"../components/LoadingSkeleton.tsx":W,"../components/MysteryImage.tsx":Q,"../components/NavLink.tsx":Y,"../components/PageHero.tsx":X,"../components/ProgressBar.tsx":Z,"../components/PromoBanner.tsx":q,"../components/SegmentedPill.tsx":ee,"../components/SelectField.tsx":te,"../components/SemanticButton.tsx":re,"../components/SettingsDialog.tsx":ne,"../components/SmellyInput.tsx":ae,"../components/Spinner.tsx":le,"../components/StatusBadge.tsx":ie,"../components/Tag.tsx":de,"../components/TestingButton.tsx":se,"../components/TextField.tsx":ce,"../components/TextLink.tsx":ue,"../components/TextareaField.tsx":be,"../components/UserAvatar.tsx":me,"../components/duplicate/DuplicateCardA.tsx":ge,"../components/duplicate/DuplicateCardB.tsx":pe}),vt={LegacyButton:[{key:"children",label:"children",type:"string",default:"",placeholder:"Preview if empty"},{key:"variant",label:"variant",type:"select",default:"primary",options:[{value:"primary",label:"primary"},{value:"secondary",label:"secondary"},{value:"danger",label:"danger"},{value:"success",label:"success"},{value:"warning",label:"warning"},{value:"ghost",label:"ghost"}]},{key:"size",label:"size",type:"select",default:"md",options:[{value:"sm",label:"sm"},{value:"md",label:"md"},{value:"lg",label:"lg"}]}],Button:[{key:"children",label:"children",type:"string",default:"",placeholder:"Preview if empty"},{key:"variant",label:"variant",type:"select",default:"white",options:[{value:"black",label:"black"},{value:"dark",label:"dark"},{value:"muted",label:"muted"},{value:"white",label:"white"},{value:"primary",label:"primary"},{value:"danger",label:"danger"},{value:"gitlab",label:"gitlab"},{value:"bitbucket",label:"bitbucket"},{value:"nightwatch",label:"nightwatch"},{value:"ghost",label:"ghost"},{value:"outline",label:"outline"},{value:"danger-outline",label:"danger-outline"},{value:"icon",label:"icon"},{value:"icon-outline",label:"icon-outline"}]},{key:"size",label:"size",type:"select",default:"default",options:[{value:"small",label:"small"},{value:"medium",label:"medium"},{value:"default",label:"default"},{value:"large",label:"large"}]},{key:"loading",label:"loading",type:"boolean",default:!1},{key:"disabled",label:"disabled",type:"boolean",default:!1}]},xe=ze(yt,{controlOverrides:vt,staticDefaults:ft});function ht(t){return xe(t).entries}function _t(t){return xe(t).skipped}const jt={colors:[{token:"primary",shade:"DEFAULT",value:"#2563eb",tw:"bg-primary"},{token:"primary",shade:"foreground",value:"#ffffff",tw:"text-primary-foreground"},{token:"primary",shade:"muted",value:"#93c5fd",tw:"text-primary-muted"},{token:"surface",shade:"DEFAULT",value:"#f8fafc",tw:"bg-surface"},{token:"surface",shade:"elevated",value:"#ffffff",tw:"bg-surface-elevated"},{token:"surface",shade:"border",value:"#e2e8f0",tw:"border-surface-border"},{token:"danger",shade:"DEFAULT",value:"#dc2626",tw:"text-danger"},{token:"danger",shade:"foreground",value:"#fef2f2",tw:"bg-danger-foreground"}],spacing:[{token:"layout-xs",value:"0.5rem",tw:"p-layout-xs"},{token:"layout-sm",value:"1rem",tw:"p-layout-sm"},{token:"layout-md",value:"1.5rem",tw:"p-layout-md"},{token:"layout-lg",value:"2rem",tw:"p-layout-lg"}],radius:[{token:"ds",value:"0.5rem",tw:"rounded-ds"},{token:"ds-lg",value:"0.75rem",tw:"rounded-ds-lg"}],typography:{families:[...we],sizes:[...je],weights:[..._e]}};function fe(){const t=Se({reportUrl:"/dslinter-report.json",watchUrl:void 0,refreshIntervalMs:5e3}),r=A(t.report),n=y.useMemo(()=>ht(t.report),[r]),o=y.useMemo(()=>_t(t.report),[r]);return e.jsx(Ne,{playgroundEntries:n,playgroundJoinSkips:o,tokenCatalog:jt,dslinterReport:t,dslinterReportHint:"npm run dslinter:report (from demo/)"})}const wt=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"}));Oe.createRoot(document.getElementById("root")).render(e.jsx(ke.StrictMode,{children:e.jsx(fe,{})}));const St=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Nt={"@dslinter-scan/src/App.tsx":wt,"@dslinter-scan/src/components/AvatarImage.tsx":F,"@dslinter-scan/src/components/Button.tsx":C,"@dslinter-scan/src/components/CalloutPanel.tsx":M,"@dslinter-scan/src/components/ChaosGrid.tsx":B,"@dslinter-scan/src/components/ContentCard.tsx":E,"@dslinter-scan/src/components/DeprecatedChip.tsx":I,"@dslinter-scan/src/components/FeatureGrid.tsx":L,"@dslinter-scan/src/components/FlashBanner.tsx":D,"@dslinter-scan/src/components/FlexStack.tsx":$,"@dslinter-scan/src/components/FormField.tsx":R,"@dslinter-scan/src/components/InconsistentToggle.tsx":K,"@dslinter-scan/src/components/InlineAlert.tsx":U,"@dslinter-scan/src/components/InlineCode.tsx":G,"@dslinter-scan/src/components/InlinePaint.tsx":J,"@dslinter-scan/src/components/KitchenSinkModal.tsx":H,"@dslinter-scan/src/components/LoadingSkeleton.tsx":W,"@dslinter-scan/src/components/MysteryImage.tsx":Q,"@dslinter-scan/src/components/NavLink.tsx":Y,"@dslinter-scan/src/components/PageHero.tsx":X,"@dslinter-scan/src/components/ProgressBar.tsx":Z,"@dslinter-scan/src/components/PromoBanner.tsx":q,"@dslinter-scan/src/components/SegmentedPill.tsx":ee,"@dslinter-scan/src/components/SelectField.tsx":te,"@dslinter-scan/src/components/SemanticButton.tsx":re,"@dslinter-scan/src/components/SettingsDialog.tsx":ne,"@dslinter-scan/src/components/SmellyInput.tsx":ae,"@dslinter-scan/src/components/Spinner.tsx":le,"@dslinter-scan/src/components/StatusBadge.tsx":ie,"@dslinter-scan/src/components/Tag.tsx":de,"@dslinter-scan/src/components/TestingButton.tsx":se,"@dslinter-scan/src/components/TextField.tsx":ce,"@dslinter-scan/src/components/TextLink.tsx":ue,"@dslinter-scan/src/components/TextareaField.tsx":be,"@dslinter-scan/src/components/UserAvatar.tsx":me,"@dslinter-scan/src/components/duplicate/DuplicateCardA.tsx":ge,"@dslinter-scan/src/components/duplicate/DuplicateCardB.tsx":pe,"@dslinter-scan/src/main.tsx":St};function Ot(t){const r=A(t);return y.useMemo(()=>z(t,Nt),[r])}function Pt(t){const r=Ot(t.dslinterReport.report);return e.jsx(Pe,{...t,playgroundEntries:r.entries,playgroundJoinSkips:r.skipped})}export{Pt as default};
1
+ import{d as ve,e as he,b as z,j as e,r as y,h as _e,g as je,f as we,u as Se,D as Ne,c as Oe,R as ke,a as Pe}from"./index-B66dduvs.js";function ze(t,r={}){const n=r.globKeyFromRelPath??(r.stripPrefixes?ve({stripPrefixes:r.stripPrefixes}):he);return o=>z(o,t,{...r,globKeyFromRelPath:n})}function A(t){return JSON.stringify(t?.playgrounds??[])}function Ae(){return e.jsx("img",{src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Crect fill='%23cbd5e1' width='120' height='80'/%3E%3C/svg%3E",className:"rounded-md border border-gray-300"})}const F=Object.freeze(Object.defineProperty({__proto__:null,AvatarImage:Ae},Symbol.toStringTag,{value:"Module"})),x={base:["relative isolate inline-flex items-center justify-center rounded-md border font-medium whitespace-nowrap","focus:outline-hidden focus-visible:shadow-xs","data-disabled:cursor-default data-disabled:opacity-50","[&_svg]:size-5 [&_svg]:shrink-0 [&_svg]:text-(--btn-icon)"],solid:["border-transparent bg-(--btn-border)","before:absolute before:inset-0 before:-z-10 before:rounded-[calc(var(--radius-md)-1px)] before:bg-(--btn-bg)","before:shadow-xs","after:absolute after:inset-0 after:-z-10 after:rounded-[calc(var(--radius-md)-1px)]","after:shadow-[inset_0_1px_rgba(255,255,255,0.15)]","hover:not-data-disabled:after:bg-(--btn-hover-overlay)","data-disabled:before:shadow-none data-disabled:after:shadow-none"],variants:{black:["text-white [--btn-bg:var(--color-foreground)] [--btn-border:var(--color-foreground)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],dark:["text-[#ECEDEE] [--btn-bg:#26292B] [--btn-border:#E5F2FE42] [--btn-hover-overlay:var(--color-white)]/5","[--btn-icon:#E1F1FF69]","after:shadow-none"],muted:["text-white [--btn-bg:transparent] [--btn-border:#FFFFFF1A] [--btn-hover-overlay:var(--color-white)]/5","[--btn-icon:#E1F1FF69]","after:shadow-none"],white:["text-foreground [--btn-bg:var(--color-surface-elevated)] [--btn-border:var(--color-surface-border)] [--btn-hover-overlay:var(--color-foreground)]/2.5 hover:[--btn-border:var(--color-surface-border)]","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"],primary:["text-white [--btn-bg:var(--color-primary)] [--btn-border:var(--color-primary)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],danger:["text-white [--btn-bg:var(--color-danger)] [--btn-border:var(--color-danger)] [--btn-hover-overlay:var(--color-white)]/10","[--btn-icon:var(--color-white)] hover:[--btn-icon:var(--color-white)]"],gitlab:["text-white [--btn-bg:#E3622B] [--btn-border:#C14510] [--btn-hover-overlay:var(--color-white)]/10"],bitbucket:["text-white [--btn-bg:#0052CC] [--btn-border:#0042A4] [--btn-hover-overlay:var(--color-white)]/10"],nightwatch:["text-white [--btn-bg:#2f4e45] [--btn-border:#83FFD44D] [--btn-hover-overlay:var(--color-white)]/10 after:shadow-none"],ghost:["border-transparent text-foreground","hover:not-data-disabled:bg-muted"],outline:["border-surface-border text-foreground","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"],"danger-outline":["hover:text-danger/90 border-surface-border bg-surface-elevated text-danger","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-danger)] hover:[--btn-icon:var(--color-danger)]"],icon:["border-transparent","text-muted-foreground hover:not-data-disabled:text-foreground focus-visible:not-data-disabled:text-foreground active:not-data-disabled:text-foreground","hover:not-data-disabled:bg-muted hover:not-data-disabled:shadow-xs focus:outline-hidden focus-visible:not-data-disabled:shadow-xs active:not-data-disabled:bg-surface-elevated active:not-data-disabled:shadow-xs! disabled:opacity-50 disabled:hover:bg-transparent data-[state=focus]:not-data-disabled:bg-surface-elevated! data-[state=focus]:not-data-disabled:shadow-xs! data-[state=open]:not-data-disabled:bg-surface-elevated data-[state=open]:not-data-disabled:shadow-xs"],"icon-outline":["border-surface-border bg-surface-elevated text-foreground","hover:not-data-disabled:border-gray-300","[--btn-icon:var(--color-muted-foreground)] hover:[--btn-icon:var(--color-muted-foreground)]"]},sizes:{small:"min-h-7 px-4",default:"min-h-8 px-4",large:"min-h-10 px-5 sm:px-8"},iconSizes:{small:"size-5 rounded-sm p-0 *:size-4 [&_svg]:size-4",medium:"size-6 rounded-md p-0 *:size-4 [&_svg]:size-4",default:"size-8 rounded-md p-0 *:size-5 [&_svg]:size-5"}},T=new Set(["icon","icon-outline"]),Fe=new Set(["ghost","outline","danger-outline","icon","icon-outline"]);function f(...t){const r=[],n=o=>{if(o){if(Array.isArray(o)){o.forEach(n);return}r.push(o)}};return t.forEach(n),r.join(" ")}function Te(t,r){if(T.has(t)){const o=r in x.iconSizes?r:"default";return x.iconSizes[o]}const n=r in x.sizes?r:"default";return x.sizes[n]}function Ce({variant:t="white",size:r="default",loading:n=!1,disabled:o,className:s,onClick:a,children:i,as:c,href:d,...m}){const u=t in x.variants?t:"white",l=o??n,g=T.has(u),b=f(x.base,!Fe.has(u)&&x.solid,x.variants[u],Te(u,r),s);if(c==="a"||c!=="button"&&d!==void 0){const h=m;return e.jsx("a",{...h,href:d,onClick:l?ye=>ye.preventDefault():a,"data-disabled":l||void 0,"aria-disabled":l||void 0,className:f("relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-x-1.5",!g&&"[&>svg:nth-child(1)]:-ml-1.5 [&>svg:nth-child(2)]:-mr-1.5",b),children:e.jsx(_,{children:i})})}const p=m;return e.jsx("button",{type:p.type??"button",...p,onClick:l?h=>h.preventDefault():a,disabled:l||void 0,"data-disabled":l||void 0,"aria-busy":n||void 0,className:f("relative shrink-0 cursor-default",b),children:e.jsxs(_,{children:[e.jsx("span",{className:f("pointer-events-none absolute inset-0 flex items-center justify-center opacity-0",n&&"opacity-100"),"aria-hidden":!0,children:e.jsx(Me,{})}),e.jsx("span",{className:f("inline-flex min-w-0 items-center justify-center gap-x-1.5",!g&&"[&>svg:nth-child(1)]:-ml-1.5 [&>svg:nth-child(2)]:-mr-1.5",n&&"opacity-0"),children:i})]})})}function Me(){return e.jsx("span",{"aria-hidden":!0,className:"inline-block size-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent"})}function _({children:t}){return e.jsxs(e.Fragment,{children:[t,e.jsx("span",{"aria-hidden":!0,className:"absolute top-1/2 left-1/2 size-[max(100%,2.75rem)] -translate-1/2 pointer-fine:hidden"})]})}const C=Object.freeze(Object.defineProperty({__proto__:null,Button:Ce,TouchTarget:_},Symbol.toStringTag,{value:"Module"}));function Be({children:t}){return e.jsx("div",{className:"rounded-md p-4",style:{backgroundColor:"#f1f5f9",color:"#334155",border:"1px solid #cbd5e1"},children:t})}const M=Object.freeze(Object.defineProperty({__proto__:null,CalloutPanel:Be},Symbol.toStringTag,{value:"Module"}));function Ee({children:t}){return e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-[13px] p-[19px]",children:[e.jsx("div",{className:"rounded bg-gray-100 p-[11px]",children:t}),e.jsx("div",{className:"rounded bg-gray-50 p-[7px]",children:t})]})}const B=Object.freeze(Object.defineProperty({__proto__:null,ChaosGrid:Ee},Symbol.toStringTag,{value:"Module"}));function Ie({title:t,children:r}){return e.jsxs("article",{className:"rounded-ds-lg border border-surface-border bg-surface-elevated p-layout-md shadow-xs",children:[e.jsx("h3",{className:"mb-layout-sm text-lg font-semibold text-foreground",children:t}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r})]})}const E=Object.freeze(Object.defineProperty({__proto__:null,ContentCard:Ie},Symbol.toStringTag,{value:"Module"}));function Le({label:t}){return e.jsx("span",{className:"rounded-full bg-amber-100 px-3 py-1 text-xs text-amber-900",children:t})}const I=Object.freeze(Object.defineProperty({__proto__:null,DeprecatedChip:Le},Symbol.toStringTag,{value:"Module"}));function De({children:t}){return e.jsxs("div",{className:"grid grid-cols-2 gap-[13px] p-[19px]",children:[e.jsx("div",{className:"rounded bg-gray-100 p-[11px]",children:t}),e.jsx("div",{className:"rounded bg-gray-50 p-[7px]",children:t})]})}const L=Object.freeze(Object.defineProperty({__proto__:null,FeatureGrid:De},Symbol.toStringTag,{value:"Module"}));function $e({children:t}){return e.jsx("div",{className:"rounded-lg px-4 py-3 text-[#ffffff]",style:{backgroundColor:"#ff0066"},children:t})}const D=Object.freeze(Object.defineProperty({__proto__:null,FlashBanner:$e},Symbol.toStringTag,{value:"Module"}));function Re({children:t}){return e.jsx("div",{className:"flex flex-col gap-layout-md",children:t})}const $=Object.freeze(Object.defineProperty({__proto__:null,FlexStack:Re},Symbol.toStringTag,{value:"Module"}));function Ke({id:t,label:r}){const n=`${t}-label`;return e.jsxs("div",{className:"flex flex-col gap-layout-xs",children:[e.jsx("label",{htmlFor:t,id:n,className:"text-sm font-medium text-gray-800",children:r}),e.jsx("input",{id:t,"aria-labelledby":n,className:"rounded-ds border border-surface-border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none ring-primary focus-visible:ring-2"})]})}const R=Object.freeze(Object.defineProperty({__proto__:null,FormField:Ke},Symbol.toStringTag,{value:"Module"}));function Ue({pressedTone:t,children:r}){const n=t==="on";return e.jsx("button",{type:"button","aria-pressed":n,className:`rounded px-3 py-1 text-sm ${n?"bg-gray-900 text-white":"bg-gray-200"}`,children:r})}const K=Object.freeze(Object.defineProperty({__proto__:null,InconsistentToggle:Ue},Symbol.toStringTag,{value:"Module"})),j={info:"border-primary/30 bg-primary/5 text-gray-900",success:"border-success/30 bg-success/5 text-gray-900",warning:"border-warning/40 bg-warning/10 text-gray-900",danger:"border-danger/40 bg-danger/5 text-gray-900"},Ge={info:"status",success:"status",warning:"alert",danger:"alert"};function Je({children:t,variant:r="info",title:n}){const o=r in j?r:"info";return e.jsxs("div",{role:Ge[o],className:`rounded-ds border px-layout-sm py-layout-xs text-sm ${j[o]}`,children:[n?e.jsx("p",{className:"mb-1 font-semibold",children:n}):null,e.jsx("div",{className:"text-gray-800 [&_p]:m-0 [&_p+_p]:mt-2",children:t})]})}const U=Object.freeze(Object.defineProperty({__proto__:null,InlineAlert:Je},Symbol.toStringTag,{value:"Module"}));function Ve({children:t}){return e.jsx("code",{className:"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs text-gray-800 ring-1 ring-surface-border",children:t})}const G=Object.freeze(Object.defineProperty({__proto__:null,InlineCode:Ve},Symbol.toStringTag,{value:"Module"}));function He({children:t}){return e.jsx("div",{className:"rounded-md p-4",style:{backgroundColor:"#00ff99",color:"#333333",border:"2px solid #9933ff"},children:t})}const J=Object.freeze(Object.defineProperty({__proto__:null,InlinePaint:He},Symbol.toStringTag,{value:"Module"}));function V(t){const{title:r="Kitchen sink",subtitle:n,confirmLabel:o,cancelLabel:s,...a}=t;return e.jsxs("div",{role:"dialog","aria-label":r,className:"rounded-lg border border-gray-300 bg-white p-4 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r}),n?e.jsx("p",{className:"text-sm text-gray-600",children:n}):null,e.jsxs("div",{className:"mt-3 flex gap-2 text-sm",children:[s?e.jsx("button",{type:"button",className:"rounded border px-3 py-1",children:s}):null,o?e.jsx("button",{type:"button",className:"rounded bg-gray-900 px-3 py-1 text-white",children:o}):null]}),e.jsxs("details",{className:"mt-2 text-xs text-gray-500",children:[e.jsx("summary",{children:"Debug props"}),e.jsx("pre",{children:JSON.stringify(a,null,2)})]})]})}const H=Object.freeze(Object.defineProperty({__proto__:null,KitchenSinkModal:V},Symbol.toStringTag,{value:"Module"}));function We(){return e.jsxs("div",{className:"animate-pulse space-y-layout-sm rounded-ds border border-surface-border bg-surface-elevated p-layout-md",children:[e.jsx("div",{className:"h-4 w-2/3 rounded bg-gray-200"}),e.jsx("div",{className:"h-4 w-full rounded bg-gray-200"}),e.jsx("div",{className:"h-4 w-5/6 rounded bg-gray-200"})]})}const W=Object.freeze(Object.defineProperty({__proto__:null,LoadingSkeleton:We},Symbol.toStringTag,{value:"Module"}));function Qe(){return e.jsx("img",{src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Crect fill='%23cbd5e1' width='120' height='80'/%3E%3C/svg%3E",className:"rounded-md border border-gray-300"})}const Q=Object.freeze(Object.defineProperty({__proto__:null,MysteryImage:Qe},Symbol.toStringTag,{value:"Module"}));function Ye({href:t,children:r}){return e.jsx("a",{href:t,className:"text-primary underline-offset-4 hover:underline focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:r})}const Y=Object.freeze(Object.defineProperty({__proto__:null,NavLink:Ye},Symbol.toStringTag,{value:"Module"}));function Xe({title:t,subtitle:r}){return e.jsxs("header",{className:"border-b border-surface-border bg-surface-elevated px-layout-lg py-layout-md",children:[e.jsx("h1",{className:"text-2xl font-bold tracking-tight text-gray-900",children:t}),r?e.jsx("p",{className:"mt-layout-xs text-gray-600",children:r}):null]})}const X=Object.freeze(Object.defineProperty({__proto__:null,PageHero:Xe},Symbol.toStringTag,{value:"Module"}));function Ze({value:t=0,max:r=100,isIndeterminate:n=!1}){const o=Math.max(1,Number(r)||100),s=Number(t),a=Number.isFinite(s)?Math.min(Math.max(s,0),o):0,i=n?void 0:Math.round(a/o*100);return e.jsx("div",{role:"progressbar","aria-valuemin":n?void 0:0,"aria-valuemax":n?void 0:o,"aria-valuenow":n?void 0:a,"aria-label":n?"Loading":`${i}% complete`,className:"h-2 w-full max-w-md overflow-hidden rounded-full bg-gray-200",children:n?e.jsx("div",{className:"h-full w-full",children:e.jsx("div",{className:"h-full w-1/3 rounded-full bg-primary animate-progress-indeterminate"})}):e.jsx("div",{className:"h-full rounded-full bg-primary transition-[width] duration-300 ease-out",style:{width:`${a/o*100}%`}})})}const Z=Object.freeze(Object.defineProperty({__proto__:null,ProgressBar:Ze},Symbol.toStringTag,{value:"Module"}));function qe({children:t}){return e.jsx("div",{className:"rounded-lg px-4 py-3 text-[#ffffff]",style:{backgroundColor:"#dc2626"},children:t})}const q=Object.freeze(Object.defineProperty({__proto__:null,PromoBanner:qe},Symbol.toStringTag,{value:"Module"}));function et({pressedTone:t,children:r}){const n=t==="on";return e.jsx("button",{type:"button","aria-pressed":n,className:`rounded px-3 py-1 text-sm ${n?"bg-gray-900 text-white":"bg-gray-200"}`,children:r})}const ee=Object.freeze(Object.defineProperty({__proto__:null,SegmentedPill:et},Symbol.toStringTag,{value:"Module"}));function tt(t){return t.split(",").map(r=>r.trim()).filter(Boolean).map(r=>({value:r,label:r}))}function rt({id:t,label:r,options:n,helperText:o,errorMessage:s,disabled:a,required:i,defaultValue:c}){const d=`${t}-label`,m=`${t}-helper`,u=`${t}-error`,l=!!(s&&s.trim().length>0),g=[o?.trim()?m:null,l?u:null].filter(Boolean).join(" ")||void 0,b=tt(n),v=["w-full rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",l?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:d,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("select",{id:t,"aria-labelledby":d,"aria-invalid":l||void 0,"aria-describedby":g,"aria-required":i||void 0,disabled:a,required:i,defaultValue:c,className:v,children:b.map(p=>e.jsx("option",{value:p.value,children:p.label},p.value))}),o?.trim()?e.jsx("p",{id:m,className:"text-xs text-gray-600",children:o}):null,l?e.jsx("p",{id:u,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const te=Object.freeze(Object.defineProperty({__proto__:null,SelectField:rt},Symbol.toStringTag,{value:"Module"})),w={primary:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 focus-visible:outline-primary",secondary:"border border-surface-border bg-surface-elevated text-gray-800 shadow-xs hover:bg-gray-50 focus-visible:outline-gray-400",danger:"bg-danger text-danger-foreground shadow-xs hover:bg-danger/90 focus-visible:outline-danger",success:"bg-success text-success-foreground shadow-xs hover:bg-success/90 focus-visible:outline-success",warning:"bg-warning text-warning-foreground shadow-xs hover:bg-warning/90 focus-visible:outline-warning",ghost:"bg-transparent text-gray-800 hover:bg-gray-100 focus-visible:outline-gray-400"},S={sm:"px-layout-sm py-1 text-xs",md:"px-layout-md py-layout-xs text-sm"};function nt({children:t,variant:r="primary",size:n="md",type:o="button",disabled:s=!1,isLoading:a=!1}){const i=r in w?r:"primary",c=n in S?n:"md",d=a&&!s;return e.jsxs("button",{type:o,disabled:s||d,"aria-busy":d||void 0,className:`inline-flex items-center justify-center gap-1.5 rounded-ds font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 ${w[i]} ${S[c]}`,children:[d?e.jsx("span",{className:"inline-block size-3.5 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":!0}):null,e.jsx("span",{className:d?"opacity-90":void 0,children:t}),d?e.jsx("span",{className:"sr-only",children:"Loading"}):null]})}const re=Object.freeze(Object.defineProperty({__proto__:null,SemanticButton:nt},Symbol.toStringTag,{value:"Module"}));function ot(t){const{title:r="Notification settings",subtitle:n,confirmLabel:o,cancelLabel:s,...a}=t;return e.jsxs("div",{role:"dialog","aria-label":r,className:"rounded-lg border border-gray-300 bg-white p-4 shadow-lg",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r}),n?e.jsx("p",{className:"text-sm text-gray-600",children:n}):null,e.jsxs("div",{className:"mt-3 flex gap-2 text-sm",children:[s?e.jsx("button",{type:"button",className:"rounded border px-3 py-1",children:s}):null,o?e.jsx("button",{type:"button",className:"rounded bg-gray-900 px-3 py-1 text-white",children:o}):null]}),e.jsxs("details",{className:"mt-2 text-xs text-gray-500",children:[e.jsx("summary",{children:"Extra props (debug)"}),e.jsx("pre",{children:JSON.stringify(a,null,2)})]})]})}const ne=Object.freeze(Object.defineProperty({__proto__:null,SettingsDialog:ot},Symbol.toStringTag,{value:"Module"})),N={primary:"bg-[#5b21b6] text-white hover:bg-[#4a148c]",secondary:"bg-[#e2e8f0] text-gray-800 hover:bg-[#cbd5e1]",danger:"bg-[#dc2626] text-white hover:bg-[#b91c1c]",success:"bg-[#16a34a] text-white hover:bg-[#15803d]",warning:"bg-[#f59e0b] text-gray-800 hover:bg-[#d97706]",ghost:"bg-transparent text-gray-800 hover:bg-gray-100"},O={sm:"text-xs py-1 px-3",md:"text-sm py-2 px-4",lg:"text-lg py-3 px-6"};function oe({children:t,variant:r="primary",size:n="md"}){const o=r in N?r:"primary",s=n in O?n:"md";return e.jsx("button",{type:"button",className:`rounded-md font-medium ${N[o]} ${O[s]}`,children:t})}const se=Object.freeze(Object.defineProperty({__proto__:null,LegacyButton:oe},Symbol.toStringTag,{value:"Module"}));function st(){return y.useEffect(()=>{console.warn("smelly-input: console noise"),console.error("smelly-input: console.error");try{JSON.parse("{")}catch{}},[]),e.jsx("div",{className:"space-y-3 rounded border border-dashed text-[#000000] border-amber-400 p-3 text-xs shadow-[0_0_0_1px] ring-[12px]",children:e.jsx(e.Fragment,{children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"font-medium text-amber-900",children:"Smelly input (governance demo)"}),e.jsx("span",{style:{color:"#ff00ff"},children:"Inline color (prefer tokens / utilities)"}),e.jsx(oe,{variant:"ghost",size:"sm",children:"Deprecated control"}),e.jsx(V,{title:"Smell",subtitle:"Kitchen sink",icon:"⚠️",confirmLabel:"OK",cancelLabel:"Cancel",width:"max-w-md",dismissible:!0,initialFocus:"confirm",bannerTone:"warning",footerAlign:"end",scrollLock:!0,overlayBlur:!0,analyticsId:"smelly-input",testId:"smelly-modal",role:"dialog",portal:!0}),e.jsx("input",{type:"text",placeholder:"Unlabeled field",className:"w-full rounded border px-2 py-1"}),e.jsx("button",{type:"button",className:"h-8 w-8 rounded bg-slate-200"}),e.jsx("img",{src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",width:16,height:16,className:"inline-block"}),e.jsx("a",{className:"text-blue-600 underline",children:"Link without href"}),e.jsx("a",{href:"#",className:"text-blue-600 underline",children:"Placeholder href"})]})})})}const ae=Object.freeze(Object.defineProperty({__proto__:null,SmellyInput:st},Symbol.toStringTag,{value:"Module"})),k={sm:"size-4 border-2",md:"size-8 border-2",lg:"size-12 border-[3px]"};function at({label:t,size:r="md"}){const n=r in k?r:"md";return e.jsxs("span",{role:"status",className:"inline-flex items-center gap-2 text-primary",children:[e.jsx("span",{className:`inline-block animate-spin rounded-full border-current border-t-transparent ${k[n]}`,"aria-hidden":!0}),e.jsx("span",{className:"sr-only",children:t})]})}const le=Object.freeze(Object.defineProperty({__proto__:null,Spinner:at},Symbol.toStringTag,{value:"Module"})),lt={neutral:"bg-gray-100 text-gray-800 border-surface-border",success:"bg-emerald-50 text-emerald-900 border-emerald-200",danger:"bg-danger/10 text-danger border-danger/30"};function it({children:t,tone:r="neutral"}){return e.jsx("span",{className:`inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium ${lt[r]}`,children:t})}const ie=Object.freeze(Object.defineProperty({__proto__:null,StatusBadge:it},Symbol.toStringTag,{value:"Module"})),P={neutral:"bg-gray-100 text-gray-800 border-surface-border",success:"bg-emerald-50 text-emerald-900 border-emerald-200",warning:"bg-amber-50 text-amber-950 border-amber-200",danger:"bg-danger/10 text-danger border-danger/30"};function dt({children:t,tone:r="neutral",dismissible:n=!1}){const[o,s]=y.useState(!0),a=r in P?r:"neutral";return o?e.jsxs("span",{className:`inline-flex max-w-full items-center gap-1 rounded-full border px-2.5 py-0.5 text-xs font-medium ${P[a]}`,children:[e.jsx("span",{className:"min-w-0 truncate",children:t}),n?e.jsx("button",{type:"button",className:"-mr-0.5 inline-flex size-5 shrink-0 items-center justify-center rounded-full hover:bg-black/5 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-gray-400","aria-label":"Remove",onClick:()=>s(!1),children:e.jsx("span",{"aria-hidden":!0,className:"text-xs leading-none",children:"×"})}):null]}):null}const de=Object.freeze(Object.defineProperty({__proto__:null,Tag:dt},Symbol.toStringTag,{value:"Module"}));function ct({id:t,label:r,placeholder:n,helperText:o,errorMessage:s,disabled:a,required:i,defaultValue:c}){const d=`${t}-label`,m=`${t}-helper`,u=`${t}-error`,l=!!(s&&s.trim().length>0),g=[o?.trim()?m:null,l?u:null].filter(Boolean).join(" ")||void 0,b=["w-full rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",l?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:d,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("input",{id:t,"aria-labelledby":d,"aria-invalid":l||void 0,"aria-describedby":g,"aria-required":i||void 0,disabled:a,required:i,placeholder:n,defaultValue:c,className:b}),o?.trim()?e.jsx("p",{id:m,className:"text-xs text-gray-600",children:o}):null,l?e.jsx("p",{id:u,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const ce=Object.freeze(Object.defineProperty({__proto__:null,TextField:ct},Symbol.toStringTag,{value:"Module"}));function ut({children:t,href:r,external:n=!1}){return e.jsxs("a",{href:r,className:"font-medium text-primary underline decoration-primary/30 underline-offset-2 transition hover:text-primary/80 hover:decoration-primary/60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",...n?{target:"_blank",rel:"noopener noreferrer"}:{},children:[t,n?e.jsx("span",{className:"sr-only",children:" (opens in a new tab)"}):null]})}const ue=Object.freeze(Object.defineProperty({__proto__:null,TextLink:ut},Symbol.toStringTag,{value:"Module"}));function bt({id:t,label:r,placeholder:n,helperText:o,errorMessage:s,disabled:a,required:i,rows:c=4,defaultValue:d}){const m=typeof c=="number"&&!Number.isNaN(c)?c:Math.max(1,parseInt(String(c??4),10)||4),u=`${t}-label`,l=`${t}-helper`,g=`${t}-error`,b=!!(s&&s.trim().length>0),v=[o?.trim()?l:null,b?g:null].filter(Boolean).join(" ")||void 0,p=["w-full resize-y rounded-ds border bg-surface-elevated px-layout-sm py-layout-xs text-sm outline-none transition","ring-primary focus-visible:ring-2",b?"border-danger focus-visible:ring-danger":"border-surface-border",a?"cursor-not-allowed opacity-60":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-layout-xs",children:[e.jsxs("label",{htmlFor:t,id:u,className:"text-sm font-medium text-gray-800",children:[r,i?e.jsxs("span",{className:"text-danger","aria-hidden":!0,children:[" ","*"]}):null]}),e.jsx("textarea",{id:t,"aria-labelledby":u,"aria-invalid":b||void 0,"aria-describedby":v,"aria-required":i||void 0,disabled:a,required:i,placeholder:n,rows:m,defaultValue:d,className:p}),o?.trim()?e.jsx("p",{id:l,className:"text-xs text-gray-600",children:o}):null,b?e.jsx("p",{id:g,className:"text-xs font-medium text-danger",role:"alert",children:s}):null]})}const be=Object.freeze(Object.defineProperty({__proto__:null,TextareaField:bt},Symbol.toStringTag,{value:"Module"}));function mt({src:t,name:r}){return e.jsx("img",{src:t,alt:`Avatar of ${r}`,className:"h-12 w-12 rounded-full border-2 border-surface-border object-cover"})}const me=Object.freeze(Object.defineProperty({__proto__:null,UserAvatar:mt},Symbol.toStringTag,{value:"Module"}));function gt(){return e.jsxs("div",{className:"rounded border border-blue-200 bg-blue-50 p-3 text-sm text-blue-900",children:[e.jsx("p",{className:"font-medium",children:"Alex Morgan"}),e.jsx("p",{className:"text-blue-800/90",children:"Engineering · Remote"})]})}const ge=Object.freeze(Object.defineProperty({__proto__:null,Card:gt},Symbol.toStringTag,{value:"Module"}));function pt(){return e.jsxs("div",{className:"rounded border border-rose-200 bg-rose-50 p-3 text-sm text-rose-900",children:[e.jsx("p",{className:"font-medium",children:"Order #1042"}),e.jsx("p",{className:"text-rose-800/90",children:"Shipped · Arrives Thu"})]})}const pe=Object.freeze(Object.defineProperty({__proto__:null,Card:pt},Symbol.toStringTag,{value:"Module"})),xt="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='24' r='14' fill='%232563eb'/%3E%3Cpath fill='%2394a3b8' d='M8 58c4-14 16-22 28-22s24 8 28 22'/%3E%3C/svg%3E",ft={UserAvatar:{src:xt},TextField:{id:"demo-text",label:"Email",placeholder:"you@example.com"},SelectField:{id:"demo-select",label:"Plan",options:"Free, Pro, Enterprise",defaultValue:"Free"},TextareaField:{id:"demo-textarea",label:"Notes",rows:4},TextLink:{href:"/governance"},ProgressBar:{value:45,max:100},InlineAlert:{children:"You can edit props in the playground panel to try different variants."},Spinner:{label:"Loading"}},yt=Object.assign({"../components/AvatarImage.tsx":F,"../components/Button.tsx":C,"../components/CalloutPanel.tsx":M,"../components/ChaosGrid.tsx":B,"../components/ContentCard.tsx":E,"../components/DeprecatedChip.tsx":I,"../components/FeatureGrid.tsx":L,"../components/FlashBanner.tsx":D,"../components/FlexStack.tsx":$,"../components/FormField.tsx":R,"../components/InconsistentToggle.tsx":K,"../components/InlineAlert.tsx":U,"../components/InlineCode.tsx":G,"../components/InlinePaint.tsx":J,"../components/KitchenSinkModal.tsx":H,"../components/LoadingSkeleton.tsx":W,"../components/MysteryImage.tsx":Q,"../components/NavLink.tsx":Y,"../components/PageHero.tsx":X,"../components/ProgressBar.tsx":Z,"../components/PromoBanner.tsx":q,"../components/SegmentedPill.tsx":ee,"../components/SelectField.tsx":te,"../components/SemanticButton.tsx":re,"../components/SettingsDialog.tsx":ne,"../components/SmellyInput.tsx":ae,"../components/Spinner.tsx":le,"../components/StatusBadge.tsx":ie,"../components/Tag.tsx":de,"../components/TestingButton.tsx":se,"../components/TextField.tsx":ce,"../components/TextLink.tsx":ue,"../components/TextareaField.tsx":be,"../components/UserAvatar.tsx":me,"../components/duplicate/DuplicateCardA.tsx":ge,"../components/duplicate/DuplicateCardB.tsx":pe}),vt={LegacyButton:[{key:"children",label:"children",type:"string",default:"",placeholder:"Preview if empty"},{key:"variant",label:"variant",type:"select",default:"primary",options:[{value:"primary",label:"primary"},{value:"secondary",label:"secondary"},{value:"danger",label:"danger"},{value:"success",label:"success"},{value:"warning",label:"warning"},{value:"ghost",label:"ghost"}]},{key:"size",label:"size",type:"select",default:"md",options:[{value:"sm",label:"sm"},{value:"md",label:"md"},{value:"lg",label:"lg"}]}],Button:[{key:"children",label:"children",type:"string",default:"",placeholder:"Preview if empty"},{key:"variant",label:"variant",type:"select",default:"white",options:[{value:"black",label:"black"},{value:"dark",label:"dark"},{value:"muted",label:"muted"},{value:"white",label:"white"},{value:"primary",label:"primary"},{value:"danger",label:"danger"},{value:"gitlab",label:"gitlab"},{value:"bitbucket",label:"bitbucket"},{value:"nightwatch",label:"nightwatch"},{value:"ghost",label:"ghost"},{value:"outline",label:"outline"},{value:"danger-outline",label:"danger-outline"},{value:"icon",label:"icon"},{value:"icon-outline",label:"icon-outline"}]},{key:"size",label:"size",type:"select",default:"default",options:[{value:"small",label:"small"},{value:"medium",label:"medium"},{value:"default",label:"default"},{value:"large",label:"large"}]},{key:"loading",label:"loading",type:"boolean",default:!1},{key:"disabled",label:"disabled",type:"boolean",default:!1}]},xe=ze(yt,{controlOverrides:vt,staticDefaults:ft});function ht(t){return xe(t).entries}function _t(t){return xe(t).skipped}const jt={colors:[{token:"primary",shade:"DEFAULT",value:"#2563eb",tw:"bg-primary"},{token:"primary",shade:"foreground",value:"#ffffff",tw:"text-primary-foreground"},{token:"primary",shade:"muted",value:"#93c5fd",tw:"text-primary-muted"},{token:"surface",shade:"DEFAULT",value:"#f8fafc",tw:"bg-surface"},{token:"surface",shade:"elevated",value:"#ffffff",tw:"bg-surface-elevated"},{token:"surface",shade:"border",value:"#e2e8f0",tw:"border-surface-border"},{token:"danger",shade:"DEFAULT",value:"#dc2626",tw:"text-danger"},{token:"danger",shade:"foreground",value:"#fef2f2",tw:"bg-danger-foreground"}],spacing:[{token:"layout-xs",value:"0.5rem",tw:"p-layout-xs"},{token:"layout-sm",value:"1rem",tw:"p-layout-sm"},{token:"layout-md",value:"1.5rem",tw:"p-layout-md"},{token:"layout-lg",value:"2rem",tw:"p-layout-lg"}],radius:[{token:"ds",value:"0.5rem",tw:"rounded-ds"},{token:"ds-lg",value:"0.75rem",tw:"rounded-ds-lg"}],typography:{families:[...we],sizes:[...je],weights:[..._e]}};function fe(){const t=Se({reportUrl:"/dslinter-report.json",watchUrl:void 0,refreshIntervalMs:5e3}),r=A(t.report),n=y.useMemo(()=>ht(t.report),[r]),o=y.useMemo(()=>_t(t.report),[r]);return e.jsx(Ne,{playgroundEntries:n,playgroundJoinSkips:o,tokenCatalog:jt,dslinterReport:t,dslinterReportHint:"npm run dslinter:report (from demo/)"})}const wt=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"}));Oe.createRoot(document.getElementById("root")).render(e.jsx(ke.StrictMode,{children:e.jsx(fe,{})}));const St=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Nt={"@dslinter-scan/src/App.tsx":wt,"@dslinter-scan/src/components/AvatarImage.tsx":F,"@dslinter-scan/src/components/Button.tsx":C,"@dslinter-scan/src/components/CalloutPanel.tsx":M,"@dslinter-scan/src/components/ChaosGrid.tsx":B,"@dslinter-scan/src/components/ContentCard.tsx":E,"@dslinter-scan/src/components/DeprecatedChip.tsx":I,"@dslinter-scan/src/components/FeatureGrid.tsx":L,"@dslinter-scan/src/components/FlashBanner.tsx":D,"@dslinter-scan/src/components/FlexStack.tsx":$,"@dslinter-scan/src/components/FormField.tsx":R,"@dslinter-scan/src/components/InconsistentToggle.tsx":K,"@dslinter-scan/src/components/InlineAlert.tsx":U,"@dslinter-scan/src/components/InlineCode.tsx":G,"@dslinter-scan/src/components/InlinePaint.tsx":J,"@dslinter-scan/src/components/KitchenSinkModal.tsx":H,"@dslinter-scan/src/components/LoadingSkeleton.tsx":W,"@dslinter-scan/src/components/MysteryImage.tsx":Q,"@dslinter-scan/src/components/NavLink.tsx":Y,"@dslinter-scan/src/components/PageHero.tsx":X,"@dslinter-scan/src/components/ProgressBar.tsx":Z,"@dslinter-scan/src/components/PromoBanner.tsx":q,"@dslinter-scan/src/components/SegmentedPill.tsx":ee,"@dslinter-scan/src/components/SelectField.tsx":te,"@dslinter-scan/src/components/SemanticButton.tsx":re,"@dslinter-scan/src/components/SettingsDialog.tsx":ne,"@dslinter-scan/src/components/SmellyInput.tsx":ae,"@dslinter-scan/src/components/Spinner.tsx":le,"@dslinter-scan/src/components/StatusBadge.tsx":ie,"@dslinter-scan/src/components/Tag.tsx":de,"@dslinter-scan/src/components/TestingButton.tsx":se,"@dslinter-scan/src/components/TextField.tsx":ce,"@dslinter-scan/src/components/TextLink.tsx":ue,"@dslinter-scan/src/components/TextareaField.tsx":be,"@dslinter-scan/src/components/UserAvatar.tsx":me,"@dslinter-scan/src/components/duplicate/DuplicateCardA.tsx":ge,"@dslinter-scan/src/components/duplicate/DuplicateCardB.tsx":pe,"@dslinter-scan/src/main.tsx":St};function Ot(t){const r=A(t);return y.useMemo(()=>z(t,Nt),[r])}function Pt(t){const r=Ot(t.dslinterReport.report);return e.jsx(Pe,{...t,playgroundEntries:r.entries,playgroundJoinSkips:r.skipped})}export{Pt as default};
@@ -1,4 +1,4 @@
1
- import{i as QR}from"./index-B432JkIx.js";function eT(mr,Zr){for(var E=0;E<Zr.length;E++){const et=Zr[E];if(typeof et!="string"&&!Array.isArray(et)){for(const O in et)if(O!=="default"&&!(O in mr)){const _=Object.getOwnPropertyDescriptor(et,O);_&&Object.defineProperty(mr,O,_.get?_:{enumerable:!0,get:()=>et[O]})}}}return Object.freeze(Object.defineProperty(mr,Symbol.toStringTag,{value:"Module"}))}var Si={exports:{}};var tT=Si.exports,Np;function rT(){return Np||(Np=1,(function(mr){(function Zr(E){var et=E,O=E.document,_=_||{};_.version="4.11.4",M(mr)==="object"&&mr.exports&&typeof Zr.toString=="function"&&(_.source="("+Zr.toString()+')(typeof window === "object" ? window : this);',mr.exports=_),typeof E.getComputedStyle=="function"&&(E.axe=_);var Bp=["precision","format","inGamut"],qp=["space"],jp=["algorithm"],zp=["method"],Vp=["maxDeltaE","deltaEMethod","steps","maxSteps"],Hp=["node"],Gp=["relatedNodes"],$p=["node"],Up=["variant"],Wp=["matches"],Yp=["chromium"],Kp=["noImplicit"],Xp=["noPresentational"],Zp=["node"],Jp=["environmentData"],Qp=["environmentData"],em=["environmentData"],tm=["environmentData"],rm=["environmentData"];function am(F){return ms(F)||cs(F)||Za(F)||ps()}function ki(F){var T=typeof Map=="function"?new Map:void 0;return ki=function(W){if(W===null||!nm(W))return W;if(typeof W!="function")throw new TypeError("Super expression must either be null or a function");if(T!==void 0){if(T.has(W))return T.get(W);T.set(W,_e)}function _e(){return ls(W,arguments,Qr(this).constructor)}return _e.prototype=Object.create(W.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),ea(_e,W)},ki(F)}function nm(F){try{return Function.toString.call(F).indexOf("[native code]")!==-1}catch{return typeof F=="function"}}function Jr(F,T,B){return(T=vs(T))in F?Object.defineProperty(F,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):F[T]=B,F}function ls(F,T,B){if(Oi())return Reflect.construct.apply(null,arguments);var W=[null];W.push.apply(W,T);var _e=new(F.bind.apply(F,W));return B&&ea(_e,B.prototype),_e}function je(F,T){if(F==null)return{};var B,W,_e=im(F,T);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(F);for(W=0;W<Ne.length;W++)B=Ne[W],T.indexOf(B)===-1&&{}.propertyIsEnumerable.call(F,B)&&(_e[B]=F[B])}return _e}function im(F,T){if(F==null)return{};var B={};for(var W in F)if({}.hasOwnProperty.call(F,W)){if(T.indexOf(W)!==-1)continue;B[W]=F[W]}return B}function Ka(F,T,B){return T=Qr(T),om(F,Oi()?Reflect.construct(T,B||[],Qr(F).constructor):T.apply(F,B))}function om(F,T){if(T&&(M(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return um(F)}function um(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function Oi(){try{var F=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oi=function(){return!!F})()}function Qr(F){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},Qr(F)}function Xa(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,"prototype",{writable:!1}),T&&ea(F,T)}function ea(F,T){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,W){return B.__proto__=W,B},ea(F,T)}function de(){return de=Object.assign?Object.assign.bind():function(F){for(var T=1;T<arguments.length;T++){var B=arguments[T];for(var W in B)({}).hasOwnProperty.call(B,W)&&(F[W]=B[W])}return F},de.apply(null,arguments)}function ee(F){return lm(F)||cs(F)||Za(F)||sm()}function sm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ import{i as QR}from"./index-B66dduvs.js";function eT(mr,Zr){for(var E=0;E<Zr.length;E++){const et=Zr[E];if(typeof et!="string"&&!Array.isArray(et)){for(const O in et)if(O!=="default"&&!(O in mr)){const _=Object.getOwnPropertyDescriptor(et,O);_&&Object.defineProperty(mr,O,_.get?_:{enumerable:!0,get:()=>et[O]})}}}return Object.freeze(Object.defineProperty(mr,Symbol.toStringTag,{value:"Module"}))}var Si={exports:{}};var tT=Si.exports,Np;function rT(){return Np||(Np=1,(function(mr){(function Zr(E){var et=E,O=E.document,_=_||{};_.version="4.11.4",M(mr)==="object"&&mr.exports&&typeof Zr.toString=="function"&&(_.source="("+Zr.toString()+')(typeof window === "object" ? window : this);',mr.exports=_),typeof E.getComputedStyle=="function"&&(E.axe=_);var Bp=["precision","format","inGamut"],qp=["space"],jp=["algorithm"],zp=["method"],Vp=["maxDeltaE","deltaEMethod","steps","maxSteps"],Hp=["node"],Gp=["relatedNodes"],$p=["node"],Up=["variant"],Wp=["matches"],Yp=["chromium"],Kp=["noImplicit"],Xp=["noPresentational"],Zp=["node"],Jp=["environmentData"],Qp=["environmentData"],em=["environmentData"],tm=["environmentData"],rm=["environmentData"];function am(F){return ms(F)||cs(F)||Za(F)||ps()}function ki(F){var T=typeof Map=="function"?new Map:void 0;return ki=function(W){if(W===null||!nm(W))return W;if(typeof W!="function")throw new TypeError("Super expression must either be null or a function");if(T!==void 0){if(T.has(W))return T.get(W);T.set(W,_e)}function _e(){return ls(W,arguments,Qr(this).constructor)}return _e.prototype=Object.create(W.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),ea(_e,W)},ki(F)}function nm(F){try{return Function.toString.call(F).indexOf("[native code]")!==-1}catch{return typeof F=="function"}}function Jr(F,T,B){return(T=vs(T))in F?Object.defineProperty(F,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):F[T]=B,F}function ls(F,T,B){if(Oi())return Reflect.construct.apply(null,arguments);var W=[null];W.push.apply(W,T);var _e=new(F.bind.apply(F,W));return B&&ea(_e,B.prototype),_e}function je(F,T){if(F==null)return{};var B,W,_e=im(F,T);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(F);for(W=0;W<Ne.length;W++)B=Ne[W],T.indexOf(B)===-1&&{}.propertyIsEnumerable.call(F,B)&&(_e[B]=F[B])}return _e}function im(F,T){if(F==null)return{};var B={};for(var W in F)if({}.hasOwnProperty.call(F,W)){if(T.indexOf(W)!==-1)continue;B[W]=F[W]}return B}function Ka(F,T,B){return T=Qr(T),om(F,Oi()?Reflect.construct(T,B||[],Qr(F).constructor):T.apply(F,B))}function om(F,T){if(T&&(M(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return um(F)}function um(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function Oi(){try{var F=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oi=function(){return!!F})()}function Qr(F){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},Qr(F)}function Xa(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,"prototype",{writable:!1}),T&&ea(F,T)}function ea(F,T){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,W){return B.__proto__=W,B},ea(F,T)}function de(){return de=Object.assign?Object.assign.bind():function(F){for(var T=1;T<arguments.length;T++){var B=arguments[T];for(var W in B)({}).hasOwnProperty.call(B,W)&&(F[W]=B[W])}return F},de.apply(null,arguments)}function ee(F){return lm(F)||cs(F)||Za(F)||sm()}function sm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cs(F){if(typeof Symbol<"u"&&F[Symbol.iterator]!=null||F["@@iterator"]!=null)return Array.from(F)}function lm(F){if(Array.isArray(F))return Ja(F)}function Zt(F,T,B){fs(F,T),T.set(F,B)}function ds(F,T){fs(F,T),T.add(F)}function fs(F,T){if(T.has(F))throw new TypeError("Cannot initialize the same private elements twice on an object")}function wt(F,T){return F.get(Tr(F,T))}function at(F,T,B){return F.set(Tr(F,T),B),B}function Tr(F,T,B){if(typeof F=="function"?F===T:F.has(T))return arguments.length<3?T:B;throw new TypeError("Private element is not present on this object")}function G(F,T){return ms(F)||cm(F,T)||Za(F,T)||ps()}function ps(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cm(F,T){var B=F==null?null:typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(B!=null){var W,_e,Ne,Ke,pt=[],Ge=!0,tt=!1;try{if(Ne=(B=B.call(F)).next,T===0){if(Object(B)!==B)return;Ge=!1}else for(;!(Ge=(W=Ne.call(B)).done)&&(pt.push(W.value),pt.length!==T);Ge=!0);}catch(ta){tt=!0,_e=ta}finally{try{if(!Ge&&B.return!=null&&(Ke=B.return(),Object(Ke)!==Ke))return}finally{if(tt)throw _e}}return pt}}function ms(F){if(Array.isArray(F))return F}function _t(F,T){if(!(F instanceof T))throw new TypeError("Cannot call a class as a function")}function hs(F,T){for(var B=0;B<T.length;B++){var W=T[B];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(F,vs(W.key),W)}}function xt(F,T,B){return T&&hs(F.prototype,T),B&&hs(F,B),Object.defineProperty(F,"prototype",{writable:!1}),F}function vs(F){var T=dm(F,"string");return M(T)=="symbol"?T:T+""}function dm(F,T){if(M(F)!="object"||!F)return F;var B=F[Symbol.toPrimitive];if(B!==void 0){var W=B.call(F,T);if(M(W)!="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(F)}function xe(F,T){var B=typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(!B){if(Array.isArray(F)||(B=Za(F))||T){B&&(F=B);var W=0,_e=function(){};return{s:_e,n:function(){return W>=F.length?{done:!0}:{done:!1,value:F[W++]}},e:function(tt){throw tt},f:_e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ne,Ke=!0,pt=!1;return{s:function(){B=B.call(F)},n:function(){var tt=B.next();return Ke=tt.done,tt},e:function(tt){pt=!0,Ne=tt},f:function(){try{Ke||B.return==null||B.return()}finally{if(pt)throw Ne}}}}function Za(F,T){if(F){if(typeof F=="string")return Ja(F,T);var B={}.toString.call(F).slice(8,-1);return B==="Object"&&F.constructor&&(B=F.constructor.name),B==="Map"||B==="Set"?Array.from(F):B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?Ja(F,T):void 0}}function Ja(F,T){(T==null||T>F.length)&&(T=F.length);for(var B=0,W=Array(T);B<T;B++)W[B]=F[B];return W}function M(F){"@babel/helpers - typeof";return M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},M(F)}(function(F,T,B,W,_e,Ne,Ke,pt,Ge,tt,ta){var fm=Object.create,ra=Object.defineProperty,pm=Object.getPrototypeOf,mm=Object.prototype.hasOwnProperty,hm=Object.getOwnPropertyNames,vm=Object.getOwnPropertyDescriptor,gm=function(t,r,a){return r in t?ra(t,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[r]=a},bm=function(t){return ra(t,"__esModule",{value:!0})},y=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},Et=function(t,r){for(var a in r)ra(t,a,{get:r[a],enumerable:!0})},ym=function(t,r,a){if(r&&M(r)==="object"||typeof r=="function"){var n=xe(hm(r)),i;try{var o=function(){var s=i.value;!mm.call(t,s)&&s!=="default"&&ra(t,s,{get:function(){return r[s]},enumerable:!(a=vm(r,s))||a.enumerable})};for(n.s();!(i=n.n()).done;)o()}catch(u){n.e(u)}finally{n.f()}}return t},Ot=function(t){return ym(bm(ra(t!=null?fm(pm(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:!0}:{value:t,enumerable:!0})),t)},gs=function(t,r,a){return gm(t,M(r)!=="symbol"?r+"":r,a),a},Dm=y(function(e,t){(function(r,a){M(e)==="object"&&typeof t<"u"?t.exports=a():r.ES6Promise=a()})(e,function(){function r(R){var I=M(R);return R!==null&&(I==="object"||I==="function")}function a(R){return typeof R=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(I){return Object.prototype.toString.call(I)==="[object Array]"};var i=n,o=0,u=void 0,s=void 0,l=function(I,j){C[o]=I,C[o+1]=j,o+=2,o===2&&(s?s(S):V())};function c(R){s=R}function d(R){l=R}var f=typeof E<"u"?E:void 0,p=f||{},m=p.MutationObserver||p.WebKitMutationObserver,h=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",v=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function g(){return function(){return process.nextTick(S)}}function b(){return typeof u<"u"?function(){u(S)}:x()}function D(){var R=0,I=new m(S),j=O.createTextNode("");return I.observe(j,{characterData:!0}),function(){j.data=R=++R%2}}function w(){var R=new MessageChannel;return R.port1.onmessage=S,function(){return R.port2.postMessage(0)}}function x(){var R=setTimeout;return function(){return R(S,1)}}var C=new Array(1e3);function S(){for(var R=0;R<o;R+=2){var I=C[R],j=C[R+1];I(j),C[R]=void 0,C[R+1]=void 0}o=0}function P(){try{var R=Function("return this")().require("vertx");return u=R.runOnLoop||R.runOnContext,b()}catch{return x()}}var V=void 0;h?V=g():m?V=D():v?V=w():f===void 0?V=P():V=x();function k(R,I){var j=this,X=new this.constructor(H);X[z]===void 0&&Re(X);var oe=j._state;if(oe){var fe=arguments[oe-1];l(function(){return Ae(oe,X,fe,j._result)})}else me(j,X,R,I);return X}function L(R){var I=this;if(R&&M(R)==="object"&&R.constructor===I)return R;var j=new I(H);return U(j,R),j}var z=Math.random().toString(36).substring(2);function H(){}var Q=void 0,ie=1,K=2;function re(){return new TypeError("You cannot resolve a promise with itself")}function q(){return new TypeError("A promises callback cannot return that same promise.")}function J(R,I,j,X){try{R.call(I,j,X)}catch(oe){return oe}}function A(R,I,j){l(function(X){var oe=!1,fe=J(j,I,function(He){oe||(oe=!0,I!==He?U(X,He):Y(X,He))},function(He){oe||(oe=!0,Z(X,He))},"Settle: "+(X._label||" unknown promise"));!oe&&fe&&(oe=!0,Z(X,fe))},R)}function $(R,I){I._state===ie?Y(R,I._result):I._state===K?Z(R,I._result):me(I,void 0,function(j){return U(R,j)},function(j){return Z(R,j)})}function N(R,I,j){I.constructor===R.constructor&&j===k&&I.constructor.resolve===L?$(R,I):j===void 0?Y(R,I):a(j)?A(R,I,j):Y(R,I)}function U(R,I){if(R===I)Z(R,re());else if(r(I)){var j=void 0;try{j=I.then}catch(X){Z(R,X);return}N(R,I,j)}else Y(R,I)}function ne(R){R._onerror&&R._onerror(R._result),De(R)}function Y(R,I){R._state===Q&&(R._result=I,R._state=ie,R._subscribers.length!==0&&l(De,R))}function Z(R,I){R._state===Q&&(R._state=K,R._result=I,l(ne,R))}function me(R,I,j,X){var oe=R._subscribers,fe=oe.length;R._onerror=null,oe[fe]=I,oe[fe+ie]=j,oe[fe+K]=X,fe===0&&R._state&&l(De,R)}function De(R){var I=R._subscribers,j=R._state;if(I.length!==0){for(var X=void 0,oe=void 0,fe=R._result,He=0;He<I.length;He+=3)X=I[He],oe=I[He+j],X?Ae(j,X,oe,fe):oe(fe);R._subscribers.length=0}}function Ae(R,I,j,X){var oe=a(j),fe=void 0,He=void 0,Xr=!0;if(oe){try{fe=j(X)}catch(Ti){Xr=!1,He=Ti}if(I===fe){Z(I,q());return}}else fe=X;I._state!==Q||(oe&&Xr?U(I,fe):Xr===!1?Z(I,He):R===ie?Y(I,fe):R===K&&Z(I,fe))}function Pe(R,I){try{I(function(X){U(R,X)},function(X){Z(R,X)})}catch(j){Z(R,j)}}var ze=0;function qe(){return ze++}function Re(R){R[z]=ze++,R._state=void 0,R._result=void 0,R._subscribers=[]}function Kr(){return new Error("Array Methods must be provided an Array")}var Ye=(function(){function R(I,j){this._instanceConstructor=I,this.promise=new I(H),this.promise[z]||Re(this.promise),i(j)?(this.length=j.length,this._remaining=j.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(j),this._remaining===0&&Y(this.promise,this._result))):Z(this.promise,Kr())}return R.prototype._enumerate=function(j){for(var X=0;this._state===Q&&X<j.length;X++)this._eachEntry(j[X],X)},R.prototype._eachEntry=function(j,X){var oe=this._instanceConstructor,fe=oe.resolve;if(fe===L){var He=void 0,Xr=void 0,Ti=!1;try{He=j.then}catch(ss){Ti=!0,Xr=ss}if(He===k&&j._state!==Q)this._settledAt(j._state,X,j._result);else if(typeof He!="function")this._remaining--,this._result[X]=j;else if(oe===Me){var us=new oe(H);Ti?Z(us,Xr):N(us,j,He),this._willSettleAt(us,X)}else this._willSettleAt(new oe(function(ss){return ss(j)}),X)}else this._willSettleAt(fe(j),X)},R.prototype._settledAt=function(j,X,oe){var fe=this.promise;fe._state===Q&&(this._remaining--,j===K?Z(fe,oe):this._result[X]=oe),this._remaining===0&&Y(fe,this._result)},R.prototype._willSettleAt=function(j,X){var oe=this;me(j,void 0,function(fe){return oe._settledAt(ie,X,fe)},function(fe){return oe._settledAt(K,X,fe)})},R})();function Te(R){return new Ye(this,R).promise}function Ve(R){var I=this;return i(R)?new I(function(j,X){for(var oe=R.length,fe=0;fe<oe;fe++)I.resolve(R[fe]).then(j,X)}):new I(function(j,X){return X(new TypeError("You must pass an array to race."))})}function Ie(R){var I=this,j=new I(H);return Z(j,R),j}function Je(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Qe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Me=(function(){function R(I){this[z]=qe(),this._result=this._state=void 0,this._subscribers=[],H!==I&&(typeof I!="function"&&Je(),this instanceof R?Pe(this,I):Qe())}return R.prototype.catch=function(j){return this.then(null,j)},R.prototype.finally=function(j){var X=this,oe=X.constructor;return a(j)?X.then(function(fe){return oe.resolve(j()).then(function(){return fe})},function(fe){return oe.resolve(j()).then(function(){throw fe})}):X.then(j,j)},R})();Me.prototype.then=k,Me.all=Te,Me.race=Ve,Me.resolve=L,Me.reject=Ie,Me._setScheduler=c,Me._setAsap=d,Me._asap=l;function we(){var R=void 0;if(typeof et<"u")R=et;else if(typeof self<"u")R=self;else try{R=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var I=R.Promise;if(I){var j=null;try{j=Object.prototype.toString.call(I.resolve())}catch{}if(j==="[object Promise]"&&!I.cast)return}R.Promise=Me}return Me.polyfill=we,Me.Promise=Me,Me})}),wm=y(function(e){var t=1e5,r=(function(){var A=Object.prototype.toString,$=Object.prototype.hasOwnProperty;return{Class:function(U){return A.call(U).replace(/^\[object *|\]$/g,"")},HasProperty:function(U,ne){return ne in U},HasOwnProperty:function(U,ne){return $.call(U,ne)},IsCallable:function(U){return typeof U=="function"},ToInt32:function(U){return U>>0},ToUint32:function(U){return U>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,u=Math.min,s=Math.pow,l=Math.round;function c(A,$,N){return A<$?$:A>N?N:A}var d=Object.getOwnPropertyNames||function(A){if(A!==Object(A))throw new TypeError("Object.getOwnPropertyNames called on non-object");var $=[],N;for(N in A)r.HasOwnProperty(A,N)&&$.push(N);return $},f;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}})()?f=Object.defineProperty:f=function($,N,U){if(!$===Object($))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(U,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call($,N,U.get),r.HasProperty(U,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call($,N,U.set),r.HasProperty(U,"value")&&($[N]=U.value),$};function p(A){if(d&&f){var $=d(A),N;for(N=0;N<$.length;N+=1)f(A,$[N],{value:A[$[N]],writable:!1,enumerable:!1,configurable:!1})}}function m(A){if(!f)return;if(A.length>t)throw new RangeError("Array too large for polyfill");function $(U){f(A,U,{get:function(){return A._getter(U)},set:function(Y){A._setter(U,Y)},enumerable:!0,configurable:!1})}var N;for(N=0;N<A.length;N+=1)$(N)}function h(A,$){var N=32-$;return A<<N>>N}function v(A,$){var N=32-$;return A<<N>>>N}function g(A){return[A&255]}function b(A){return h(A[0],8)}function D(A){return[A&255]}function w(A){return v(A[0],8)}function x(A){return A=l(Number(A)),[A<0?0:A>255?255:A&255]}function C(A){return[A>>8&255,A&255]}function S(A){return h(A[0]<<8|A[1],16)}function P(A){return[A>>8&255,A&255]}function V(A){return v(A[0]<<8|A[1],16)}function k(A){return[A>>24&255,A>>16&255,A>>8&255,A&255]}function L(A){return h(A[0]<<24|A[1]<<16|A[2]<<8|A[3],32)}function z(A){return[A>>24&255,A>>16&255,A>>8&255,A&255]}function H(A){return v(A[0]<<24|A[1]<<16|A[2]<<8|A[3],32)}function Q(A,$,N){var U=(1<<$-1)-1,ne,Y,Z,me,De,Ae,Pe;function ze(qe){var Re=i(qe),Kr=qe-Re;return Kr<.5?Re:Kr>.5||Re%2?Re+1:Re}for(A!==A?(Y=(1<<$)-1,Z=s(2,N-1),ne=0):A===1/0||A===-1/0?(Y=(1<<$)-1,Z=0,ne=A<0?1:0):A===0?(Y=0,Z=0,ne=1/A===-1/0?1:0):(ne=A<0,A=n(A),A>=s(2,1-U)?(Y=u(i(o(A)/a),1023),Z=ze(A/s(2,Y)*s(2,N)),Z/s(2,N)>=2&&(Y=Y+1,Z=1),Y>U?(Y=(1<<$)-1,Z=0):(Y=Y+U,Z=Z-s(2,N))):(Y=0,Z=ze(A/s(2,1-U-N)))),De=[],me=N;me;me-=1)De.push(Z%2?1:0),Z=i(Z/2);for(me=$;me;me-=1)De.push(Y%2?1:0),Y=i(Y/2);for(De.push(ne?1:0),De.reverse(),Ae=De.join(""),Pe=[];Ae.length;)Pe.push(parseInt(Ae.substring(0,8),2)),Ae=Ae.substring(8);return Pe}function ie(A,$,N){var U=[],ne,Y,Z,me,De,Ae,Pe,ze;for(ne=A.length;ne;ne-=1)for(Z=A[ne-1],Y=8;Y;Y-=1)U.push(Z%2?1:0),Z=Z>>1;return U.reverse(),me=U.join(""),De=(1<<$-1)-1,Ae=parseInt(me.substring(0,1),2)?-1:1,Pe=parseInt(me.substring(1,1+$),2),ze=parseInt(me.substring(1+$),2),Pe===(1<<$)-1?ze===0?Ae*(1/0):NaN:Pe>0?Ae*s(2,Pe-De)*(1+ze/s(2,N)):ze!==0?Ae*s(2,-(De-1))*(ze/s(2,N)):Ae<0?-0:0}function K(A){return ie(A,11,52)}function re(A){return Q(A,11,52)}function q(A){return ie(A,8,23)}function J(A){return Q(A,8,23)}(function(){function A(qe){if(qe=r.ToInt32(qe),qe<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=qe,this._bytes=[],this._bytes.length=qe;var Re;for(Re=0;Re<this.byteLength;Re+=1)this._bytes[Re]=0;p(this)}e.ArrayBuffer=e.ArrayBuffer||A;function $(){}function N(qe,Re,Kr){var Ye;return Ye=function(Ve,Ie,Je){var Qe,Me,we,R;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Je<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new A(this.byteLength),this.byteOffset=0}else if(M(arguments[0])==="object"&&arguments[0].constructor===Ye)for(Qe=arguments[0],this.length=Qe.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new A(this.byteLength),this.byteOffset=0,we=0;we<this.length;we+=1)this._setter(we,Qe._getter(we));else if(M(arguments[0])==="object"&&!(arguments[0]instanceof A||r.Class(arguments[0])==="ArrayBuffer"))for(Me=arguments[0],this.length=r.ToUint32(Me.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new A(this.byteLength),this.byteOffset=0,we=0;we<this.length;we+=1)R=Me[we],this._setter(we,Number(R));else if(M(arguments[0])==="object"&&(arguments[0]instanceof A||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Ve,this.byteOffset=r.ToUint32(Ie),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(Je),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=Ye,p(this),m(this)},Ye.prototype=new $,Ye.prototype.BYTES_PER_ELEMENT=qe,Ye.prototype._pack=Re,Ye.prototype._unpack=Kr,Ye.BYTES_PER_ELEMENT=qe,Ye.prototype._getter=function(Te){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(Te=r.ToUint32(Te),!(Te>=this.length)){for(var Ve=[],Ie=0,Je=this.byteOffset+Te*this.BYTES_PER_ELEMENT;Ie<this.BYTES_PER_ELEMENT;Ie+=1,Je+=1)Ve.push(this.buffer._bytes[Je]);return this._unpack(Ve)}},Ye.prototype.get=Ye.prototype._getter,Ye.prototype._setter=function(Te,Ve){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(Te=r.ToUint32(Te),Te<this.length){var Ie=this._pack(Ve),Je,Qe;for(Je=0,Qe=this.byteOffset+Te*this.BYTES_PER_ELEMENT;Je<this.BYTES_PER_ELEMENT;Je+=1,Qe+=1)this.buffer._bytes[Qe]=Ie[Je]}},Ye.prototype.set=function(Te,Ve){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var Ie,Je,Qe,Me,we,R,I,j,X,oe;if(M(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(Ie=arguments[0],Qe=r.ToUint32(arguments[1]),Qe+Ie.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(j=this.byteOffset+Qe*this.BYTES_PER_ELEMENT,X=Ie.length*this.BYTES_PER_ELEMENT,Ie.buffer===this.buffer){for(oe=[],we=0,R=Ie.byteOffset;we<X;we+=1,R+=1)oe[we]=Ie.buffer._bytes[R];for(we=0,I=j;we<X;we+=1,I+=1)this.buffer._bytes[I]=oe[we]}else for(we=0,R=Ie.byteOffset,I=j;we<X;we+=1,R+=1,I+=1)this.buffer._bytes[I]=Ie.buffer._bytes[R]}else if(M(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Je=arguments[0],Me=r.ToUint32(Je.length),Qe=r.ToUint32(arguments[1]),Qe+Me>this.length)throw new RangeError("Offset plus length of array is out of range");for(we=0;we<Me;we+=1)R=Je[we],this._setter(Qe+we,Number(R))}else throw new TypeError("Unexpected argument type(s)")},Ye.prototype.subarray=function(Te,Ve){Te=r.ToInt32(Te),Ve=r.ToInt32(Ve),arguments.length<1&&(Te=0),arguments.length<2&&(Ve=this.length),Te<0&&(Te=this.length+Te),Ve<0&&(Ve=this.length+Ve),Te=c(Te,0,this.length),Ve=c(Ve,0,this.length);var Ie=Ve-Te;return Ie<0&&(Ie=0),new this.constructor(this.buffer,this.byteOffset+Te*this.BYTES_PER_ELEMENT,Ie)},Ye}var U=N(1,g,b),ne=N(1,D,w),Y=N(1,x,w),Z=N(2,C,S),me=N(2,P,V),De=N(4,k,L),Ae=N(4,z,H),Pe=N(4,J,q),ze=N(8,re,K);e.Int8Array=e.Int8Array||U,e.Uint8Array=e.Uint8Array||ne,e.Uint8ClampedArray=e.Uint8ClampedArray||Y,e.Int16Array=e.Int16Array||Z,e.Uint16Array=e.Uint16Array||me,e.Int32Array=e.Int32Array||De,e.Uint32Array=e.Uint32Array||Ae,e.Float32Array=e.Float32Array||Pe,e.Float64Array=e.Float64Array||ze})(),(function(){function A(Y,Z){return r.IsCallable(Y.get)?Y.get(Z):Y[Z]}var $=(function(){var Y=new e.Uint16Array([4660]),Z=new e.Uint8Array(Y.buffer);return A(Z,0)===18})();function N(Y,Z,me){if(arguments.length===0)Y=new e.ArrayBuffer(0);else if(!(Y instanceof e.ArrayBuffer||r.Class(Y)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Y||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Z),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(me),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)}function U(Y){return function(Z,me){if(Z=r.ToUint32(Z),Z+Y.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Z+=this.byteOffset;var De=new e.Uint8Array(this.buffer,Z,Y.BYTES_PER_ELEMENT),Ae=[],Pe;for(Pe=0;Pe<Y.BYTES_PER_ELEMENT;Pe+=1)Ae.push(A(De,Pe));return!!me==!!$&&Ae.reverse(),A(new Y(new e.Uint8Array(Ae).buffer),0)}}N.prototype.getUint8=U(e.Uint8Array),N.prototype.getInt8=U(e.Int8Array),N.prototype.getUint16=U(e.Uint16Array),N.prototype.getInt16=U(e.Int16Array),N.prototype.getUint32=U(e.Uint32Array),N.prototype.getInt32=U(e.Int32Array),N.prototype.getFloat32=U(e.Float32Array),N.prototype.getFloat64=U(e.Float64Array);function ne(Y){return function(Z,me,De){if(Z=r.ToUint32(Z),Z+Y.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var Ae=new Y([me]),Pe=new e.Uint8Array(Ae.buffer),ze=[],qe,Re;for(qe=0;qe<Y.BYTES_PER_ELEMENT;qe+=1)ze.push(A(Pe,qe));!!De==!!$&&ze.reverse(),Re=new e.Uint8Array(this.buffer,Z,Y.BYTES_PER_ELEMENT),Re.set(ze)}}N.prototype.setUint8=ne(e.Uint8Array),N.prototype.setInt8=ne(e.Int8Array),N.prototype.setUint16=ne(e.Uint16Array),N.prototype.setInt16=ne(e.Int16Array),N.prototype.setUint32=ne(e.Uint32Array),N.prototype.setInt32=ne(e.Int32Array),N.prototype.setFloat32=ne(e.Float32Array),N.prototype.setFloat64=ne(e.Float64Array),e.DataView=e.DataView||N})()}),_m=y(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(u,s,l){a?Object.defineProperty(u,s,{configurable:!0,writable:!0,value:l}):u[s]=l};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(u(this,"delete"),!i(c))return!1;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],!0):!1}),n(o.prototype,"get",function(c){if(u(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(u(this,"has"),!i(c))return!1;var d=c[this._id];return!!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(u(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var f=c[this._id];return f&&f[0]===c?(f[1]=d,this):(n(c,this._id,[c,d]),this)});function u(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+M(c))}function s(c){return c+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return n(o,"_polyfill",!0),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof E<"u"?E:typeof et<"u"?et:e)}),At=y(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":M(globalThis))=="object"&&globalThis)||r((typeof E>"u"?"undefined":M(E))=="object"&&E)||r((typeof self>"u"?"undefined":M(self))=="object"&&self)||r((typeof et>"u"?"undefined":M(et))=="object"&&et)||r(M(e)=="object"&&e)||(function(){return this})()||Function("return this")()}),Ft=y(function(e,t){t.exports=function(r){try{return!!r()}catch{return!0}}}),Qa=y(function(e,t){var r=Ft();t.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})}),xm=y(function(e,t){var r=Qa(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":M(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)})}),mt=y(function(e,t){var r=Qa(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}}}),en=y(function(e,t){var r=mt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)}}),bs=y(function(e,t){var r=en(),a=mt();t.exports=function(n){if(r(n)==="Function")return a(n)}}),nt=y(function(e,t){var r=(typeof O>"u"?"undefined":M(O))=="object"&&O.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"}}),Mt=y(function(e,t){var r=Ft();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),hr=y(function(e,t){var r=Qa(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}}),ys=y(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return!!o&&o.enumerable}:t}),tn=y(function(e,t){t.exports=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}}}),Em=y(function(e,t){var r=mt(),a=Ft(),n=en(),i=Object,o=r("".split);t.exports=a(function(){return!i("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?o(u,""):i(u)}:i}),Mi=y(function(e,t){t.exports=function(r){return r==null}}),rn=y(function(e,t){var r=Mi(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n}}),aa=y(function(e,t){var r=Em(),a=rn();t.exports=function(n){return r(a(n))}}),Jt=y(function(e,t){var r=nt();t.exports=function(a){return M(a)=="object"?a!==null:r(a)}}),na=y(function(e,t){t.exports={}}),Pi=y(function(e,t){var r=na(),a=At(),n=nt(),i=function(u){return n(u)?u:void 0};t.exports=function(o,u){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][u]||a[o]&&a[o][u]}}),Am=y(function(e,t){var r=mt();t.exports=r({}.isPrototypeOf)}),Fm=y(function(e,t){var r=At(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):""}),Cm=y(function(e,t){var r=At(),a=Fm(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,u=o&&o.v8,s,l;u&&(s=u.split("."),l=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!l&&a&&(s=a.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=a.match(/Chrome\/(\d+)/),s&&(l=+s[1]))),t.exports=l}),Ds=y(function(e,t){var r=Cm(),a=Ft(),n=At(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return!i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),ws=y(function(e,t){var r=Ds();t.exports=r&&!Symbol.sham&&M(Symbol.iterator)=="symbol"}),_s=y(function(e,t){var r=Pi(),a=nt(),n=Am(),i=ws(),o=Object;t.exports=i?function(u){return M(u)=="symbol"}:function(u){var s=r("Symbol");return a(s)&&n(s.prototype,o(u))}}),xs=y(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return"Object"}}}),an=y(function(e,t){var r=nt(),a=xs(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")}}),Ii=y(function(e,t){var r=an(),a=Mi();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)}}),Rm=y(function(e,t){var r=hr(),a=nt(),n=Jt(),i=TypeError;t.exports=function(o,u){var s,l;if(u==="string"&&a(s=o.toString)&&!n(l=r(s,o))||a(s=o.valueOf)&&!n(l=r(s,o))||u!=="string"&&a(s=o.toString)&&!n(l=r(s,o)))return l;throw new i("Can't convert object to primitive value")}}),Ni=y(function(e,t){t.exports=!0}),Tm=y(function(e,t){var r=At(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0})}catch{r[n]=i}return i}}),nn=y(function(e,t){var r=Ni(),a=At(),n=Tm(),i="__core-js_shared__",o=t.exports=a[i]||n(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Es=y(function(e,t){var r=nn();t.exports=function(a,n){return r[a]||(r[a]=n||{})}}),Li=y(function(e,t){var r=rn(),a=Object;t.exports=function(n){return a(r(n))}}),Ht=y(function(e,t){var r=mt(),a=Li(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,u){return n(a(o),u)}}),As=y(function(e,t){var r=mt(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)}}),Gt=y(function(e,t){var r=At(),a=Es(),n=Ht(),i=As(),o=Ds(),u=ws(),s=r.Symbol,l=a("wks"),c=u?s.for||s:s&&s.withoutSetter||i;t.exports=function(d){return n(l,d)||(l[d]=o&&n(s,d)?s[d]:c("Symbol."+d)),l[d]}}),Sm=y(function(e,t){var r=hr(),a=Jt(),n=_s(),i=Ii(),o=Rm(),u=Gt(),s=TypeError,l=u("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var f=i(c,l),p;if(f){if(d===void 0&&(d="default"),p=r(f,c,d),!a(p)||n(p))return p;throw new s("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)}}),Fs=y(function(e,t){var r=Sm(),a=_s();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""}}),Cs=y(function(e,t){var r=At(),a=Jt(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}}}),Rs=y(function(e,t){var r=Mt(),a=Ft(),n=Cs();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})}),km=y(function(e){var t=Mt(),r=hr(),a=ys(),n=tn(),i=aa(),o=Fs(),u=Ht(),s=Rs(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(d,f){if(d=i(d),f=o(f),s)try{return l(d,f)}catch{}if(u(d,f))return n(!r(a.f,d,f),d[f])}}),Om=y(function(e,t){var r=Ft(),a=nt(),n=/#|\.prototype\./,i=function(d,f){var p=u[o(d)];return p===l?!0:p===s?!1:a(f)?r(f):!!f},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i}),Ts=y(function(e,t){var r=bs(),a=an(),n=Qa(),i=r(r.bind);t.exports=function(o,u){return a(o),u===void 0?o:n?i(o,u):function(){return o.apply(u,arguments)}}}),Ss=y(function(e,t){var r=Mt(),a=Ft();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}),Sr=y(function(e,t){var r=Jt(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")}}),on=y(function(e){var t=Mt(),r=Rs(),a=Ss(),n=Sr(),i=Fs(),o=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?a?function(p,m,h){if(n(p),m=i(m),n(h),typeof p=="function"&&m==="prototype"&&"value"in h&&d in h&&!h[d]){var v=s(p,m);v&&v[d]&&(p[m]=h.value,h={configurable:c in h?h[c]:v[c],enumerable:l in h?h[l]:v[l],writable:!1})}return u(p,m,h)}:u:function(p,m,h){if(n(p),m=i(m),n(h),r)try{return u(p,m,h)}catch{}if("get"in h||"set"in h)throw new o("Accessors not supported");return"value"in h&&(p[m]=h.value),p}}),ia=y(function(e,t){var r=Mt(),a=on(),n=tn();t.exports=r?function(i,o,u){return a.f(i,o,n(1,u))}:function(i,o,u){return i[o]=u,i}}),un=y(function(e,t){var r=At(),a=xm(),n=bs(),i=nt(),o=km().f,u=Om(),s=na(),l=Ts(),c=ia(),d=Ht();nn();var f=function(m){var h=function(g,b,D){if(this instanceof h){switch(arguments.length){case 0:return new m;case 1:return new m(g);case 2:return new m(g,b)}return new m(g,b,D)}return a(m,this,arguments)};return h.prototype=m.prototype,h};t.exports=function(p,m){var h=p.target,v=p.global,g=p.stat,b=p.proto,D=v?r:g?r[h]:r[h]&&r[h].prototype,w=v?s:s[h]||c(s,h,{})[h],x=w.prototype,C,S,P,V,k,L,z,H,Q;for(V in m)C=u(v?V:h+(g?".":"#")+V,p.forced),S=!C&&D&&d(D,V),L=w[V],S&&(p.dontCallGetSet?(Q=o(D,V),z=Q&&Q.value):z=D[V]),k=S&&z?z:m[V],!(!C&&!b&&M(L)==M(k))&&(p.bind&&S?H=l(k,r):p.wrap&&S?H=f(k):b&&i(k)?H=n(k):H=k,(p.sham||k&&k.sham||L&&L.sham)&&c(H,"sham",!0),c(w,V,H),b&&(P=h+"Prototype",d(s,P)||c(s,P,{}),c(s[P],V,k),p.real&&x&&(C||!x[V])&&c(x,V,k)))}}),Mm=y(function(){var e=un(),t=Ht();e({target:"Object",stat:!0},{hasOwn:t})}),Pm=y(function(e,t){Mm();var r=na();t.exports=r.Object.hasOwn}),Im=y(function(e,t){var r=Pm();t.exports=r}),Nm=y(function(e,t){var r=Im();t.exports=r}),Bi=y(function(e,t){var r=Es(),a=As(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))}}),Lm=y(function(e,t){var r=Ft();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})}),qi=y(function(e,t){var r=Ht(),a=nt(),n=Li(),i=Bi(),o=Lm(),u=i("IE_PROTO"),s=Object,l=s.prototype;t.exports=o?s.getPrototypeOf:function(c){var d=n(c);if(r(d,u))return d[u];var f=d.constructor;return a(f)&&d instanceof f?f.prototype:d instanceof s?l:null}}),Bm=y(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return(o>0?a:r)(o)}}),ji=y(function(e,t){var r=Bm();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)}}),qm=y(function(e,t){var r=ji(),a=Math.max,n=Math.min;t.exports=function(i,o){var u=r(i);return u<0?a(u+o,0):n(u,o)}}),jm=y(function(e,t){var r=ji(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0}}),ks=y(function(e,t){var r=jm();t.exports=function(a){return r(a.length)}}),zm=y(function(e,t){var r=aa(),a=qm(),n=ks(),i=function(u){return function(s,l,c){var d=r(s),f=n(d);if(f===0)return!u&&-1;var p=a(c,f),m;if(u&&l!==l){for(;f>p;)if(m=d[p++],m!==m)return!0}else for(;f>p;p++)if((u||p in d)&&d[p]===l)return u||p||0;return!u&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),zi=y(function(e,t){t.exports={}}),Vm=y(function(e,t){var r=mt(),a=Ht(),n=aa(),i=zm().indexOf,o=zi(),u=r([].push);t.exports=function(s,l){var c=n(s),d=0,f=[],p;for(p in c)!a(o,p)&&a(c,p)&&u(f,p);for(;l.length>d;)a(c,p=l[d++])&&(~i(f,p)||u(f,p));return f}}),Os=y(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Ms=y(function(e,t){var r=Vm(),a=Os();t.exports=Object.keys||function(i){return r(i,a)}}),Hm=y(function(e,t){var r=Mt(),a=Ft(),n=mt(),i=qi(),o=Ms(),u=aa(),s=ys().f,l=n(s),c=n([].push),d=r&&a(function(){var p=Object.create(null);return p[2]=2,!l(p,2)}),f=function(m){return function(h){for(var v=u(h),g=o(v),b=d&&i(v)===null,D=g.length,w=0,x=[],C;D>w;)C=g[w++],(!r||(b?C in v:l(v,C)))&&c(x,m?[C,v[C]]:v[C]);return x}};t.exports={entries:f(!0),values:f(!1)}}),Gm=y(function(){var e=un(),t=Hm().values;e({target:"Object",stat:!0},{values:function(a){return t(a)}})}),$m=y(function(e,t){Gm();var r=na();t.exports=r.Object.values}),Um=y(function(e,t){var r=$m();t.exports=r}),Wm=y(function(e,t){var r=Um();t.exports=r}),Vi=y(function(e,t){var r=Gt(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]"}),sn=y(function(e,t){var r=Vi(),a=nt(),n=en(),i=Gt(),o=i("toStringTag"),u=Object,s=n((function(){return arguments})())==="Arguments",l=function(d,f){try{return d[f]}catch{}};t.exports=r?n:function(c){var d,f,p;return c===void 0?"Undefined":c===null?"Null":typeof(f=l(d=u(c),o))=="string"?f:s?n(d):(p=n(d))==="Object"&&a(d.callee)?"Arguments":p}}),Ps=y(function(e,t){var r=sn(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)}}),Ym=y(function(e,t){var r=mt(),a=ji(),n=Ps(),i=rn(),o=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(d){return function(f,p){var m=n(i(f)),h=a(p),v=m.length,g,b;return h<0||h>=v?d?"":void 0:(g=u(m,h),g<55296||g>56319||h+1===v||(b=u(m,h+1))<56320||b>57343?d?o(m,h):g:d?s(m,h,h+2):(g-55296<<10)+(b-56320)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}}),Km=y(function(e,t){var r=At(),a=nt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n))}),Xm=y(function(e,t){var r=Km(),a=At(),n=Jt(),i=ia(),o=Ht(),u=nn(),s=Bi(),l=zi(),c="Object already initialized",d=a.TypeError,f=a.WeakMap,p,m,h,v=function(x){return h(x)?m(x):p(x,{})},g=function(x){return function(C){var S;if(!n(C)||(S=m(C)).type!==x)throw new d("Incompatible receiver, "+x+" required");return S}};r||u.state?(b=u.state||(u.state=new f),b.get=b.get,b.has=b.has,b.set=b.set,p=function(x,C){if(b.has(x))throw new d(c);return C.facade=x,b.set(x,C),C},m=function(x){return b.get(x)||{}},h=function(x){return b.has(x)}):(D=s("state"),l[D]=!0,p=function(x,C){if(o(x,D))throw new d(c);return C.facade=x,i(x,D,C),C},m=function(x){return o(x,D)?x[D]:{}},h=function(x){return o(x,D)});var b,D;t.exports={set:p,get:m,has:h,enforce:v,getterFor:g}}),Zm=y(function(e,t){var r=Mt(),a=Ht(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),u=o&&(function(){}).name==="something",s=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:u,CONFIGURABLE:s}}),Jm=y(function(e){var t=Mt(),r=Ss(),a=on(),n=Sr(),i=aa(),o=Ms();e.f=t&&!r?Object.defineProperties:function(s,l){n(s);for(var c=i(l),d=o(l),f=d.length,p=0,m;f>p;)a.f(s,m=d[p++],c[m]);return s}}),Qm=y(function(e,t){var r=Pi();t.exports=r("document","documentElement")}),Is=y(function(e,t){var r=Sr(),a=Jm(),n=Os(),i=zi(),o=Qm(),u=Cs(),s=Bi(),l=">",c="<",d="prototype",f="script",p=s("IE_PROTO"),m=function(){},h=function(x){return c+f+l+x+c+"/"+f+l},v=function(x){x.write(h("")),x.close();var C=x.parentWindow.Object;return x=null,C},g=function(){var x=u("iframe"),C="java"+f+":",S;return x.style.display="none",o.appendChild(x),x.src=String(C),S=x.contentWindow.document,S.open(),S.write(h("document.F=Object")),S.close(),S.F},b,D=function(){try{b=new ActiveXObject("htmlfile")}catch{}D=typeof O<"u"?O.domain&&b?v(b):g():v(b);for(var x=n.length;x--;)delete D[d][n[x]];return D()};i[p]=!0,t.exports=Object.create||function(x,C){var S;return x!==null?(m[d]=r(x),S=new m,m[d]=null,S[p]=x):S=D(),C===void 0?S:a.f(S,C)}}),Ns=y(function(e,t){var r=ia();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a}}),Ls=y(function(e,t){var r=Ft(),a=nt(),n=Jt(),i=Is(),o=qi(),u=Ns(),s=Gt(),l=Ni(),c=s("iterator"),d=!1,f,p,m;[].keys&&(m=[].keys(),"next"in m?(p=o(o(m)),p!==Object.prototype&&(f=p)):d=!0);var h=!n(f)||r(function(){var v={};return f[c].call(v)!==v});h?f={}:l&&(f=i(f)),a(f[c])||u(f,c,function(){return this}),t.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:d}}),eh=y(function(e,t){var r=Vi(),a=sn();t.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}}),Bs=y(function(e,t){var r=Vi(),a=on().f,n=ia(),i=Ht(),o=eh(),u=Gt(),s=u("toStringTag");t.exports=function(l,c,d,f){var p=d?l:l&&l.prototype;p&&(i(p,s)||a(p,s,{configurable:!0,value:c}),f&&!r&&n(p,"toString",o))}}),ln=y(function(e,t){t.exports={}}),th=y(function(e,t){var r=Ls().IteratorPrototype,a=Is(),n=tn(),i=Bs(),o=ln(),u=function(){return this};t.exports=function(s,l,c,d){var f=l+" Iterator";return s.prototype=a(r,{next:n(+!d,c)}),i(s,f,!1,!0),o[f]=u,s}}),rh=y(function(e,t){var r=mt(),a=an();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}}}),ah=y(function(e,t){var r=Jt();t.exports=function(a){return r(a)||a===null}}),nh=y(function(e,t){var r=ah(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")}}),ih=y(function(e,t){var r=rh(),a=Jt(),n=rn(),i=nh();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=!1,u={},s;try{s=r(Object.prototype,"__proto__","set"),s(u,[]),o=u instanceof Array}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?s(c,d):c.__proto__=d),c}})():void 0)}),oh=y(function(e,t){var r=un(),a=hr(),n=Ni(),i=Zm(),o=nt(),u=th(),s=qi(),l=ih(),c=Bs(),d=ia(),f=Ns(),p=Gt(),m=ln(),h=Ls(),v=i.PROPER,g=i.CONFIGURABLE,b=h.IteratorPrototype,D=h.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x="keys",C="values",S="entries",P=function(){return this};t.exports=function(V,k,L,z,H,Q,ie){u(L,k,z);var K=function(me){if(me===H&&$)return $;if(!D&&me&&me in J)return J[me];switch(me){case x:return function(){return new L(this,me)};case C:return function(){return new L(this,me)};case S:return function(){return new L(this,me)}}return function(){return new L(this)}},re=k+" Iterator",q=!1,J=V.prototype,A=J[w]||J["@@iterator"]||H&&J[H],$=!D&&A||K(H),N=k==="Array"&&J.entries||A,U,ne,Y;if(N&&(U=s(N.call(new V)),U!==Object.prototype&&U.next&&(!n&&s(U)!==b&&(l?l(U,b):o(U[w])||f(U,w,P)),c(U,re,!0,!0),n&&(m[re]=P))),v&&H===C&&A&&A.name!==C&&(!n&&g?d(J,"name",C):(q=!0,$=function(){return a(A,this)})),H)if(ne={values:K(C),keys:Q?$:K(x),entries:K(S)},ie)for(Y in ne)(D||q||!(Y in J))&&f(J,Y,ne[Y]);else r({target:k,proto:!0,forced:D||q},ne);return(!n||ie)&&J[w]!==$&&f(J,w,$,{name:H}),m[k]=$,ne}}),uh=y(function(e,t){t.exports=function(r,a){return{value:r,done:a}}}),sh=y(function(){var e=Ym().charAt,t=Ps(),r=Xm(),a=oh(),n=uh(),i="String Iterator",o=r.set,u=r.getterFor(i);a(String,"String",function(s){o(this,{type:i,string:t(s),index:0})},function(){var l=u(this),c=l.string,d=l.index,f;return d>=c.length?n(void 0,!0):(f=e(c,d),l.index+=f.length,n(f,!1))})}),lh=y(function(e,t){var r=hr(),a=Sr(),n=Ii();t.exports=function(i,o,u){var s,l;a(i);try{if(s=n(i,"return"),!s){if(o==="throw")throw u;return u}s=r(s,i)}catch(c){l=!0,s=c}if(o==="throw")throw u;if(l)throw s;return a(s),u}}),ch=y(function(e,t){var r=Sr(),a=lh();t.exports=function(n,i,o,u){try{return u?i(r(o)[0],o[1]):i(o)}catch(s){a(n,"throw",s)}}}),dh=y(function(e,t){var r=Gt(),a=ln(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)}}),fh=y(function(e,t){var r=mt(),a=nt(),n=nn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource}),ph=y(function(e,t){var r=mt(),a=Ft(),n=nt(),i=sn(),o=Pi(),u=fh(),s=function(){},l=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),f=!c.test(s),p=function(v){if(!n(v))return!1;try{return l(s,[],v),!0}catch{return!1}},m=function(v){if(!n(v))return!1;switch(i(v)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!d(c,u(v))}catch{return!0}};m.sham=!0,t.exports=!l||a(function(){var h;return p(p.call)||!p(Object)||!p(function(){h=!0})||h})?m:p}),mh=y(function(e,t){var r=Mt(),a=on(),n=tn();t.exports=function(i,o,u){r?a.f(i,o,n(0,u)):i[o]=u}}),hh=y(function(e,t){var r=en();t.exports=Array.isArray||function(n){return r(n)==="Array"}}),vh=y(function(e,t){var r=Mt(),a=hh(),n=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}})();t.exports=o?function(u,s){if(a(u)&&!i(u,"length").writable)throw new n("Cannot set read only .length");return u.length=s}:function(u,s){return u.length=s}}),qs=y(function(e,t){var r=sn(),a=Ii(),n=Mi(),i=ln(),o=Gt(),u=o("iterator");t.exports=function(s){if(!n(s))return a(s,u)||a(s,"@@iterator")||i[r(s)]}}),gh=y(function(e,t){var r=hr(),a=an(),n=Sr(),i=xs(),o=qs(),u=TypeError;t.exports=function(s,l){var c=arguments.length<2?o(s):l;if(a(c))return n(r(c,s));throw new u(i(s)+" is not iterable")}}),bh=y(function(e,t){var r=Ts(),a=hr(),n=Li(),i=ch(),o=dh(),u=ph(),s=ks(),l=mh(),c=vh(),d=gh(),f=qs(),p=Array;t.exports=function(h){var v=n(h),g=u(this),b=arguments.length,D=b>1?arguments[1]:void 0,w=D!==void 0;w&&(D=r(D,b>2?arguments[2]:void 0));var x=f(v),C=0,S,P,V,k,L,z;if(x&&!(this===p&&o(x)))for(P=g?new this:[],k=d(v,x),L=k.next;!(V=a(L,k)).done;C++)z=w?i(k,D,[V.value,C],!0):V.value,l(P,C,z);else for(S=s(v),P=g?new this(S):p(S);S>C;C++)z=w?D(v[C],C):v[C],l(P,C,z);return c(P,C),P}}),yh=y(function(e,t){var r=Gt(),a=r("iterator"),n=!1;try{i=0,o={next:function(){return{done:!!i++}},return:function(){n=!0}},o[a]=function(){return this},Array.from(o,function(){throw 2})}catch{}var i,o;t.exports=function(u,s){try{if(!s&&!n)return!1}catch{return!1}var l=!1;try{var c={};c[a]=function(){return{next:function(){return{done:l=!0}}}},u(c)}catch{}return l}}),Dh=y(function(){var e=un(),t=bh(),r=yh(),a=!r(function(n){Array.from(n)});e({target:"Array",stat:!0,forced:a},{from:t})}),wh=y(function(e,t){sh(),Dh();var r=na();t.exports=r.Array.from}),_h=y(function(e,t){var r=wh();t.exports=r}),js=y(function(e,t){var r=_h();t.exports=r}),zs=y(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var u=o.length,s="",l=0;l<u;){var c=o.charAt(l);if(e.identSpecialChars[c])s+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||l!==0&&c>="0"&&c<="9")s+=c;else{var d=c.charCodeAt(0);if((d&63488)===55296){var f=o.charCodeAt(l++);if((d&64512)!==55296||(f&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(f&1023)+65536}s+="\\"+d.toString(16)+" "}l++}return s}e.escapeIdentifier=n;function i(o){for(var u=o.length,s="",l=0,c;l<u;){var d=o.charAt(l);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),s+=d,l++}return'"'+s+'"'}e.escapeStr=i,e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`