conductor-board 1.0.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.
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ink:#0a0a0f;--color-ink-2:#0e0e15;--color-panel:#13131c;--color-panel-2:#181826;--color-line:#232333;--color-line-2:#2c2c40;--color-mist:#8a8aa3;--color-mist-2:#b4b4cc;--color-chalk:#e8e8f2;--color-iris:#a78bfa;--color-iris-deep:#7c5cff;--color-cyan:#22d3ee;--color-mint:#34d399;--color-amber:#fbbf24;--color-rose:#fb7185}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{color-scheme:dark}body{background:var(--color-ink);color:var(--color-chalk);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0}::selection{background:#a78bfa59}@supports (color:color-mix(in lab,red,red)){::selection{background:color-mix(in oklab,var(--color-iris) 35%,transparent)}}::selection{color:#fff}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--color-line-2);border:2px solid var(--color-ink);border-radius:99px}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:calc(var(--spacing) * 0)}.z-30{z-index:30}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-12{height:calc(var(--spacing) * 12)}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-28{width:calc(var(--spacing) * 28)}.w-64{width:calc(var(--spacing) * 64)}.w-full{width:100%}.max-w-\[130px\]{max-width:130px}.max-w-\[1400px\]{max-width:1400px}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-5{gap:calc(var(--spacing) * 5)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-amber\/30{border-color:#fbbf244d}@supports (color:color-mix(in lab,red,red)){.border-amber\/30{border-color:color-mix(in oklab,var(--color-amber) 30%,transparent)}}.border-amber\/40{border-color:#fbbf2466}@supports (color:color-mix(in lab,red,red)){.border-amber\/40{border-color:color-mix(in oklab,var(--color-amber) 40%,transparent)}}.border-cyan\/30{border-color:#22d3ee4d}@supports (color:color-mix(in lab,red,red)){.border-cyan\/30{border-color:color-mix(in oklab,var(--color-cyan) 30%,transparent)}}.border-cyan\/40{border-color:#22d3ee66}@supports (color:color-mix(in lab,red,red)){.border-cyan\/40{border-color:color-mix(in oklab,var(--color-cyan) 40%,transparent)}}.border-iris\/25{border-color:#a78bfa40}@supports (color:color-mix(in lab,red,red)){.border-iris\/25{border-color:color-mix(in oklab,var(--color-iris) 25%,transparent)}}.border-iris\/40{border-color:#a78bfa66}@supports (color:color-mix(in lab,red,red)){.border-iris\/40{border-color:color-mix(in oklab,var(--color-iris) 40%,transparent)}}.border-line{border-color:var(--color-line)}.border-line-2{border-color:var(--color-line-2)}.border-line\/70{border-color:#232333b3}@supports (color:color-mix(in lab,red,red)){.border-line\/70{border-color:color-mix(in oklab,var(--color-line) 70%,transparent)}}.border-mint\/25{border-color:#34d39940}@supports (color:color-mix(in lab,red,red)){.border-mint\/25{border-color:color-mix(in oklab,var(--color-mint) 25%,transparent)}}.border-mint\/30{border-color:#34d3994d}@supports (color:color-mix(in lab,red,red)){.border-mint\/30{border-color:color-mix(in oklab,var(--color-mint) 30%,transparent)}}.border-rose\/15{border-color:#fb718526}@supports (color:color-mix(in lab,red,red)){.border-rose\/15{border-color:color-mix(in oklab,var(--color-rose) 15%,transparent)}}.border-rose\/30{border-color:#fb71854d}@supports (color:color-mix(in lab,red,red)){.border-rose\/30{border-color:color-mix(in oklab,var(--color-rose) 30%,transparent)}}.border-rose\/40{border-color:#fb718566}@supports (color:color-mix(in lab,red,red)){.border-rose\/40{border-color:color-mix(in oklab,var(--color-rose) 40%,transparent)}}.border-transparent{border-color:#0000}.bg-amber{background-color:var(--color-amber)}.bg-amber\/10{background-color:#fbbf241a}@supports (color:color-mix(in lab,red,red)){.bg-amber\/10{background-color:color-mix(in oklab,var(--color-amber) 10%,transparent)}}.bg-amber\/15{background-color:#fbbf2426}@supports (color:color-mix(in lab,red,red)){.bg-amber\/15{background-color:color-mix(in oklab,var(--color-amber) 15%,transparent)}}.bg-cyan{background-color:var(--color-cyan)}.bg-cyan\/10{background-color:#22d3ee1a}@supports (color:color-mix(in lab,red,red)){.bg-cyan\/10{background-color:color-mix(in oklab,var(--color-cyan) 10%,transparent)}}.bg-ink-2\/40{background-color:#0e0e1566}@supports (color:color-mix(in lab,red,red)){.bg-ink-2\/40{background-color:color-mix(in oklab,var(--color-ink-2) 40%,transparent)}}.bg-ink-2\/60{background-color:#0e0e1599}@supports (color:color-mix(in lab,red,red)){.bg-ink-2\/60{background-color:color-mix(in oklab,var(--color-ink-2) 60%,transparent)}}.bg-ink\/40{background-color:#0a0a0f66}@supports (color:color-mix(in lab,red,red)){.bg-ink\/40{background-color:color-mix(in oklab,var(--color-ink) 40%,transparent)}}.bg-ink\/50{background-color:#0a0a0f80}@supports (color:color-mix(in lab,red,red)){.bg-ink\/50{background-color:color-mix(in oklab,var(--color-ink) 50%,transparent)}}.bg-ink\/80{background-color:#0a0a0fcc}@supports (color:color-mix(in lab,red,red)){.bg-ink\/80{background-color:color-mix(in oklab,var(--color-ink) 80%,transparent)}}.bg-iris{background-color:var(--color-iris)}.bg-iris\/10{background-color:#a78bfa1a}@supports (color:color-mix(in lab,red,red)){.bg-iris\/10{background-color:color-mix(in oklab,var(--color-iris) 10%,transparent)}}.bg-iris\/15{background-color:#a78bfa26}@supports (color:color-mix(in lab,red,red)){.bg-iris\/15{background-color:color-mix(in oklab,var(--color-iris) 15%,transparent)}}.bg-iris\/\[0\.08\]{background-color:#a78bfa14}@supports (color:color-mix(in lab,red,red)){.bg-iris\/\[0\.08\]{background-color:color-mix(in oklab,var(--color-iris) 8%,transparent)}}.bg-line-2{background-color:var(--color-line-2)}.bg-mint{background-color:var(--color-mint)}.bg-mint\/10{background-color:#34d3991a}@supports (color:color-mix(in lab,red,red)){.bg-mint\/10{background-color:color-mix(in oklab,var(--color-mint) 10%,transparent)}}.bg-mint\/15{background-color:#34d39926}@supports (color:color-mix(in lab,red,red)){.bg-mint\/15{background-color:color-mix(in oklab,var(--color-mint) 15%,transparent)}}.bg-mint\/\[0\.08\]{background-color:#34d39914}@supports (color:color-mix(in lab,red,red)){.bg-mint\/\[0\.08\]{background-color:color-mix(in oklab,var(--color-mint) 8%,transparent)}}.bg-panel{background-color:var(--color-panel)}.bg-panel-2{background-color:var(--color-panel-2)}.bg-rose{background-color:var(--color-rose)}.bg-rose\/10{background-color:#fb71851a}@supports (color:color-mix(in lab,red,red)){.bg-rose\/10{background-color:color-mix(in oklab,var(--color-rose) 10%,transparent)}}.bg-rose\/15{background-color:#fb718526}@supports (color:color-mix(in lab,red,red)){.bg-rose\/15{background-color:color-mix(in oklab,var(--color-rose) 15%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-iris{--tw-gradient-from:var(--color-iris);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-rose{--tw-gradient-from:var(--color-rose);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-amber{--tw-gradient-to:var(--color-amber);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-cyan{--tw-gradient-to:var(--color-cyan);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-28{padding-block:calc(var(--spacing) * 28)}.py-px{padding-block:1px}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-7{padding-left:calc(var(--spacing) * 7)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11\.5px\]{font-size:11.5px}.text-\[11px\]{font-size:11px}.text-\[12\.5px\]{font-size:12.5px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-amber{color:var(--color-amber)}.text-chalk{color:var(--color-chalk)}.text-cyan{color:var(--color-cyan)}.text-iris{color:var(--color-iris)}.text-line-2{color:var(--color-line-2)}.text-mint{color:var(--color-mint)}.text-mist{color:var(--color-mist)}.text-mist-2{color:var(--color-mist-2)}.text-rose{color:var(--color-rose)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-85{opacity:.85}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-500{--tw-duration:.5s;transition-duration:.5s}@media(hover:hover){.hover\:border-line-2:hover{border-color:var(--color-line-2)}.hover\:bg-amber\/15:hover{background-color:#fbbf2426}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber\/15:hover{background-color:color-mix(in oklab,var(--color-amber) 15%,transparent)}}.hover\:bg-panel:hover{background-color:var(--color-panel)}.hover\:text-chalk:hover{color:var(--color-chalk)}}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[repeat\(4\,minmax\(0\,1fr\)\)_0\.85fr\]{grid-template-columns:repeat(4,minmax(0,1fr)) .85fr}}}.aurora{z-index:-1;pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.aurora:before{content:"";filter:blur(130px);opacity:.16;background:var(--color-iris-deep);border-radius:50%;width:55vw;height:55vw;position:absolute;top:-22vw;left:30vw}@keyframes pulse-ring{0%{box-shadow:0 0 color-mix(in oklab,var(--color-cyan) 50%,transparent)}70%{box-shadow:0 0 0 8px #0000}to{box-shadow:0 0 #0000}}.pulse-ring{animation:1.8s infinite pulse-ring}@keyframes check-pop{0%{opacity:0;transform:scale(0)rotate(-12deg)}60%{transform:scale(1.18)rotate(0)}to{opacity:1;transform:scale(1)rotate(0)}}.check-pop{animation:.34s cubic-bezier(.34,1.56,.64,1) both check-pop}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:.9s linear infinite spin}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}
@@ -0,0 +1,25 @@
1
+ var ye={exports:{}},Mt={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Mn;function br(){if(Mn)return Mt;Mn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(s,i,o){var r=null;if(o!==void 0&&(r=""+o),i.key!==void 0&&(r=""+i.key),"key"in i){o={};for(var a in i)a!=="key"&&(o[a]=i[a])}else o=i;return i=o.ref,{$$typeof:t,type:s,key:r,ref:i!==void 0?i:null,props:o}}return Mt.Fragment=e,Mt.jsx=n,Mt.jsxs=n,Mt}var Dn;function Rr(){return Dn||(Dn=1,ye.exports=br()),ye.exports}var tt=Rr(),ve={exports:{}},b={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Ln;function Er(){if(Ln)return b;Ln=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),r=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),d=Symbol.iterator;function p(h){return h===null||typeof h!="object"?null:(h=d&&h[d]||h["@@iterator"],typeof h=="function"?h:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,T={};function v(h,m,M){this.props=h,this.context=m,this.refs=T,this.updater=M||g}v.prototype.isReactComponent={},v.prototype.setState=function(h,m){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,m,"setState")},v.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function S(){}S.prototype=v.prototype;function A(h,m,M){this.props=h,this.context=m,this.refs=T,this.updater=M||g}var R=A.prototype=new S;R.constructor=A,y(R,v.prototype),R.isPureReactComponent=!0;var P=Array.isArray;function D(){}var C={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function _(h,m,M){var V=M.ref;return{$$typeof:t,type:h,key:m,ref:V!==void 0?V:null,props:M}}function W(h,m){return _(h.type,m,h.props)}function J(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function qt(h){var m={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(M){return m[M]})}var Xt=/\/+/g;function yt(h,m){return typeof h=="object"&&h!==null&&h.key!=null?qt(""+h.key):m.toString(36)}function Vn(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(D,D):(h.status="pending",h.then(function(m){h.status==="pending"&&(h.status="fulfilled",h.value=m)},function(m){h.status==="pending"&&(h.status="rejected",h.reason=m)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function ct(h,m,M,V,L){var k=typeof h;(k==="undefined"||k==="boolean")&&(h=null);var F=!1;if(h===null)F=!0;else switch(k){case"bigint":case"string":case"number":F=!0;break;case"object":switch(h.$$typeof){case t:case e:F=!0;break;case c:return F=h._init,ct(F(h._payload),m,M,V,L)}}if(F)return L=L(h),F=V===""?"."+yt(h,0):V,P(L)?(M="",F!=null&&(M=F.replace(Xt,"$&/")+"/"),ct(L,m,M,"",function(Cr){return Cr})):L!=null&&(J(L)&&(L=W(L,M+(L.key==null||h&&h.key===L.key?"":(""+L.key).replace(Xt,"$&/")+"/")+F)),m.push(L)),1;F=0;var Q=V===""?".":V+":";if(P(h))for(var H=0;H<h.length;H++)V=h[H],k=Q+yt(V,H),F+=ct(V,m,M,k,L);else if(H=p(h),typeof H=="function")for(h=H.call(h),H=0;!(V=h.next()).done;)V=V.value,k=Q+yt(V,H++),F+=ct(V,m,M,k,L);else if(k==="object"){if(typeof h.then=="function")return ct(Vn(h),m,M,V,L);throw m=String(h),Error("Objects are not valid as a React child (found: "+(m==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":m)+"). If you meant to render a collection of children, use an array instead.")}return F}function N(h,m,M){if(h==null)return h;var V=[],L=0;return ct(h,V,"","",function(k){return m.call(M,k,L++)}),V}function X(h){if(h._status===-1){var m=h._result;m=m(),m.then(function(M){(h._status===0||h._status===-1)&&(h._status=1,h._result=M)},function(M){(h._status===0||h._status===-1)&&(h._status=2,h._result=M)}),h._status===-1&&(h._status=0,h._result=m)}if(h._status===1)return h._result.default;throw h._result}var vt=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var m=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(m))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},Vt={map:N,forEach:function(h,m,M){N(h,function(){m.apply(this,arguments)},M)},count:function(h){var m=0;return N(h,function(){m++}),m},toArray:function(h){return N(h,function(m){return m})||[]},only:function(h){if(!J(h))throw Error("React.Children.only expected to receive a single React element child.");return h}};return b.Activity=f,b.Children=Vt,b.Component=v,b.Fragment=n,b.Profiler=i,b.PureComponent=A,b.StrictMode=s,b.Suspense=u,b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,b.__COMPILER_RUNTIME={__proto__:null,c:function(h){return C.H.useMemoCache(h)}},b.cache=function(h){return function(){return h.apply(null,arguments)}},b.cacheSignal=function(){return null},b.cloneElement=function(h,m,M){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var V=y({},h.props),L=h.key;if(m!=null)for(k in m.key!==void 0&&(L=""+m.key),m)!E.call(m,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&m.ref===void 0||(V[k]=m[k]);var k=arguments.length-2;if(k===1)V.children=M;else if(1<k){for(var F=Array(k),Q=0;Q<k;Q++)F[Q]=arguments[Q+2];V.children=F}return _(h.type,L,V)},b.createContext=function(h){return h={$$typeof:r,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:o,_context:h},h},b.createElement=function(h,m,M){var V,L={},k=null;if(m!=null)for(V in m.key!==void 0&&(k=""+m.key),m)E.call(m,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(L[V]=m[V]);var F=arguments.length-2;if(F===1)L.children=M;else if(1<F){for(var Q=Array(F),H=0;H<F;H++)Q[H]=arguments[H+2];L.children=Q}if(h&&h.defaultProps)for(V in F=h.defaultProps,F)L[V]===void 0&&(L[V]=F[V]);return _(h,k,L)},b.createRef=function(){return{current:null}},b.forwardRef=function(h){return{$$typeof:a,render:h}},b.isValidElement=J,b.lazy=function(h){return{$$typeof:c,_payload:{_status:-1,_result:h},_init:X}},b.memo=function(h,m){return{$$typeof:l,type:h,compare:m===void 0?null:m}},b.startTransition=function(h){var m=C.T,M={};C.T=M;try{var V=h(),L=C.S;L!==null&&L(M,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(D,vt)}catch(k){vt(k)}finally{m!==null&&M.types!==null&&(m.types=M.types),C.T=m}},b.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},b.use=function(h){return C.H.use(h)},b.useActionState=function(h,m,M){return C.H.useActionState(h,m,M)},b.useCallback=function(h,m){return C.H.useCallback(h,m)},b.useContext=function(h){return C.H.useContext(h)},b.useDebugValue=function(){},b.useDeferredValue=function(h,m){return C.H.useDeferredValue(h,m)},b.useEffect=function(h,m){return C.H.useEffect(h,m)},b.useEffectEvent=function(h){return C.H.useEffectEvent(h)},b.useId=function(){return C.H.useId()},b.useImperativeHandle=function(h,m,M){return C.H.useImperativeHandle(h,m,M)},b.useInsertionEffect=function(h,m){return C.H.useInsertionEffect(h,m)},b.useLayoutEffect=function(h,m){return C.H.useLayoutEffect(h,m)},b.useMemo=function(h,m){return C.H.useMemo(h,m)},b.useOptimistic=function(h,m){return C.H.useOptimistic(h,m)},b.useReducer=function(h,m,M){return C.H.useReducer(h,m,M)},b.useRef=function(h){return C.H.useRef(h)},b.useState=function(h){return C.H.useState(h)},b.useSyncExternalStore=function(h,m,M){return C.H.useSyncExternalStore(h,m,M)},b.useTransition=function(){return C.H.useTransition()},b.version="19.2.7",b}var kn;function Vr(){return kn||(kn=1,ve.exports=Er()),ve.exports}var x=Vr();const _t=x.createContext({});function Ye(t){const e=x.useRef(null);return e.current===null&&(e.current=t()),e.current}const fe=x.createContext(null),qe=x.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class Mr extends x.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Dr({children:t,isPresent:e}){const n=x.useId(),s=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=x.useContext(qe);return x.useInsertionEffect(()=>{const{width:r,height:a,top:u,left:l}=i.current;if(e||!s.current||!r||!a)return;s.current.dataset.motionPopId=n;const c=document.createElement("style");return o&&(c.nonce=o),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
18
+ [data-motion-pop-id="${n}"] {
19
+ position: absolute !important;
20
+ width: ${r}px !important;
21
+ height: ${a}px !important;
22
+ top: ${u}px !important;
23
+ left: ${l}px !important;
24
+ }
25
+ `),()=>{document.head.removeChild(c)}},[e]),tt.jsx(Mr,{isPresent:e,childRef:s,sizeRef:i,children:x.cloneElement(t,{ref:s})})}const Lr=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:o,mode:r})=>{const a=Ye(kr),u=x.useId(),l=x.useCallback(f=>{a.set(f,!0);for(const d of a.values())if(!d)return;s&&s()},[a,s]),c=x.useMemo(()=>({id:u,initial:e,isPresent:n,custom:i,onExitComplete:l,register:f=>(a.set(f,!1),()=>a.delete(f))}),o?[Math.random(),l]:[n,l]);return x.useMemo(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),x.useEffect(()=>{!n&&!a.size&&s&&s()},[n]),r==="popLayout"&&(t=tt.jsx(Dr,{isPresent:n,children:t})),tt.jsx(fe.Provider,{value:c,children:t})};function kr(){return new Map}function Xs(t=!0){const e=x.useContext(fe);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=e,o=x.useId();x.useEffect(()=>{t&&i(o)},[t]);const r=x.useCallback(()=>t&&s&&s(o),[o,s,t]);return!n&&s?[!1,r]:[!0]}const Zt=t=>t.key||"";function jn(t){const e=[];return x.Children.forEach(t,n=>{x.isValidElement(n)&&e.push(n)}),e}const Xe=typeof window<"u",Ze=Xe?x.useLayoutEffect:x.useEffect,uc=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:i=!0,mode:o="sync",propagate:r=!1})=>{const[a,u]=Xs(r),l=x.useMemo(()=>jn(t),[t]),c=r&&!a?[]:l.map(Zt),f=x.useRef(!0),d=x.useRef(l),p=Ye(()=>new Map),[g,y]=x.useState(l),[T,v]=x.useState(l);Ze(()=>{f.current=!1,d.current=l;for(let R=0;R<T.length;R++){const P=Zt(T[R]);c.includes(P)?p.delete(P):p.get(P)!==!0&&p.set(P,!1)}},[T,c.length,c.join("-")]);const S=[];if(l!==g){let R=[...l];for(let P=0;P<T.length;P++){const D=T[P],C=Zt(D);c.includes(C)||(R.splice(P,0,D),S.push(D))}o==="wait"&&S.length&&(R=S),v(jn(R)),y(l);return}const{forceRender:A}=x.useContext(_t);return tt.jsx(tt.Fragment,{children:T.map(R=>{const P=Zt(R),D=r&&!a?!1:l===T||c.includes(P),C=()=>{if(p.has(P))p.set(P,!0);else return;let E=!0;p.forEach(_=>{_||(E=!1)}),E&&(A==null||A(),v(d.current),r&&(u==null||u()),s&&s())};return tt.jsx(Lr,{isPresent:D,initial:!f.current||n?void 0:!1,custom:D?void 0:e,presenceAffectsLayout:i,mode:o,onExitComplete:D?void 0:C,children:R},P)})})},jr=x.createContext(null);function Fr(){const t=x.useRef(!1);return Ze(()=>(t.current=!0,()=>{t.current=!1}),[]),t}const G=t=>t;let Zs=G;function Je(t){let e;return()=>(e===void 0&&(e=t()),e)}const wt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},st=t=>t*1e3,it=t=>t/1e3,Br={useManualTiming:!1};function Ir(t){let e=new Set,n=new Set,s=!1,i=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(l){o.has(l)&&(u.schedule(l),t()),l(r)}const u={schedule:(l,c=!1,f=!1)=>{const p=f&&s?e:n;return c&&o.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),o.delete(l)},process:l=>{if(r=l,s){i=!0;return}s=!0,[e,n]=[n,e],e.forEach(a),e.clear(),s=!1,i&&(i=!1,u.process(l))}};return u}const Jt=["read","resolveKeyframes","update","preRender","render","postRender"],Or=40;function Js(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=Jt.reduce((v,S)=>(v[S]=Ir(o),v),{}),{read:a,resolveKeyframes:u,update:l,preRender:c,render:f,postRender:d}=r,p=()=>{const v=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(v-i.timestamp,Or),1),i.timestamp=v,i.isProcessing=!0,a.process(i),u.process(i),l.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(p))},g=()=>{n=!0,s=!0,i.isProcessing||t(p)};return{schedule:Jt.reduce((v,S)=>{const A=r[S];return v[S]=(R,P=!1,D=!1)=>(n||g(),A.schedule(R,P,D)),v},{}),cancel:v=>{for(let S=0;S<Jt.length;S++)r[Jt[S]].cancel(v)},state:i,steps:r}}const{schedule:j,cancel:at,state:U,steps:Te}=Js(typeof requestAnimationFrame<"u"?requestAnimationFrame:G,!0);function _r(){const t=Fr(),[e,n]=x.useState(0),s=x.useCallback(()=>{t.current&&n(e+1)},[e]);return[x.useCallback(()=>j.postRender(s),[s]),e]}const Nr=t=>!t.isLayoutDirty&&t.willUpdate(!1);function Fn(){const t=new Set,e=new WeakMap,n=()=>t.forEach(Nr);return{add:s=>{t.add(s),e.set(s,s.addEventListener("willUpdate",n))},remove:s=>{t.delete(s);const i=e.get(s);i&&(i(),e.delete(s)),n()},dirty:n}}const Qs=t=>t===!0,Ur=t=>Qs(t===!0)||t==="id",lc=({children:t,id:e,inherit:n=!0})=>{const s=x.useContext(_t),i=x.useContext(jr),[o,r]=_r(),a=x.useRef(null),u=s.id||i;a.current===null&&(Ur(n)&&u&&(e=e?u+"-"+e:u),a.current={id:e,group:Qs(n)&&s.group||Fn()});const l=x.useMemo(()=>({...a.current,forceRender:o}),[r]);return tt.jsx(_t.Provider,{value:l,children:t})},ti=x.createContext({strict:!1}),Bn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ct={};for(const t in Bn)Ct[t]={isEnabled:e=>Bn[t].some(n=>!!e[n])};function $r(t){for(const e in t)Ct[e]={...Ct[e],...t[e]}}const Kr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ie(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Kr.has(t)}let ei=t=>!ie(t);function Wr(t){t&&(ei=e=>e.startsWith("on")?!ie(e):t(e))}try{Wr(require("@emotion/is-prop-valid").default)}catch{}function Hr(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(ei(i)||n===!0&&ie(i)||!e&&!ie(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function Gr(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}const he=x.createContext({});function Nt(t){return typeof t=="string"||Array.isArray(t)}function de(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Qe=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tn=["initial",...Qe];function pe(t){return de(t.animate)||tn.some(e=>Nt(t[e]))}function ni(t){return!!(pe(t)||t.variants)}function zr(t,e){if(pe(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Nt(n)?n:void 0,animate:Nt(s)?s:void 0}}return t.inherit!==!1?e:{}}function Yr(t){const{initial:e,animate:n}=zr(t,x.useContext(he));return x.useMemo(()=>({initial:e,animate:n}),[In(e),In(n)])}function In(t){return Array.isArray(t)?t.join(" "):t}const qr=Symbol.for("motionComponentSymbol");function Tt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Xr(t,e,n){return x.useCallback(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):Tt(n)&&(n.current=s))},[e])}const en=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Zr="framerAppearId",si="data-"+en(Zr),{schedule:nn}=Js(queueMicrotask,!1),ii=x.createContext({});function Jr(t,e,n,s,i){var o,r;const{visualElement:a}=x.useContext(he),u=x.useContext(ti),l=x.useContext(fe),c=x.useContext(qe).reducedMotion,f=x.useRef(null);s=s||u.renderer,!f.current&&s&&(f.current=s(t,{visualState:e,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,p=x.useContext(ii);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&Qr(f.current,n,i,p);const g=x.useRef(!1);x.useInsertionEffect(()=>{d&&g.current&&d.update(n,l)});const y=n[si],T=x.useRef(!!y&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,y))&&((r=window.MotionHasOptimisedAnimation)===null||r===void 0?void 0:r.call(window,y)));return Ze(()=>{d&&(g.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),nn.render(d.render),T.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!T.current&&d.animationState&&d.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,y)}),T.current=!1))}),d}function Qr(t,e,n,s){const{layoutId:i,layout:o,drag:r,dragConstraints:a,layoutScroll:u,layoutRoot:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:ri(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!r||a&&Tt(a),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:s,layoutScroll:u,layoutRoot:l})}function ri(t){if(t)return t.options.allowProjection!==!1?t.projection:ri(t.parent)}function to({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){var o,r;t&&$r(t);function a(l,c){let f;const d={...x.useContext(qe),...l,layoutId:eo(l)},{isStatic:p}=d,g=Yr(l),y=s(l,p);if(!p&&Xe){no();const T=so(d);f=T.MeasureLayout,g.visualElement=Jr(i,y,d,e,T.ProjectionNode)}return tt.jsxs(he.Provider,{value:g,children:[f&&g.visualElement?tt.jsx(f,{visualElement:g.visualElement,...d}):null,n(i,l,Xr(y,g.visualElement,c),y,p,g.visualElement)]})}a.displayName=`motion.${typeof i=="string"?i:`create(${(r=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&r!==void 0?r:""})`}`;const u=x.forwardRef(a);return u[qr]=i,u}function eo({layoutId:t}){const e=x.useContext(_t).id;return e&&t!==void 0?e+"-"+t:t}function no(t,e){x.useContext(ti).strict}function so(t){const{drag:e,layout:n}=Ct;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const io=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function sn(t){return typeof t!="string"||t.includes("-")?!1:!!(io.indexOf(t)>-1||/[A-Z]/u.test(t))}function On(t){const e=[{},{}];return t==null||t.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function rn(t,e,n,s){if(typeof e=="function"){const[i,o]=On(s);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=On(s);e=e(n!==void 0?n:t.custom,i,o)}return e}const Le=t=>Array.isArray(t),ro=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),oo=t=>Le(t)?t[t.length-1]||0:t,K=t=>!!(t&&t.getVelocity);function ee(t){const e=K(t)?t.get():t;return ro(e)?e.toValue():e}function ao({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},s,i,o){const r={latestValues:uo(s,i,o,t),renderState:e()};return n&&(r.onMount=a=>n({props:s,current:a,...r}),r.onUpdate=a=>n(a)),r}const oi=t=>(e,n)=>{const s=x.useContext(he),i=x.useContext(fe),o=()=>ao(t,e,s,i);return n?o():Ye(o)};function uo(t,e,n,s){const i={},o=s(t,{});for(const d in o)i[d]=ee(o[d]);let{initial:r,animate:a}=t;const u=pe(t),l=ni(t);e&&l&&!u&&t.inherit!==!1&&(r===void 0&&(r=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||r===!1;const f=c?a:r;if(f&&typeof f!="boolean"&&!de(f)){const d=Array.isArray(f)?f:[f];for(let p=0;p<d.length;p++){const g=rn(t,d[p]);if(g){const{transitionEnd:y,transition:T,...v}=g;for(const S in v){let A=v[S];if(Array.isArray(A)){const R=c?A.length-1:0;A=A[R]}A!==null&&(i[S]=A)}for(const S in y)i[S]=y[S]}}}return i}const Rt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],gt=new Set(Rt),ai=t=>e=>typeof e=="string"&&e.startsWith(t),ui=ai("--"),lo=ai("var(--"),on=t=>lo(t)?co.test(t.split("/*")[0].trim()):!1,co=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,li=(t,e)=>e&&typeof t=="number"?e.transform(t):t,rt=(t,e,n)=>n>e?e:n<t?t:n,Et={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ut={...Et,transform:t=>rt(0,1,t)},Qt={...Et,default:1},Ht=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),ot=Ht("deg"),et=Ht("%"),w=Ht("px"),fo=Ht("vh"),ho=Ht("vw"),_n={...et,parse:t=>et.parse(t)/100,transform:t=>et.transform(t*100)},po={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,radius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,backgroundPositionX:w,backgroundPositionY:w},mo={rotate:ot,rotateX:ot,rotateY:ot,rotateZ:ot,scale:Qt,scaleX:Qt,scaleY:Qt,scaleZ:Qt,skew:ot,skewX:ot,skewY:ot,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:Ut,originX:_n,originY:_n,originZ:w},Nn={...Et,transform:Math.round},an={...po,...mo,zIndex:Nn,size:w,fillOpacity:Ut,strokeOpacity:Ut,numOctaves:Nn},go={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},yo=Rt.length;function vo(t,e,n){let s="",i=!0;for(let o=0;o<yo;o++){const r=Rt[o],a=t[r];if(a===void 0)continue;let u=!0;if(typeof a=="number"?u=a===(r.startsWith("scale")?1:0):u=parseFloat(a)===0,!u||n){const l=li(a,an[r]);if(!u){i=!1;const c=go[r]||r;s+=`${c}(${l}) `}n&&(e[r]=l)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}function un(t,e,n){const{style:s,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const u in e){const l=e[u];if(gt.has(u)){r=!0;continue}else if(ui(u)){i[u]=l;continue}else{const c=li(l,an[u]);u.startsWith("origin")?(a=!0,o[u]=c):s[u]=c}}if(e.transform||(r||n?s.transform=vo(e,t.transform,n):s.transform&&(s.transform="none")),a){const{originX:u="50%",originY:l="50%",originZ:c=0}=o;s.transformOrigin=`${u} ${l} ${c}`}}const To={offset:"stroke-dashoffset",array:"stroke-dasharray"},xo={offset:"strokeDashoffset",array:"strokeDasharray"};function Po(t,e,n=1,s=0,i=!0){t.pathLength=1;const o=i?To:xo;t[o.offset]=w.transform(-s);const r=w.transform(e),a=w.transform(n);t[o.array]=`${r} ${a}`}function Un(t,e,n){return typeof t=="string"?t:w.transform(e+n*t)}function So(t,e,n){const s=Un(e,t.x,t.width),i=Un(n,t.y,t.height);return`${s} ${i}`}function ln(t,{attrX:e,attrY:n,attrScale:s,originX:i,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:u=0,...l},c,f){if(un(t,l,f),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:g}=t;d.transform&&(g&&(p.transform=d.transform),delete d.transform),g&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=So(g,i!==void 0?i:.5,o!==void 0?o:.5)),e!==void 0&&(d.x=e),n!==void 0&&(d.y=n),s!==void 0&&(d.scale=s),r!==void 0&&Po(d,r,a,u,!1)}const cn=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ci=()=>({...cn(),attrs:{}}),fn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function fi(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const o in n)t.style.setProperty(o,n[o])}const hi=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function di(t,e,n,s){fi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(hi.has(i)?i:en(i),e.attrs[i])}const re={};function Ao(t){Object.assign(re,t)}function pi(t,{layout:e,layoutId:n}){return gt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!re[t]||t==="opacity")}function hn(t,e,n){var s;const{style:i}=t,o={};for(const r in i)(K(i[r])||e.style&&K(e.style[r])||pi(r,t)||((s=n==null?void 0:n.getValue(r))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function mi(t,e,n){const s=hn(t,e,n);for(const i in t)if(K(t[i])||K(e[i])){const o=Rt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[o]=t[i]}return s}function wo(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const $n=["x","y","width","height","cx","cy","r"],Co={useVisualState:oi({scrapeMotionValuesFromProps:mi,createRenderState:ci,onUpdate:({props:t,prevProps:e,current:n,renderState:s,latestValues:i})=>{if(!n)return;let o=!!t.drag;if(!o){for(const a in i)if(gt.has(a)){o=!0;break}}if(!o)return;let r=!e;if(e)for(let a=0;a<$n.length;a++){const u=$n[a];t[u]!==e[u]&&(r=!0)}r&&j.read(()=>{wo(n,s),j.render(()=>{ln(s,i,fn(n.tagName),t.transformTemplate),di(n,s)})})}})},bo={useVisualState:oi({scrapeMotionValuesFromProps:hn,createRenderState:cn})};function gi(t,e,n){for(const s in e)!K(e[s])&&!pi(s,n)&&(t[s]=e[s])}function Ro({transformTemplate:t},e){return x.useMemo(()=>{const n=cn();return un(n,e,t),Object.assign({},n.vars,n.style)},[e])}function Eo(t,e){const n=t.style||{},s={};return gi(s,n,t),Object.assign(s,Ro(t,e)),s}function Vo(t,e){const n={},s=Eo(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}function Mo(t,e,n,s){const i=x.useMemo(()=>{const o=ci();return ln(o,e,fn(s),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};gi(o,t.style,t),i.style={...o,...i.style}}return i}function Do(t=!1){return(n,s,i,{latestValues:o},r)=>{const u=(sn(n)?Mo:Vo)(s,o,r,n),l=Hr(s,typeof n=="string",t),c=n!==x.Fragment?{...l,...u,ref:i}:{},{children:f}=s,d=x.useMemo(()=>K(f)?f.get():f,[f]);return x.createElement(n,{...c,children:d})}}function Lo(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const r={...sn(s)?Co:bo,preloadedFeatures:t,useRender:Do(i),createVisualElement:e,Component:s};return to(r)}}function yi(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}function me(t,e,n){const s=t.getProps();return rn(s,e,n!==void 0?n:s.custom,t)}const ko=Je(()=>window.ScrollTimeline!==void 0);class jo{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;s<this.animations.length;s++)this.animations[s][e]=n}attachTimeline(e,n){const s=this.animations.map(i=>{if(ko()&&i.attachTimeline)return i.attachTimeline(e);if(typeof n=="function")return n(i)});return()=>{s.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Fo extends jo{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function dn(t,e){return t?t[e]||t.default||t:void 0}const ke=2e4;function vi(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<ke;)e+=n,s=t.next(e);return e>=ke?1/0:e}function pn(t){return typeof t=="function"}function Kn(t,e){t.timeline=e,t.onfinish=null}const mn=t=>Array.isArray(t)&&typeof t[0]=="number",Bo={linearEasing:void 0};function Io(t,e){const n=Je(t);return()=>{var s;return(s=Bo[e])!==null&&s!==void 0?s:n()}}const oe=Io(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ti=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)s+=t(wt(0,i-1,o))+", ";return`linear(${s.substring(0,s.length-2)})`};function xi(t){return!!(typeof t=="function"&&oe()||!t||typeof t=="string"&&(t in je||oe())||mn(t)||Array.isArray(t)&&t.every(xi))}const Lt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,je={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Lt([0,.65,.55,1]),circOut:Lt([.55,0,1,.45]),backIn:Lt([.31,.01,.66,-.59]),backOut:Lt([.33,1.53,.69,.99])};function Pi(t,e){if(t)return typeof t=="function"&&oe()?Ti(t,e):mn(t)?Lt(t):Array.isArray(t)?t.map(n=>Pi(n,e)||je.easeOut):je[t]}const Z={x:!1,y:!1};function Si(){return Z.x||Z.y}function Oo(t,e,n){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let i=document;const o=(s=void 0)!==null&&s!==void 0?s:i.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function Ai(t,e){const n=Oo(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Wn(t){return e=>{e.pointerType==="touch"||Si()||t(e)}}function _o(t,e,n={}){const[s,i,o]=Ai(t,n),r=Wn(a=>{const{target:u}=a,l=e(a);if(typeof l!="function"||!u)return;const c=Wn(f=>{l(f),u.removeEventListener("pointerleave",c)});u.addEventListener("pointerleave",c,i)});return s.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}const wi=(t,e)=>e?t===e?!0:wi(t,e.parentElement):!1,gn=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,No=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Uo(t){return No.has(t.tagName)||t.tabIndex!==-1}const kt=new WeakSet;function Hn(t){return e=>{e.key==="Enter"&&t(e)}}function xe(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const $o=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Hn(()=>{if(kt.has(n))return;xe(n,"down");const i=Hn(()=>{xe(n,"up")}),o=()=>xe(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function Gn(t){return gn(t)&&!Si()}function Ko(t,e,n={}){const[s,i,o]=Ai(t,n),r=a=>{const u=a.currentTarget;if(!Gn(a)||kt.has(u))return;kt.add(u);const l=e(a),c=(p,g)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),!(!Gn(p)||!kt.has(u))&&(kt.delete(u),typeof l=="function"&&l(p,{success:g}))},f=p=>{c(p,n.useGlobalTarget||wi(u,p.target))},d=p=>{c(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return s.forEach(a=>{!Uo(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),a.addEventListener("focus",l=>$o(l,i),i)}),o}function Wo(t){return t==="x"||t==="y"?Z[t]?null:(Z[t]=!0,()=>{Z[t]=!1}):Z.x||Z.y?null:(Z.x=Z.y=!0,()=>{Z.x=Z.y=!1})}const Ci=new Set(["width","height","top","left","right","bottom",...Rt]);let ne;function Ho(){ne=void 0}const nt={now:()=>(ne===void 0&&nt.set(U.isProcessing||Br.useManualTiming?U.timestamp:performance.now()),ne),set:t=>{ne=t,queueMicrotask(Ho)}};function yn(t,e){t.indexOf(e)===-1&&t.push(e)}function vn(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Tn{constructor(){this.subscriptions=[]}add(e){return yn(this.subscriptions,e),()=>vn(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function bi(t,e){return e?t*(1e3/e):0}const zn=30,Go=t=>!isNaN(parseFloat(t));class zo{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const o=nt.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=nt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Go(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Tn);const s=this.events[e].add(n);return e==="change"?()=>{s(),j.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=nt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>zn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zn);return bi(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function $t(t,e){return new zo(t,e)}function Yo(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,$t(n))}function qo(t,e){const n=me(t,e);let{transitionEnd:s={},transition:i={},...o}=n||{};o={...o,...s};for(const r in o){const a=oo(o[r]);Yo(t,r,a)}}function Xo(t){return!!(K(t)&&t.add)}function Fe(t,e){const n=t.getValue("willChange");if(Xo(n))return n.add(e)}function Ri(t){return t.props[si]}const Ei=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Zo=1e-7,Jo=12;function Qo(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=Ei(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>Zo&&++a<Jo);return r}function Gt(t,e,n,s){if(t===e&&n===s)return G;const i=o=>Qo(o,0,1,t,n);return o=>o===0||o===1?o:Ei(i(o),e,s)}const Vi=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Mi=t=>e=>1-t(1-e),Di=Gt(.33,1.53,.69,.99),xn=Mi(Di),Li=Vi(xn),ki=t=>(t*=2)<1?.5*xn(t):.5*(2-Math.pow(2,-10*(t-1))),Pn=t=>1-Math.sin(Math.acos(t)),ji=Mi(Pn),Fi=Vi(Pn),Bi=t=>/^0[^.\s]+$/u.test(t);function ta(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Bi(t):!0}const Ft=t=>Math.round(t*1e5)/1e5,Sn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ea(t){return t==null}const na=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,An=(t,e)=>n=>!!(typeof n=="string"&&na.test(n)&&n.startsWith(t)||e&&!ea(n)&&Object.prototype.hasOwnProperty.call(n,e)),Ii=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(Sn);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},sa=t=>rt(0,255,t),Pe={...Et,transform:t=>Math.round(sa(t))},pt={test:An("rgb","red"),parse:Ii("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Pe.transform(t)+", "+Pe.transform(e)+", "+Pe.transform(n)+", "+Ft(Ut.transform(s))+")"};function ia(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Be={test:An("#"),parse:ia,transform:pt.transform},xt={test:An("hsl","hue"),parse:Ii("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+et.transform(Ft(e))+", "+et.transform(Ft(n))+", "+Ft(Ut.transform(s))+")"},$={test:t=>pt.test(t)||Be.test(t)||xt.test(t),parse:t=>pt.test(t)?pt.parse(t):xt.test(t)?xt.parse(t):Be.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?pt.transform(t):xt.transform(t)},ra=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function oa(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Sn))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(ra))===null||n===void 0?void 0:n.length)||0)>0}const Oi="number",_i="color",aa="var",ua="var(",Yn="${}",la=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Kt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(la,u=>($.test(u)?(s.color.push(o),i.push(_i),n.push($.parse(u))):u.startsWith(ua)?(s.var.push(o),i.push(aa),n.push(u)):(s.number.push(o),i.push(Oi),n.push(parseFloat(u))),++o,Yn)).split(Yn);return{values:n,split:a,indexes:s,types:i}}function Ni(t){return Kt(t).values}function Ui(t){const{split:e,types:n}=Kt(t),s=e.length;return i=>{let o="";for(let r=0;r<s;r++)if(o+=e[r],i[r]!==void 0){const a=n[r];a===Oi?o+=Ft(i[r]):a===_i?o+=$.transform(i[r]):o+=i[r]}return o}}const ca=t=>typeof t=="number"?0:t;function fa(t){const e=Ni(t);return Ui(t)(e.map(ca))}const ut={test:oa,parse:Ni,createTransformer:Ui,getAnimatableNone:fa},ha=new Set(["brightness","contrast","saturate","opacity"]);function da(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Sn)||[];if(!s)return t;const i=n.replace(s,"");let o=ha.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const pa=/\b([a-z-]*)\(.*?\)/gu,Ie={...ut,getAnimatableNone:t=>{const e=t.match(pa);return e?e.map(da).join(" "):t}},ma={...an,color:$,backgroundColor:$,outlineColor:$,fill:$,stroke:$,borderColor:$,borderTopColor:$,borderRightColor:$,borderBottomColor:$,borderLeftColor:$,filter:Ie,WebkitFilter:Ie},wn=t=>ma[t];function $i(t,e){let n=wn(t);return n!==Ie&&(n=ut),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const ga=new Set(["auto","none","0"]);function ya(t,e,n){let s=0,i;for(;s<t.length&&!i;){const o=t[s];typeof o=="string"&&!ga.has(o)&&Kt(o).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=$i(n,i)}const qn=t=>t===Et||t===w,Xn=(t,e)=>parseFloat(t.split(", ")[e]),Zn=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return Xn(i[1],e);{const o=s.match(/^matrix\((.+)\)$/u);return o?Xn(o[1],t):0}},va=new Set(["x","y","z"]),Ta=Rt.filter(t=>!va.has(t));function xa(t){const e=[];return Ta.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const bt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Zn(4,13),y:Zn(5,14)};bt.translateX=bt.x;bt.translateY=bt.y;const mt=new Set;let Oe=!1,_e=!1;function Ki(){if(_e){const t=Array.from(mt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=xa(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([o,r])=>{var a;(a=s.getValue(o))===null||a===void 0||a.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}_e=!1,Oe=!1,mt.forEach(t=>t.complete()),mt.clear()}function Wi(){mt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(_e=!0)})}function Pa(){Wi(),Ki()}class Cn{constructor(e,n,s,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(mt.add(this),Oe||(Oe=!0,j.read(Wi),j.resolveKeyframes(Ki))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let o=0;o<e.length;o++)if(e[o]===null)if(o===0){const r=i==null?void 0:i.get(),a=e[e.length-1];if(r!==void 0)e[0]=r;else if(s&&n){const u=s.readValue(n,a);u!=null&&(e[0]=u)}e[0]===void 0&&(e[0]=a),i&&r===void 0&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),mt.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,mt.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Hi=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Sa=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Aa(t){const e=Sa.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Gi(t,e,n=1){const[s,i]=Aa(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return Hi(r)?parseFloat(r):r}return on(i)?Gi(i,e,n+1):i}const zi=t=>e=>e.test(t),wa={test:t=>t==="auto",parse:t=>t},Yi=[Et,w,et,ot,ho,fo,wa],Jn=t=>Yi.find(zi(t));class qi extends Cn{constructor(e,n,s,i,o){super(e,n,s,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<e.length;u++){let l=e[u];if(typeof l=="string"&&(l=l.trim(),on(l))){const c=Gi(l,n.current);c!==void 0&&(e[u]=c),u===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!Ci.has(s)||e.length!==2)return;const[i,o]=e,r=Jn(i),a=Jn(o);if(r!==a)if(qn(r)&&qn(a))for(let u=0;u<e.length;u++){const l=e[u];typeof l=="string"&&(e[u]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)ta(e[i])&&s.push(i);s.length&&ya(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bt[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){var e;const{element:n,name:s,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(s);o&&o.jump(this.measuredOrigin,!1);const r=i.length-1,a=i[r];i[r]=bt[s](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([u,l])=>{n.getValue(u).set(l)}),this.resolveNoneKeyframes()}}const Qn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ut.test(t)||t==="0")&&!t.startsWith("url("));function Ca(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function ba(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Qn(i,e),a=Qn(o,e);return!r||!a?!1:Ca(t)||(n==="spring"||pn(n))&&s}const Ra=t=>t!==null;function ge(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Ra),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return!o||s===void 0?i[o]:s}const Ea=40;class Xi{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=nt.now(),this.options={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:o,repeatType:r,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Ea?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Pa(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=nt.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:o,delay:r,onComplete:a,onUpdate:u,isGenerator:l}=this.options;if(!l&&!ba(e,s,i,o))if(r)this.options.duration=0;else{u&&u(ge(e,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const B=(t,e,n)=>t+(e-t)*n;function Se(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Va({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,u=2*n-a;i=Se(u,a,t+1/3),o=Se(u,a,t),r=Se(u,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function ae(t,e){return n=>n>0?e:t}const Ae=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Ma=[Be,pt,xt],Da=t=>Ma.find(e=>e.test(t));function ts(t){const e=Da(t);if(!e)return!1;let n=e.parse(t);return e===xt&&(n=Va(n)),n}const es=(t,e)=>{const n=ts(t),s=ts(e);if(!n||!s)return ae(t,e);const i={...n};return o=>(i.red=Ae(n.red,s.red,o),i.green=Ae(n.green,s.green,o),i.blue=Ae(n.blue,s.blue,o),i.alpha=B(n.alpha,s.alpha,o),pt.transform(i))},La=(t,e)=>n=>e(t(n)),zt=(...t)=>t.reduce(La),Ne=new Set(["none","hidden"]);function ka(t,e){return Ne.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ja(t,e){return n=>B(t,e,n)}function bn(t){return typeof t=="number"?ja:typeof t=="string"?on(t)?ae:$.test(t)?es:Ia:Array.isArray(t)?Zi:typeof t=="object"?$.test(t)?es:Fa:ae}function Zi(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>bn(o)(o,e[r]));return o=>{for(let r=0;r<s;r++)n[r]=i[r](o);return n}}function Fa(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=bn(t[i])(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}}function Ba(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][i[r]],u=(n=t.values[a])!==null&&n!==void 0?n:0;s[o]=u,i[r]++}return s}const Ia=(t,e)=>{const n=ut.createTransformer(e),s=Kt(t),i=Kt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Ne.has(t)&&!i.values.length||Ne.has(e)&&!s.values.length?ka(t,e):zt(Zi(Ba(s,i),i.values),n):ae(t,e)};function Ji(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?B(t,e,n):bn(t)(t,e)}const Oa=5;function Qi(t,e,n){const s=Math.max(e-Oa,0);return bi(n-t(s),e-s)}const I={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},we=.001;function _a({duration:t=I.duration,bounce:e=I.bounce,velocity:n=I.velocity,mass:s=I.mass}){let i,o,r=1-e;r=rt(I.minDamping,I.maxDamping,r),t=rt(I.minDuration,I.maxDuration,it(t)),r<1?(i=l=>{const c=l*r,f=c*t,d=c-n,p=Ue(l,r),g=Math.exp(-f);return we-d/p*g},o=l=>{const f=l*r*t,d=f*n+n,p=Math.pow(r,2)*Math.pow(l,2)*t,g=Math.exp(-f),y=Ue(Math.pow(l,2),r);return(-i(l)+we>0?-1:1)*((d-p)*g)/y}):(i=l=>{const c=Math.exp(-l*t),f=(l-n)*t+1;return-we+c*f},o=l=>{const c=Math.exp(-l*t),f=(n-l)*(t*t);return c*f});const a=5/t,u=Ua(i,o,a);if(t=st(t),isNaN(u))return{stiffness:I.stiffness,damping:I.damping,duration:t};{const l=Math.pow(u,2)*s;return{stiffness:l,damping:r*2*Math.sqrt(s*l),duration:t}}}const Na=12;function Ua(t,e,n){let s=n;for(let i=1;i<Na;i++)s=s-t(s)/e(s);return s}function Ue(t,e){return t*Math.sqrt(1-e*e)}const $a=["duration","bounce"],Ka=["stiffness","damping","mass"];function ns(t,e){return e.some(n=>t[n]!==void 0)}function Wa(t){let e={velocity:I.velocity,stiffness:I.stiffness,damping:I.damping,mass:I.mass,isResolvedFromDuration:!1,...t};if(!ns(t,Ka)&&ns(t,$a))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*rt(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:I.mass,stiffness:i,damping:o}}else{const n=_a(t);e={...e,...n,mass:I.mass},e.isResolvedFromDuration=!0}return e}function tr(t=I.visualDuration,e=I.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:f,velocity:d,isResolvedFromDuration:p}=Wa({...n,velocity:-it(n.velocity||0)}),g=d||0,y=l/(2*Math.sqrt(u*c)),T=r-o,v=it(Math.sqrt(u/c)),S=Math.abs(T)<5;s||(s=S?I.restSpeed.granular:I.restSpeed.default),i||(i=S?I.restDelta.granular:I.restDelta.default);let A;if(y<1){const P=Ue(v,y);A=D=>{const C=Math.exp(-y*v*D);return r-C*((g+y*v*T)/P*Math.sin(P*D)+T*Math.cos(P*D))}}else if(y===1)A=P=>r-Math.exp(-v*P)*(T+(g+v*T)*P);else{const P=v*Math.sqrt(y*y-1);A=D=>{const C=Math.exp(-y*v*D),E=Math.min(P*D,300);return r-C*((g+y*v*T)*Math.sinh(E)+P*T*Math.cosh(E))/P}}const R={calculatedDuration:p&&f||null,next:P=>{const D=A(P);if(p)a.done=P>=f;else{let C=0;y<1&&(C=P===0?st(g):Qi(A,P,D));const E=Math.abs(C)<=s,_=Math.abs(r-D)<=i;a.done=E&&_}return a.value=a.done?r:D,a},toString:()=>{const P=Math.min(vi(R),ke),D=Ti(C=>R.next(P*C).value,P,30);return P+"ms "+D}};return R}function ss({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:u,restDelta:l=.5,restSpeed:c}){const f=t[0],d={done:!1,value:f},p=E=>a!==void 0&&E<a||u!==void 0&&E>u,g=E=>a===void 0?u:u===void 0||Math.abs(a-E)<Math.abs(u-E)?a:u;let y=n*e;const T=f+y,v=r===void 0?T:r(T);v!==T&&(y=v-f);const S=E=>-y*Math.exp(-E/s),A=E=>v+S(E),R=E=>{const _=S(E),W=A(E);d.done=Math.abs(_)<=l,d.value=d.done?v:W};let P,D;const C=E=>{p(d.value)&&(P=E,D=tr({keyframes:[d.value,g(d.value)],velocity:Qi(A,E,d.value),damping:i,stiffness:o,restDelta:l,restSpeed:c}))};return C(0),{calculatedDuration:null,next:E=>{let _=!1;return!D&&P===void 0&&(_=!0,R(E),C(E)),P!==void 0&&E>=P?D.next(E-P):(!_&&R(E),d)}}}const Ha=Gt(.42,0,1,1),Ga=Gt(0,0,.58,1),er=Gt(.42,0,.58,1),za=t=>Array.isArray(t)&&typeof t[0]!="number",Ya={linear:G,easeIn:Ha,easeInOut:er,easeOut:Ga,circIn:Pn,circInOut:Fi,circOut:ji,backIn:xn,backInOut:Li,backOut:Di,anticipate:ki},is=t=>{if(mn(t)){Zs(t.length===4);const[e,n,s,i]=t;return Gt(e,n,s,i)}else if(typeof t=="string")return Ya[t];return t};function qa(t,e,n){const s=[],i=n||Ji,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const u=Array.isArray(e)?e[r]||G:e;a=zt(u,a)}s.push(a)}return s}function Xa(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(Zs(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=qa(e,s,i),u=a.length,l=c=>{if(r&&c<t[0])return e[0];let f=0;if(u>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const d=wt(t[f],t[f+1],c);return a[f](d)};return n?c=>l(rt(t[0],t[o-1],c)):l}function Za(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=wt(0,e,s);t.push(B(n,1,i))}}function Ja(t){const e=[0];return Za(e,t.length-1),e}function Qa(t,e){return t.map(n=>n*e)}function tu(t,e){return t.map(()=>e||er).splice(0,t.length-1)}function ue({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=za(s)?s.map(is):is(s),o={done:!1,value:e[0]},r=Qa(n&&n.length===e.length?n:Ja(e),t),a=Xa(r,e,{ease:Array.isArray(i)?i:tu(e,i)});return{calculatedDuration:t,next:u=>(o.value=a(u),o.done=u>=t,o)}}const eu=t=>{const e=({timestamp:n})=>t(n);return{start:()=>j.update(e,!0),stop:()=>at(e),now:()=>U.isProcessing?U.timestamp:nt.now()}},nu={decay:ss,inertia:ss,tween:ue,keyframes:ue,spring:tr},su=t=>t/100;class Rn extends Xi{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:n,motionValue:s,element:i,keyframes:o}=this.options,r=(i==null?void 0:i.KeyframeResolver)||Cn,a=(u,l)=>this.onKeyframesResolved(u,l);this.resolver=new r(o,a,n,s,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,a=pn(n)?n:nu[n]||ue;let u,l;a!==ue&&typeof e[0]!="number"&&(u=zt(su,Ji(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});o==="mirror"&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-r})),c.calculatedDuration===null&&(c.calculatedDuration=vi(c));const{calculatedDuration:f}=c,d=f+i,p=d*(s+1)-i;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:u,calculatedDuration:f,resolvedDuration:d,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:E}=this.options;return{done:!0,value:E[E.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:a,keyframes:u,calculatedDuration:l,totalDuration:c,resolvedDuration:f}=s;if(this.startTime===null)return o.next(0);const{delay:d,repeat:p,repeatType:g,repeatDelay:y,onUpdate:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const v=this.currentTime-d*(this.speed>=0?1:-1),S=this.speed>=0?v<0:v>c;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let A=this.currentTime,R=o;if(p){const E=Math.min(this.currentTime,c)/f;let _=Math.floor(E),W=E%1;!W&&E>=1&&(W=1),W===1&&_--,_=Math.min(_,p+1),!!(_%2)&&(g==="reverse"?(W=1-W,y&&(W-=y/f)):g==="mirror"&&(R=r)),A=rt(0,1,W)*f}const P=S?{done:!1,value:u[0]}:R.next(A);a&&(P.value=a(P.value));let{done:D}=P;!S&&l!==null&&(D=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return C&&i!==void 0&&(P.value=ge(u,this.options,i)),T&&T(P.value),C&&this.finish(),P}get duration(){const{resolved:e}=this;return e?it(e.calculatedDuration):0}get time(){return it(this.currentTime)}set time(e){e=st(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=it(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=eu,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const iu=new Set(["opacity","clipPath","filter","transform"]);function ru(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:u}={}){const l={[e]:n};u&&(l.offset=u);const c=Pi(a,i);return Array.isArray(c)&&(l.easing=c),t.animate(l,{delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"})}const ou=Je(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),le=10,au=2e4;function uu(t){return pn(t.type)||t.type==="spring"||!xi(t.ease)}function lu(t,e){const n=new Rn({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let o=0;for(;!s.done&&o<au;)s=n.sample(o),i.push(s.value),o+=le;return{times:void 0,keyframes:i,duration:o-le,ease:"linear"}}const nr={anticipate:ki,backInOut:Li,circInOut:Fi};function cu(t){return t in nr}class rs extends Xi{constructor(e){super(e);const{name:n,motionValue:s,element:i,keyframes:o}=this.options;this.resolver=new qi(o,(r,a)=>this.onKeyframesResolved(r,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:s=300,times:i,ease:o,type:r,motionValue:a,name:u,startTime:l}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof o=="string"&&oe()&&cu(o)&&(o=nr[o]),uu(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:g,...y}=this.options,T=lu(e,y);e=T.keyframes,e.length===1&&(e[1]=e[0]),s=T.duration,i=T.times,o=T.ease,r="keyframes"}const c=ru(a.owner.current,u,e,{...this.options,duration:s,times:i,ease:o});return c.startTime=l??this.calcStartTime(),this.pendingTimeline?(Kn(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:f}=this.options;a.set(ge(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:s,times:i,type:r,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return it(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return it(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=st(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return G;const{animation:s}=n;Kn(s,e)}return G}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:o,ease:r,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:f,element:d,...p}=this.options,g=new Rn({...p,keyframes:s,duration:i,type:o,ease:r,times:a,isGenerator:!0}),y=st(this.time);l.setWithVelocity(g.sample(y-le).value,g.sample(y).value,le)}const{onStop:u}=this.options;u&&u(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:o,damping:r,type:a}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:l}=n.owner.getProps();return ou()&&s&&iu.has(s)&&!u&&!l&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}}const fu={type:"spring",stiffness:500,damping:25,restSpeed:10},hu=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),du={type:"keyframes",duration:.8},pu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},mu=(t,{keyframes:e})=>e.length>2?du:gt.has(t)?t.startsWith("scale")?hu(e[1]):fu:pu;function gu({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:u,elapsed:l,...c}){return!!Object.keys(c).length}const En=(t,e,n,s={},i,o)=>r=>{const a=dn(s,t)||{},u=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-st(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-l,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};gu(a)||(c={...c,...mu(t,c)}),c.duration&&(c.duration=st(c.duration)),c.repeatDelay&&(c.repeatDelay=st(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!o&&e.get()!==void 0){const d=ge(c.keyframes,a);if(d!==void 0)return j.update(()=>{c.onUpdate(d),c.onComplete()}),new Fo([])}return!o&&rs.supports(c)?new rs(c):new Rn(c)};function yu({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function sr(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...u}=e;s&&(r=s);const l=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const f in u){const d=t.getValue(f,(o=t.latestValues[f])!==null&&o!==void 0?o:null),p=u[f];if(p===void 0||c&&yu(c,f))continue;const g={delay:n,...dn(r||{},f)};let y=!1;if(window.MotionHandoffAnimation){const v=Ri(t);if(v){const S=window.MotionHandoffAnimation(v,f,j);S!==null&&(g.startTime=S,y=!0)}}Fe(t,f),d.start(En(f,d,p,t.shouldReduceMotion&&Ci.has(f)?{type:!1}:g,t,y));const T=d.animation;T&&l.push(T)}return a&&Promise.all(l).then(()=>{j.update(()=>{a&&qo(t,a)})}),l}function $e(t,e,n={}){var s;const i=me(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(sr(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=o;return vu(t,e,c+l,f,d,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[l,c]=u==="beforeChildren"?[r,a]:[a,r];return l().then(()=>c())}else return Promise.all([r(),a(n.delay)])}function vu(t,e,n=0,s=0,i=1,o){const r=[],a=(t.variantChildren.size-1)*s,u=i===1?(l=0)=>l*s:(l=0)=>a-l*s;return Array.from(t.variantChildren).sort(Tu).forEach((l,c)=>{l.notify("AnimationStart",e),r.push($e(l,e,{...o,delay:n+u(c)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(r)}function Tu(t,e){return t.sortNodePosition(e)}function xu(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(o=>$e(t,o,n));s=Promise.all(i)}else if(typeof e=="string")s=$e(t,e,n);else{const i=typeof e=="function"?me(t,e,n.custom):e;s=Promise.all(sr(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const Pu=tn.length;function ir(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?ir(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<Pu;n++){const s=tn[n],i=t.props[s];(Nt(i)||i===!1)&&(e[s]=i)}return e}const Su=[...Qe].reverse(),Au=Qe.length;function wu(t){return e=>Promise.all(e.map(({animation:n,options:s})=>xu(t,n,s)))}function Cu(t){let e=wu(t),n=os(),s=!0;const i=u=>(l,c)=>{var f;const d=me(t,c,u==="exit"?(f=t.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:p,transitionEnd:g,...y}=d;l={...l,...y,...g}}return l};function o(u){e=u(t)}function r(u){const{props:l}=t,c=ir(t.parent)||{},f=[],d=new Set;let p={},g=1/0;for(let T=0;T<Au;T++){const v=Su[T],S=n[v],A=l[v]!==void 0?l[v]:c[v],R=Nt(A),P=v===u?S.isActive:null;P===!1&&(g=T);let D=A===c[v]&&A!==l[v]&&R;if(D&&s&&t.manuallyAnimateOnMount&&(D=!1),S.protectedKeys={...p},!S.isActive&&P===null||!A&&!S.prevProp||de(A)||typeof A=="boolean")continue;const C=bu(S.prevProp,A);let E=C||v===u&&S.isActive&&!D&&R||T>g&&R,_=!1;const W=Array.isArray(A)?A:[A];let J=W.reduce(i(v),{});P===!1&&(J={});const{prevResolvedValues:qt={}}=S,Xt={...qt,...J},yt=N=>{E=!0,d.has(N)&&(_=!0,d.delete(N)),S.needsAnimating[N]=!0;const X=t.getValue(N);X&&(X.liveStyle=!1)};for(const N in Xt){const X=J[N],vt=qt[N];if(p.hasOwnProperty(N))continue;let Vt=!1;Le(X)&&Le(vt)?Vt=!yi(X,vt):Vt=X!==vt,Vt?X!=null?yt(N):d.add(N):X!==void 0&&d.has(N)?yt(N):S.protectedKeys[N]=!0}S.prevProp=A,S.prevResolvedValues=J,S.isActive&&(p={...p,...J}),s&&t.blockInitialAnimation&&(E=!1),E&&(!(D&&C)||_)&&f.push(...W.map(N=>({animation:N,options:{type:v}})))}if(d.size){const T={};d.forEach(v=>{const S=t.getBaseTarget(v),A=t.getValue(v);A&&(A.liveStyle=!0),T[v]=S??null}),f.push({animation:T})}let y=!!f.length;return s&&(l.initial===!1||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?e(f):Promise.resolve()}function a(u,l){var c;if(n[u].isActive===l)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(u,l)}),n[u].isActive=l;const f=r(u);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=os(),s=!0}}}function bu(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!yi(e,t):!1}function ft(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function os(){return{animate:ft(!0),whileInView:ft(),whileHover:ft(),whileTap:ft(),whileDrag:ft(),whileFocus:ft(),exit:ft()}}class lt{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Ru extends lt{constructor(e){super(e),e.animationState||(e.animationState=Cu(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();de(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Eu=0;class Vu extends lt{constructor(){super(...arguments),this.id=Eu++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Mu={animation:{Feature:Ru},exit:{Feature:Vu}};function Wt(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function Yt(t){return{point:{x:t.pageX,y:t.pageY}}}const Du=t=>e=>gn(e)&&t(e,Yt(e));function Bt(t,e,n,s){return Wt(t,e,Du(n),s)}const as=(t,e)=>Math.abs(t-e);function Lu(t,e){const n=as(t.x,e.x),s=as(t.y,e.y);return Math.sqrt(n**2+s**2)}class rr{constructor(e,n,{transformPagePoint:s,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=be(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=Lu(f.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:g}=f,{timestamp:y}=U;this.history.push({...g,timestamp:y});const{onStart:T,onMove:v}=this.handlers;d||(T&&T(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Ce(d,this.transformPagePoint),j.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:p,onSessionEnd:g,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=be(f.type==="pointercancel"?this.lastMoveEventInfo:Ce(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,T),g&&g(f,T)},!gn(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const r=Yt(e),a=Ce(r,this.transformPagePoint),{point:u}=a,{timestamp:l}=U;this.history=[{...u,timestamp:l}];const{onSessionStart:c}=n;c&&c(e,be(a,this.history)),this.removeListeners=zt(Bt(this.contextWindow,"pointermove",this.handlePointerMove),Bt(this.contextWindow,"pointerup",this.handlePointerUp),Bt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),at(this.updatePoint)}}function Ce(t,e){return e?{point:e(t.point)}:t}function us(t,e){return{x:t.x-e.x,y:t.y-e.y}}function be({point:t},e){return{point:t,delta:us(t,or(e)),offset:us(t,ku(e)),velocity:ju(e,.1)}}function ku(t){return t[0]}function or(t){return t[t.length-1]}function ju(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=or(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>st(e)));)n--;if(!s)return{x:0,y:0};const o=it(i.timestamp-s.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-s.x)/o,y:(i.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}const ar=1e-4,Fu=1-ar,Bu=1+ar,ur=.01,Iu=0-ur,Ou=0+ur;function z(t){return t.max-t.min}function _u(t,e,n){return Math.abs(t-e)<=n}function ls(t,e,n,s=.5){t.origin=s,t.originPoint=B(e.min,e.max,t.origin),t.scale=z(n)/z(e),t.translate=B(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Fu&&t.scale<=Bu||isNaN(t.scale))&&(t.scale=1),(t.translate>=Iu&&t.translate<=Ou||isNaN(t.translate))&&(t.translate=0)}function It(t,e,n,s){ls(t.x,e.x,n.x,s?s.originX:void 0),ls(t.y,e.y,n.y,s?s.originY:void 0)}function cs(t,e,n){t.min=n.min+e.min,t.max=t.min+z(e)}function Nu(t,e,n){cs(t.x,e.x,n.x),cs(t.y,e.y,n.y)}function fs(t,e,n){t.min=e.min-n.min,t.max=t.min+z(e)}function Ot(t,e,n){fs(t.x,e.x,n.x),fs(t.y,e.y,n.y)}function Uu(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?B(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?B(n,t,s.max):Math.min(t,n)),t}function hs(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function $u(t,{top:e,left:n,bottom:s,right:i}){return{x:hs(t.x,n,i),y:hs(t.y,e,s)}}function ds(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Ku(t,e){return{x:ds(t.x,e.x),y:ds(t.y,e.y)}}function Wu(t,e){let n=.5;const s=z(t),i=z(e);return i>s?n=wt(e.min,e.max-s,t.min):s>i&&(n=wt(t.min,t.max-i,e.min)),rt(0,1,n)}function Hu(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ke=.35;function Gu(t=Ke){return t===!1?t=0:t===!0&&(t=Ke),{x:ps(t,"left","right"),y:ps(t,"top","bottom")}}function ps(t,e,n){return{min:ms(t,e),max:ms(t,n)}}function ms(t,e){return typeof t=="number"?t:t[e]||0}const gs=()=>({translate:0,scale:1,origin:0,originPoint:0}),Pt=()=>({x:gs(),y:gs()}),ys=()=>({min:0,max:0}),O=()=>({x:ys(),y:ys()});function q(t){return[t("x"),t("y")]}function lr({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function zu({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Yu(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Re(t){return t===void 0||t===1}function We({scale:t,scaleX:e,scaleY:n}){return!Re(t)||!Re(e)||!Re(n)}function ht(t){return We(t)||cr(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function cr(t){return vs(t.x)||vs(t.y)}function vs(t){return t&&t!=="0%"}function ce(t,e,n){const s=t-n,i=e*s;return n+i}function Ts(t,e,n,s,i){return i!==void 0&&(t=ce(t,i,s)),ce(t,n,s)+e}function He(t,e=0,n=1,s,i){t.min=Ts(t.min,e,n,s,i),t.max=Ts(t.max,e,n,s,i)}function fr(t,{x:e,y:n}){He(t.x,e.translate,e.scale,e.originPoint),He(t.y,n.translate,n.scale,n.originPoint)}const xs=.999999999999,Ps=1.0000000000001;function qu(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=n[a],r=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(s&&o.options.layoutScroll&&o.scroll&&o!==o.root&&At(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,fr(t,r)),s&&ht(o.latestValues)&&At(t,o.latestValues))}e.x<Ps&&e.x>xs&&(e.x=1),e.y<Ps&&e.y>xs&&(e.y=1)}function St(t,e){t.min=t.min+e,t.max=t.max+e}function Ss(t,e,n,s,i=.5){const o=B(t.min,t.max,i);He(t,e,n,o,s)}function At(t,e){Ss(t.x,e.x,e.scaleX,e.scale,e.originX),Ss(t.y,e.y,e.scaleY,e.scale,e.originY)}function hr(t,e){return lr(Yu(t.getBoundingClientRect(),e))}function Xu(t,e,n){const s=hr(t,n),{scroll:i}=e;return i&&(St(s.x,i.offset.x),St(s.y,i.offset.y)),s}const dr=({current:t})=>t?t.ownerDocument.defaultView:null,Zu=new WeakMap;class Ju{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=O(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Yt(c).point)},o=(c,f)=>{const{drag:d,dragPropagation:p,onDragStart:g}=this.getProps();if(d&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Wo(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),q(T=>{let v=this.getAxisMotionValue(T).get()||0;if(et.test(v)){const{projection:S}=this.visualElement;if(S&&S.layout){const A=S.layout.layoutBox[T];A&&(v=z(A)*(parseFloat(v)/100))}}this.originPoint[T]=v}),g&&j.postRender(()=>g(c,f)),Fe(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},r=(c,f)=>{const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:g,onDrag:y}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:T}=f;if(p&&this.currentDirection===null){this.currentDirection=Qu(T),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,T),this.updateAxis("y",f.point,T),this.visualElement.render(),y&&y(c,f)},a=(c,f)=>this.stop(c,f),u=()=>q(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new rr(e,{onSessionStart:i,onStart:o,onMove:r,onSessionEnd:a,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:dr(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&j.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!te(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(r=Uu(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,o=this.constraints;n&&Tt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=$u(i.layoutBox,n):this.constraints=!1,this.elastic=Gu(s),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&q(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Hu(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Tt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Xu(s,i.root,this.visualElement.getTransformPagePoint());let r=Ku(i.layout.layoutBox,o);if(n){const a=n(zu(r));this.hasMutatedConstraints=!!a,a&&(r=lr(a))}return r}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),u=this.constraints||{},l=q(c=>{if(!te(c,n,this.currentDirection))return;let f=u&&u[c]||{};r&&(f={min:0,max:0});const d=i?200:1e6,p=i?40:1e7,g={type:"inertia",velocity:s?e[c]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,g)});return Promise.all(l).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Fe(this.visualElement,e),s.start(En(e,s,0,n,this.visualElement,!1))}stopAnimation(){q(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){q(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){q(n=>{const{drag:s}=this.getProps();if(!te(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[n];o.set(e[n]-B(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!Tt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};q(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const u=a.get();i[r]=Wu({min:u,max:u},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),q(r=>{if(!te(r,e,null))return;const a=this.getAxisMotionValue(r),{min:u,max:l}=this.constraints[r];a.set(B(u,l,i[r]))})}addListeners(){if(!this.visualElement.current)return;Zu.set(this.visualElement,this);const e=this.visualElement.current,n=Bt(e,"pointerdown",u=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(u)}),s=()=>{const{dragConstraints:u}=this.getProps();Tt(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),j.read(s);const r=Wt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:l})=>{this.isDragging&&l&&(q(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=u[c].translate,f.set(f.get()+u[c].translate))}),this.visualElement.render())}));return()=>{r(),n(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=Ke,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function te(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Qu(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class tl extends lt{constructor(e){super(e),this.removeGroupControls=G,this.removeListeners=G,this.controls=new Ju(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||G}unmount(){this.removeGroupControls(),this.removeListeners()}}const As=t=>(e,n)=>{t&&j.postRender(()=>t(e,n))};class el extends lt{constructor(){super(...arguments),this.removePointerDownListener=G}onPointerDown(e){this.session=new rr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:dr(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:As(e),onStart:As(n),onMove:s,onEnd:(o,r)=>{delete this.session,i&&j.postRender(()=>i(o,r))}}}mount(){this.removePointerDownListener=Bt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const se={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ws(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Dt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(w.test(t))t=parseFloat(t);else return t;const n=ws(t,e.target.x),s=ws(t,e.target.y);return`${n}% ${s}%`}},nl={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=ut.parse(t);if(i.length>5)return s;const o=ut.createTransformer(t),r=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,u=n.y.scale*e.y;i[0+r]/=a,i[1+r]/=u;const l=B(a,u,.5);return typeof i[2+r]=="number"&&(i[2+r]/=l),typeof i[3+r]=="number"&&(i[3+r]/=l),o(i)}};class sl extends x.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:o}=e;Ao(il),o&&(n.group&&n.group.add(o),s&&s.register&&i&&s.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),se.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:o}=this.props,r=s.projection;return r&&(r.isPresent=o,i||e.layoutDependency!==n||n===void 0?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||j.postRender(()=>{const a=r.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),nn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function pr(t){const[e,n]=Xs(),s=x.useContext(_t);return tt.jsx(sl,{...t,layoutGroup:s,switchLayoutGroup:x.useContext(ii),isPresent:e,safeToRemove:n})}const il={borderRadius:{...Dt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomLeftRadius:Dt,borderBottomRightRadius:Dt,boxShadow:nl};function rl(t,e,n){const s=K(t)?t:$t(t);return s.start(En("",s,e,n)),s.animation}function ol(t){return t instanceof SVGElement&&t.tagName!=="svg"}const al=(t,e)=>t.depth-e.depth;class ul{constructor(){this.children=[],this.isDirty=!1}add(e){yn(this.children,e),this.isDirty=!0}remove(e){vn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(al),this.isDirty=!1,this.children.forEach(e)}}function ll(t,e){const n=nt.now(),s=({timestamp:i})=>{const o=i-n;o>=e&&(at(s),t(o-e))};return j.read(s,!0),()=>at(s)}const mr=["TopLeft","TopRight","BottomLeft","BottomRight"],cl=mr.length,Cs=t=>typeof t=="string"?parseFloat(t):t,bs=t=>typeof t=="number"||w.test(t);function fl(t,e,n,s,i,o){i?(t.opacity=B(0,n.opacity!==void 0?n.opacity:1,hl(s)),t.opacityExit=B(e.opacity!==void 0?e.opacity:1,0,dl(s))):o&&(t.opacity=B(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let r=0;r<cl;r++){const a=`border${mr[r]}Radius`;let u=Rs(e,a),l=Rs(n,a);if(u===void 0&&l===void 0)continue;u||(u=0),l||(l=0),u===0||l===0||bs(u)===bs(l)?(t[a]=Math.max(B(Cs(u),Cs(l),s),0),(et.test(l)||et.test(u))&&(t[a]+="%")):t[a]=l}(e.rotate||n.rotate)&&(t.rotate=B(e.rotate||0,n.rotate||0,s))}function Rs(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const hl=gr(0,.5,ji),dl=gr(.5,.95,G);function gr(t,e,n){return s=>s<t?0:s>e?1:n(wt(t,e,s))}function Es(t,e){t.min=e.min,t.max=e.max}function Y(t,e){Es(t.x,e.x),Es(t.y,e.y)}function Vs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Ms(t,e,n,s,i){return t-=e,t=ce(t,1/n,s),i!==void 0&&(t=ce(t,1/i,s)),t}function pl(t,e=0,n=1,s=.5,i,o=t,r=t){if(et.test(e)&&(e=parseFloat(e),e=B(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=B(o.min,o.max,s);t===o&&(a-=e),t.min=Ms(t.min,e,n,a,i),t.max=Ms(t.max,e,n,a,i)}function Ds(t,e,[n,s,i],o,r){pl(t,e[n],e[s],e[i],e.scale,o,r)}const ml=["x","scaleX","originX"],gl=["y","scaleY","originY"];function Ls(t,e,n,s){Ds(t.x,e,ml,n?n.x:void 0,s?s.x:void 0),Ds(t.y,e,gl,n?n.y:void 0,s?s.y:void 0)}function ks(t){return t.translate===0&&t.scale===1}function yr(t){return ks(t.x)&&ks(t.y)}function js(t,e){return t.min===e.min&&t.max===e.max}function yl(t,e){return js(t.x,e.x)&&js(t.y,e.y)}function Fs(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function vr(t,e){return Fs(t.x,e.x)&&Fs(t.y,e.y)}function Bs(t){return z(t.x)/z(t.y)}function Is(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class vl{constructor(){this.members=[]}add(e){yn(this.members,e),e.scheduleRender()}remove(e){if(vn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){s=o;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Tl(t,e,n){let s="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=(n==null?void 0:n.z)||0;if((i||o||r)&&(s=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:f,rotateY:d,skewX:p,skewY:g}=n;l&&(s=`perspective(${l}px) ${s}`),c&&(s+=`rotate(${c}deg) `),f&&(s+=`rotateX(${f}deg) `),d&&(s+=`rotateY(${d}deg) `),p&&(s+=`skewX(${p}deg) `),g&&(s+=`skewY(${g}deg) `)}const a=t.x.scale*e.x,u=t.y.scale*e.y;return(a!==1||u!==1)&&(s+=`scale(${a}, ${u})`),s||"none"}const dt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},jt=typeof window<"u"&&window.MotionDebug!==void 0,Ee=["","X","Y","Z"],xl={visibility:"hidden"},Os=1e3;let Pl=0;function Ve(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Tr(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ri(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",j,!(i||o))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Tr(s)}function xr({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=Pl++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,jt&&(dt.totalNodes=dt.resolvedTargetDeltas=dt.recalculatedProjection=0),this.nodes.forEach(wl),this.nodes.forEach(Vl),this.nodes.forEach(Ml),this.nodes.forEach(Cl),jt&&window.MotionDebug.record(dt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new ul)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new Tn),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const u=this.eventHandlers.get(r);u&&u.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ol(r),this.instance=r;const{layoutId:u,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(l||u)&&(this.isLayoutDirty=!0),t){let f;const d=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=ll(d,250),se.hasAnimatedSinceResize&&(se.hasAnimatedSinceResize=!1,this.nodes.forEach(Ns))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&c&&(u||l)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||Fl,{onLayoutAnimationStart:T,onLayoutAnimationComplete:v}=c.getProps(),S=!this.targetLayout||!vr(this.targetLayout,g)||p,A=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||A||d&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,A);const R={...dn(y,"layout"),onPlay:T,onComplete:v};(c.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R)}else d||Ns(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,at(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Dl),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Tr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:u}=this.options;if(a===void 0&&!u)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_s);return}this.isUpdating||this.nodes.forEach(Rl),this.isUpdating=!1,this.nodes.forEach(El),this.nodes.forEach(Sl),this.nodes.forEach(Al),this.clearAllSnapshots();const a=nt.now();U.delta=rt(0,1e3/60,a-U.timestamp),U.timestamp=a,U.isProcessing=!0,Te.update.process(U),Te.preRender.process(U),Te.render.process(U),U.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(bl),this.sharedNodes.forEach(Ll)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=O(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a){const u=s(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:u,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!yr(this.projectionDelta),u=this.getTransformTemplate(),l=u?u(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;r&&(a||ht(this.latestValues)||c)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let u=this.removeElementScroll(a);return r&&(u=this.removeTransform(u)),Bl(u),{animationId:this.root.animationId,measuredBox:a,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){var r;const{visualElement:a}=this.options;if(!a)return O();const u=a.measureViewportBox();if(!(((r=this.scroll)===null||r===void 0?void 0:r.wasRoot)||this.path.some(Il))){const{scroll:c}=this.root;c&&(St(u.x,c.offset.x),St(u.y,c.offset.y))}return u}removeElementScroll(r){var a;const u=O();if(Y(u,r),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return u;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Y(u,r),St(u.x,f.offset.x),St(u.y,f.offset.y))}return u}applyTransform(r,a=!1){const u=O();Y(u,r);for(let l=0;l<this.path.length;l++){const c=this.path[l];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&At(u,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),ht(c.latestValues)&&At(u,c.latestValues)}return ht(this.latestValues)&&At(u,this.latestValues),u}removeTransform(r){const a=O();Y(a,r);for(let u=0;u<this.path.length;u++){const l=this.path[u];if(!l.instance||!ht(l.latestValues))continue;We(l.latestValues)&&l.updateSnapshot();const c=O(),f=l.measurePageBox();Y(c,f),Ls(a,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return ht(this.latestValues)&&Ls(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==U.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var a;const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==u;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=U.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=O(),this.relativeTargetOrigin=O(),Ot(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Y(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=O(),this.targetWithTransforms=O()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Nu(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Y(this.target,this.layout.layoutBox),fr(this.target,this.targetDelta)):Y(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=O(),this.relativeTargetOrigin=O(),Ot(this.relativeTargetOrigin,this.target,p.target),Y(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}jt&&dt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||We(this.parent.latestValues)||cr(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var r;const a=this.getLead(),u=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||!((r=this.parent)===null||r===void 0)&&r.isProjectionDirty)&&(l=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===U.timestamp&&(l=!1),l)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Y(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,p=this.treeScale.y;qu(this.layoutCorrected,this.treeScale,this.path,u),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=O());const{target:g}=a;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Vs(this.prevProjectionDelta.x,this.projectionDelta.x),Vs(this.prevProjectionDelta.y,this.projectionDelta.y)),It(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==p||!Is(this.projectionDelta.x,this.prevProjectionDelta.x)||!Is(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),jt&&dt.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),r){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Pt(),this.projectionDelta=Pt(),this.projectionDeltaWithTransform=Pt()}setAnimationOrigin(r,a=!1){const u=this.snapshot,l=u?u.latestValues:{},c={...this.latestValues},f=Pt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=O(),p=u?u.source:void 0,g=this.layout?this.layout.source:void 0,y=p!==g,T=this.getStack(),v=!T||T.members.length<=1,S=!!(y&&!v&&this.options.crossfade===!0&&!this.path.some(jl));this.animationProgress=0;let A;this.mixTargetDelta=R=>{const P=R/1e3;Us(f.x,r.x,P),Us(f.y,r.y,P),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ot(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),kl(this.relativeTarget,this.relativeTargetOrigin,d,P),A&&yl(this.relativeTarget,A)&&(this.isProjectionDirty=!1),A||(A=O()),Y(A,this.relativeTarget)),y&&(this.animationValues=c,fl(c,l,this.latestValues,P,S,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(at(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=j.update(()=>{se.hasAnimatedSinceResize=!0,this.currentAnimation=rl(0,Os,{...r,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Os),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:u,layout:l,latestValues:c}=r;if(!(!a||!u||!l)){if(this!==r&&this.layout&&l&&Pr(this.options.animationType,this.layout.layoutBox,l.layoutBox)){u=this.target||O();const f=z(this.layout.layoutBox.x);u.x.min=r.target.x.min,u.x.max=u.x.min+f;const d=z(this.layout.layoutBox.y);u.y.min=r.target.y.min,u.y.max=u.y.min+d}Y(a,u),At(a,c),It(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new vl),this.sharedNodes.get(r).add(a);const l=a.options.initialPromotionConfig;a.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())===null||r===void 0?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())===null||r===void 0?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:u}={}){const l=this.getStack();l&&l.promote(this,u),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:u}=r;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(a=!0),!a)return;const l={};u.z&&Ve("z",r,l,this.animationValues);for(let c=0;c<Ee.length;c++)Ve(`rotate${Ee[c]}`,r,l,this.animationValues),Ve(`skew${Ee[c]}`,r,l,this.animationValues);r.render();for(const c in l)r.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);r.scheduleRender()}getProjectionStyles(r){var a,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return xl;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=ee(r==null?void 0:r.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=ee(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!ht(this.latestValues)&&(y.transform=c?c({},""):"none",this.hasProjected=!1),y}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),l.transform=Tl(this.projectionDeltaWithTransform,this.treeScale,d),c&&(l.transform=c(d,l.transform));const{x:p,y:g}=this.projectionDelta;l.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,f.animationValues?l.opacity=f===this?(u=(a=d.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const y in re){if(d[y]===void 0)continue;const{correct:T,applyTo:v}=re[y],S=l.transform==="none"?d[y]:T(d[y],f);if(v){const A=v.length;for(let R=0;R<A;R++)l[v[R]]=S}else l[y]=S}return this.options.layoutId&&(l.pointerEvents=f===this?ee(r==null?void 0:r.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(_s),this.root.sharedNodes.clear()}}}function Sl(t){t.updateLayout()}function Al(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:o}=t.options,r=n.source!==t.layout.source;o==="size"?q(f=>{const d=r?n.measuredBox[f]:n.layoutBox[f],p=z(d);d.min=s[f].min,d.max=d.min+p}):Pr(o,n.layoutBox,s)&&q(f=>{const d=r?n.measuredBox[f]:n.layoutBox[f],p=z(s[f]);d.max=d.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=Pt();It(a,s,n.layoutBox);const u=Pt();r?It(u,t.applyTransform(i,!0),n.measuredBox):It(u,s,n.layoutBox);const l=!yr(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:p}=f;if(d&&p){const g=O();Ot(g,n.layoutBox,d.layoutBox);const y=O();Ot(y,s,p.layoutBox),vr(g,y)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=g,t.relativeParent=f)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:u,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function wl(t){jt&&dt.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Cl(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function bl(t){t.clearSnapshot()}function _s(t){t.clearMeasurements()}function Rl(t){t.isLayoutDirty=!1}function El(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ns(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vl(t){t.resolveTargetDelta()}function Ml(t){t.calcProjection()}function Dl(t){t.resetSkewAndRotation()}function Ll(t){t.removeLeadSnapshot()}function Us(t,e,n){t.translate=B(e.translate,0,n),t.scale=B(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function $s(t,e,n,s){t.min=B(e.min,n.min,s),t.max=B(e.max,n.max,s)}function kl(t,e,n,s){$s(t.x,e.x,n.x,s),$s(t.y,e.y,n.y,s)}function jl(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fl={duration:.45,ease:[.4,0,.1,1]},Ks=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Ws=Ks("applewebkit/")&&!Ks("chrome/")?Math.round:G;function Hs(t){t.min=Ws(t.min),t.max=Ws(t.max)}function Bl(t){Hs(t.x),Hs(t.y)}function Pr(t,e,n){return t==="position"||t==="preserve-aspect"&&!_u(Bs(e),Bs(n),.2)}function Il(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const Ol=xr({attachResizeListener:(t,e)=>Wt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Me={current:void 0},Sr=xr({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Me.current){const t=new Ol({});t.mount(window),t.setOptions({layoutScroll:!0}),Me.current=t}return Me.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),_l={pan:{Feature:el},drag:{Feature:tl,ProjectionNode:Sr,MeasureLayout:pr}};function Gs(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=s[i];o&&j.postRender(()=>o(e,Yt(e)))}class Nl extends lt{mount(){const{current:e}=this.node;e&&(this.unmount=_o(e,n=>(Gs(this.node,n,"Start"),s=>Gs(this.node,s,"End"))))}unmount(){}}class Ul extends lt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=zt(Wt(this.node.current,"focus",()=>this.onFocus()),Wt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function zs(t,e,n){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=s[i];o&&j.postRender(()=>o(e,Yt(e)))}class $l extends lt{mount(){const{current:e}=this.node;e&&(this.unmount=Ko(e,n=>(zs(this.node,n,"Start"),(s,{success:i})=>zs(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ge=new WeakMap,De=new WeakMap,Kl=t=>{const e=Ge.get(t.target);e&&e(t)},Wl=t=>{t.forEach(Kl)};function Hl({root:t,...e}){const n=t||document;De.has(n)||De.set(n,{});const s=De.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(Wl,{root:t,...e})),s[i]}function Gl(t,e,n){const s=Hl(e);return Ge.set(t,n),s.observe(t),()=>{Ge.delete(t),s.unobserve(t)}}const zl={some:0,all:1};class Yl extends lt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:o}=e,r={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:zl[i]},a=u=>{const{isIntersecting:l}=u;if(this.isInView===l||(this.isInView=l,o&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=l?c:f;d&&d(u)};return Gl(this.node.current,r,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(ql(e,n))&&this.startObserver()}unmount(){}}function ql({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Xl={inView:{Feature:Yl},tap:{Feature:$l},focus:{Feature:Ul},hover:{Feature:Nl}},Zl={layout:{ProjectionNode:Sr,MeasureLayout:pr}},ze={current:null},Ar={current:!1};function Jl(){if(Ar.current=!0,!!Xe)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ze.current=t.matches;t.addListener(e),e()}else ze.current=!1}const Ql=[...Yi,$,ut],tc=t=>Ql.find(zi(t)),Ys=new WeakMap;function ec(t,e,n){for(const s in e){const i=e[s],o=n[s];if(K(i))t.addValue(s,i);else if(K(o))t.addValue(s,$t(i,{owner:t}));else if(o!==i)if(t.hasValue(s)){const r=t.getValue(s);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(s);t.addValue(s,$t(r!==void 0?r:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const qs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nc{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Cn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=nt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,j.render(this.render,!1,!0))};const{latestValues:u,renderState:l,onUpdate:c}=r;this.onUpdate=c,this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=l,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=pe(n),this.isVariantNode=ni(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in d){const g=d[p];u[p]!==void 0&&K(g)&&g.set(u[p],!1)}}mount(e){this.current=e,Ys.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),Ar.current||Jl(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ze.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ys.delete(this.current),this.projection&&this.projection.unmount(),at(this.notifyUpdate),at(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=gt.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&j.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ct){const n=Ct[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):O()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<qs.length;s++){const i=qs[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=ec(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=$t(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Hi(i)||Bi(i))?i=parseFloat(i):!tc(i)&&ut.test(n)&&(i=$i(e,n)),this.setBaseTarget(e,K(i)?i.get():i)),K(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const r=rn(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);r&&(i=r[e])}if(s&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!K(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Tn),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class wr extends nc{constructor(){super(...arguments),this.KeyframeResolver=qi}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;K(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function sc(t){return window.getComputedStyle(t)}class ic extends wr{constructor(){super(...arguments),this.type="html",this.renderInstance=fi}readValueFromInstance(e,n){if(gt.has(n)){const s=wn(n);return s&&s.default||0}else{const s=sc(e),i=(ui(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return hr(e,n)}build(e,n,s){un(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return hn(e,n,s)}}class rc extends wr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=O}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(gt.has(n)){const s=wn(n);return s&&s.default||0}return n=hi.has(n)?n:en(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return mi(e,n,s)}build(e,n,s){ln(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){di(e,n,s,i)}mount(e){this.isSVGTag=fn(e.tagName),super.mount(e)}}const oc=(t,e)=>sn(t)?new rc(e):new ic(e,{allowProjection:t!==x.Fragment}),ac=Lo({...Mu,...Xl,..._l,...Zl},oc),fc=Gr(ac);export{uc as A,lc as L,x as a,tt as j,fc as m,Vr as r};
@@ -0,0 +1,32 @@
1
+ /*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */var on=Object.create,je=Object.defineProperty,tn=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyNames,un=Object.getPrototypeOf,fn=Object.prototype.hasOwnProperty,F=(N,x)=>()=>(x||(N((x={exports:{}}).exports,x),N=null),x.exports),pn=(N,x,v,O)=>{if(x&&typeof x=="object"||typeof x=="function")for(var E=cn(x),k=0,d=E.length,g;k<d;k++)g=E[k],!fn.call(N,g)&&g!==v&&je(N,g,{get:(s=>x[s]).bind(null,g),enumerable:!(O=tn(x,g))||O.enumerable});return N},an=(N,x,v)=>(v=N!=null?on(un(N)):{},pn(je(v,"default",{value:N,enumerable:!0}),N)),he=F(((N,x)=>{function v(s){return typeof s>"u"||s===null}function O(s){return typeof s=="object"&&s!==null}function E(s){return Array.isArray(s)?s:v(s)?[]:[s]}function k(s,a){if(a){const C=Object.keys(a);for(let l=0,c=C.length;l<c;l+=1){const _=C[l];s[_]=a[_]}}return s}function d(s,a){let C="";for(let l=0;l<a;l+=1)C+=s;return C}function g(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}x.exports.isNothing=v,x.exports.isObject=O,x.exports.toArray=E,x.exports.repeat=d,x.exports.isNegativeZero=g,x.exports.extend=k})),de=F(((N,x)=>{function v(E,k){let d="";const g=E.reason||"(unknown reason)";return E.mark?(E.mark.name&&(d+='in "'+E.mark.name+'" '),d+="("+(E.mark.line+1)+":"+(E.mark.column+1)+")",!k&&E.mark.snippet&&(d+=`
2
+
3
+ `+E.mark.snippet),g+" "+d):g}function O(E,k){Error.call(this),this.name="YAMLException",this.reason=E,this.mark=k,this.message=v(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O.prototype.toString=function(k){return this.name+": "+v(this,k)},x.exports=O})),sn=F(((N,x)=>{var v=he();function O(d,g,s,a,C){let l="",c="";const _=Math.floor(C/2)-1;return a-g>_&&(l=" ... ",g=a-_+l.length),s-a>_&&(c=" ...",s=a+_-c.length),{str:l+d.slice(g,s).replace(/\t/g,"→")+c,pos:a-g+l.length}}function E(d,g){return v.repeat(" ",g-d.length)+d}function k(d,g){if(g=Object.create(g||null),!d.buffer)return null;g.maxLength||(g.maxLength=79),typeof g.indent!="number"&&(g.indent=1),typeof g.linesBefore!="number"&&(g.linesBefore=3),typeof g.linesAfter!="number"&&(g.linesAfter=2);const s=/\r?\n|\r|\0/g,a=[0],C=[];let l,c=-1;for(;l=s.exec(d.buffer);)C.push(l.index),a.push(l.index+l[0].length),d.position<=l.index&&c<0&&(c=a.length-2);c<0&&(c=a.length-1);let _="";const I=Math.min(d.line+g.linesAfter,C.length).toString().length,R=g.maxLength-(g.indent+I+3);for(let Y=1;Y<=g.linesBefore&&!(c-Y<0);Y++){const G=O(d.buffer,a[c-Y],C[c-Y],d.position-(a[c]-a[c-Y]),R);_=v.repeat(" ",g.indent)+E((d.line-Y+1).toString(),I)+" | "+G.str+`
4
+ `+_}const Z=O(d.buffer,a[c],C[c],d.position,R);_+=v.repeat(" ",g.indent)+E((d.line+1).toString(),I)+" | "+Z.str+`
5
+ `,_+=v.repeat("-",g.indent+I+3+Z.pos)+`^
6
+ `;for(let Y=1;Y<=g.linesAfter&&!(c+Y>=C.length);Y++){const G=O(d.buffer,a[c+Y],C[c+Y],d.position-(a[c]-a[c+Y]),R);_+=v.repeat(" ",g.indent)+E((d.line+Y+1).toString(),I)+" | "+G.str+`
7
+ `}return _.replace(/\n$/,"")}x.exports=k})),H=F(((N,x)=>{var v=de(),O=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],E=["scalar","sequence","mapping"];function k(g){const s={};return g!==null&&Object.keys(g).forEach(function(a){g[a].forEach(function(C){s[String(C)]=a})}),s}function d(g,s){if(s=s||{},Object.keys(s).forEach(function(a){if(O.indexOf(a)===-1)throw new v('Unknown option "'+a+'" is met in definition of "'+g+'" YAML type.')}),this.options=s,this.tag=g,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.representName=s.representName||null,this.defaultStyle=s.defaultStyle||null,this.multi=s.multi||!1,this.styleAliases=k(s.styleAliases||null),E.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+g+'" YAML type.')}x.exports=d})),qe=F(((N,x)=>{var v=de(),O=H();function E(g,s){const a=[];return g[s].forEach(function(C){let l=a.length;a.forEach(function(c,_){c.tag===C.tag&&c.kind===C.kind&&c.multi===C.multi&&(l=_)}),a[l]=C}),a}function k(){const g={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(a){a.multi?(g.multi[a.kind].push(a),g.multi.fallback.push(a)):g[a.kind][a.tag]=g.fallback[a.tag]=a}for(let a=0,C=arguments.length;a<C;a+=1)arguments[a].forEach(s);return g}function d(g){return this.extend(g)}d.prototype.extend=function(s){let a=[],C=[];if(s instanceof O)C.push(s);else if(Array.isArray(s))C=C.concat(s);else if(s&&(Array.isArray(s.implicit)||Array.isArray(s.explicit)))s.implicit&&(a=a.concat(s.implicit)),s.explicit&&(C=C.concat(s.explicit));else throw new v("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");a.forEach(function(c){if(!(c instanceof O))throw new v("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(c.loadKind&&c.loadKind!=="scalar")throw new v("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(c.multi)throw new v("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),C.forEach(function(c){if(!(c instanceof O))throw new v("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const l=Object.create(d.prototype);return l.implicit=(this.implicit||[]).concat(a),l.explicit=(this.explicit||[]).concat(C),l.compiledImplicit=E(l,"implicit"),l.compiledExplicit=E(l,"explicit"),l.compiledTypeMap=k(l.compiledImplicit,l.compiledExplicit),l},x.exports=d})),He=F(((N,x)=>{x.exports=new(H())("tag:yaml.org,2002:str",{kind:"scalar",construct:function(v){return v!==null?v:""}})})),Be=F(((N,x)=>{x.exports=new(H())("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(v){return v!==null?v:[]}})})),Ue=F(((N,x)=>{x.exports=new(H())("tag:yaml.org,2002:map",{kind:"mapping",construct:function(v){return v!==null?v:{}}})})),Ke=F(((N,x)=>{x.exports=new(qe())({explicit:[He(),Be(),Ue()]})})),Ge=F(((N,x)=>{var v=H();function O(d){if(d===null)return!0;const g=d.length;return g===1&&d==="~"||g===4&&(d==="null"||d==="Null"||d==="NULL")}function E(){return null}function k(d){return d===null}x.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:O,construct:E,predicate:k,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})})),We=F(((N,x)=>{var v=H();function O(d){if(d===null)return!1;const g=d.length;return g===4&&(d==="true"||d==="True"||d==="TRUE")||g===5&&(d==="false"||d==="False"||d==="FALSE")}function E(d){return d==="true"||d==="True"||d==="TRUE"}function k(d){return Object.prototype.toString.call(d)==="[object Boolean]"}x.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:O,construct:E,predicate:k,represent:{lowercase:function(d){return d?"true":"false"},uppercase:function(d){return d?"TRUE":"FALSE"},camelcase:function(d){return d?"True":"False"}},defaultStyle:"lowercase"})})),Qe=F(((N,x)=>{var v=he(),O=H();function E(l){return l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102}function k(l){return l>=48&&l<=55}function d(l){return l>=48&&l<=57}function g(l){if(l===null)return!1;const c=l.length;let _=0,I=!1;if(!c)return!1;let R=l[_];if((R==="-"||R==="+")&&(R=l[++_]),R==="0"){if(_+1===c)return!0;if(R=l[++_],R==="b"){for(_++;_<c;_++){if(R=l[_],R!=="0"&&R!=="1")return!1;I=!0}return I&&Number.isFinite(s(l))}if(R==="x"){for(_++;_<c;_++){if(!E(l.charCodeAt(_)))return!1;I=!0}return I&&Number.isFinite(s(l))}if(R==="o"){for(_++;_<c;_++){if(!k(l.charCodeAt(_)))return!1;I=!0}return I&&Number.isFinite(s(l))}}for(;_<c;_++){if(!d(l.charCodeAt(_)))return!1;I=!0}return I?Number.isFinite(s(l)):!1}function s(l){let c=l,_=1,I=c[0];if((I==="-"||I==="+")&&(I==="-"&&(_=-1),c=c.slice(1),I=c[0]),c==="0")return 0;if(I==="0"){if(c[1]==="b")return _*parseInt(c.slice(2),2);if(c[1]==="x")return _*parseInt(c.slice(2),16);if(c[1]==="o")return _*parseInt(c.slice(2),8)}return _*parseInt(c,10)}function a(l){return s(l)}function C(l){return Object.prototype.toString.call(l)==="[object Number]"&&l%1===0&&!v.isNegativeZero(l)}x.exports=new O("tag:yaml.org,2002:int",{kind:"scalar",resolve:g,construct:a,predicate:C,represent:{binary:function(l){return l>=0?"0b"+l.toString(2):"-0b"+l.toString(2).slice(1)},octal:function(l){return l>=0?"0o"+l.toString(8):"-0o"+l.toString(8).slice(1)},decimal:function(l){return l.toString(10)},hexadecimal:function(l){return l>=0?"0x"+l.toString(16).toUpperCase():"-0x"+l.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})})),Ve=F(((N,x)=>{var v=he(),O=H(),E=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),k=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function d(l){return l===null||!E.test(l)?!1:Number.isFinite(parseFloat(l,10))?!0:k.test(l)}function g(l){let c=l.toLowerCase();const _=c[0]==="-"?-1:1;return"+-".indexOf(c[0])>=0&&(c=c.slice(1)),c===".inf"?_===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:c===".nan"?NaN:_*parseFloat(c,10)}var s=/^[-+]?[0-9]+e/;function a(l,c){if(isNaN(l))switch(c){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===l)switch(c){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===l)switch(c){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(l))return"-0.0";const _=l.toString(10);return s.test(_)?_.replace("e",".e"):_}function C(l){return Object.prototype.toString.call(l)==="[object Number]"&&(l%1!==0||v.isNegativeZero(l))}x.exports=new O("tag:yaml.org,2002:float",{kind:"scalar",resolve:d,construct:g,predicate:C,represent:a,defaultStyle:"lowercase"})})),Xe=F(((N,x)=>{x.exports=Ke().extend({implicit:[Ge(),We(),Qe(),Ve()]})})),$e=F(((N,x)=>{x.exports=Xe()})),Ze=F(((N,x)=>{var v=H(),O=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),E=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function k(s){return s===null?!1:O.exec(s)!==null||E.exec(s)!==null}function d(s){let a=0,C=null,l=O.exec(s);if(l===null&&(l=E.exec(s)),l===null)throw new Error("Date resolve error");const c=+l[1],_=+l[2]-1,I=+l[3];if(!l[4])return new Date(Date.UTC(c,_,I));const R=+l[4],Z=+l[5],Y=+l[6];if(l[7]){for(a=l[7].slice(0,3);a.length<3;)a+="0";a=+a}if(l[9]){const ee=+l[10],B=+(l[11]||0);C=(ee*60+B)*6e4,l[9]==="-"&&(C=-C)}const G=new Date(Date.UTC(c,_,I,R,Z,Y,a));return C&&G.setTime(G.getTime()-C),G}function g(s){return s.toISOString()}x.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:k,construct:d,instanceOf:Date,represent:g})})),ze=F(((N,x)=>{var v=H();function O(E){return E==="<<"||E===null}x.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:O})})),Je=F(((N,x)=>{var v=H(),O=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function E(s){if(s===null)return!1;let a=0;const C=s.length,l=O;for(let c=0;c<C;c++){const _=l.indexOf(s.charAt(c));if(!(_>64)){if(_<0)return!1;a+=6}}return a%8===0}function k(s){const a=s.replace(/[\r\n=]/g,""),C=a.length,l=O;let c=0;const _=[];for(let R=0;R<C;R++)R%4===0&&R&&(_.push(c>>16&255),_.push(c>>8&255),_.push(c&255)),c=c<<6|l.indexOf(a.charAt(R));const I=C%4*6;return I===0?(_.push(c>>16&255),_.push(c>>8&255),_.push(c&255)):I===18?(_.push(c>>10&255),_.push(c>>2&255)):I===12&&_.push(c>>4&255),new Uint8Array(_)}function d(s){let a="",C=0;const l=s.length,c=O;for(let I=0;I<l;I++)I%3===0&&I&&(a+=c[C>>18&63],a+=c[C>>12&63],a+=c[C>>6&63],a+=c[C&63]),C=(C<<8)+s[I];const _=l%3;return _===0?(a+=c[C>>18&63],a+=c[C>>12&63],a+=c[C>>6&63],a+=c[C&63]):_===2?(a+=c[C>>10&63],a+=c[C>>4&63],a+=c[C<<2&63],a+=c[64]):_===1&&(a+=c[C>>2&63],a+=c[C<<4&63],a+=c[64],a+=c[64]),a}function g(s){return Object.prototype.toString.call(s)==="[object Uint8Array]"}x.exports=new v("tag:yaml.org,2002:binary",{kind:"scalar",resolve:E,construct:k,predicate:g,represent:d})})),en=F(((N,x)=>{var v=H(),O=Object.prototype.hasOwnProperty,E=Object.prototype.toString;function k(g){if(g===null)return!0;const s=[],a=g;for(let C=0,l=a.length;C<l;C+=1){const c=a[C];let _=!1;if(E.call(c)!=="[object Object]")return!1;let I;for(I in c)if(O.call(c,I))if(!_)_=!0;else return!1;if(!_)return!1;if(s.indexOf(I)===-1)s.push(I);else return!1}return!0}function d(g){return g!==null?g:[]}x.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:k,construct:d})})),nn=F(((N,x)=>{var v=H(),O=Object.prototype.toString;function E(d){if(d===null)return!0;const g=d,s=new Array(g.length);for(let a=0,C=g.length;a<C;a+=1){const l=g[a];if(O.call(l)!=="[object Object]")return!1;const c=Object.keys(l);if(c.length!==1)return!1;s[a]=[c[0],l[c[0]]]}return!0}function k(d){if(d===null)return[];const g=d,s=new Array(g.length);for(let a=0,C=g.length;a<C;a+=1){const l=g[a],c=Object.keys(l);s[a]=[c[0],l[c[0]]]}return s}x.exports=new v("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:E,construct:k})})),rn=F(((N,x)=>{var v=H(),O=Object.prototype.hasOwnProperty;function E(d){if(d===null)return!0;const g=d;for(const s in g)if(O.call(g,s)&&g[s]!==null)return!1;return!0}function k(d){return d!==null?d:{}}x.exports=new v("tag:yaml.org,2002:set",{kind:"mapping",resolve:E,construct:k})})),Ye=F(((N,x)=>{x.exports=$e().extend({implicit:[Ze(),ze()],explicit:[Je(),en(),nn(),rn()]})})),hn=F(((N,x)=>{var v=he(),O=de(),E=sn(),k=Ye(),d=Object.prototype.hasOwnProperty,g=1,s=2,a=3,C=4,l=1,c=2,_=3,I=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R=/[\x85\u2028\u2029]/,Z=/[,\[\]{}]/,Y=/^(?:!|!!|![0-9A-Za-z-]+!)$/,G=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function ee(e){return Object.prototype.toString.call(e)}function B(e){return e===10||e===13}function U(e){return e===9||e===32}function q(e){return e===9||e===32||e===10||e===13}function z(e){return e===44||e===91||e===93||e===123||e===125}function Oe(e){if(e>=48&&e<=57)return e-48;const i=e|32;return i>=97&&i<=102?i-97+10:-1}function Le(e){return e===120?2:e===117?4:e===85?8:0}function me(e){return e>=48&&e<=57?e-48:-1}function te(e){switch(e){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
9
+ `;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"…";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function Ie(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function ce(e,i,t){i==="__proto__"?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:t}):e[i]=t}var ge=new Array(256),ue=new Array(256);for(let e=0;e<256;e++)ge[e]=te(e)?1:0,ue[e]=te(e);function j(e,i){this.input=e,this.filename=i.filename||null,this.schema=i.schema||k,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.maxDepth=typeof i.maxDepth=="number"?i.maxDepth:100,this.maxMergeSeqLength=typeof i.maxMergeSeqLength=="number"?i.maxMergeSeqLength:20,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function Ae(e,i){const t={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return t.snippet=E(t),new O(i,t)}function w(e,i){throw Ae(e,i)}function ie(e,i){e.onWarning&&e.onWarning.call(null,Ae(e,i))}function W(e,i,t){const p=e.anchorMapTransactions;if(p.length!==0){const o=p[p.length-1];d.call(o,i)||(o[i]={existed:d.call(e.anchorMap,i),value:e.anchorMap[i]})}e.anchorMap[i]=t}function ke(e){e.anchorMapTransactions.push(Object.create(null))}function ne(e){const i=e.anchorMapTransactions.pop(),t=e.anchorMapTransactions;if(t.length===0)return;const p=t[t.length-1],o=Object.keys(i);for(let y=0,n=o.length;y<n;y+=1){const r=o[y];d.call(p,r)||(p[r]=i[r])}}function Ne(e){const i=e.anchorMapTransactions.pop(),t=Object.keys(i);for(let p=t.length-1;p>=0;p-=1){const o=i[t[p]];o.existed?e.anchorMap[t[p]]=o.value:delete e.anchorMap[t[p]]}}function fe(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function re(e,i){e.position=i.position,e.line=i.line,e.lineStart=i.lineStart,e.lineIndent=i.lineIndent,e.firstTabInLine=i.firstTabInLine,e.tag=i.tag,e.anchor=i.anchor,e.kind=i.kind,e.result=i.result}var ye={YAML:function(i,t,p){i.version!==null&&w(i,"duplication of %YAML directive"),p.length!==1&&w(i,"YAML directive accepts exactly one argument");const o=/^([0-9]+)\.([0-9]+)$/.exec(p[0]);o===null&&w(i,"ill-formed argument of the YAML directive");const y=parseInt(o[1],10),n=parseInt(o[2],10);y!==1&&w(i,"unacceptable YAML version of the document"),i.version=p[0],i.checkLineBreaks=n<2,n!==1&&n!==2&&ie(i,"unsupported YAML version of the document")},TAG:function(i,t,p){let o;p.length!==2&&w(i,"TAG directive accepts exactly two arguments");const y=p[0];o=p[1],Y.test(y)||w(i,"ill-formed tag handle (first argument) of the TAG directive"),d.call(i.tagMap,y)&&w(i,'there is a previously declared suffix for "'+y+'" tag handle'),G.test(o)||w(i,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{w(i,"tag prefix is malformed: "+o)}i.tagMap[y]=o}};function K(e,i,t,p){if(i<t){const o=e.input.slice(i,t);if(p)for(let y=0,n=o.length;y<n;y+=1){const r=o.charCodeAt(y);r===9||r>=32&&r<=1114111||w(e,"expected valid JSON character")}else I.test(o)&&w(e,"the stream contains non-printable characters");e.result+=o}}function J(e,i,t,p){v.isObject(t)||w(e,"cannot merge mappings; the provided source object is unacceptable");const o=Object.keys(t);for(let y=0,n=o.length;y<n;y+=1){const r=o[y];d.call(i,r)||(ce(i,r,t[r]),p[r]=!0)}}function Q(e,i,t,p,o,y,n,r,A){if(Array.isArray(o)){o=Array.prototype.slice.call(o);for(let u=0,f=o.length;u<f;u+=1)Array.isArray(o[u])&&w(e,"nested arrays are not supported inside keys"),typeof o=="object"&&ee(o[u])==="[object Object]"&&(o[u]="[object Object]")}if(typeof o=="object"&&ee(o)==="[object Object]"&&(o="[object Object]"),o=String(o),i===null&&(i={}),p==="tag:yaml.org,2002:merge")if(Array.isArray(y)){y.length>e.maxMergeSeqLength&&w(e,"merge sequence length exceeded maxMergeSeqLength ("+e.maxMergeSeqLength+")");const u=new Set;for(let f=0,m=y.length;f<m;f+=1){const h=y[f];u.has(h)||(u.add(h),J(e,i,h,t))}}else J(e,i,y,t);else!e.json&&!d.call(t,o)&&d.call(i,o)&&(e.line=n||e.line,e.lineStart=r||e.lineStart,e.position=A||e.position,w(e,"duplicated mapping key")),ce(i,o,y),delete t[o];return i}function le(e){const i=e.input.charCodeAt(e.position);i===10?e.position++:i===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):w(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function D(e,i,t){let p=0,o=e.input.charCodeAt(e.position);for(;o!==0;){for(;U(o);)o===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(i&&o===35)do o=e.input.charCodeAt(++e.position);while(o!==10&&o!==13&&o!==0);if(B(o))for(le(e),o=e.input.charCodeAt(e.position),p++,e.lineIndent=0;o===32;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return t!==-1&&p!==0&&e.lineIndent<t&&ie(e,"deficient indentation"),p}function oe(e){let i=e.position,t=e.input.charCodeAt(i);return!!((t===45||t===46)&&t===e.input.charCodeAt(i+1)&&t===e.input.charCodeAt(i+2)&&(i+=3,t=e.input.charCodeAt(i),t===0||q(t)))}function V(e,i){i===1?e.result+=" ":i>1&&(e.result+=v.repeat(`
10
+ `,i-1))}function xe(e,i,t){let p,o,y,n,r,A;const u=e.kind,f=e.result;let m=e.input.charCodeAt(e.position);if(q(m)||z(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96)return!1;if(m===63||m===45){const h=e.input.charCodeAt(e.position+1);if(q(h)||t&&z(h))return!1}for(e.kind="scalar",e.result="",p=o=e.position,y=!1;m!==0;){if(m===58){const h=e.input.charCodeAt(e.position+1);if(q(h)||t&&z(h))break}else if(m===35){if(q(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&oe(e)||t&&z(m))break;if(B(m))if(n=e.line,r=e.lineStart,A=e.lineIndent,D(e,!1,-1),e.lineIndent>=i){y=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=n,e.lineStart=r,e.lineIndent=A;break}}y&&(K(e,p,o,!1),V(e,e.line-n),p=o=e.position,y=!1),U(m)||(o=e.position+1),m=e.input.charCodeAt(++e.position)}return K(e,p,o,!1),e.result?!0:(e.kind=u,e.result=f,!1)}function _e(e,i){let t,p,o=e.input.charCodeAt(e.position);if(o!==39)return!1;for(e.kind="scalar",e.result="",e.position++,t=p=e.position;(o=e.input.charCodeAt(e.position))!==0;)if(o===39)if(K(e,t,e.position,!0),o=e.input.charCodeAt(++e.position),o===39)t=e.position,e.position++,p=e.position;else return!0;else B(o)?(K(e,t,p,!0),V(e,D(e,!1,i)),t=p=e.position):e.position===e.lineStart&&oe(e)?w(e,"unexpected end of the document within a single quoted scalar"):(e.position++,U(o)||(p=e.position));w(e,"unexpected end of the stream within a single quoted scalar")}function pe(e,i){let t,p,o,y=e.input.charCodeAt(e.position);if(y!==34)return!1;for(e.kind="scalar",e.result="",e.position++,t=p=e.position;(y=e.input.charCodeAt(e.position))!==0;){if(y===34)return K(e,t,e.position,!0),e.position++,!0;if(y===92){if(K(e,t,e.position,!0),y=e.input.charCodeAt(++e.position),B(y))D(e,!1,i);else if(y<256&&ge[y])e.result+=ue[y],e.position++;else if((o=Le(y))>0){let n=o,r=0;for(;n>0;n--)y=e.input.charCodeAt(++e.position),(o=Oe(y))>=0?r=(r<<4)+o:w(e,"expected hexadecimal character");e.result+=Ie(r),e.position++}else w(e,"unknown escape sequence");t=p=e.position}else B(y)?(K(e,t,p,!0),V(e,D(e,!1,i)),t=p=e.position):e.position===e.lineStart&&oe(e)?w(e,"unexpected end of the document within a double quoted scalar"):(e.position++,U(y)||(p=e.position))}w(e,"unexpected end of the stream within a double quoted scalar")}function Ce(e,i){let t=!0,p,o,y;const n=e.tag;let r;const A=e.anchor;let u,f,m,h;const b=Object.create(null);let S,T,L,M=e.input.charCodeAt(e.position);if(M===91)u=93,h=!1,r=[];else if(M===123)u=125,h=!0,r={};else return!1;for(e.anchor!==null&&W(e,e.anchor,r),M=e.input.charCodeAt(++e.position);M!==0;){if(D(e,!0,i),M=e.input.charCodeAt(e.position),M===u)return e.position++,e.tag=n,e.anchor=A,e.kind=h?"mapping":"sequence",e.result=r,!0;t?M===44&&w(e,"expected the node content, but found ','"):w(e,"missed comma between flow collection entries"),T=S=L=null,f=m=!1,M===63&&q(e.input.charCodeAt(e.position+1))&&(f=m=!0,e.position++,D(e,!0,i)),p=e.line,o=e.lineStart,y=e.position,$(e,i,g,!1,!0),T=e.tag,S=e.result,D(e,!0,i),M=e.input.charCodeAt(e.position),(m||e.line===p)&&M===58&&(f=!0,M=e.input.charCodeAt(++e.position),D(e,!0,i),$(e,i,g,!1,!0),L=e.result),h?Q(e,r,b,T,S,L,p,o,y):f?r.push(Q(e,null,b,T,S,L,p,o,y)):r.push(S),D(e,!0,i),M=e.input.charCodeAt(e.position),M===44?(t=!0,M=e.input.charCodeAt(++e.position)):t=!1}w(e,"unexpected end of the stream within a flow collection")}function ve(e,i){let t,p=l,o=!1,y=!1,n=i,r=0,A=!1,u,f=e.input.charCodeAt(e.position);if(f===124)t=!1;else if(f===62)t=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)l===p?p=f===43?_:c:w(e,"repeat of a chomping mode identifier");else if((u=me(f))>=0)u===0?w(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):y?w(e,"repeat of an indentation width identifier"):(n=i+u-1,y=!0);else break;if(U(f)){do f=e.input.charCodeAt(++e.position);while(U(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!B(f)&&f!==0)}for(;f!==0;){for(le(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!y||e.lineIndent<n)&&f===32;)e.lineIndent++,f=e.input.charCodeAt(++e.position);if(!y&&e.lineIndent>n&&(n=e.lineIndent),B(f)){r++;continue}if(!y&&n===0&&w(e,"missing indentation for block scalar"),e.lineIndent<n){p===_?e.result+=v.repeat(`
11
+ `,o?1+r:r):p===l&&o&&(e.result+=`
12
+ `);break}t?U(f)?(A=!0,e.result+=v.repeat(`
13
+ `,o?1+r:r)):A?(A=!1,e.result+=v.repeat(`
14
+ `,r+1)):r===0?o&&(e.result+=" "):e.result+=v.repeat(`
15
+ `,r):e.result+=v.repeat(`
16
+ `,o?1+r:r),o=!0,y=!0,r=0;const m=e.position;for(;!B(f)&&f!==0;)f=e.input.charCodeAt(++e.position);K(e,m,e.position,!1)}return!0}function X(e,i){const t=e.tag,p=e.anchor,o=[];let y=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&W(e,e.anchor,o);let n=e.input.charCodeAt(e.position);for(;n!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,w(e,"tab characters must not be used in indentation")),!(n!==45||!q(e.input.charCodeAt(e.position+1))));){if(y=!0,e.position++,D(e,!0,-1)&&e.lineIndent<=i){o.push(null),n=e.input.charCodeAt(e.position);continue}const r=e.line;if($(e,i,a,!1,!0),o.push(e.result),D(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>i)&&n!==0)w(e,"bad indentation of a sequence entry");else if(e.lineIndent<i)break}return y?(e.tag=t,e.anchor=p,e.kind="sequence",e.result=o,!0):!1}function Se(e,i,t){let p,o,y,n;const r=e.tag,A=e.anchor,u={},f=Object.create(null);let m=null,h=null,b=null,S=!1,T=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&W(e,e.anchor,u);let L=e.input.charCodeAt(e.position);for(;L!==0;){!S&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,w(e,"tab characters must not be used in indentation"));const M=e.input.charCodeAt(e.position+1),P=e.line;if((L===63||L===58)&&q(M))L===63?(S&&(Q(e,u,f,m,h,null,o,y,n),m=h=b=null),T=!0,S=!0,p=!0):S?(S=!1,p=!0):w(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,L=M;else{if(o=e.line,y=e.lineStart,n=e.position,!$(e,t,s,!1,!0))break;if(e.line===P){for(L=e.input.charCodeAt(e.position);U(L);)L=e.input.charCodeAt(++e.position);if(L===58)L=e.input.charCodeAt(++e.position),q(L)||w(e,"a whitespace character is expected after the key-value separator within a block mapping"),S&&(Q(e,u,f,m,h,null,o,y,n),m=h=b=null),T=!0,S=!1,p=!1,m=e.tag,h=e.result;else if(T)w(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=r,e.anchor=A,!0}else if(T)w(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=r,e.anchor=A,!0}if((e.line===P||e.lineIndent>i)&&(S&&(o=e.line,y=e.lineStart,n=e.position),$(e,i,C,!0,p)&&(S?h=e.result:b=e.result),S||(Q(e,u,f,m,h,b,o,y,n),m=h=b=null),D(e,!0,-1),L=e.input.charCodeAt(e.position)),(e.line===P||e.lineIndent>i)&&L!==0)w(e,"bad indentation of a mapping entry");else if(e.lineIndent<i)break}return S&&Q(e,u,f,m,h,null,o,y,n),T&&(e.tag=r,e.anchor=A,e.kind="mapping",e.result=u),T}function Me(e){let i=!1,t=!1,p,o,y=e.input.charCodeAt(e.position);if(y!==33)return!1;e.tag!==null&&w(e,"duplication of a tag property"),y=e.input.charCodeAt(++e.position),y===60?(i=!0,y=e.input.charCodeAt(++e.position)):y===33?(t=!0,p="!!",y=e.input.charCodeAt(++e.position)):p="!";let n=e.position;if(i){do y=e.input.charCodeAt(++e.position);while(y!==0&&y!==62);e.position<e.length?(o=e.input.slice(n,e.position),y=e.input.charCodeAt(++e.position)):w(e,"unexpected end of the stream within a verbatim tag")}else{for(;y!==0&&!q(y);)y===33&&(t?w(e,"tag suffix cannot contain exclamation marks"):(p=e.input.slice(n-1,e.position+1),Y.test(p)||w(e,"named tag handle cannot contain such characters"),t=!0,n=e.position+1)),y=e.input.charCodeAt(++e.position);o=e.input.slice(n,e.position),Z.test(o)&&w(e,"tag suffix cannot contain flow indicator characters")}o&&!G.test(o)&&w(e,"tag name cannot contain such characters: "+o);try{o=decodeURIComponent(o)}catch{w(e,"tag name is malformed: "+o)}return i?e.tag=o:d.call(e.tagMap,p)?e.tag=e.tagMap[p]+o:p==="!"?e.tag="!"+o:p==="!!"?e.tag="tag:yaml.org,2002:"+o:w(e,'undeclared tag handle "'+p+'"'),!0}function be(e){let i=e.input.charCodeAt(e.position);if(i!==38)return!1;e.anchor!==null&&w(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position);const t=e.position;for(;i!==0&&!q(i)&&!z(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&w(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function we(e){let i=e.input.charCodeAt(e.position);if(i!==42)return!1;i=e.input.charCodeAt(++e.position);const t=e.position;for(;i!==0&&!q(i)&&!z(i);)i=e.input.charCodeAt(++e.position);e.position===t&&w(e,"name of an alias node must contain at least one character");const p=e.input.slice(t,e.position);return d.call(e.anchorMap,p)||w(e,'unidentified alias "'+p+'"'),e.result=e.anchorMap[p],D(e,!0,-1),!0}function Re(e,i,t,p){const o=fe(e);return ke(e),re(e,i),e.tag=null,e.anchor=null,e.kind=null,e.result=null,Se(e,t,p)&&e.kind==="mapping"?(ne(e),!0):(Ne(e),re(e,o),!1)}function $(e,i,t,p,o){let y,n,r=1,A=!1,u=!1,f=null,m,h,b;e.depth>=e.maxDepth&&w(e,"nesting exceeded maxDepth ("+e.maxDepth+")"),e.depth+=1,e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;const S=y=n=C===t||a===t;if(p&&D(e,!0,-1)&&(A=!0,e.lineIndent>i?r=1:e.lineIndent===i?r=0:e.lineIndent<i&&(r=-1)),r===1)for(;;){const T=e.input.charCodeAt(e.position),L=fe(e);if(A&&(T===33&&e.tag!==null||T===38&&e.anchor!==null)||!Me(e)&&!be(e))break;f===null&&(f=L),D(e,!0,-1)?(A=!0,n=S,e.lineIndent>i?r=1:e.lineIndent===i?r=0:e.lineIndent<i&&(r=-1)):n=!1}if(n&&(n=A||o),r===1||C===t)if(g===t||s===t?h=i:h=i+1,b=e.position-e.lineStart,r===1)if(n&&(X(e,b)||Se(e,b,h))||Ce(e,h))u=!0;else{const T=e.input.charCodeAt(e.position);f!==null&&S&&!n&&T!==124&&T!==62&&Re(e,f,f.position-f.lineStart,h)||y&&ve(e,h)||_e(e,h)||pe(e,h)?u=!0:we(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&w(e,"alias node should not have any properties")):xe(e,h,g===t)&&(u=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&W(e,e.anchor,e.result)}else r===0&&(u=n&&X(e,b));if(e.tag===null)e.anchor!==null&&W(e,e.anchor,e.result);else if(e.tag==="?"){e.result!==null&&e.kind!=="scalar"&&w(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"');for(let T=0,L=e.implicitTypes.length;T<L;T+=1)if(m=e.implicitTypes[T],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&W(e,e.anchor,e.result);break}}else if(e.tag!=="!"){if(d.call(e.typeMap[e.kind||"fallback"],e.tag))m=e.typeMap[e.kind||"fallback"][e.tag];else{m=null;const T=e.typeMap.multi[e.kind||"fallback"];for(let L=0,M=T.length;L<M;L+=1)if(e.tag.slice(0,T[L].tag.length)===T[L].tag){m=T[L];break}}m||w(e,"unknown tag !<"+e.tag+">"),e.result!==null&&m.kind!==e.kind&&w(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&W(e,e.anchor,e.result)):w(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.depth-=1,e.tag!==null||e.anchor!==null||u}function Fe(e){const i=e.position;let t=!1,p;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(p=e.input.charCodeAt(e.position))!==0&&(D(e,!0,-1),p=e.input.charCodeAt(e.position),!(e.lineIndent>0||p!==37));){t=!0,p=e.input.charCodeAt(++e.position);let o=e.position;for(;p!==0&&!q(p);)p=e.input.charCodeAt(++e.position);const y=e.input.slice(o,e.position),n=[];for(y.length<1&&w(e,"directive name must not be less than one character in length");p!==0;){for(;U(p);)p=e.input.charCodeAt(++e.position);if(p===35){do p=e.input.charCodeAt(++e.position);while(p!==0&&!B(p));break}if(B(p))break;for(o=e.position;p!==0&&!q(p);)p=e.input.charCodeAt(++e.position);n.push(e.input.slice(o,e.position))}p!==0&&le(e),d.call(ye,y)?ye[y](e,y,n):ie(e,'unknown document directive "'+y+'"')}if(D(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,D(e,!0,-1)):t&&w(e,"directives end mark is expected"),$(e,e.lineIndent-1,C,!1,!0),D(e,!0,-1),e.checkLineBreaks&&R.test(e.input.slice(i,e.position))&&ie(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&oe(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,D(e,!0,-1));return}e.position<e.length-1&&w(e,"end of the stream or a document separator is expected")}function Te(e,i){e=String(e),i=i||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
17
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));const t=new j(e,i),p=e.indexOf("\0");for(p!==-1&&(t.position=p,w(t,"null byte is not allowed in input")),t.input+="\0";t.input.charCodeAt(t.position)===32;)t.lineIndent+=1,t.position+=1;for(;t.position<t.length-1;)Fe(t);return t.documents}function Ee(e,i,t){i!==null&&typeof i=="object"&&typeof t>"u"&&(t=i,i=null);const p=Te(e,t);if(typeof i!="function")return p;for(let o=0,y=p.length;o<y;o+=1)i(p[o])}function Pe(e,i){const t=Te(e,i);if(t.length!==0){if(t.length===1)return t[0];throw new O("expected a single document in the stream, but found more")}}x.exports.loadAll=Ee,x.exports.load=Pe})),dn=F(((N,x)=>{var v=he(),O=de(),E=Ye(),k=Object.prototype.toString,d=Object.prototype.hasOwnProperty,g=65279,s=9,a=10,C=13,l=32,c=33,_=34,I=35,R=37,Z=38,Y=39,G=42,ee=44,B=45,U=58,q=61,z=62,Oe=63,Le=64,me=91,te=93,Ie=96,ce=123,ge=124,ue=125,j={};j[0]="\\0",j[7]="\\a",j[8]="\\b",j[9]="\\t",j[10]="\\n",j[11]="\\v",j[12]="\\f",j[13]="\\r",j[27]="\\e",j[34]='\\"',j[92]="\\\\",j[133]="\\N",j[160]="\\_",j[8232]="\\L",j[8233]="\\P";var Ae=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],w=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ie(n,r){if(r===null)return{};const A={},u=Object.keys(r);for(let f=0,m=u.length;f<m;f+=1){let h=u[f],b=String(r[h]);h.slice(0,2)==="!!"&&(h="tag:yaml.org,2002:"+h.slice(2));const S=n.compiledTypeMap.fallback[h];S&&d.call(S.styleAliases,b)&&(b=S.styleAliases[b]),A[h]=b}return A}function W(n){let r,A;const u=n.toString(16).toUpperCase();if(n<=255)r="x",A=2;else if(n<=65535)r="u",A=4;else if(n<=4294967295)r="U",A=8;else throw new O("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+v.repeat("0",A-u.length)+u}var ke=1,ne=2;function Ne(n){this.schema=n.schema||E,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=v.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=ie(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?ne:ke,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function fe(n,r){const A=v.repeat(" ",r);let u=0,f="";const m=n.length;for(;u<m;){let h;const b=n.indexOf(`
18
+ `,u);b===-1?(h=n.slice(u),u=m):(h=n.slice(u,b+1),u=b+1),h.length&&h!==`
19
+ `&&(f+=A),f+=h}return f}function re(n,r){return`
20
+ `+v.repeat(" ",n.indent*r)}function ye(n,r){for(let A=0,u=n.implicitTypes.length;A<u;A+=1)if(n.implicitTypes[A].resolve(r))return!0;return!1}function K(n){return n===l||n===s}function J(n){return n>=32&&n<=126||n>=161&&n<=55295&&n!==8232&&n!==8233||n>=57344&&n<=65533&&n!==g||n>=65536&&n<=1114111}function Q(n){return J(n)&&n!==g&&n!==C&&n!==a}function le(n,r,A){const u=Q(n),f=u&&!K(n);return(A?u:u&&n!==ee&&n!==me&&n!==te&&n!==ce&&n!==ue)&&n!==I&&!(r===U&&!f)||Q(r)&&!K(r)&&n===I||r===U&&f}function D(n){return J(n)&&n!==g&&!K(n)&&n!==B&&n!==Oe&&n!==U&&n!==ee&&n!==me&&n!==te&&n!==ce&&n!==ue&&n!==I&&n!==Z&&n!==G&&n!==c&&n!==ge&&n!==q&&n!==z&&n!==Y&&n!==_&&n!==R&&n!==Le&&n!==Ie}function oe(n){return!K(n)&&n!==U}function V(n,r){const A=n.charCodeAt(r);let u;return A>=55296&&A<=56319&&r+1<n.length&&(u=n.charCodeAt(r+1),u>=56320&&u<=57343)?(A-55296)*1024+u-56320+65536:A}function xe(n){return/^\n* /.test(n)}var _e=1,pe=2,Ce=3,ve=4,X=5;function Se(n,r,A,u,f,m,h,b){let S,T=0,L=null,M=!1,P=!1;const De=u!==-1;let ae=-1,se=D(V(n,0))&&oe(V(n,n.length-1));if(r||h)for(S=0;S<n.length;T>=65536?S+=2:S++){if(T=V(n,S),!J(T))return X;se=se&&le(T,L,b),L=T}else{for(S=0;S<n.length;T>=65536?S+=2:S++){if(T=V(n,S),T===a)M=!0,De&&(P=P||S-ae-1>u&&n[ae+1]!==" ",ae=S);else if(!J(T))return X;se=se&&le(T,L,b),L=T}P=P||De&&S-ae-1>u&&n[ae+1]!==" "}return!M&&!P?se&&!h&&!f(n)?_e:m===ne?X:pe:A>9&&xe(n)?X:h?m===ne?X:pe:P?ve:Ce}function Me(n,r,A,u,f){n.dump=(function(){if(r.length===0)return n.quotingType===ne?'""':"''";if(!n.noCompatMode&&(Ae.indexOf(r)!==-1||w.test(r)))return n.quotingType===ne?'"'+r+'"':"'"+r+"'";const m=n.indent*Math.max(1,A),h=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-m),b=u||n.flowLevel>-1&&A>=n.flowLevel;function S(T){return ye(n,T)}switch(Se(r,b,n.indent,h,S,n.quotingType,n.forceQuotes&&!u,f)){case _e:return r;case pe:return"'"+r.replace(/'/g,"''")+"'";case Ce:return"|"+be(r,n.indent)+we(fe(r,m));case ve:return">"+be(r,n.indent)+we(fe(Re(r,h),m));case X:return'"'+Fe(r)+'"';default:throw new O("impossible error: invalid scalar style")}})()}function be(n,r){const A=xe(n)?String(r):"",u=n[n.length-1]===`
21
+ `;return A+(u&&(n[n.length-2]===`
22
+ `||n===`
23
+ `)?"+":u?"":"-")+`
24
+ `}function we(n){return n[n.length-1]===`
25
+ `?n.slice(0,-1):n}function Re(n,r){const A=/(\n+)([^\n]*)/g;let u=(function(){let b=n.indexOf(`
26
+ `);return b=b!==-1?b:n.length,A.lastIndex=b,$(n.slice(0,b),r)})(),f=n[0]===`
27
+ `||n[0]===" ",m,h;for(;h=A.exec(n);){const b=h[1],S=h[2];m=S[0]===" ",u+=b+(!f&&!m&&S!==""?`
28
+ `:"")+$(S,r),f=m}return u}function $(n,r){if(n===""||n[0]===" ")return n;const A=/ [^ ]/g;let u,f=0,m,h=0,b=0,S="";for(;u=A.exec(n);)b=u.index,b-f>r&&(m=h>f?h:b,S+=`
29
+ `+n.slice(f,m),f=m+1),h=b;return S+=`
30
+ `,n.length-f>r&&h>f?S+=n.slice(f,h)+`
31
+ `+n.slice(h+1):S+=n.slice(f),S.slice(1)}function Fe(n){let r="",A=0;for(let u=0;u<n.length;A>=65536?u+=2:u++){A=V(n,u);const f=j[A];!f&&J(A)?(r+=n[u],A>=65536&&(r+=n[u+1])):r+=f||W(A)}return r}function Te(n,r,A){let u="";const f=n.tag;for(let m=0,h=A.length;m<h;m+=1){let b=A[m];n.replacer&&(b=n.replacer.call(A,String(m),b)),(t(n,r,b,!1,!1)||typeof b>"u"&&t(n,r,null,!1,!1))&&(u!==""&&(u+=","+(n.condenseFlow?"":" ")),u+=n.dump)}n.tag=f,n.dump="["+u+"]"}function Ee(n,r,A,u){let f="";const m=n.tag;for(let h=0,b=A.length;h<b;h+=1){let S=A[h];n.replacer&&(S=n.replacer.call(A,String(h),S)),(t(n,r+1,S,!0,!0,!1,!0)||typeof S>"u"&&t(n,r+1,null,!0,!0,!1,!0))&&((!u||f!=="")&&(f+=re(n,r)),n.dump&&a===n.dump.charCodeAt(0)?f+="-":f+="- ",f+=n.dump)}n.tag=m,n.dump=f||"[]"}function Pe(n,r,A){let u="";const f=n.tag,m=Object.keys(A);for(let h=0,b=m.length;h<b;h+=1){let S="";u!==""&&(S+=", "),n.condenseFlow&&(S+='"');const T=m[h];let L=A[T];n.replacer&&(L=n.replacer.call(A,T,L)),t(n,r,T,!1,!1)&&(n.dump.length>1024&&(S+="? "),S+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),t(n,r,L,!1,!1)&&(S+=n.dump,u+=S))}n.tag=f,n.dump="{"+u+"}"}function e(n,r,A,u){let f="";const m=n.tag,h=Object.keys(A);if(n.sortKeys===!0)h.sort();else if(typeof n.sortKeys=="function")h.sort(n.sortKeys);else if(n.sortKeys)throw new O("sortKeys must be a boolean or a function");for(let b=0,S=h.length;b<S;b+=1){let T="";(!u||f!=="")&&(T+=re(n,r));const L=h[b];let M=A[L];if(n.replacer&&(M=n.replacer.call(A,L,M)),!t(n,r+1,L,!0,!0,!0))continue;const P=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024;P&&(n.dump&&a===n.dump.charCodeAt(0)?T+="?":T+="? "),T+=n.dump,P&&(T+=re(n,r)),t(n,r+1,M,!0,P)&&(n.dump&&a===n.dump.charCodeAt(0)?T+=":":T+=": ",T+=n.dump,f+=T)}n.tag=m,n.dump=f||"{}"}function i(n,r,A){const u=A?n.explicitTypes:n.implicitTypes;for(let f=0,m=u.length;f<m;f+=1){const h=u[f];if((h.instanceOf||h.predicate)&&(!h.instanceOf||typeof r=="object"&&r instanceof h.instanceOf)&&(!h.predicate||h.predicate(r))){if(A?h.multi&&h.representName?n.tag=h.representName(r):n.tag=h.tag:n.tag="?",h.represent){const b=n.styleMap[h.tag]||h.defaultStyle;let S;if(k.call(h.represent)==="[object Function]")S=h.represent(r,b);else if(d.call(h.represent,b))S=h.represent[b](r,b);else throw new O("!<"+h.tag+'> tag resolver accepts not "'+b+'" style');n.dump=S}return!0}}return!1}function t(n,r,A,u,f,m,h){n.tag=null,n.dump=A,i(n,A,!1)||i(n,A,!0);const b=k.call(n.dump),S=u;u&&(u=n.flowLevel<0||n.flowLevel>r);const T=b==="[object Object]"||b==="[object Array]";let L,M;if(T&&(L=n.duplicates.indexOf(A),M=L!==-1),(n.tag!==null&&n.tag!=="?"||M||n.indent!==2&&r>0)&&(f=!1),M&&n.usedDuplicates[L])n.dump="*ref_"+L;else{if(T&&M&&!n.usedDuplicates[L]&&(n.usedDuplicates[L]=!0),b==="[object Object]")u&&Object.keys(n.dump).length!==0?(e(n,r,n.dump,f),M&&(n.dump="&ref_"+L+n.dump)):(Pe(n,r,n.dump),M&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object Array]")u&&n.dump.length!==0?(n.noArrayIndent&&!h&&r>0?Ee(n,r-1,n.dump,f):Ee(n,r,n.dump,f),M&&(n.dump="&ref_"+L+n.dump)):(Te(n,r,n.dump),M&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object String]")n.tag!=="?"&&Me(n,n.dump,r,m,S);else{if(b==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new O("unacceptable kind of an object to dump "+b)}if(n.tag!==null&&n.tag!=="?"){let P=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21");n.tag[0]==="!"?P="!"+P:P.slice(0,18)==="tag:yaml.org,2002:"?P="!!"+P.slice(18):P="!<"+P+">",n.dump=P+" "+n.dump}}return!0}function p(n,r){const A=[],u=[];o(n,A,u);const f=u.length;for(let m=0;m<f;m+=1)r.duplicates.push(A[u[m]]);r.usedDuplicates=new Array(f)}function o(n,r,A){if(n!==null&&typeof n=="object"){const u=r.indexOf(n);if(u!==-1)A.indexOf(u)===-1&&A.push(u);else if(r.push(n),Array.isArray(n))for(let f=0,m=n.length;f<m;f+=1)o(n[f],r,A);else{const f=Object.keys(n);for(let m=0,h=f.length;m<h;m+=1)o(n[f[m]],r,A)}}}function y(n,r){r=r||{};const A=new Ne(r);A.noRefs||p(n,A);let u=n;return A.replacer&&(u=A.replacer.call({"":u},"",u)),t(A,0,u,!0,!0)?A.dump+`
32
+ `:""}x.exports.dump=y})),ln=an(F(((N,x)=>{var v=hn(),O=dn();function E(k,d){return function(){throw new Error("Function yaml."+k+" is removed in js-yaml 4. Use yaml."+d+" instead, which is now safe by default.")}}x.exports.Type=H(),x.exports.Schema=qe(),x.exports.FAILSAFE_SCHEMA=Ke(),x.exports.JSON_SCHEMA=Xe(),x.exports.CORE_SCHEMA=$e(),x.exports.DEFAULT_SCHEMA=Ye(),x.exports.load=v.load,x.exports.loadAll=v.loadAll,x.exports.dump=O.dump,x.exports.YAMLException=de(),x.exports.types={binary:Je(),float:Ve(),map:Ue(),null:Ge(),pairs:nn(),set:rn(),timestamp:Ze(),bool:We(),int:Qe(),merge:ze(),omap:en(),seq:Be(),str:He()},x.exports.safeLoad=E("safeLoad","load"),x.exports.safeLoadAll=E("safeLoadAll","loadAll"),x.exports.safeDump=E("safeDump","dump")}))()),{Type:mn,Schema:gn,FAILSAFE_SCHEMA:An,JSON_SCHEMA:yn,CORE_SCHEMA:xn,DEFAULT_SCHEMA:_n,load:Cn,loadAll:vn,dump:Sn,YAMLException:bn,types:wn,safeLoad:Tn,safeLoadAll:En,safeDump:On}=ln.default,Ln=ln.default;export{Ln as i};
@@ -0,0 +1,14 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
2
+ <rect width="32" height="32" rx="7" fill="#0a0a0f"/>
3
+ <rect width="32" height="32" rx="7" fill="url(#g)" opacity="0.18"/>
4
+ <circle cx="16" cy="8" r="2.4" fill="#a78bfa"/>
5
+ <circle cx="8.5" cy="22" r="2.4" fill="#22d3ee"/>
6
+ <circle cx="23.5" cy="22" r="2.4" fill="#34d399"/>
7
+ <path d="M16 10.4 L9.2 19.8 M16 10.4 L22.8 19.8" stroke="#3f3f5a" stroke-width="1.4" stroke-linecap="round"/>
8
+ <defs>
9
+ <linearGradient id="g" x1="0" y1="0" x2="32" y2="32">
10
+ <stop stop-color="#a78bfa"/>
11
+ <stop offset="1" stop-color="#22d3ee"/>
12
+ </linearGradient>
13
+ </defs>
14
+ </svg>
@@ -0,0 +1,17 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="./conductor.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta name="theme-color" content="#0a0a0f" />
8
+ <title>Agent Conductor — Board</title>
9
+ <script type="module" crossorigin src="./assets/index--J1uxrSo.js"></script>
10
+ <link rel="modulepreload" crossorigin href="./assets/motion-Dmvx5jlk.js">
11
+ <link rel="modulepreload" crossorigin href="./assets/yaml-NA7d4LV6.js">
12
+ <link rel="stylesheet" crossorigin href="./assets/index-DMqA9hDY.css">
13
+ </head>
14
+ <body>
15
+ <div id="root"></div>
16
+ </body>
17
+ </html>