blue-chestnut-solar-expert 0.0.7 → 0.0.8
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.
- package/dist/cjs/eraser-icon.house-icon.icon-selector.map-draw.move-icon.octagon-minus-icon.search-icon.solar-expert.solar-system-form.entry.cjs.js.map +1 -1
- package/dist/cjs/eraser-icon_9.cjs.entry.js +8 -8
- package/dist/cjs/eraser-icon_9.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/collection/components/map-draw/map-draw.js +7 -8
- package/dist/collection/components/map-draw/map-draw.js.map +1 -1
- package/dist/collection/components/solar-expert/solar-expert.js +1 -1
- package/dist/collection/components/solar-expert/solar-expert.js.map +1 -1
- package/dist/components/map-draw.js +1 -1
- package/dist/components/{p-Cl0_Wuys.js → p-DRNQUQ1y.js} +10 -11
- package/dist/components/p-DRNQUQ1y.js.map +1 -0
- package/dist/components/solar-expert.js +2 -2
- package/dist/components/solar-expert.js.map +1 -1
- package/dist/esm/eraser-icon.house-icon.icon-selector.map-draw.move-icon.octagon-minus-icon.search-icon.solar-expert.solar-system-form.entry.js.map +1 -1
- package/dist/esm/eraser-icon_9.entry.js +8 -8
- package/dist/esm/eraser-icon_9.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/stencil-library.js +1 -1
- package/dist/stencil-library/eraser-icon.house-icon.icon-selector.map-draw.move-icon.octagon-minus-icon.search-icon.solar-expert.solar-system-form.entry.esm.js.map +1 -1
- package/dist/stencil-library/{p-d3bbe397.entry.js → p-761eaa1f.entry.js} +2 -2
- package/dist/stencil-library/p-761eaa1f.entry.js.map +1 -0
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-Cl0_Wuys.js.map +0 -1
- package/dist/stencil-library/p-d3bbe397.entry.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as n,h as t,g as e,E as i}from"./p-D0YnIAAN.js";import{f as r,c as o,L as a}from"./p-DV0Qsxyh.js";const s='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const c=class{constructor(t){n(this,t)}render(){return t("svg",{key:"0ee60a12625e2827dcbdad1b8756c9402da84954",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-eraser-icon lucide-eraser"},t("path",{key:"98080b66fe105b29ecb14d82bc8b18b296dab09f",d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"}),t("path",{key:"dd52fc8bc1f6f4bcea487a5509601c2add99d151",d:"M22 21H7"}),t("path",{key:"94fd0f7a4b8152101d5b6a613cca039497024de0",d:"m5 11 9 9"}))}};c.style=s;const l='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const h=class{constructor(t){n(this,t)}render(){return t("svg",{key:"d0b1e07fb7b1a1da92b5d48004ac151abfd44677",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-house-icon lucide-house"},t("path",{key:"58ed725ac3227272ec36bc52b41c9e207af23073",d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"}),t("path",{key:"7bd219ffb3c88c8ec1433cec54744b76c02cfd01",d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}))}};h.style=l;const d='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const f=class{constructor(t){n(this,t)}name;render(){if(this.name==="search"){return t("search-icon",null)}if(this.name==="house"){return t("house-icon",null)}if(this.name==="move"){return t("move-icon",null)}if(this.name==="octagon-minus"){return t("octagon-minus-icon",null)}if(this.name==="eraser"){return t("eraser-icon",null)}return t("div",null,"Icon ",this.name)}};f.style=d;function u(n,t,e){if(!e){e=document.createElement("canvas")}e.width=n.width;e.height=n.height;const i=n.width/e.width;const r=n.height/e.height;const o=e.getContext("2d");const a=o.getImageData(0,0,e.width,e.height);for(let t=0;t<e.height;t++){for(let o=0;o<e.width;o++){const s=Math.floor(t*r)*n.width+Math.floor(o*i);const c=t*e.width*4+o*4;const l=.65;a.data[c+0]=Math.round(n.rasters[0][s]*l);a.data[c+1]=Math.round(n.rasters[1][s]*l);a.data[c+2]=Math.round(n.rasters[2][s]*l);a.data[c+3]=255}}o.putImageData(a,0,0);return e}function p(n,t,e,i,r,o){const{x:a,y:s}=n.pixelPosition;let c=e;let l=i*Math.cos(o*Math.PI/180);if(n.horizontal){c=i;l=e*Math.cos(o*Math.PI/180)}t.save();t.translate(a,s);t.rotate(r*Math.PI/180);t.fillStyle="rgba(115, 143, 255, 1)";t.fillRect(-c/2,-l/2,c,l);t.strokeStyle="rgba(0, 0, 0, 0.8)";t.lineWidth=1;t.strokeRect(-c/2,-l/2,c,l);t.restore()}function g({rgb:n,zoom:t=1,canvas:e}){const i=u(n,undefined,e);const r=i.getContext("2d");const o=r.getImageData(0,0,i.width,i.height);const a=i.width;const s=i.height;const c=Math.floor(a*t);const l=Math.floor(s*t);const h=Math.floor((a-c)/2);const d=Math.floor((s-l)/2);const f=new ImageData(c,l);for(let n=0;n<s;n++){for(let t=0;t<a;t++){const e=(n*a+t)*4;if(t>=h&&t<h+c&&n>=d&&n<d+l){const i=t-h;const r=n-d;const a=(r*c+i)*4;f.data[a]=o.data[e];f.data[a+1]=o.data[e+1];f.data[a+2]=o.data[e+2];f.data[a+3]=255}}}i.width=c;i.height=l;r.putImageData(f,0,0);return i}const b="rgba(0, 0, 0, 0.5)";const w=1;const m=1;const v=.2;const y=600;function x({x:n,y:t,lastPoint:e,secondLastPoint:i}){const r=e.x-i.x;const o=e.y-i.y;const a=-o;const s=r;const c=Math.sqrt(a*a+s*s);const l=a/c;const h=s/c;const d={x:n-e.x,y:t-e.y};const f=d.x*l+d.y*h;n=e.x+l*f;t=e.y+h*f;return{x:n,y:t}}function k({polygonCtx:n,polygonCanvas:t,polygon:e,shiftKeyPressed:i,mousePoint:r,strokeColor:o,fillColor:a}){if(!n||!t)return;n.beginPath();n.strokeStyle=o;n.lineWidth=2;e.points.forEach(((t,e)=>{if(e===0){n.moveTo(t.x,t.y)}else{n.lineTo(t.x,t.y)}}));if(e.closed){n.lineTo(e.points[0].x,e.points[0].y);if(a){n.fillStyle=a;n.fill()}}if(e.points.length>0){n.stroke()}if(e.points.length>1&&!e.closed&&i){const t=x({x:r.x,y:r.y,lastPoint:e.points[e.points.length-1],secondLastPoint:e.points[e.points.length-2]});z({ctx:n,startPoint:t,endPoint:e.points[e.points.length-1],strokeStyle:b})}if(i&&e.points.length>1&&!e.closed){const t=x({x:r.x,y:r.y,lastPoint:e.points[e.points.length-1],secondLastPoint:e.points[e.points.length-2]});M({ctx:n,x:t.x,y:t.y,radius:5,strokeStyle:b})}e.points.forEach((t=>{n.beginPath();const e=o;const i=Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2));if(i<10){M({ctx:n,x:t.x,y:t.y,strokeStyle:e,radius:8})}else{M({ctx:n,x:t.x,y:t.y,strokeStyle:e,radius:5})}n.stroke()}))}function M({ctx:n,x:t,y:e,radius:i,strokeStyle:r="black",lineWidth:o=2}){n.beginPath();n.strokeStyle=r;n.lineWidth=o;n.arc(t,e,i,0,2*Math.PI);n.stroke()}function z({ctx:n,startPoint:t,endPoint:e,dashPattern:i=[5,5],strokeStyle:r="black",lineWidth:o=2}){n.beginPath();n.strokeStyle=r;n.lineWidth=o;n.setLineDash(i);n.moveTo(t.x,t.y);n.lineTo(e.x,e.y);n.stroke();n.setLineDash([])}function S(n,t){if(!t.closed||t.points.length<3)return false;const e=t.points.length;const i=n.x;const r=n.y;let o=false;let a=t.points[0];let s;for(let n=1;n<=e;n++){s=t.points[n%e];if(r>Math.min(a.y,s.y)){if(r<=Math.max(a.y,s.y)){if(i<=Math.max(a.x,s.x)){const n=(r-a.y)*(s.x-a.x)/(s.y-a.y)+a.x;if(a.x===s.x||i<=n){o=!o}}}}a=s}return o}const C=[{key:"shift",description:"add one point on perpendicular line"}];const _={name:"move",ariaLabel:"Move",icon:"move",cursor:"move",keyboardShortcut:"m",explanation:"Move points of the active polygon"};const j={name:"roof",ariaLabel:"Roof Area",icon:"house",cursor:"crosshair",keyboardShortcut:"r",keyboardCombinations:C,explanation:"Draw the roof of the building"};const P={name:"obstruction",ariaLabel:"Obstruction",icon:"octagon-minus",cursor:"crosshair",keyboardShortcut:"o",keyboardCombinations:C,explanation:"Draw the obstruction of the building"};const O={name:"delete",ariaLabel:"Delete",icon:"eraser",cursor:"default",keyboardShortcut:"d",explanation:"Delete the active polygon"};const E=[_,j,P,O];const A={openRoofColor:"#d6eeff",closedRoofColor:"#ffffff",openObstructionColor:"#f57242",closedObstructionColor:"rgba(255, 132, 107, 0.8)",roofPolygonFillColor:"rgba(92, 187, 255, 0.5)",obstructionPolygonFillColor:"rgba(255, 132, 107, 0.5)",roofPolygonHoverFillColor:"rgba(92, 187, 255, 0.8)",obstructionPolygonHoverFillColor:"rgba(255, 132, 107, 0.8)",roofPolygonSelectedFillColor:"rgba(92, 187, 255, 0.7)",obstructionPolygonSelectedFillColor:"rgba(255, 132, 107, 0.7)"};const D={widthMeters:1.134,heightMeters:1.762,kWattPeak:.455,efficiency:.224,price:77.68};function L(n,t,e,i,r){const o=t?.type===i.type&&t?._id===e;if(o){return i.type==="roof"?r.roofPolygonHoverFillColor:r.obstructionPolygonHoverFillColor}const a=n?.type===i.type&&n?._id===e;if(a){return i.type==="roof"?r.roofPolygonSelectedFillColor:r.obstructionPolygonSelectedFillColor}if(i.type==="roof"){return i.closed?r.roofPolygonFillColor:undefined}return i.closed?r.obstructionPolygonFillColor:undefined}var R=[];for(var N=0;N<256;++N){R.push((N+256).toString(16).slice(1))}function I(n,t=0){return(R[n[t+0]]+R[n[t+1]]+R[n[t+2]]+R[n[t+3]]+"-"+R[n[t+4]]+R[n[t+5]]+"-"+R[n[t+6]]+R[n[t+7]]+"-"+R[n[t+8]]+R[n[t+9]]+"-"+R[n[t+10]]+R[n[t+11]]+R[n[t+12]]+R[n[t+13]]+R[n[t+14]]+R[n[t+15]]).toLowerCase()}var T;var F=new Uint8Array(16);function W(){if(!T){T=typeof crypto!=="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto);if(!T){throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}}return T(F)}var B=typeof crypto!=="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var U={randomUUID:B};function H(n,t,e){if(U.randomUUID&&true&&!n){return U.randomUUID()}n=n||{};var i=n.random||(n.rng||W)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;return I(i)}function V(n){let t=0;for(let e=0;e<n.length;e++){const i=(e+1)%n.length;t+=n[e].x*n[i].y;t-=n[i].x*n[e].y}return Math.abs(t/2)}function $(n){if(n>=337.5||n<22.5)return"North";if(n>=22.5&&n<67.5)return"Northeast";if(n>=67.5&&n<112.5)return"East";if(n>=112.5&&n<157.5)return"Southeast";if(n>=157.5&&n<202.5)return"South";if(n>=202.5&&n<247.5)return"Southwest";if(n>=247.5&&n<292.5)return"West";return"Northwest"}function Y(n,t,e){const i=t.getContext("2d");if(!i){throw new Error("Canvas context not found")}const r=e=>t.height*(1-(e-n.south)/(n.north-n.south));const o=e=>t.width*(e-n.west)/(n.east-n.west);return{x:o(e.longitude),y:r(e.latitude)}}function X(n){const t=n.bounds.north-n.bounds.south;const e=n.height;const i=t*111320/e;return i}function K(n,t){const e=t*(Math.PI/180);const i=n.x*Math.cos(e)-n.y*Math.sin(e);const r=n.x*Math.sin(e)+n.y*Math.cos(e);return{x:i,y:r}}function q(n,t){return{points:n.points.map((n=>K(n,t))),type:n.type,closed:n.closed,_id:n._id,details:n.details}}function Z(n,t){if(n.points.length===0){return{polygon:n,offset:{x:0,y:0}}}let e=0;let i=0;if(!t){const t=Math.min(...n.points.map((n=>n.x)));const r=Math.min(...n.points.map((n=>n.y)));const o=Math.max(...n.points.map((n=>n.x)));const a=Math.max(...n.points.map((n=>n.y)));e=t+(o-t)/2;i=r+(a-r)/2}else{e=t.x;i=t.y}const r=n.points.map((n=>({x:n.x-e,y:n.y-i})));return{polygon:{...n,points:r},offset:{x:e,y:i}}}function J(n,t){return n.x===t.x&&n.y===t.y}function Q(n,t){const e=n.start;const i=n.end;const r=t.start;const o=t.end;if(J(e,r)||J(e,o)||J(i,r)||J(i,o)){return false}const a=(o.x-r.x)*(e.y-r.y)-(o.y-r.y)*(e.x-r.x);const s=(o.x-r.x)*(i.y-r.y)-(o.y-r.y)*(i.x-r.x);const c=(i.x-e.x)*(r.y-e.y)-(i.y-e.y)*(r.x-e.x);const l=(i.x-e.x)*(o.y-e.y)-(i.y-e.y)*(o.x-e.x);return a*s<0&&c*l<0}function G(n,t,e,i){const r={minX:Math.min(...n.points.map((n=>n.x))),maxX:Math.max(...n.points.map((n=>n.x))),minY:Math.min(...n.points.map((n=>n.y))),maxY:Math.max(...n.points.map((n=>n.y)))};let o=null;let a=0;for(const n of t){const t=Y(e,i,{latitude:n.boundingBox.sw.latitude,longitude:n.boundingBox.sw.longitude});const s=Y(e,i,{latitude:n.boundingBox.ne.latitude,longitude:n.boundingBox.ne.longitude});const c={minX:t.x,maxX:s.x,minY:s.y,maxY:t.y};const l=Math.max(r.minX,c.minX);const h=Math.min(r.maxX,c.maxX);const d=Math.max(r.minY,c.minY);const f=Math.min(r.maxY,c.maxY);const u=h-l;const p=f-d;let g=0;if(u>0&&p>0){g=u*p}const b=(r.maxX-r.minX)*(r.maxY-r.minY);const w=(c.maxX-c.minX)*(c.maxY-c.minY);const m=b+w-g;const v=m>0?g/m:0;if(v>a){a=v;o=n}}return o}function nn(n,t,e,i,r,o){const a=[];const s=e?t.heightMeters:t.widthMeters;const c=Math.ceil((n.maxX-n.minX)/s);const l=e?t.widthMeters:t.heightMeters;const h=Math.ceil((n.maxY-n.minY)/l);const d=s/2;const f=l/2;const u=i.x-Math.ceil((i.x-n.minX)/s)*s;const p=i.y-Math.ceil((i.y-n.minY)/l)*l;for(let n=0;n<h;n++){const i=[];for(let a=0;a<c;a++){const c=u+a*s+a*o+d;const h=p+n*l+n*r+f;const g={panel:t,pixelPosition:{x:c,y:h},horizontal:e};i.push(g)}a.push(i)}return a}function tn(n,t){const e=t?n.panel.heightMeters:n.panel.widthMeters;const i=t?n.panel.widthMeters:n.panel.heightMeters;const r={x:n.pixelPosition.x-e/2,y:n.pixelPosition.y-i/2};const o={x:n.pixelPosition.x-e/2,y:n.pixelPosition.y+i/2};const a={x:n.pixelPosition.x+e/2,y:n.pixelPosition.y+i/2};const s={x:n.pixelPosition.x+e/2,y:n.pixelPosition.y-i/2};const c=[{start:r,end:o},{start:o,end:a},{start:a,end:s},{start:s,end:r}];return c}function en(n,t,e){const i=tn(n,e);if(S(n.pixelPosition,t)){return true}for(let n=0;n<t.points.length;n++){const e=t.points[n];const r=t.points[(n+1)%t.points.length];const o={start:e,end:r};for(const n of i){if(Q(n,o)){return true}}}return false}function rn(n,t,e){const i=tn(n,e);for(let n=0;n<t.points.length;n++){const e=t.points[n];const r=t.points[(n+1)%t.points.length];const o={start:e,end:r};for(const n of i){if(Q(n,o)){return false}}}return S(n.pixelPosition,t)}function on(n,t,e){for(const i of t){if(en(n,i.polygon,e)){return true}}return false}function an(n,t,e,i){const r=[];for(const o of n){let n=[];for(const r of o){const o=on(r,i,e);if(rn(r,t,e)&&!o){n.push(r)}}r.push(n)}return r}function sn(n,t,e,i){const r=Math.min(...n.points.map((n=>n.x)));const o=Math.max(...n.points.map((n=>n.x)));const a=Math.min(...n.points.map((n=>n.y)));const s=Math.max(...n.points.map((n=>n.y)));const c={minX:r,maxX:o,minY:a,maxY:s};console.log("solar",e);const l={...e,widthMeters:e.widthMeters*Math.cos(i*Math.PI/180),heightMeters:e.heightMeters};const h={...e,widthMeters:e.widthMeters,heightMeters:e.heightMeters*Math.cos(i*Math.PI/180)};let d=[];let f=0;for(const e of n.points){for(const i of[false]){const r=nn(c,i?l:h,i,e,w,m);const o=an(r,n,i,t);const a=o.reduce(((n,t)=>n+t.length),0);if(a>f){f=a;d=o}}break}return d}function cn(n,t,e,i){const r=[];for(const o of n){const n=Z(o,e);const a=q(n.polygon,-t);const s=hn(a,-i);const c=Math.min(...s.points.map((n=>n.x)));const l=Math.max(...s.points.map((n=>n.x)));const h=Math.min(...s.points.map((n=>n.y)));const d=Math.max(...s.points.map((n=>n.y)));const f={minX:c,maxX:l,minY:h,maxY:d};r.push({polygon:a,boundingBox:f})}return r}function ln(n){let t=0;for(let e=0;e<n.length;e++){const i=n[e];const r=n[(e+1)%n.length];t+=(r.x-i.x)*(r.y+i.y)}return t>0}function hn(n,t){const e=n.points;const i=ln(e);t=t*Math.sqrt(2)*(i?-1:1);const r=[];for(let n=0;n<e.length;n++){const i=e[(n-1+e.length)%e.length];const o=e[n];const a=e[(n+1)%e.length];const s={x:o.x-i.x,y:o.y-i.y};const c={x:a.x-o.x,y:a.y-o.y};const l={x:-s.y,y:s.x};const h={x:-c.y,y:c.x};const d=Math.sqrt(l.x*l.x+l.y*l.y);const f=Math.sqrt(h.x*h.x+h.y*h.y);l.x/=d;l.y/=d;h.x/=f;h.y/=f;const u={x:l.x+h.x,y:l.y+h.y};const p=Math.sqrt(u.x*u.x+u.y*u.y);u.x/=p;u.y/=p;const g={x:o.x+u.x*t,y:o.y+u.y*t};r.push(g)}return{points:r,type:n.type,closed:n.closed,_id:n._id,details:n.details}}function dn(n,t,e,i,r,o){const a=hn(n,r);const s=Z(a);const c=q(s.polygon,-i);const l=cn(t,i,s.offset,r);const h=sn(c,l,e,o);const d=[];for(const n of h.flat()){const t=K(n.pixelPosition,i);const e={x:t.x+s.offset.x,y:t.y+s.offset.y};d.push({panel:n.panel,pixelPosition:e,horizontal:n.horizontal})}return d}const fn={solarExpert:{searchPlaceholder:"Search for a location"},solarSystemForm:{title:"Solar System Configuration",systemInformation:"System Information",numberOfPanels:"Number of Solar Panels",panelPeakPower:"Panel Peak Power (kW)",totalSystemPeakPower:"Total System Peak Power (kW)",electricityPrice:"Electricity Price (€/kWh)",compensationRate:"Compensation Rate (€/kWh)",autonomy:"Autonomy (days)",costSavings:"Cost Savings (€/year)",householdConsumptionTitle:"Household Electricity Consumption",consumptionProfileTitle:"Consumption Profile",electricityCostsTitle:"Electricity Costs",compensationRateTitle:"Compensation Rate",resultsTitle:"Results",savingsDisclaimer:"Disclaimer: The savings are based on the average electricity price in Spain.",annualConsumption:"Annual Consumption (kWh)",name:"Name",email:"Email",nameError:"Please enter your name",emailError:"Please enter a valid email address",consumptionProfiles:{mostlyAtHome:"Mostly at home",mostlyAway:"Mostly away"},chart:{consumption:"Consumption",production:"Production",consumptionProfile:"Consumption Profile",relativeConsumption:"Relative Consumption",hourOfDay:"Hour of Day"},validEmailError:"Please enter a valid email address",requestOffer:"Request Offer",requestOfferButton:"Request Offer",year:"year"},mapDraw:{noPolygonSelected:"No polygon selected",noAddressSelected:"Please select an address",information:"Information",calculateSolarPanels:"Calculate Solar Panels",panels:"Panels",area:"Area",azimuth:"Azimuth",pitch:"Pitch",tools:{roof:{name:"Roof",explanation:"Draw the roof of the building",ariaLabel:"Roof"},obstruction:{name:"Obstruction",explanation:"Draw the obstruction of the building",ariaLabel:"Obstruction"},delete:{name:"Delete",explanation:"Delete the selected polygon",ariaLabel:"Delete"},move:{name:"Move",explanation:"Move the selected polygon",ariaLabel:"Move"}}}};const un={solarExpert:{searchPlaceholder:"Suche nach einer Adresse"},solarSystemForm:{title:"Solarsystem Konfiguration",systemInformation:"System Information",numberOfPanels:"Anzahl der Solarpanel",panelPeakPower:"Panel Peak Power (kW)",totalSystemPeakPower:"Total System Peak Power (kW)",electricityPrice:"Strompreis (€/kWh)",compensationRate:"Einspeisevergütung (€/kWh)",autonomy:"Autonomie (Tage)",costSavings:"Einsparungen (€/Jahr)",householdConsumptionTitle:"Haushaltsverbrauch",consumptionProfileTitle:"Verbrauchprofil",electricityCostsTitle:"Stromkosten",compensationRateTitle:"Einspeisevergütung",resultsTitle:"Ergebnisse",savingsDisclaimer:"Disclaimer: Die Einsparungen basieren auf dem durchschnittlichen Strompreis in Spanien.",annualConsumption:"Jährlicher Verbrauch (kWh)",name:"Name",email:"Email",nameError:"Bitte geben Sie Ihren Namen ein",emailError:"Bitte geben Sie eine gültige E-Mail-Adresse ein",consumptionProfiles:{mostlyAtHome:"Hauptsächlich zu Hause",mostlyAway:"Erwerbstätig"},chart:{consumption:"Verbrauch",production:"Produktion",consumptionProfile:"Verbrauchprofil",relativeConsumption:"Verbrauch",hourOfDay:"Stunde des Tages"},validEmailError:"Bitte geben Sie eine gültige E-Mail-Adresse ein",requestOffer:"Angebot anfordern",requestOfferButton:"Angebot anfordern",year:"Jahr"},mapDraw:{noPolygonSelected:"Kein Polygon ausgewählt",noAddressSelected:"Bitte wählen Sie eine Adresse",information:"Information",calculateSolarPanels:"Berechnen Sie die Solarpanele",panels:"Panele",area:"Fläche",azimuth:"Ausrichtung",pitch:"Neigung",tools:{roof:{name:"Dach",explanation:"Zeichnen Sie das Dach des Gebäudes",ariaLabel:"Dach"},obstruction:{name:"Hindernis",explanation:"Zeichnen Sie das Hindernis des Gebäudes",ariaLabel:"Hindernis"},delete:{name:"Löschen",explanation:"Löschen Sie das ausgewählte Polygon",ariaLabel:"Löschen"},move:{name:"Verschieben",explanation:"Verschieben Sie Punkte des ausgewählten Polygons",ariaLabel:"Verschieben"}}}};const pn={solarExpert:{searchPlaceholder:"Suche nach einer Adresse"},solarSystemForm:{title:"Configuración del sistema solar",systemInformation:"Información del sistema",numberOfPanels:"Número de paneles solares",panelPeakPower:"Potencia pico del panel (kW)",totalSystemPeakPower:"Potencia pico total del sistema (kW)",electricityPrice:"Precio de la electricidad (€/kWh)",compensationRate:"Tasa de compensación (€/kWh)",autonomy:"Autonomía (días)",costSavings:"Ahorro (€/año)",householdConsumptionTitle:"Consumo de la casa",consumptionProfileTitle:"Perfil de consumo",electricityCostsTitle:"Costes de la electricidad",compensationRateTitle:"Tasa de compensación",resultsTitle:"Resultados",savingsDisclaimer:"Nota: Los ahorros se basan en el precio promedio de la electricidad en España.",annualConsumption:"Consumo anual (kWh)",name:"Nombre",email:"Email",nameError:"Por favor, ingrese su nombre",emailError:"Por favor, ingrese una dirección de correo electrónico válida",consumptionProfiles:{mostlyAtHome:"Principalmente en casa",mostlyAway:"Empleo"},chart:{consumption:"Consumo",production:"Producción",consumptionProfile:"Perfil de consumo",relativeConsumption:"Consumo",hourOfDay:"Hora del día"},validEmailError:"Por favor, ingrese una dirección de correo electrónico válida",requestOffer:"Solicitar una oferta",requestOfferButton:"Solicitar oferta",year:"Año"},mapDraw:{noPolygonSelected:"No se ha seleccionado un polígono",noAddressSelected:"Por favor, seleccione una dirección",information:"Información",calculateSolarPanels:"Calcular paneles solares",panels:"Paneles",area:"Área",azimuth:"Azimut",pitch:"Inclinación",tools:{roof:{name:"Tejado",explanation:"Dibuje el tejado del edificio",ariaLabel:"Tejado"},obstruction:{name:"Obstrucción",explanation:"Dibuje la obstrucción del edificio",ariaLabel:"Obstrucción"},delete:{name:"Eliminar",explanation:"Elimine el polígono seleccionado",ariaLabel:"Eliminar"},move:{name:"Mover",explanation:"Mueva los puntos del polígono seleccionado",ariaLabel:"Mover"}}}};const gn={en:fn,es:pn,de:un};function bn(n){const t=gn["en"];if(n==="en"){return t}const e=gn[n];const i=JSON.parse(JSON.stringify(t));function r(n,t){for(const e in t){if(t[e]instanceof Object&&e in n){r(n[e],t[e])}else if(t[e]!==undefined){n[e]=t[e]}}}r(i,e);return i}const wn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const mn=1;const vn=class{constructor(t){n(this,t)}language="en";apiKey="";latitude=null;longitude=null;config=A;solarPanel=D;zoom=1;loadingState="empty";rgbTiff=null;draggedPointIndex=null;hoveredPointIndex=null;hoveredPolygon=null;shiftKeyPressed=false;altKeyPressed=false;mousePoint=null;currentTool=j;roofPolygons={};roofPolygonsSolarPanels={};obstructionPolygons={};selectedPolygon=null;buildingInsights=null;pixelInMeters=.2;showAzimuth=true;get el(){return e(this)}canvasElement;polygonCanvas;polygonCtx;getCurrentPolygon(){if(!this.selectedPolygon){return null}const{_id:n,type:t}=this.selectedPolygon;return t==="roof"?this.roofPolygons[n]:this.obstructionPolygons[n]}componentDidLoad(){if(this.latitude&&this.longitude){this.loadingState="loading"}requestAnimationFrame((()=>{if(this.canvasElement){const n=this.canvasElement.getBoundingClientRect();this.canvasElement.width=n.width;this.canvasElement.height=n.height;this.drawMap()}}))}sizeCanvas(n,t){if(this.polygonCanvas){this.polygonCanvas.width=n;this.polygonCanvas.height=t;this.polygonCtx=this.polygonCanvas.getContext("2d")}}async getBuildingInsights(){if(!this.latitude||!this.longitude){return}this.loadingState="loading";if(this.buildingInsights){const n=this.buildingInsights.center.latitude===this.latitude&&this.buildingInsights.center.longitude===this.longitude;if(n){return}this.obstructionPolygons={};this.roofPolygons={};this.selectedPolygon=null;this.hoveredPolygon=null;this.canvasElement.getContext("2d")?.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);this.polygonCtx?.clearRect(0,0,this.polygonCanvas.width,this.polygonCanvas.height);this.rgbTiff=null}this.buildingInsights=await r(this.latitude,this.longitude,this.apiKey);if(!this.buildingInsights){alert("No building insights found. Please enter them manually.")}}async getBuildingImages(){if(!this.latitude||!this.longitude){return}if(this.buildingInsights){const n=this.buildingInsights.center.latitude===this.latitude&&this.buildingInsights.center.longitude===this.longitude;if(n){return}}this.rgbTiff=await o(this.latitude,this.longitude,this.apiKey);this.pixelInMeters=X(this.rgbTiff);this.loadingState="loaded"}async drawMap(){if(!this.canvasElement||!this.rgbTiff||!this.buildingInsights)return;this.sizeCanvas(this.rgbTiff.width,this.rgbTiff.height);g({rgb:this.rgbTiff,zoom:this.zoom,canvas:this.canvasElement})}handleMouseMove(n){if(!this.polygonCanvas||!this.polygonCtx)return;const t=this.polygonCanvas.getBoundingClientRect();const e=n.clientX-t.left;const i=n.clientY-t.top;this.mousePoint={x:e,y:i};const r=this.getCurrentPolygon();const o=r?.points.findIndex((n=>{const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));return t<10}));let a=null;for(const n of Object.values(this.obstructionPolygons)){if(S({x:e,y:i},n)){a={_id:n._id,type:"obstruction"};break}}if(!a){for(const n of Object.values(this.roofPolygons)){if(S({x:e,y:i},n)){a={_id:n._id,type:"roof"};break}}}if(o!==this.hoveredPointIndex||JSON.stringify(a)!==JSON.stringify(this.hoveredPolygon)){this.hoveredPointIndex=o;this.hoveredPolygon=a;this.drawPolygons()}if(this.draggedPointIndex!==null&&r&&this.currentTool.name==="move"){r.points[this.draggedPointIndex]={x:e,y:i};this.drawPolygons()}if(this.shiftKeyPressed){this.drawPolygons()}}drawPolygons(){if(!this.polygonCanvas||!this.polygonCtx)return;this.polygonCtx.clearRect(0,0,this.polygonCanvas.width,this.polygonCanvas.height);for(const n of Object.values(this.roofPolygons)){const t=L(this.selectedPolygon,this.hoveredPolygon,n._id,n,this.config);k({polygonCtx:this.polygonCtx,polygonCanvas:this.polygonCanvas,polygon:n,strokeColor:n.closed?this.config.closedRoofColor:this.config.openRoofColor,fillColor:t,shiftKeyPressed:this.shiftKeyPressed,mousePoint:this.mousePoint});const e=this.roofPolygonsSolarPanels[n._id];const i={widthMeters:this.solarPanel.widthMeters/this.pixelInMeters,heightMeters:this.solarPanel.heightMeters/this.pixelInMeters};if(e){for(const t of e.positionedPanels){p(t,this.polygonCtx,i.widthMeters,i.heightMeters,n.details?.azimuth,n.details?.pitch)}}}for(const n of Object.values(this.obstructionPolygons)){const t=L(this.selectedPolygon,this.hoveredPolygon,n._id,n,this.config);k({polygonCtx:this.polygonCtx,polygonCanvas:this.polygonCanvas,polygon:n,shiftKeyPressed:this.shiftKeyPressed,mousePoint:this.mousePoint,strokeColor:n.closed?this.config.closedObstructionColor:this.config.openObstructionColor,fillColor:t})}}deletePolygon(n){if(this.selectedPolygon?._id===n){this.selectedPolygon=null}if(this.roofPolygons[n]){delete this.roofPolygons[n];delete this.roofPolygonsSolarPanels[n]}if(this.obstructionPolygons[n]){delete this.obstructionPolygons[n]}}handleKeyDown(n){if(n.target instanceof HTMLInputElement){return}if(n.shiftKey&&!this.shiftKeyPressed){this.shiftKeyPressed=true;this.drawPolygons();return}if(n.altKey&&!this.altKeyPressed){this.altKeyPressed=true;return}if((n.key==="Delete"||n.key==="Backspace")&&this.selectedPolygon){const n=this.getCurrentPolygon();if(n.closed){this.deletePolygon(n._id);this.drawPolygons();return}n.points.pop();this.drawPolygons();return}const t=n.key.toLowerCase();const e=E.find((n=>n.keyboardShortcut?.toLowerCase()===t));if(e){this.currentTool=e}}handleKeyUp(n){if(!n.shiftKey&&this.shiftKeyPressed){this.shiftKeyPressed=false;this.drawPolygons()}if(!n.altKey&&this.altKeyPressed){this.altKeyPressed=false}}handleMouseDown(n){if(!this.polygonCanvas||!this.polygonCtx)return;if(!this.polygonCanvas.contains(n.target))return;const t=this.polygonCanvas.getBoundingClientRect();let e=n.clientX-t.left;let i=n.clientY-t.top;if(this.currentTool.name==="delete"){if(!this.hoveredPolygon){return}const{_id:n,type:t}=this.hoveredPolygon;if(t==="roof"){delete this.roofPolygons[n];delete this.roofPolygonsSolarPanels[n]}else if(t==="obstruction"){delete this.obstructionPolygons[n]}this.hoveredPolygon=null;if(this.selectedPolygon?._id===n){this.selectedPolygon=null}this.drawPolygons();return}if(this.currentTool.name==="move"){if(this.selectedPolygon){const n=this.getCurrentPolygon();const t=n?.points.findIndex((n=>{const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));return t<10}));if(t!==undefined&&t!==-1){this.draggedPointIndex=t;return}if(this.hoveredPolygon){this.selectedPolygon=this.hoveredPolygon;return}}this.selectedPolygon=null;this.drawPolygons();return}if(!this.selectedPolygon||this.getCurrentPolygon()?.closed){const n={_id:H(),points:[{x:e,y:i}],type:this.currentTool.name,closed:false};let t;if(this.currentTool.name==="roof"){this.roofPolygons={...this.roofPolygons,[n._id]:n};t=n._id}else if(this.currentTool.name==="obstruction"){this.obstructionPolygons={...this.obstructionPolygons,[n._id]:n};t=n._id}this.selectedPolygon={_id:t,type:this.currentTool.name};return}const{_id:r,type:o}=this.selectedPolygon;const a=o==="roof"?this.roofPolygons[r]:this.obstructionPolygons[r];if(a.closed){return}if(a.points.length>2){const n=a.points[0];const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));if(t<10){this.closePolygon();return}}if(n.shiftKey&&a?.points.length>=2){const n=x({x:e,y:i,lastPoint:a.points[a.points.length-1],secondLastPoint:a.points[a.points.length-2]});e=n.x;i=n.y}a.points=[...a.points,{x:e,y:i}];this.drawPolygons()}handleMouseUp(){this.draggedPointIndex=null}closePolygon(){const n=this.getCurrentPolygon();if(n.points.length>=3&&(this.currentTool.name==="roof"||this.currentTool.name==="obstruction")){n.closed=true}if(n.type==="roof"){const t=1/this.pixelInMeters;const e=V(n.points)/(t*t);const i=G(n,this.buildingInsights?.solarPotential.roofSegmentStats,this.rgbTiff.bounds,this.canvasElement);if(i){n.details={area:e,azimuth:i.azimuthDegrees,pitch:i.pitchDegrees}}else{n.details={area:e,azimuth:0,pitch:0}}}this.drawPolygons();this.currentTool=_}calculateSolarPanels(){const n=this.getCurrentPolygon();if(!n.details){return}if(this.roofPolygonsSolarPanels[n._id]){delete this.roofPolygonsSolarPanels[n._id]}const t={...this.solarPanel,widthMeters:this.solarPanel.widthMeters/this.pixelInMeters,heightMeters:this.solarPanel.heightMeters/this.pixelInMeters};const e=v/this.pixelInMeters;const i=dn(n,Object.values(this.obstructionPolygons),t,n.details?.azimuth,e,n.details?.pitch);this.roofPolygonsSolarPanels={...this.roofPolygonsSolarPanels,[n._id]:{positionedPanels:i,sunniness:n.details?.assignedRoofStats?.stats.sunshineQuantiles[5]??this.buildingInsights.solarPotential.buildingStats.sunshineQuantiles[5]??y}};this.drawPolygons()}handlePitchChange(n){const t=n.target;const e=parseFloat(t.value);const i=this.getCurrentPolygon();if(i){this.roofPolygons[i._id].details.pitch=e}if(i.type==="roof"&&this.roofPolygonsSolarPanels[i._id]){this.calculateSolarPanels();return}}handleAzimuthChange(n){const t=n.target;const e=parseFloat(t.value);const i=this.getCurrentPolygon();if(i){this.roofPolygons[i._id].details.azimuth=e}if(i.type==="roof"&&this.roofPolygonsSolarPanels[i._id]){this.calculateSolarPanels();return}}handleToolSelect(n){this.currentTool=n}render(){const n=bn(this.language);const e=this.getCurrentPolygon();return t("div",{key:"1066713dd2e91378d00c32b432134432cd88b166",class:"flex flex-col justify-center items-center w-full h-full gap-4"},this.loadingState==="empty"&&t("div",{key:"7e55beccb7b0df2d09b9043ba91df9dde5692a5a",class:"absolute h-16"},t("p",{key:"e49452bdafacdb4f4ac1e9fa9563d07d767f8f33",class:"text-white text-center h-full flex items-center justify-center rounded-4xl p-4",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},n.mapDraw.noAddressSelected)),this.latitude&&this.longitude&&this.loadingState!=="loaded"&&t("div",{key:"616e54987054913f4abb25184fdf626d0f86e495",class:"absolute flex items-center justify-center bg-white bg-opacity-75 z-20 pt-7 rounded-4xl"},t("div",{key:"3b5c5260107fe3b2e661a3cc19fe8651b1161dc0",class:"animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-[#271200]"})),t("div",{key:"a31594e746e41ec7b244693514099641605bfc7e",class:"flex gap-4 rounded-4xl bg-[#f3ebda] p-4"},E.map((e=>{const i=n.mapDraw.tools[e.name];return t("button",{class:`px-4 py-2 rounded-4xl transition-colors duration-200 hover:bg-[#964500] ${this.currentTool.name===e.name?"bg-[#271200] text-white hover:bg-[#964500]":"bg-[#f3ebda] hover:bg-[#964500]"}`,"aria-label":i.ariaLabel,title:i.explanation,onClick:()=>this.handleToolSelect(e)},t("div",{class:"flex items-center gap-1 flex-col"},t("icon-selector",{name:e.icon}),t("span",null,i.name)))}))),t("div",{key:"64384dfb0008317455212136cf9d187e2b25d134",class:"flex gap-4 items-start justify-center h-full"},t("div",{key:"740787316499cd4de2dd8c2b918b1004dc5ac1ad",class:"relative flex-1 h-full p-4 rounded-4xl flex items-center justify-center",style:{width:`${this.rgbTiff?.width*mn||0}px`,height:`${this.rgbTiff?.height*mn||0}px`}},t("canvas",{key:"89cd07b3552f27ccbf3d21bdff58ae120d1e33ff",ref:n=>this.canvasElement=n,class:`absolute top-0 left-0 z-1 rounded-4xl m-auto`,style:{cursor:this.currentTool.cursor}}),t("canvas",{key:"93b942c4046f214fb458ec006d85fe2ea409754f",ref:n=>this.polygonCanvas=n,class:`absolute top-0 left-0 z-10 rounded-4xl m-auto`,style:{cursor:this.currentTool.cursor}}))),t("div",{key:"9f1ea3cc060965e9f0be2ed918a8229e567bcba3",class:"flex gap-4 flex-row justify-center items-center"},t("div",{key:"8bcff460383a5e8f58843cf17488afa3bd529cee",class:"w-52 bg-[#f3ebda] rounded-4xl p-4"},t("h3",{key:"6f290d45a377bd2dc7a6afdeb79ab8a7e455690f",class:"text-lg font-semibold mb-4 text-center"},n.mapDraw.information),e?.details?t("div",{class:"space-y-4"},t("div",{class:"flex flex-col gap-2"},t("button",{class:"px-4 py-2 bg-[#271200] text-white rounded-4xl hover:bg-[#964500] transition-colors duration-200",onClick:()=>this.calculateSolarPanels()},n.mapDraw.calculateSolarPanels),this.roofPolygonsSolarPanels[e._id]&&t("p",{class:"text-lg text-center"},this.roofPolygonsSolarPanels[e._id].positionedPanels.length," ",n.mapDraw.panels)),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},n.mapDraw.area),t("p",{class:"text-lg"},e.details?.area.toFixed(2)," m²")),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},"Orientation"),t("div",{class:"flex gap-2 flex-row justify-start"},t("input",{class:"text-lg w-full",onKeyDown:n=>{if(n.key==="Enter"){this.handleAzimuthChange(n);n.target.blur()}},value:e.details?.azimuth}),"(",$(e.details?.azimuth),")")),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},n.mapDraw.pitch),t("div",{class:"flex gap-2 flex-row justify-start"},t("input",{class:"text-lg w-full",onKeyDown:n=>{if(n.key==="Enter"){this.handlePitchChange(n);n.target.blur()}},value:e.details?.pitch}),"°"))):t("p",{class:"text-gray-500 text-center"},n.mapDraw.noPolygonSelected))),t("solar-system-form",{key:"69f131fc1584a123b9237bf5fc70fea89220eb44",systemConfigs:this.roofPolygonsSolarPanels,language:this.language,roofPolygons:this.roofPolygons,obstructionPolygons:this.obstructionPolygons}))}static get watchers(){return{latitude:["getBuildingInsights","getBuildingImages"],longitude:["getBuildingInsights","getBuildingImages"],rgbTiff:["drawMap"],buildingInsights:["drawMap"],canvasElement:["drawMap"]}}};vn.style=wn;const yn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const xn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"936ac8ac2ae494b01e2ce3bd0cc6725f611f4978",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-move-icon lucide-move"},t("path",{key:"f14f0dc820ed067413bce75a5b79869061b468d5",d:"M12 2v20"}),t("path",{key:"9c9db2a19d692ae8e20efedd6f284c882b109f6d",d:"m15 19-3 3-3-3"}),t("path",{key:"4337b52c7868038fa04ab339fc7b8df3f3693b25",d:"m19 9 3 3-3 3"}),t("path",{key:"e069b6a00ed4c3ad30dd7b0406150ac045d3ea60",d:"M2 12h20"}),t("path",{key:"2191f33b0cd92de41ea14aadd14a38fe23d22b2a",d:"m5 9-3 3 3 3"}),t("path",{key:"363eb2dc0ebcb202bbb15f1687ebaf0f53a468ee",d:"m9 5 3-3 3 3"}))}};xn.style=yn;const kn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const Mn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"c1250c925b2ffe36221195c9dfd68595d2436cb3",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-octagon-minus-icon lucide-octagon-minus"},t("path",{key:"5a7741b029b9afa37a664eee5f5f560665f9d44b",d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z"}),t("path",{key:"fdb789647e05118cfcba10dbf2c001687a851ac4",d:"M8 12h8"}))}};Mn.style=kn;const zn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const Sn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"0e8ff56268e94ead08c1fe89b9a4eb9053542b9c",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-search-icon lucide-search"},t("path",{key:"a8f7b64ac7aa006921a28cf9a7457c0870328e62",d:"m21 21-4.34-4.34"}),t("circle",{key:"6dc9bd44e7f0288df59b6c939721084fb608c447",cx:"11",cy:"11",r:"8"}))}};Sn.style=zn;const Cn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const _n=class{constructor(t){n(this,t)}get el(){return e(this)}apiKey=i.GOOGLE_MAPS_API_KEY;language="en";latitude=null;longitude=null;isLoaded=false;autocomplete=null;place=null;inputElement;componentWillLoad(){this.loadGoogleMapsScript()}async loadGoogleMapsScript(){try{const n=new a({apiKey:this.apiKey,libraries:["places"]});const t=await n.importLibrary("places");this.isLoaded=true;this.initializeAutocomplete(t)}catch(n){console.error("Error loading Google Maps: ",n)}}initializeAutocomplete(n){if(!this.inputElement||!this.isLoaded)return;this.autocomplete=new n.Autocomplete(this.inputElement);this.autocomplete.addListener("place_changed",(()=>{const n=this.autocomplete?.getPlace();this.latitude=n?.geometry?.location?.lat()??0;this.longitude=n?.geometry?.location?.lng()??0}))}render(){const n=bn(this.language);return t("div",{key:"3073fc6409fb52ee102645092495d9a651027711",class:"flex flex-col w-full h-full p-3"},t("div",{key:"4b3692ed3676282e54a68c8f2aad02da1384d186",class:"pb-3"},t("div",{key:"72ca5bc51f2855d0769ca9e295d5861ce5ec55a9",class:"relative"},t("div",{key:"5ead4c18c0809e57d271a7ac793fd6be907c60d7",class:"absolute left-3 top-1/2 transform -translate-y-1/2"},t("search-icon",{key:"81556be508a848f7c8ee25ef13d1798d101b9f81"})),t("input",{key:"ff81ec07da3f5df32bded5dd4f55fcf6b11046d6",ref:n=>this.inputElement=n,type:"text",placeholder:n.solarExpert.searchPlaceholder,class:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-4xl focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white"}))),t("map-draw",{key:"9c74ce650ac00061adeec3eecdd4a2c4c6100c8c",latitude:this.latitude,longitude:this.longitude,apiKey:this.apiKey,language:this.language}))}};_n.style=Cn;
|
|
1
|
+
import{r as n,h as t,g as e,E as i}from"./p-D0YnIAAN.js";import{f as r,c as o,L as a}from"./p-DV0Qsxyh.js";const s='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const c=class{constructor(t){n(this,t)}render(){return t("svg",{key:"0ee60a12625e2827dcbdad1b8756c9402da84954",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-eraser-icon lucide-eraser"},t("path",{key:"98080b66fe105b29ecb14d82bc8b18b296dab09f",d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"}),t("path",{key:"dd52fc8bc1f6f4bcea487a5509601c2add99d151",d:"M22 21H7"}),t("path",{key:"94fd0f7a4b8152101d5b6a613cca039497024de0",d:"m5 11 9 9"}))}};c.style=s;const l='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const h=class{constructor(t){n(this,t)}render(){return t("svg",{key:"d0b1e07fb7b1a1da92b5d48004ac151abfd44677",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-house-icon lucide-house"},t("path",{key:"58ed725ac3227272ec36bc52b41c9e207af23073",d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"}),t("path",{key:"7bd219ffb3c88c8ec1433cec54744b76c02cfd01",d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}))}};h.style=l;const d='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const f=class{constructor(t){n(this,t)}name;render(){if(this.name==="search"){return t("search-icon",null)}if(this.name==="house"){return t("house-icon",null)}if(this.name==="move"){return t("move-icon",null)}if(this.name==="octagon-minus"){return t("octagon-minus-icon",null)}if(this.name==="eraser"){return t("eraser-icon",null)}return t("div",null,"Icon ",this.name)}};f.style=d;function u(n,t,e){if(!e){e=document.createElement("canvas")}e.width=n.width;e.height=n.height;const i=n.width/e.width;const r=n.height/e.height;const o=e.getContext("2d");const a=o.getImageData(0,0,e.width,e.height);for(let t=0;t<e.height;t++){for(let o=0;o<e.width;o++){const s=Math.floor(t*r)*n.width+Math.floor(o*i);const c=t*e.width*4+o*4;const l=.65;a.data[c+0]=Math.round(n.rasters[0][s]*l);a.data[c+1]=Math.round(n.rasters[1][s]*l);a.data[c+2]=Math.round(n.rasters[2][s]*l);a.data[c+3]=255}}o.putImageData(a,0,0);return e}function p(n,t,e,i,r,o){const{x:a,y:s}=n.pixelPosition;let c=e;let l=i*Math.cos(o*Math.PI/180);if(n.horizontal){c=i;l=e*Math.cos(o*Math.PI/180)}t.save();t.translate(a,s);t.rotate(r*Math.PI/180);t.fillStyle="rgba(115, 143, 255, 1)";t.fillRect(-c/2,-l/2,c,l);t.strokeStyle="rgba(0, 0, 0, 0.8)";t.lineWidth=1;t.strokeRect(-c/2,-l/2,c,l);t.restore()}function g({rgb:n,zoom:t=1,canvas:e}){const i=u(n,undefined,e);const r=i.getContext("2d");const o=r.getImageData(0,0,i.width,i.height);const a=i.width;const s=i.height;const c=Math.floor(a*t);const l=Math.floor(s*t);const h=Math.floor((a-c)/2);const d=Math.floor((s-l)/2);const f=new ImageData(c,l);for(let n=0;n<s;n++){for(let t=0;t<a;t++){const e=(n*a+t)*4;if(t>=h&&t<h+c&&n>=d&&n<d+l){const i=t-h;const r=n-d;const a=(r*c+i)*4;f.data[a]=o.data[e];f.data[a+1]=o.data[e+1];f.data[a+2]=o.data[e+2];f.data[a+3]=255}}}i.width=c;i.height=l;r.putImageData(f,0,0);return i}const b="rgba(0, 0, 0, 0.5)";const w=1;const m=1;const v=.2;const y=600;function x({x:n,y:t,lastPoint:e,secondLastPoint:i}){const r=e.x-i.x;const o=e.y-i.y;const a=-o;const s=r;const c=Math.sqrt(a*a+s*s);const l=a/c;const h=s/c;const d={x:n-e.x,y:t-e.y};const f=d.x*l+d.y*h;n=e.x+l*f;t=e.y+h*f;return{x:n,y:t}}function k({polygonCtx:n,polygonCanvas:t,polygon:e,shiftKeyPressed:i,mousePoint:r,strokeColor:o,fillColor:a}){if(!n||!t)return;n.beginPath();n.strokeStyle=o;n.lineWidth=2;e.points.forEach(((t,e)=>{if(e===0){n.moveTo(t.x,t.y)}else{n.lineTo(t.x,t.y)}}));if(e.closed){n.lineTo(e.points[0].x,e.points[0].y);if(a){n.fillStyle=a;n.fill()}}if(e.points.length>0){n.stroke()}if(e.points.length>1&&!e.closed&&i){const t=x({x:r.x,y:r.y,lastPoint:e.points[e.points.length-1],secondLastPoint:e.points[e.points.length-2]});z({ctx:n,startPoint:t,endPoint:e.points[e.points.length-1],strokeStyle:b})}if(i&&e.points.length>1&&!e.closed){const t=x({x:r.x,y:r.y,lastPoint:e.points[e.points.length-1],secondLastPoint:e.points[e.points.length-2]});M({ctx:n,x:t.x,y:t.y,radius:5,strokeStyle:b})}e.points.forEach((t=>{n.beginPath();const e=o;const i=Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2));if(i<10){M({ctx:n,x:t.x,y:t.y,strokeStyle:e,radius:8})}else{M({ctx:n,x:t.x,y:t.y,strokeStyle:e,radius:5})}n.stroke()}))}function M({ctx:n,x:t,y:e,radius:i,strokeStyle:r="black",lineWidth:o=2}){n.beginPath();n.strokeStyle=r;n.lineWidth=o;n.arc(t,e,i,0,2*Math.PI);n.stroke()}function z({ctx:n,startPoint:t,endPoint:e,dashPattern:i=[5,5],strokeStyle:r="black",lineWidth:o=2}){n.beginPath();n.strokeStyle=r;n.lineWidth=o;n.setLineDash(i);n.moveTo(t.x,t.y);n.lineTo(e.x,e.y);n.stroke();n.setLineDash([])}function S(n,t){if(!t.closed||t.points.length<3)return false;const e=t.points.length;const i=n.x;const r=n.y;let o=false;let a=t.points[0];let s;for(let n=1;n<=e;n++){s=t.points[n%e];if(r>Math.min(a.y,s.y)){if(r<=Math.max(a.y,s.y)){if(i<=Math.max(a.x,s.x)){const n=(r-a.y)*(s.x-a.x)/(s.y-a.y)+a.x;if(a.x===s.x||i<=n){o=!o}}}}a=s}return o}const C=[{key:"shift",description:"add one point on perpendicular line"}];const _={name:"move",ariaLabel:"Move",icon:"move",cursor:"move",keyboardShortcut:"m",explanation:"Move points of the active polygon"};const j={name:"roof",ariaLabel:"Roof Area",icon:"house",cursor:"crosshair",keyboardShortcut:"r",keyboardCombinations:C,explanation:"Draw the roof of the building"};const P={name:"obstruction",ariaLabel:"Obstruction",icon:"octagon-minus",cursor:"crosshair",keyboardShortcut:"o",keyboardCombinations:C,explanation:"Draw the obstruction of the building"};const O={name:"delete",ariaLabel:"Delete",icon:"eraser",cursor:"default",keyboardShortcut:"d",explanation:"Delete the active polygon"};const E=[_,j,P,O];const A={openRoofColor:"#d6eeff",closedRoofColor:"#ffffff",openObstructionColor:"#f57242",closedObstructionColor:"rgba(255, 132, 107, 0.8)",roofPolygonFillColor:"rgba(92, 187, 255, 0.5)",obstructionPolygonFillColor:"rgba(255, 132, 107, 0.5)",roofPolygonHoverFillColor:"rgba(92, 187, 255, 0.8)",obstructionPolygonHoverFillColor:"rgba(255, 132, 107, 0.8)",roofPolygonSelectedFillColor:"rgba(92, 187, 255, 0.7)",obstructionPolygonSelectedFillColor:"rgba(255, 132, 107, 0.7)"};const D={widthMeters:1.134,heightMeters:1.762,kWattPeak:.455,efficiency:.224,price:77.68};function L(n,t,e,i,r){const o=t?.type===i.type&&t?._id===e;if(o){return i.type==="roof"?r.roofPolygonHoverFillColor:r.obstructionPolygonHoverFillColor}const a=n?.type===i.type&&n?._id===e;if(a){return i.type==="roof"?r.roofPolygonSelectedFillColor:r.obstructionPolygonSelectedFillColor}if(i.type==="roof"){return i.closed?r.roofPolygonFillColor:undefined}return i.closed?r.obstructionPolygonFillColor:undefined}var R=[];for(var N=0;N<256;++N){R.push((N+256).toString(16).slice(1))}function I(n,t=0){return(R[n[t+0]]+R[n[t+1]]+R[n[t+2]]+R[n[t+3]]+"-"+R[n[t+4]]+R[n[t+5]]+"-"+R[n[t+6]]+R[n[t+7]]+"-"+R[n[t+8]]+R[n[t+9]]+"-"+R[n[t+10]]+R[n[t+11]]+R[n[t+12]]+R[n[t+13]]+R[n[t+14]]+R[n[t+15]]).toLowerCase()}var T;var F=new Uint8Array(16);function W(){if(!T){T=typeof crypto!=="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto);if(!T){throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}}return T(F)}var B=typeof crypto!=="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var U={randomUUID:B};function H(n,t,e){if(U.randomUUID&&true&&!n){return U.randomUUID()}n=n||{};var i=n.random||(n.rng||W)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;return I(i)}function V(n){let t=0;for(let e=0;e<n.length;e++){const i=(e+1)%n.length;t+=n[e].x*n[i].y;t-=n[i].x*n[e].y}return Math.abs(t/2)}function $(n){if(n>=337.5||n<22.5)return"North";if(n>=22.5&&n<67.5)return"Northeast";if(n>=67.5&&n<112.5)return"East";if(n>=112.5&&n<157.5)return"Southeast";if(n>=157.5&&n<202.5)return"South";if(n>=202.5&&n<247.5)return"Southwest";if(n>=247.5&&n<292.5)return"West";return"Northwest"}function Y(n,t,e){const i=t.getContext("2d");if(!i){throw new Error("Canvas context not found")}const r=e=>t.height*(1-(e-n.south)/(n.north-n.south));const o=e=>t.width*(e-n.west)/(n.east-n.west);return{x:o(e.longitude),y:r(e.latitude)}}function X(n){const t=n.bounds.north-n.bounds.south;const e=n.height;const i=t*111320/e;return i}function K(n,t){const e=t*(Math.PI/180);const i=n.x*Math.cos(e)-n.y*Math.sin(e);const r=n.x*Math.sin(e)+n.y*Math.cos(e);return{x:i,y:r}}function q(n,t){return{points:n.points.map((n=>K(n,t))),type:n.type,closed:n.closed,_id:n._id,details:n.details}}function Z(n,t){if(n.points.length===0){return{polygon:n,offset:{x:0,y:0}}}let e=0;let i=0;if(!t){const t=Math.min(...n.points.map((n=>n.x)));const r=Math.min(...n.points.map((n=>n.y)));const o=Math.max(...n.points.map((n=>n.x)));const a=Math.max(...n.points.map((n=>n.y)));e=t+(o-t)/2;i=r+(a-r)/2}else{e=t.x;i=t.y}const r=n.points.map((n=>({x:n.x-e,y:n.y-i})));return{polygon:{...n,points:r},offset:{x:e,y:i}}}function J(n,t){return n.x===t.x&&n.y===t.y}function Q(n,t){const e=n.start;const i=n.end;const r=t.start;const o=t.end;if(J(e,r)||J(e,o)||J(i,r)||J(i,o)){return false}const a=(o.x-r.x)*(e.y-r.y)-(o.y-r.y)*(e.x-r.x);const s=(o.x-r.x)*(i.y-r.y)-(o.y-r.y)*(i.x-r.x);const c=(i.x-e.x)*(r.y-e.y)-(i.y-e.y)*(r.x-e.x);const l=(i.x-e.x)*(o.y-e.y)-(i.y-e.y)*(o.x-e.x);return a*s<0&&c*l<0}function G(n,t,e,i){const r={minX:Math.min(...n.points.map((n=>n.x))),maxX:Math.max(...n.points.map((n=>n.x))),minY:Math.min(...n.points.map((n=>n.y))),maxY:Math.max(...n.points.map((n=>n.y)))};let o=null;let a=0;for(const n of t){const t=Y(e,i,{latitude:n.boundingBox.sw.latitude,longitude:n.boundingBox.sw.longitude});const s=Y(e,i,{latitude:n.boundingBox.ne.latitude,longitude:n.boundingBox.ne.longitude});const c={minX:t.x,maxX:s.x,minY:s.y,maxY:t.y};const l=Math.max(r.minX,c.minX);const h=Math.min(r.maxX,c.maxX);const d=Math.max(r.minY,c.minY);const f=Math.min(r.maxY,c.maxY);const u=h-l;const p=f-d;let g=0;if(u>0&&p>0){g=u*p}const b=(r.maxX-r.minX)*(r.maxY-r.minY);const w=(c.maxX-c.minX)*(c.maxY-c.minY);const m=b+w-g;const v=m>0?g/m:0;if(v>a){a=v;o=n}}return o}function nn(n,t,e,i,r,o){const a=[];const s=e?t.heightMeters:t.widthMeters;const c=Math.ceil((n.maxX-n.minX)/s);const l=e?t.widthMeters:t.heightMeters;const h=Math.ceil((n.maxY-n.minY)/l);const d=s/2;const f=l/2;const u=i.x-Math.ceil((i.x-n.minX)/s)*s;const p=i.y-Math.ceil((i.y-n.minY)/l)*l;for(let n=0;n<h;n++){const i=[];for(let a=0;a<c;a++){const c=u+a*s+a*o+d;const h=p+n*l+n*r+f;const g={panel:t,pixelPosition:{x:c,y:h},horizontal:e};i.push(g)}a.push(i)}return a}function tn(n,t){const e=t?n.panel.heightMeters:n.panel.widthMeters;const i=t?n.panel.widthMeters:n.panel.heightMeters;const r={x:n.pixelPosition.x-e/2,y:n.pixelPosition.y-i/2};const o={x:n.pixelPosition.x-e/2,y:n.pixelPosition.y+i/2};const a={x:n.pixelPosition.x+e/2,y:n.pixelPosition.y+i/2};const s={x:n.pixelPosition.x+e/2,y:n.pixelPosition.y-i/2};const c=[{start:r,end:o},{start:o,end:a},{start:a,end:s},{start:s,end:r}];return c}function en(n,t,e){const i=tn(n,e);if(S(n.pixelPosition,t)){return true}for(let n=0;n<t.points.length;n++){const e=t.points[n];const r=t.points[(n+1)%t.points.length];const o={start:e,end:r};for(const n of i){if(Q(n,o)){return true}}}return false}function rn(n,t,e){const i=tn(n,e);for(let n=0;n<t.points.length;n++){const e=t.points[n];const r=t.points[(n+1)%t.points.length];const o={start:e,end:r};for(const n of i){if(Q(n,o)){return false}}}return S(n.pixelPosition,t)}function on(n,t,e){for(const i of t){if(en(n,i.polygon,e)){return true}}return false}function an(n,t,e,i){const r=[];for(const o of n){let n=[];for(const r of o){const o=on(r,i,e);if(rn(r,t,e)&&!o){n.push(r)}}r.push(n)}return r}function sn(n,t,e,i){const r=Math.min(...n.points.map((n=>n.x)));const o=Math.max(...n.points.map((n=>n.x)));const a=Math.min(...n.points.map((n=>n.y)));const s=Math.max(...n.points.map((n=>n.y)));const c={minX:r,maxX:o,minY:a,maxY:s};console.log("solar",e);const l={...e,widthMeters:e.widthMeters*Math.cos(i*Math.PI/180),heightMeters:e.heightMeters};const h={...e,widthMeters:e.widthMeters,heightMeters:e.heightMeters*Math.cos(i*Math.PI/180)};let d=[];let f=0;for(const e of n.points){for(const i of[false]){const r=nn(c,i?l:h,i,e,w,m);const o=an(r,n,i,t);const a=o.reduce(((n,t)=>n+t.length),0);if(a>f){f=a;d=o}}break}return d}function cn(n,t,e,i){const r=[];for(const o of n){const n=Z(o,e);const a=q(n.polygon,-t);const s=hn(a,-i);const c=Math.min(...s.points.map((n=>n.x)));const l=Math.max(...s.points.map((n=>n.x)));const h=Math.min(...s.points.map((n=>n.y)));const d=Math.max(...s.points.map((n=>n.y)));const f={minX:c,maxX:l,minY:h,maxY:d};r.push({polygon:a,boundingBox:f})}return r}function ln(n){let t=0;for(let e=0;e<n.length;e++){const i=n[e];const r=n[(e+1)%n.length];t+=(r.x-i.x)*(r.y+i.y)}return t>0}function hn(n,t){const e=n.points;const i=ln(e);t=t*Math.sqrt(2)*(i?-1:1);const r=[];for(let n=0;n<e.length;n++){const i=e[(n-1+e.length)%e.length];const o=e[n];const a=e[(n+1)%e.length];const s={x:o.x-i.x,y:o.y-i.y};const c={x:a.x-o.x,y:a.y-o.y};const l={x:-s.y,y:s.x};const h={x:-c.y,y:c.x};const d=Math.sqrt(l.x*l.x+l.y*l.y);const f=Math.sqrt(h.x*h.x+h.y*h.y);l.x/=d;l.y/=d;h.x/=f;h.y/=f;const u={x:l.x+h.x,y:l.y+h.y};const p=Math.sqrt(u.x*u.x+u.y*u.y);u.x/=p;u.y/=p;const g={x:o.x+u.x*t,y:o.y+u.y*t};r.push(g)}return{points:r,type:n.type,closed:n.closed,_id:n._id,details:n.details}}function dn(n,t,e,i,r,o){const a=hn(n,r);const s=Z(a);const c=q(s.polygon,-i);const l=cn(t,i,s.offset,r);const h=sn(c,l,e,o);const d=[];for(const n of h.flat()){const t=K(n.pixelPosition,i);const e={x:t.x+s.offset.x,y:t.y+s.offset.y};d.push({panel:n.panel,pixelPosition:e,horizontal:n.horizontal})}return d}const fn={solarExpert:{searchPlaceholder:"Search for a location"},solarSystemForm:{title:"Solar System Configuration",systemInformation:"System Information",numberOfPanels:"Number of Solar Panels",panelPeakPower:"Panel Peak Power (kW)",totalSystemPeakPower:"Total System Peak Power (kW)",electricityPrice:"Electricity Price (€/kWh)",compensationRate:"Compensation Rate (€/kWh)",autonomy:"Autonomy (days)",costSavings:"Cost Savings (€/year)",householdConsumptionTitle:"Household Electricity Consumption",consumptionProfileTitle:"Consumption Profile",electricityCostsTitle:"Electricity Costs",compensationRateTitle:"Compensation Rate",resultsTitle:"Results",savingsDisclaimer:"Disclaimer: The savings are based on the average electricity price in Spain.",annualConsumption:"Annual Consumption (kWh)",name:"Name",email:"Email",nameError:"Please enter your name",emailError:"Please enter a valid email address",consumptionProfiles:{mostlyAtHome:"Mostly at home",mostlyAway:"Mostly away"},chart:{consumption:"Consumption",production:"Production",consumptionProfile:"Consumption Profile",relativeConsumption:"Relative Consumption",hourOfDay:"Hour of Day"},validEmailError:"Please enter a valid email address",requestOffer:"Request Offer",requestOfferButton:"Request Offer",year:"year"},mapDraw:{noPolygonSelected:"No polygon selected",noAddressSelected:"Please select an address",information:"Information",calculateSolarPanels:"Calculate Solar Panels",panels:"Panels",area:"Area",azimuth:"Azimuth",pitch:"Pitch",tools:{roof:{name:"Roof",explanation:"Draw the roof of the building",ariaLabel:"Roof"},obstruction:{name:"Obstruction",explanation:"Draw the obstruction of the building",ariaLabel:"Obstruction"},delete:{name:"Delete",explanation:"Delete the selected polygon",ariaLabel:"Delete"},move:{name:"Move",explanation:"Move the selected polygon",ariaLabel:"Move"}}}};const un={solarExpert:{searchPlaceholder:"Suche nach einer Adresse"},solarSystemForm:{title:"Solarsystem Konfiguration",systemInformation:"System Information",numberOfPanels:"Anzahl der Solarpanel",panelPeakPower:"Panel Peak Power (kW)",totalSystemPeakPower:"Total System Peak Power (kW)",electricityPrice:"Strompreis (€/kWh)",compensationRate:"Einspeisevergütung (€/kWh)",autonomy:"Autonomie (Tage)",costSavings:"Einsparungen (€/Jahr)",householdConsumptionTitle:"Haushaltsverbrauch",consumptionProfileTitle:"Verbrauchprofil",electricityCostsTitle:"Stromkosten",compensationRateTitle:"Einspeisevergütung",resultsTitle:"Ergebnisse",savingsDisclaimer:"Disclaimer: Die Einsparungen basieren auf dem durchschnittlichen Strompreis in Spanien.",annualConsumption:"Jährlicher Verbrauch (kWh)",name:"Name",email:"Email",nameError:"Bitte geben Sie Ihren Namen ein",emailError:"Bitte geben Sie eine gültige E-Mail-Adresse ein",consumptionProfiles:{mostlyAtHome:"Hauptsächlich zu Hause",mostlyAway:"Erwerbstätig"},chart:{consumption:"Verbrauch",production:"Produktion",consumptionProfile:"Verbrauchprofil",relativeConsumption:"Verbrauch",hourOfDay:"Stunde des Tages"},validEmailError:"Bitte geben Sie eine gültige E-Mail-Adresse ein",requestOffer:"Angebot anfordern",requestOfferButton:"Angebot anfordern",year:"Jahr"},mapDraw:{noPolygonSelected:"Kein Polygon ausgewählt",noAddressSelected:"Bitte wählen Sie eine Adresse",information:"Information",calculateSolarPanels:"Berechnen Sie die Solarpanele",panels:"Panele",area:"Fläche",azimuth:"Ausrichtung",pitch:"Neigung",tools:{roof:{name:"Dach",explanation:"Zeichnen Sie das Dach des Gebäudes",ariaLabel:"Dach"},obstruction:{name:"Hindernis",explanation:"Zeichnen Sie das Hindernis des Gebäudes",ariaLabel:"Hindernis"},delete:{name:"Löschen",explanation:"Löschen Sie das ausgewählte Polygon",ariaLabel:"Löschen"},move:{name:"Verschieben",explanation:"Verschieben Sie Punkte des ausgewählten Polygons",ariaLabel:"Verschieben"}}}};const pn={solarExpert:{searchPlaceholder:"Suche nach einer Adresse"},solarSystemForm:{title:"Configuración del sistema solar",systemInformation:"Información del sistema",numberOfPanels:"Número de paneles solares",panelPeakPower:"Potencia pico del panel (kW)",totalSystemPeakPower:"Potencia pico total del sistema (kW)",electricityPrice:"Precio de la electricidad (€/kWh)",compensationRate:"Tasa de compensación (€/kWh)",autonomy:"Autonomía (días)",costSavings:"Ahorro (€/año)",householdConsumptionTitle:"Consumo de la casa",consumptionProfileTitle:"Perfil de consumo",electricityCostsTitle:"Costes de la electricidad",compensationRateTitle:"Tasa de compensación",resultsTitle:"Resultados",savingsDisclaimer:"Nota: Los ahorros se basan en el precio promedio de la electricidad en España.",annualConsumption:"Consumo anual (kWh)",name:"Nombre",email:"Email",nameError:"Por favor, ingrese su nombre",emailError:"Por favor, ingrese una dirección de correo electrónico válida",consumptionProfiles:{mostlyAtHome:"Principalmente en casa",mostlyAway:"Empleo"},chart:{consumption:"Consumo",production:"Producción",consumptionProfile:"Perfil de consumo",relativeConsumption:"Consumo",hourOfDay:"Hora del día"},validEmailError:"Por favor, ingrese una dirección de correo electrónico válida",requestOffer:"Solicitar una oferta",requestOfferButton:"Solicitar oferta",year:"Año"},mapDraw:{noPolygonSelected:"No se ha seleccionado un polígono",noAddressSelected:"Por favor, seleccione una dirección",information:"Información",calculateSolarPanels:"Calcular paneles solares",panels:"Paneles",area:"Área",azimuth:"Azimut",pitch:"Inclinación",tools:{roof:{name:"Tejado",explanation:"Dibuje el tejado del edificio",ariaLabel:"Tejado"},obstruction:{name:"Obstrucción",explanation:"Dibuje la obstrucción del edificio",ariaLabel:"Obstrucción"},delete:{name:"Eliminar",explanation:"Elimine el polígono seleccionado",ariaLabel:"Eliminar"},move:{name:"Mover",explanation:"Mueva los puntos del polígono seleccionado",ariaLabel:"Mover"}}}};const gn={en:fn,es:pn,de:un};function bn(n){const t=gn["en"];if(n==="en"){return t}const e=gn[n];const i=JSON.parse(JSON.stringify(t));function r(n,t){for(const e in t){if(t[e]instanceof Object&&e in n){r(n[e],t[e])}else if(t[e]!==undefined){n[e]=t[e]}}}r(i,e);return i}const wn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const mn=1;const vn=class{constructor(t){n(this,t)}language="en";apiKey="";latitude=null;longitude=null;config=A;solarPanel=D;zoom=1;loadingState="empty";rgbTiff=null;draggedPointIndex=null;hoveredPointIndex=null;hoveredPolygon=null;shiftKeyPressed=false;altKeyPressed=false;mousePoint=null;currentTool=j;roofPolygons={};roofPolygonsSolarPanels={};obstructionPolygons={};selectedPolygon=null;buildingInsights=null;pixelInMeters=.2;showAzimuth=true;get el(){return e(this)}canvasElement;polygonCanvas;polygonCtx;getCurrentPolygon(){if(!this.selectedPolygon){return null}const{_id:n,type:t}=this.selectedPolygon;return t==="roof"?this.roofPolygons[n]:this.obstructionPolygons[n]}componentDidLoad(){if(this.latitude&&this.longitude){this.loadingState="loading"}requestAnimationFrame((()=>{if(this.canvasElement){const n=this.canvasElement.getBoundingClientRect();this.canvasElement.width=n.width;this.canvasElement.height=n.height;this.drawMap()}}))}sizeCanvas(n,t){if(this.polygonCanvas){this.polygonCanvas.width=n;this.polygonCanvas.height=t;this.polygonCtx=this.polygonCanvas.getContext("2d")}}async getBuildingInsights(){if(!this.latitude||!this.longitude){return}this.loadingState="loading";if(this.buildingInsights){const n=this.buildingInsights.center.latitude===this.latitude&&this.buildingInsights.center.longitude===this.longitude;if(n){return}this.obstructionPolygons={};this.roofPolygons={};this.selectedPolygon=null;this.hoveredPolygon=null;this.canvasElement.getContext("2d")?.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);this.polygonCtx?.clearRect(0,0,this.polygonCanvas.width,this.polygonCanvas.height);this.rgbTiff=null}this.buildingInsights=await r(this.latitude,this.longitude,this.apiKey);if(!this.buildingInsights){alert("No building insights found. Please enter them manually.")}}async getBuildingImages(){if(!this.latitude||!this.longitude){return}if(this.buildingInsights){const n=this.buildingInsights.center.latitude===this.latitude&&this.buildingInsights.center.longitude===this.longitude;if(n){return}}this.rgbTiff=await o(this.latitude,this.longitude,this.apiKey);this.pixelInMeters=X(this.rgbTiff);this.loadingState="loaded"}async drawMap(){if(!this.canvasElement||!this.rgbTiff||!this.buildingInsights)return;this.sizeCanvas(this.rgbTiff.width,this.rgbTiff.height);g({rgb:this.rgbTiff,zoom:this.zoom,canvas:this.canvasElement})}handleMouseMove(n){if(!this.polygonCanvas||!this.polygonCtx)return;const t=this.polygonCanvas.getBoundingClientRect();const e=n.clientX-t.left;const i=n.clientY-t.top;this.mousePoint={x:e,y:i};const r=this.getCurrentPolygon();const o=r?.points.findIndex((n=>{const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));return t<10}));let a=null;for(const n of Object.values(this.obstructionPolygons)){if(S({x:e,y:i},n)){a={_id:n._id,type:"obstruction"};break}}if(!a){for(const n of Object.values(this.roofPolygons)){if(S({x:e,y:i},n)){a={_id:n._id,type:"roof"};break}}}if(o!==this.hoveredPointIndex||JSON.stringify(a)!==JSON.stringify(this.hoveredPolygon)){this.hoveredPointIndex=o;this.hoveredPolygon=a;this.drawPolygons()}if(this.draggedPointIndex!==null&&r&&this.currentTool.name==="move"){r.points[this.draggedPointIndex]={x:e,y:i};this.drawPolygons()}if(this.shiftKeyPressed){this.drawPolygons()}}drawPolygons(){if(!this.polygonCanvas||!this.polygonCtx)return;this.polygonCtx.clearRect(0,0,this.polygonCanvas.width,this.polygonCanvas.height);for(const n of Object.values(this.roofPolygons)){const t=L(this.selectedPolygon,this.hoveredPolygon,n._id,n,this.config);k({polygonCtx:this.polygonCtx,polygonCanvas:this.polygonCanvas,polygon:n,strokeColor:n.closed?this.config.closedRoofColor:this.config.openRoofColor,fillColor:t,shiftKeyPressed:this.shiftKeyPressed,mousePoint:this.mousePoint});const e=this.roofPolygonsSolarPanels[n._id];const i={widthMeters:this.solarPanel.widthMeters/this.pixelInMeters,heightMeters:this.solarPanel.heightMeters/this.pixelInMeters};if(e){for(const t of e.positionedPanels){p(t,this.polygonCtx,i.widthMeters,i.heightMeters,n.details?.azimuth,n.details?.pitch)}}}for(const n of Object.values(this.obstructionPolygons)){const t=L(this.selectedPolygon,this.hoveredPolygon,n._id,n,this.config);k({polygonCtx:this.polygonCtx,polygonCanvas:this.polygonCanvas,polygon:n,shiftKeyPressed:this.shiftKeyPressed,mousePoint:this.mousePoint,strokeColor:n.closed?this.config.closedObstructionColor:this.config.openObstructionColor,fillColor:t})}}deletePolygon(n){if(this.selectedPolygon?._id===n){this.selectedPolygon=null}if(this.roofPolygons[n]){delete this.roofPolygons[n];delete this.roofPolygonsSolarPanels[n]}if(this.obstructionPolygons[n]){delete this.obstructionPolygons[n]}}handleKeyDown(n){if(n.target instanceof HTMLInputElement){return}if(n.shiftKey&&!this.shiftKeyPressed){this.shiftKeyPressed=true;this.drawPolygons();return}if(n.altKey&&!this.altKeyPressed){this.altKeyPressed=true;return}if((n.key==="Delete"||n.key==="Backspace")&&this.selectedPolygon){const n=this.getCurrentPolygon();if(n.closed){this.deletePolygon(n._id);this.drawPolygons();return}n.points.pop();this.drawPolygons();return}const t=n.key.toLowerCase();const e=E.find((n=>n.keyboardShortcut?.toLowerCase()===t));if(e){this.currentTool=e}}handleKeyUp(n){if(!n.shiftKey&&this.shiftKeyPressed){this.shiftKeyPressed=false;this.drawPolygons()}if(!n.altKey&&this.altKeyPressed){this.altKeyPressed=false}}handleMouseDown(n){if(!this.polygonCanvas||!this.polygonCtx)return;if(!this.polygonCanvas.contains(n.target))return;const t=this.polygonCanvas.getBoundingClientRect();let e=n.clientX-t.left;let i=n.clientY-t.top;if(this.currentTool.name==="delete"){if(!this.hoveredPolygon){return}const{_id:n,type:t}=this.hoveredPolygon;if(t==="roof"){delete this.roofPolygons[n];delete this.roofPolygonsSolarPanels[n]}else if(t==="obstruction"){delete this.obstructionPolygons[n]}this.hoveredPolygon=null;if(this.selectedPolygon?._id===n){this.selectedPolygon=null}this.drawPolygons();return}if(this.currentTool.name==="move"){if(this.selectedPolygon){const n=this.getCurrentPolygon();const t=n?.points.findIndex((n=>{const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));return t<10}));if(t!==undefined&&t!==-1){this.draggedPointIndex=t;return}if(this.hoveredPolygon){this.selectedPolygon=this.hoveredPolygon;return}}this.selectedPolygon=null;this.drawPolygons();return}if(!this.selectedPolygon||this.getCurrentPolygon()?.closed){const n={_id:H(),points:[{x:e,y:i}],type:this.currentTool.name,closed:false};let t;if(this.currentTool.name==="roof"){this.roofPolygons={...this.roofPolygons,[n._id]:n};t=n._id}else if(this.currentTool.name==="obstruction"){this.obstructionPolygons={...this.obstructionPolygons,[n._id]:n};t=n._id}this.selectedPolygon={_id:t,type:this.currentTool.name};return}const{_id:r,type:o}=this.selectedPolygon;const a=o==="roof"?this.roofPolygons[r]:this.obstructionPolygons[r];if(a.closed){return}if(a.points.length>2){const n=a.points[0];const t=Math.sqrt(Math.pow(e-n.x,2)+Math.pow(i-n.y,2));if(t<10){this.closePolygon();return}}if(n.shiftKey&&a?.points.length>=2){const n=x({x:e,y:i,lastPoint:a.points[a.points.length-1],secondLastPoint:a.points[a.points.length-2]});e=n.x;i=n.y}a.points=[...a.points,{x:e,y:i}];this.drawPolygons()}handleMouseUp(){this.draggedPointIndex=null}closePolygon(){const n=this.getCurrentPolygon();if(n.points.length>=3&&(this.currentTool.name==="roof"||this.currentTool.name==="obstruction")){n.closed=true}if(n.type==="roof"){const t=1/this.pixelInMeters;const e=V(n.points)/(t*t);const i=G(n,this.buildingInsights?.solarPotential.roofSegmentStats,this.rgbTiff.bounds,this.canvasElement);if(i){n.details={area:e,azimuth:i.azimuthDegrees,pitch:i.pitchDegrees}}else{n.details={area:e,azimuth:0,pitch:0}}}this.drawPolygons();this.currentTool=_}calculateSolarPanels(){const n=this.getCurrentPolygon();if(!n.details){return}if(this.roofPolygonsSolarPanels[n._id]){delete this.roofPolygonsSolarPanels[n._id]}const t={...this.solarPanel,widthMeters:this.solarPanel.widthMeters/this.pixelInMeters,heightMeters:this.solarPanel.heightMeters/this.pixelInMeters};const e=v/this.pixelInMeters;const i=dn(n,Object.values(this.obstructionPolygons),t,n.details?.azimuth,e,n.details?.pitch);this.roofPolygonsSolarPanels={...this.roofPolygonsSolarPanels,[n._id]:{positionedPanels:i,sunniness:n.details?.assignedRoofStats?.stats.sunshineQuantiles[5]??this.buildingInsights.solarPotential.buildingStats.sunshineQuantiles[5]??y}};this.drawPolygons()}handlePitchChange(n){const t=n.target;const e=parseFloat(t.value);const i=this.getCurrentPolygon();if(i){this.roofPolygons[i._id].details.pitch=e}if(i.type==="roof"&&this.roofPolygonsSolarPanels[i._id]){this.calculateSolarPanels();return}}handleAzimuthChange(n){const t=n.target;const e=parseFloat(t.value);const i=this.getCurrentPolygon();if(i){this.roofPolygons[i._id].details.azimuth=e}if(i.type==="roof"&&this.roofPolygonsSolarPanels[i._id]){this.calculateSolarPanels();return}}handleToolSelect(n){this.currentTool=n}render(){const n=bn(this.language);const e=this.getCurrentPolygon();return t("div",{key:"16a466a7726ff3fa023dadcc42dcd8afda72243c",class:"flex flex-col justify-center items-center w-full h-full gap-4"},this.loadingState==="empty"&&t("div",{key:"52a8c08765bf0d9df5035e28c9f83887b0c92954",class:"absolute h-16"},t("p",{key:"c841d9e3556a0036bacdb9636854051b9dabce93",class:"text-white text-center h-full flex items-center justify-center rounded-4xl p-4",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},n.mapDraw.noAddressSelected)),this.latitude&&this.longitude&&this.loadingState!=="loaded"&&t("div",{key:"391c7ec94e59db3ec783e9b00558b9cd85bd6b16",class:"absolute flex items-center justify-center bg-white bg-opacity-75 z-20 pt-7 rounded-4xl"},t("div",{key:"1a4c89acbb2289e7fe08b87d5f94d400ed5058c2",class:"animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-[#271200]"})),t("div",{key:"c26f4edb56ccec5a28c266bc94acfd20ce2d1476",class:"flex gap-4 rounded-4xl bg-[#f3ebda] p-4"},E.map((e=>{const i=n.mapDraw.tools[e.name];return t("button",{class:`px-4 py-2 rounded-4xl transition-colors duration-200 hover:bg-[#964500] ${this.currentTool.name===e.name?"bg-[#271200] text-white hover:bg-[#964500]":"bg-[#f3ebda] hover:bg-[#964500]"}`,"aria-label":i.ariaLabel,title:i.explanation,onClick:()=>this.handleToolSelect(e)},t("div",{class:"flex items-center gap-1 flex-col"},t("icon-selector",{name:e.icon}),t("span",null,i.name)))}))),t("div",{key:"b7b30bf00ad112e4ccc012d8b28957bac9206cf7",class:"flex gap-4 items-start justify-center h-full"},t("div",{key:"d1855fccbd14b4c6b16bed0e6b4061ec39bb6deb",class:"relative flex-1 h-full p-4 rounded-4xl flex items-center justify-center",style:{width:`${this.rgbTiff?.width*mn||0}px`,height:`${this.rgbTiff?.height*mn||0}px`}},t("canvas",{key:"cdef26a28d30b0d9ab7aebf569d3fbc9ac67f4d6",ref:n=>this.canvasElement=n,class:`absolute top-0 left-0 z-1 rounded-4xl m-auto`,style:{cursor:this.currentTool.cursor}}),t("canvas",{key:"f33ed7633bc3a1381d128aa70d6cdfdaeb927a17",ref:n=>this.polygonCanvas=n,class:`absolute top-0 left-0 z-10 rounded-4xl m-auto`,style:{cursor:this.currentTool.cursor}}))),t("div",{key:"cd792879351289f3bf1e9ef48b39323f8f426271",class:"flex gap-4 flex-row justify-center items-center"},t("div",{key:"35a5249745fdb18bbd873d737cb690ec98afdb3f",class:"w-52 bg-[#f3ebda] rounded-4xl p-4"},t("h3",{key:"dc0e5ac0d1451d842948796cdd7c2fefe5d94459",class:"text-lg font-semibold mb-4 text-center"},n.mapDraw.information),e?.details?t("div",{class:"space-y-4"},t("div",{class:"flex flex-col gap-2"},t("button",{class:"px-4 py-2 bg-[#271200] text-white rounded-4xl hover:bg-[#964500] transition-colors duration-200",onClick:()=>this.calculateSolarPanels()},n.mapDraw.calculateSolarPanels),this.roofPolygonsSolarPanels[e._id]&&t("p",{class:"text-lg text-center"},this.roofPolygonsSolarPanels[e._id].positionedPanels.length," ",n.mapDraw.panels)),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},n.mapDraw.area),t("p",{class:"text-lg"},e.details?.area.toFixed(2)," m²")),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},"Orientation"),t("div",{class:"flex gap-2 flex-row justify-start"},t("input",{class:"text-lg w-full",onKeyDown:n=>{if(n.key==="Enter"){this.handleAzimuthChange(n);n.target.blur()}},value:e.details?.azimuth}),"(",$(e.details?.azimuth),")")),t("div",null,t("h4",{class:"text-sm font-medium text-gray-600"},n.mapDraw.pitch),t("div",{class:"flex gap-2 flex-row justify-start"},t("input",{class:"text-lg w-full",onKeyDown:n=>{if(n.key==="Enter"){this.handlePitchChange(n);n.target.blur()}},value:e.details?.pitch}),"°"))):t("p",{class:"text-gray-500 text-center"},n.mapDraw.noPolygonSelected))),t("solar-system-form",{key:"b2218c417a5a8ccc3317b69b9cac4b8653c06fdb",systemConfigs:this.roofPolygonsSolarPanels,language:this.language,roofPolygons:this.roofPolygons,obstructionPolygons:this.obstructionPolygons}))}static get watchers(){return{latitude:["getBuildingInsights","getBuildingImages"],longitude:["getBuildingInsights","getBuildingImages"],rgbTiff:["drawMap"],buildingInsights:["drawMap"],canvasElement:["drawMap"]}}};vn.style=wn;const yn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const xn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"936ac8ac2ae494b01e2ce3bd0cc6725f611f4978",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-move-icon lucide-move"},t("path",{key:"f14f0dc820ed067413bce75a5b79869061b468d5",d:"M12 2v20"}),t("path",{key:"9c9db2a19d692ae8e20efedd6f284c882b109f6d",d:"m15 19-3 3-3-3"}),t("path",{key:"4337b52c7868038fa04ab339fc7b8df3f3693b25",d:"m19 9 3 3-3 3"}),t("path",{key:"e069b6a00ed4c3ad30dd7b0406150ac045d3ea60",d:"M2 12h20"}),t("path",{key:"2191f33b0cd92de41ea14aadd14a38fe23d22b2a",d:"m5 9-3 3 3 3"}),t("path",{key:"363eb2dc0ebcb202bbb15f1687ebaf0f53a468ee",d:"m9 5 3-3 3 3"}))}};xn.style=yn;const kn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const Mn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"c1250c925b2ffe36221195c9dfd68595d2436cb3",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-octagon-minus-icon lucide-octagon-minus"},t("path",{key:"5a7741b029b9afa37a664eee5f5f560665f9d44b",d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z"}),t("path",{key:"fdb789647e05118cfcba10dbf2c001687a851ac4",d:"M8 12h8"}))}};Mn.style=kn;const zn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const Sn=class{constructor(t){n(this,t)}render(){return t("svg",{key:"0e8ff56268e94ead08c1fe89b9a4eb9053542b9c",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-search-icon lucide-search"},t("path",{key:"a8f7b64ac7aa006921a28cf9a7457c0870328e62",d:"m21 21-4.34-4.34"}),t("circle",{key:"6dc9bd44e7f0288df59b6c939721084fb608c447",cx:"11",cy:"11",r:"8"}))}};Sn.style=zn;const Cn='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const _n=class{constructor(t){n(this,t)}get el(){return e(this)}apiKey=i.GOOGLE_MAPS_API_KEY;language="en";latitude=null;longitude=null;isLoaded=false;autocomplete=null;place=null;inputElement;componentWillLoad(){this.loadGoogleMapsScript()}async loadGoogleMapsScript(){try{const n=new a({apiKey:this.apiKey,libraries:["places"]});const t=await n.importLibrary("places");this.isLoaded=true;this.initializeAutocomplete(t)}catch(n){console.error("Error loading Google Maps: ",n)}}initializeAutocomplete(n){if(!this.inputElement||!this.isLoaded)return;this.autocomplete=new n.Autocomplete(this.inputElement);this.autocomplete.addListener("place_changed",(()=>{const n=this.autocomplete?.getPlace();this.latitude=n?.geometry?.location?.lat()??0;this.longitude=n?.geometry?.location?.lng()??0}))}render(){const n=bn(this.language);return t("div",{key:"fa09eea42dfd57eaaf2ef4655b88841d3f5fd2a8",class:"flex flex-col w-full h-full p-3 bg-white"},t("div",{key:"96f064d4c280e2e668a5807626a9486be36c8565",class:"pb-3"},t("div",{key:"41cb8197e5cc02fd22e7d62e78193d087ce58515",class:"relative"},t("div",{key:"c08c2aca502c2421391bad10a5227ca2f6ffa44e",class:"absolute left-3 top-1/2 transform -translate-y-1/2"},t("search-icon",{key:"487b4fcf984eb4e5bce29cf7c715869f33c20310"})),t("input",{key:"d6ce0129f903b4b27edb03bbd3670249924e7421",ref:n=>this.inputElement=n,type:"text",placeholder:n.solarExpert.searchPlaceholder,class:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-4xl focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white"}))),t("map-draw",{key:"0556d2fa4fc3b30c7d283e09f609cf6301d57779",latitude:this.latitude,longitude:this.longitude,apiKey:this.apiKey,language:this.language}))}};_n.style=Cn;
|
|
2
2
|
/*!
|
|
3
3
|
* @kurkle/color v0.3.4
|
|
4
4
|
* https://github.com/kurkle/color#readme
|
|
@@ -17,4 +17,4 @@ import{r as n,h as t,g as e,E as i}from"./p-D0YnIAAN.js";import{f as r,c as o,L
|
|
|
17
17
|
* (c) 2025 Chart.js Contributors
|
|
18
18
|
* Released under the MIT License
|
|
19
19
|
*/class Jr{constructor(){this._request=null;this._charts=new Map;this._running=false;this._lastDate=undefined}_notify(n,t,e,i){const r=t.listeners[i];const o=t.duration;r.forEach((i=>i({chart:n,initial:t.initial,numSteps:o,currentStep:Math.min(e-t.start,o)})))}_refresh(){if(this._request){return}this._running=true;this._request=Pe.call(window,(()=>{this._update();this._request=null;if(this._running){this._refresh()}}))}_update(n=Date.now()){let t=0;this._charts.forEach(((e,i)=>{if(!e.running||!e.items.length){return}const r=e.items;let o=r.length-1;let a=false;let s;for(;o>=0;--o){s=r[o];if(s._active){if(s._total>e.duration){e.duration=s._total}s.tick(n);a=true}else{r[o]=r[r.length-1];r.pop()}}if(a){i.draw();this._notify(i,e,n,"progress")}if(!r.length){e.running=false;this._notify(i,e,n,"complete");e.initial=false}t+=r.length}));this._lastDate=n;if(t===0){this._running=false}}_getAnims(n){const t=this._charts;let e=t.get(n);if(!e){e={running:false,initial:true,items:[],listeners:{complete:[],progress:[]}};t.set(n,e)}return e}listen(n,t,e){this._getAnims(n).listeners[t].push(e)}add(n,t){if(!t||!t.length){return}this._getAnims(n).items.push(...t)}has(n){return this._getAnims(n).items.length>0}start(n){const t=this._charts.get(n);if(!t){return}t.running=true;t.start=Date.now();t.duration=t.items.reduce(((n,t)=>Math.max(n,t._duration)),0);this._refresh()}running(n){if(!this._running){return false}const t=this._charts.get(n);if(!t||!t.running||!t.items.length){return false}return true}stop(n){const t=this._charts.get(n);if(!t||!t.items.length){return}const e=t.items;let i=e.length-1;for(;i>=0;--i){e[i].cancel()}t.items=[];this._notify(n,t,Date.now(),"complete")}remove(n){return this._charts.delete(n)}}var Qr=new Jr;const Gr="transparent";const no={boolean(n,t,e){return e>.5?t:n},color(n,t,e){const i=Ue(n||Gr);const r=i.valid&&Ue(t||Gr);return r&&r.valid?r.mix(i,e).hexString():t},number(n,t,e){return n+(t-n)*e}};class to{constructor(n,t,e,i){const r=t[e];i=Di([n.to,i,r,n.from]);const o=Di([n.from,r,i]);this._active=true;this._fn=n.fn||no[n.type||typeof o];this._easing=We[n.easing]||We.linear;this._start=Math.floor(Date.now()+(n.delay||0));this._duration=this._total=Math.floor(n.duration);this._loop=!!n.loop;this._target=t;this._prop=e;this._from=o;this._to=i;this._promises=undefined}active(){return this._active}update(n,t,e){if(this._active){this._notify(false);const i=this._target[this._prop];const r=e-this._start;const o=this._duration-r;this._start=e;this._duration=Math.floor(Math.max(o,n.duration));this._total+=r;this._loop=!!n.loop;this._to=Di([n.to,t,i,n.from]);this._from=Di([n.from,i,t])}}cancel(){if(this._active){this.tick(Date.now());this._active=false;this._notify(false)}}tick(n){const t=n-this._start;const e=this._duration;const i=this._prop;const r=this._from;const o=this._loop;const a=this._to;let s;this._active=r!==a&&(o||t<e);if(!this._active){this._target[i]=a;this._notify(true);return}if(t<0){this._target[i]=r;return}s=t/e%2;s=o&&s>1?2-s:s;s=this._easing(Math.min(1,Math.max(0,s)));this._target[i]=this._fn(r,a,s)}wait(){const n=this._promises||(this._promises=[]);return new Promise(((t,e)=>{n.push({res:t,rej:e})}))}_notify(n){const t=n?"res":"rej";const e=this._promises||[];for(let n=0;n<e.length;n++){e[n][t]()}}}class eo{constructor(n,t){this._chart=n;this._properties=new Map;this.configure(t)}configure(n){if(!Mt(n)){return}const t=Object.keys(ai.animation);const e=this._properties;Object.getOwnPropertyNames(n).forEach((i=>{const r=n[i];if(!Mt(r)){return}const o={};for(const n of t){o[n]=r[n]}(kt(r.properties)&&r.properties||[i]).forEach((n=>{if(n===i||!e.has(n)){e.set(n,o)}}))}))}_animateOptions(n,t){const e=t.options;const i=ro(n,e);if(!i){return[]}const r=this._createAnimations(i,e);if(e.$shared){io(n.options.$animations,e).then((()=>{n.options=e}),(()=>{}))}return r}_createAnimations(n,t){const e=this._properties;const i=[];const r=n.$animations||(n.$animations={});const o=Object.keys(t);const a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if(c.charAt(0)==="$"){continue}if(c==="options"){i.push(...this._animateOptions(n,t));continue}const l=t[c];let h=r[c];const d=e.get(c);if(h){if(d&&h.active()){h.update(d,l,a);continue}else{h.cancel()}}if(!d||!d.duration){n[c]=l;continue}r[c]=h=new to(d,n,c,l);i.push(h)}return i}update(n,t){if(this._properties.size===0){Object.assign(n,t);return}const e=this._createAnimations(n,t);if(e.length){Qr.add(this._chart,e);return true}}}function io(n,t){const e=[];const i=Object.keys(t);for(let t=0;t<i.length;t++){const r=n[i[t]];if(r&&r.active()){e.push(r.wait())}}return Promise.all(e)}function ro(n,t){if(!t){return}let e=n.options;if(!e){n.options=t;return}if(e.$shared){n.options=e=Object.assign({},e,{$shared:false,$animations:{}})}return e}function oo(n,t){const e=n&&n.options||{};const i=e.reverse;const r=e.min===undefined?t:0;const o=e.max===undefined?t:0;return{start:i?o:r,end:i?r:o}}function ao(n,t,e){if(e===false){return false}const i=oo(n,e);const r=oo(t,e);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function so(n){let t,e,i,r;if(Mt(n)){t=n.top;e=n.right;i=n.bottom;r=n.left}else{t=e=i=r=n}return{top:t,right:e,bottom:i,left:r,disabled:n===false}}function co(n,t){const e=[];const i=n._getSortedDatasetMetas(t);let r,o;for(r=0,o=i.length;r<o;++r){e.push(i[r].index)}return e}function lo(n,t,e,i={}){const r=n.keys;const o=i.mode==="single";let a,s,c,l;if(t===null){return}let h=false;for(a=0,s=r.length;a<s;++a){c=+r[a];if(c===e){h=true;if(i.all){continue}break}l=n.values[c];if(zt(l)&&(o||t===0||ee(t)===ee(l))){t+=l}}if(!h&&!i.all){return 0}return t}function ho(n,t){const{iScale:e,vScale:i}=t;const r=e.axis==="x"?"x":"y";const o=i.axis==="x"?"x":"y";const a=Object.keys(n);const s=new Array(a.length);let c,l,h;for(c=0,l=a.length;c<l;++c){h=a[c];s[c]={[r]:h,[o]:n[h]}}return s}function fo(n,t){const e=n&&n.options.stacked;return e||e===undefined&&t.stack!==undefined}function uo(n,t,e){return`${n.id}.${t.id}.${e.stack||e.type}`}function po(n){const{min:t,max:e,minDefined:i,maxDefined:r}=n.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}function go(n,t,e){const i=n[t]||(n[t]={});return i[e]||(i[e]={})}function bo(n,t,e,i){for(const r of t.getMatchingVisibleMetas(i).reverse()){const t=n[r.index];if(e&&t>0||!e&&t<0){return r.index}}return null}function wo(n,t){const{chart:e,_cachedMeta:i}=n;const r=e._stacks||(e._stacks={});const{iScale:o,vScale:a,index:s}=i;const c=o.axis;const l=a.axis;const h=uo(o,a,i);const d=t.length;let f;for(let n=0;n<d;++n){const e=t[n];const{[c]:o,[l]:d}=e;const u=e._stacks||(e._stacks={});f=u[l]=go(r,h,o);f[s]=d;f._top=bo(f,a,true,i.type);f._bottom=bo(f,a,false,i.type);const p=f._visualValues||(f._visualValues={});p[s]=d}}function mo(n,t){const e=n.scales;return Object.keys(e).filter((n=>e[n].axis===t)).shift()}function vo(n,t){return Ri(n,{active:false,dataset:undefined,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function yo(n,t,e){return Ri(n,{active:false,dataIndex:t,parsed:undefined,raw:undefined,element:e,index:t,mode:"default",type:"data"})}function xo(n,t){const e=n.controller.index;const i=n.vScale&&n.vScale.axis;if(!i){return}t=t||n._parsed;for(const n of t){const t=n._stacks;if(!t||t[i]===undefined||t[i][e]===undefined){return}delete t[i][e];if(t[i]._visualValues!==undefined&&t[i]._visualValues[e]!==undefined){delete t[i]._visualValues[e]}}}const ko=n=>n==="reset"||n==="none";const Mo=(n,t)=>t?n:Object.assign({},n);const zo=(n,t,e)=>n&&!t.hidden&&t._stacked&&{keys:co(e,true),values:null};class So{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(n,t){this.chart=n;this._ctx=n.ctx;this.index=t;this._cachedDataOpts={};this._cachedMeta=this.getMeta();this._type=this._cachedMeta.type;this.options=undefined;this._parsing=false;this._data=undefined;this._objectData=undefined;this._sharedOptions=undefined;this._drawStart=undefined;this._drawCount=undefined;this.enableOptionSharing=false;this.supportsDecimation=false;this.$context=undefined;this._syncList=[];this.datasetElementType=new.target.datasetElementType;this.dataElementType=new.target.dataElementType;this.initialize()}initialize(){const n=this._cachedMeta;this.configure();this.linkScales();n._stacked=fo(n.vScale,n);this.addElements();if(this.options.fill&&!this.chart.isPluginEnabled("filler")){console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}}updateIndex(n){if(this.index!==n){xo(this._cachedMeta)}this.index=n}linkScales(){const n=this.chart;const t=this._cachedMeta;const e=this.getDataset();const i=(n,t,e,i)=>n==="x"?t:n==="r"?i:e;const r=t.xAxisID=Ct(e.xAxisID,mo(n,"x"));const o=t.yAxisID=Ct(e.yAxisID,mo(n,"y"));const a=t.rAxisID=Ct(e.rAxisID,mo(n,"r"));const s=t.indexAxis;const c=t.iAxisID=i(s,r,o,a);const l=t.vAxisID=i(s,o,r,a);t.xScale=this.getScaleForId(r);t.yScale=this.getScaleForId(o);t.rScale=this.getScaleForId(a);t.iScale=this.getScaleForId(c);t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(n){return this.chart.scales[n]}_getOtherScale(n){const t=this._cachedMeta;return n===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const n=this._cachedMeta;if(this._data){_e(this._data,this)}if(n._stacked){xo(n)}}_dataCheck(){const n=this.getDataset();const t=n.data||(n.data=[]);const e=this._data;if(Mt(t)){const n=this._cachedMeta;this._data=ho(t,n)}else if(e!==t){if(e){_e(e,this);const n=this._cachedMeta;xo(n);n._parsed=[]}if(t&&Object.isExtensible(t)){Ce(t,this)}this._syncList=[];this._data=t}}addElements(){const n=this._cachedMeta;this._dataCheck();if(this.datasetElementType){n.dataset=new this.datasetElementType}}buildOrUpdateElements(n){const t=this._cachedMeta;const e=this.getDataset();let i=false;this._dataCheck();const r=t._stacked;t._stacked=fo(t.vScale,t);if(t.stack!==e.stack){i=true;xo(t);t.stack=e.stack}this._resyncElements(n);if(i||r!==t._stacked){wo(this,t._parsed);t._stacked=fo(t.vScale,t)}}configure(){const n=this.chart.config;const t=n.datasetScopeKeys(this._type);const e=n.getOptionScopes(this.getDataset(),t,true);this.options=n.createResolver(e,this.getContext());this._parsing=this.options.parsing;this._cachedDataOpts={}}parse(n,t){const{_cachedMeta:e,_data:i}=this;const{iScale:r,_stacked:o}=e;const a=r.axis;let s=n===0&&t===i.length?true:e._sorted;let c=n>0&&e._parsed[n-1];let l,h,d;if(this._parsing===false){e._parsed=i;e._sorted=true;d=i}else{if(kt(i[n])){d=this.parseArrayData(e,i,n,t)}else if(Mt(i[n])){d=this.parseObjectData(e,i,n,t)}else{d=this.parsePrimitiveData(e,i,n,t)}const r=()=>h[a]===null||c&&h[a]<c[a];for(l=0;l<t;++l){e._parsed[l+n]=h=d[l];if(s){if(r()){s=false}c=h}}e._sorted=s}if(o){wo(this,d)}}parsePrimitiveData(n,t,e,i){const{iScale:r,vScale:o}=n;const a=r.axis;const s=o.axis;const c=r.getLabels();const l=r===o;const h=new Array(i);let d,f,u;for(d=0,f=i;d<f;++d){u=d+e;h[d]={[a]:l||r.parse(c[u],u),[s]:o.parse(t[u],u)}}return h}parseArrayData(n,t,e,i){const{xScale:r,yScale:o}=n;const a=new Array(i);let s,c,l,h;for(s=0,c=i;s<c;++s){l=s+e;h=t[l];a[s]={x:r.parse(h[0],l),y:o.parse(h[1],l)}}return a}parseObjectData(n,t,e,i){const{xScale:r,yScale:o}=n;const{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing;const c=new Array(i);let l,h,d,f;for(l=0,h=i;l<h;++l){d=l+e;f=t[d];c[l]={x:r.parse(Bt(f,a),d),y:o.parse(Bt(f,s),d)}}return c}getParsed(n){return this._cachedMeta._parsed[n]}getDataElement(n){return this._cachedMeta.data[n]}applyStack(n,t,e){const i=this.chart;const r=this._cachedMeta;const o=t[n.axis];const a={keys:co(i,true),values:t._stacks[n.axis]._visualValues};return lo(a,o,r.index,{mode:e})}updateRangeFromParsed(n,t,e,i){const r=e[t.axis];let o=r===null?NaN:r;const a=i&&e._stacks[t.axis];if(i&&a){i.values=a;o=lo(i,r,this._cachedMeta.index)}n.min=Math.min(n.min,o);n.max=Math.max(n.max,o)}getMinMax(n,t){const e=this._cachedMeta;const i=e._parsed;const r=e._sorted&&n===e.iScale;const o=i.length;const a=this._getOtherScale(n);const s=zo(t,e,this.chart);const c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};const{min:l,max:h}=po(a);let d,f;function u(){f=i[d];const t=f[a.axis];return!zt(f[n.axis])||l>t||h<t}for(d=0;d<o;++d){if(u()){continue}this.updateRangeFromParsed(c,n,f,s);if(r){break}}if(r){for(d=o-1;d>=0;--d){if(u()){continue}this.updateRangeFromParsed(c,n,f,s);break}}return c}getAllParsedValues(n){const t=this._cachedMeta._parsed;const e=[];let i,r,o;for(i=0,r=t.length;i<r;++i){o=t[i][n.axis];if(zt(o)){e.push(o)}}return e}getMaxOverflow(){return false}getLabelAndValue(n){const t=this._cachedMeta;const e=t.iScale;const i=t.vScale;const r=this.getParsed(n);return{label:e?""+e.getLabelForValue(r[e.axis]):"",value:i?""+i.getLabelForValue(r[i.axis]):""}}_update(n){const t=this._cachedMeta;this.update(n||"default");t._clip=so(Ct(this.options.clip,ao(t.xScale,t.yScale,this.getMaxOverflow())))}update(n){}draw(){const n=this._ctx;const t=this.chart;const e=this._cachedMeta;const i=e.data||[];const r=t.chartArea;const o=[];const a=this._drawStart||0;const s=this._drawCount||i.length-a;const c=this.options.drawActiveElementsOnTop;let l;if(e.dataset){e.dataset.draw(n,r,a,s)}for(l=a;l<a+s;++l){const t=i[l];if(t.hidden){continue}if(t.active&&c){o.push(t)}else{t.draw(n,r)}}for(l=0;l<o.length;++l){o[l].draw(n,r)}}getStyle(n,t){const e=t?"active":"default";return n===undefined&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(e):this.resolveDataElementOptions(n||0,e)}getContext(n,t,e){const i=this.getDataset();let r;if(n>=0&&n<this._cachedMeta.data.length){const t=this._cachedMeta.data[n];r=t.$context||(t.$context=yo(this.getContext(),n,t));r.parsed=this.getParsed(n);r.raw=i.data[n];r.index=r.dataIndex=n}else{r=this.$context||(this.$context=vo(this.chart.getContext(),this.index));r.dataset=i;r.index=r.datasetIndex=this.index}r.active=!!t;r.mode=e;return r}resolveDatasetElementOptions(n){return this._resolveElementOptions(this.datasetElementType.id,n)}resolveDataElementOptions(n,t){return this._resolveElementOptions(this.dataElementType.id,t,n)}_resolveElementOptions(n,t="default",e){const i=t==="active";const r=this._cachedDataOpts;const o=n+"-"+t;const a=r[o];const s=this.enableOptionSharing&&Ht(e);if(a){return Mo(a,s)}const c=this.chart.config;const l=c.datasetElementScopeKeys(this._type,n);const h=i?[`${n}Hover`,"hover",n,""]:[n,""];const d=c.getOptionScopes(this.getDataset(),l);const f=Object.keys(ai.elements[n]);const u=()=>this.getContext(e,i,t);const p=c.resolveNamedOptions(d,f,u,h);if(p.$shared){p.$shared=s;r[o]=Object.freeze(Mo(p,s))}return p}_resolveAnimations(n,t,e){const i=this.chart;const r=this._cachedDataOpts;const o=`animation-${t}`;const a=r[o];if(a){return a}let s;if(i.options.animation!==false){const i=this.chart.config;const r=i.datasetAnimationScopeKeys(this._type,t);const o=i.getOptionScopes(this.getDataset(),r);s=i.createResolver(o,this.getContext(n,e,t))}const c=new eo(i,s&&s.animations);if(s&&s._cacheable){r[o]=Object.freeze(c)}return c}getSharedOptions(n){if(!n.$shared){return}return this._sharedOptions||(this._sharedOptions=Object.assign({},n))}includeOptions(n,t){return!t||ko(n)||this.chart._animationsDisabled}_getSharedOptions(n,t){const e=this.resolveDataElementOptions(n,t);const i=this._sharedOptions;const r=this.getSharedOptions(e);const o=this.includeOptions(t,r)||r!==i;this.updateSharedOptions(r,t,e);return{sharedOptions:r,includeOptions:o}}updateElement(n,t,e,i){if(ko(i)){Object.assign(n,e)}else{this._resolveAnimations(t,i).update(n,e)}}updateSharedOptions(n,t,e){if(n&&!ko(t)){this._resolveAnimations(undefined,t).update(n,e)}}_setStyle(n,t,e,i){n.active=i;const r=this.getStyle(t,i);this._resolveAnimations(t,e,i).update(n,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(n,t,e){this._setStyle(n,e,"active",false)}setHoverStyle(n,t,e){this._setStyle(n,e,"active",true)}_removeDatasetHoverStyle(){const n=this._cachedMeta.dataset;if(n){this._setStyle(n,undefined,"active",false)}}_setDatasetHoverStyle(){const n=this._cachedMeta.dataset;if(n){this._setStyle(n,undefined,"active",true)}}_resyncElements(n){const t=this._data;const e=this._cachedMeta.data;for(const[n,t,e]of this._syncList){this[n](t,e)}this._syncList=[];const i=e.length;const r=t.length;const o=Math.min(r,i);if(o){this.parse(0,o)}if(r>i){this._insertElements(i,r-i,n)}else if(r<i){this._removeElements(r,i-r)}}_insertElements(n,t,e=true){const i=this._cachedMeta;const r=i.data;const o=n+t;let a;const s=n=>{n.length+=t;for(a=n.length-1;a>=o;a--){n[a]=n[a-t]}};s(r);for(a=n;a<o;++a){r[a]=new this.dataElementType}if(this._parsing){s(i._parsed)}this.parse(n,t);if(e){this.updateElements(r,n,t,"reset")}}updateElements(n,t,e,i){}_removeElements(n,t){const e=this._cachedMeta;if(this._parsing){const i=e._parsed.splice(n,t);if(e._stacked){xo(e,i)}}e.data.splice(n,t)}_sync(n){if(this._parsing){this._syncList.push(n)}else{const[t,e,i]=n;this[t](e,i)}this.chart._dataChanges.push([this.index,...n])}_onDataPush(){const n=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-n,n])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(n,t){if(t){this._sync(["_removeElements",n,t])}const e=arguments.length-2;if(e){this._sync(["_insertElements",n,e])}}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Co(n,t){if(!n._cache.$bar){const e=n.getMatchingVisibleMetas(t);let i=[];for(let t=0,r=e.length;t<r;t++){i=i.concat(e[t].controller.getAllParsedValues(n))}n._cache.$bar=je(i.sort(((n,t)=>n-t)))}return n._cache.$bar}function _o(n){const t=n.iScale;const e=Co(t,n.type);let i=t._length;let r,o,a,s;const c=()=>{if(a===32767||a===-32768){return}if(Ht(s)){i=Math.min(i,Math.abs(a-s)||i)}s=a};for(r=0,o=e.length;r<o;++r){a=t.getPixelForValue(e[r]);c()}s=undefined;for(r=0,o=t.ticks.length;r<o;++r){a=t.getPixelForTick(r);c()}return i}function jo(n,t,e,i){const r=e.barThickness;let o,a;if(xt(r)){o=t.min*e.categoryPercentage;a=e.barPercentage}else{o=r*i;a=1}return{chunk:o/i,ratio:a,start:t.pixels[n]-o/2}}function Po(n,t,e,i){const r=t.pixels;const o=r[n];let a=n>0?r[n-1]:null;let s=n<r.length-1?r[n+1]:null;const c=e.categoryPercentage;if(a===null){a=o-(s===null?t.end-t.start:s-o)}if(s===null){s=o+o-a}const l=o-(o-Math.min(a,s))/2*c;const h=Math.abs(s-a)/2*c;return{chunk:h/i,ratio:e.barPercentage,start:l}}function Oo(n,t,e,i){const r=e.parse(n[0],i);const o=e.parse(n[1],i);const a=Math.min(r,o);const s=Math.max(r,o);let c=a;let l=s;if(Math.abs(a)>Math.abs(s)){c=s;l=a}t[e.axis]=l;t._custom={barStart:c,barEnd:l,start:r,end:o,min:a,max:s}}function Eo(n,t,e,i){if(kt(n)){Oo(n,t,e,i)}else{t[e.axis]=e.parse(n,i)}return t}function Ao(n,t,e,i){const r=n.iScale;const o=n.vScale;const a=r.getLabels();const s=r===o;const c=[];let l,h,d,f;for(l=e,h=e+i;l<h;++l){f=t[l];d={};d[r.axis]=s||r.parse(a[l],l);c.push(Eo(f,d,o,l))}return c}function Do(n){return n&&n.barStart!==undefined&&n.barEnd!==undefined}function Lo(n,t,e){if(n!==0){return ee(n)}return(t.isHorizontal()?1:-1)*(t.min>=e?1:-1)}function Ro(n){let t,e,i,r,o;if(n.horizontal){t=n.base>n.x;e="left";i="right"}else{t=n.base<n.y;e="bottom";i="top"}if(t){r="end";o="start"}else{r="start";o="end"}return{start:e,end:i,reverse:t,top:r,bottom:o}}function No(n,t,e,i){let r=t.borderSkipped;const o={};if(!r){n.borderSkipped=o;return}if(r===true){n.borderSkipped={top:true,right:true,bottom:true,left:true};return}const{start:a,end:s,reverse:c,top:l,bottom:h}=Ro(n);if(r==="middle"&&e){n.enableBorderRadius=true;if((e._top||0)===i){r=l}else if((e._bottom||0)===i){r=h}else{o[Io(h,a,s,c)]=true;r=l}}o[Io(r,a,s,c)]=true;n.borderSkipped=o}function Io(n,t,e,i){if(i){n=To(n,t,e);n=Fo(n,e,t)}else{n=Fo(n,t,e)}return n}function To(n,t,e){return n===t?e:n===e?t:n}function Fo(n,t,e){return n==="start"?t:n==="end"?e:n}function Wo(n,{inflateAmount:t},e){n.inflateAmount=t==="auto"?e===1?.33:0:t}class Bo extends So{static id="bar";static defaults={datasetElementType:false,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:true,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:true,grid:{offset:true}},_value_:{type:"linear",beginAtZero:true}}};parsePrimitiveData(n,t,e,i){return Ao(n,t,e,i)}parseArrayData(n,t,e,i){return Ao(n,t,e,i)}parseObjectData(n,t,e,i){const{iScale:r,vScale:o}=n;const{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing;const c=r.axis==="x"?a:s;const l=o.axis==="x"?a:s;const h=[];let d,f,u,p;for(d=e,f=e+i;d<f;++d){p=t[d];u={};u[r.axis]=r.parse(Bt(p,c),d);h.push(Eo(Bt(p,l),u,o,d))}return h}updateRangeFromParsed(n,t,e,i){super.updateRangeFromParsed(n,t,e,i);const r=e._custom;if(r&&t===this._cachedMeta.vScale){n.min=Math.min(n.min,r.min);n.max=Math.max(n.max,r.max)}}getMaxOverflow(){return 0}getLabelAndValue(n){const t=this._cachedMeta;const{iScale:e,vScale:i}=t;const r=this.getParsed(n);const o=r._custom;const a=Do(o)?"["+o.start+", "+o.end+"]":""+i.getLabelForValue(r[i.axis]);return{label:""+e.getLabelForValue(r[e.axis]),value:a}}initialize(){this.enableOptionSharing=true;super.initialize();const n=this._cachedMeta;n.stack=this.getDataset().stack}update(n){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,n)}updateElements(n,t,e,i){const r=i==="reset";const{index:o,_cachedMeta:{vScale:a}}=this;const s=a.getBasePixel();const c=a.isHorizontal();const l=this._getRuler();const{sharedOptions:h,includeOptions:d}=this._getSharedOptions(t,i);for(let f=t;f<t+e;f++){const t=this.getParsed(f);const e=r||xt(t[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(f);const u=this._calculateBarIndexPixels(f,l);const p=(t._stacks||{})[a.axis];const g={horizontal:c,base:e.base,enableBorderRadius:!p||Do(t._custom)||o===p._top||o===p._bottom,x:c?e.head:u.center,y:c?u.center:e.head,height:c?u.size:Math.abs(e.size),width:c?Math.abs(e.size):u.size};if(d){g.options=h||this.resolveDataElementOptions(f,n[f].active?"active":i)}const b=g.options||n[f].options;No(g,b,p,o);Wo(g,b,l.ratio);this.updateElement(n[f],f,g,i)}}_getStacks(n,t){const{iScale:e}=this._cachedMeta;const i=e.getMatchingVisibleMetas(this._type).filter((n=>n.controller.options.grouped));const r=e.options.stacked;const o=[];const a=this._cachedMeta.controller.getParsed(t);const s=a&&a[e.axis];const c=n=>{const t=n._parsed.find((n=>n[e.axis]===s));const i=t&&t[n.vScale.axis];if(xt(i)||isNaN(i)){return true}};for(const e of i){if(t!==undefined&&c(e)){continue}if(r===false||o.indexOf(e.stack)===-1||r===undefined&&e.stack===undefined){o.push(e.stack)}if(e.index===n){break}}if(!o.length){o.push(undefined)}return o}_getStackCount(n){return this._getStacks(undefined,n).length}_getStackIndex(n,t,e){const i=this._getStacks(n,e);const r=t!==undefined?i.indexOf(t):-1;return r===-1?i.length-1:r}_getRuler(){const n=this.options;const t=this._cachedMeta;const e=t.iScale;const i=[];let r,o;for(r=0,o=t.data.length;r<o;++r){i.push(e.getPixelForValue(this.getParsed(r)[e.axis],r))}const a=n.barThickness;const s=a||_o(t);return{min:s,pixels:i,start:e._startPixel,end:e._endPixel,stackCount:this._getStackCount(),scale:e,grouped:n.grouped,ratio:a?1:n.categoryPercentage*n.barPercentage}}_calculateBarValuePixels(n){const{_cachedMeta:{vScale:t,_stacked:e,index:i},options:{base:r,minBarLength:o}}=this;const a=r||0;const s=this.getParsed(n);const c=s._custom;const l=Do(c);let h=s[t.axis];let d=0;let f=e?this.applyStack(t,s,e):h;let u,p;if(f!==h){d=f-h;f=h}if(l){h=c.barStart;f=c.barEnd-c.barStart;if(h!==0&&ee(h)!==ee(c.barEnd)){d=0}d+=h}const g=!xt(r)&&!l?r:d;let b=t.getPixelForValue(g);if(this.chart.getDataVisibility(n)){u=t.getPixelForValue(d+f)}else{u=b}p=u-b;if(Math.abs(p)<o){p=Lo(p,t,a)*o;if(h===a){b-=p/2}const n=t.getPixelForDecimal(0);const r=t.getPixelForDecimal(1);const c=Math.min(n,r);const d=Math.max(n,r);b=Math.max(Math.min(b,d),c);u=b+p;if(e&&!l){s._stacks[t.axis]._visualValues[i]=t.getValueForPixel(u)-t.getValueForPixel(b)}}if(b===t.getPixelForValue(a)){const n=ee(p)*t.getLineWidthForValue(a)/2;b+=n;p-=n}return{size:p,base:b,head:u,center:u+p/2}}_calculateBarIndexPixels(n,t){const e=t.scale;const i=this.options;const r=i.skipNull;const o=Ct(i.maxBarThickness,Infinity);let a,s;if(t.grouped){const e=r?this._getStackCount(n):t.stackCount;const c=i.barThickness==="flex"?Po(n,t,i,e):jo(n,t,i,e);const l=this._getStackIndex(this.index,this._cachedMeta.stack,r?n:undefined);a=c.start+c.chunk*l+c.chunk/2;s=Math.min(o,c.chunk*c.ratio)}else{a=e.getPixelForValue(this.getParsed(n)[e.axis],n);s=Math.min(o,t.min*t.ratio)}return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const n=this._cachedMeta;const t=n.vScale;const e=n.data;const i=e.length;let r=0;for(;r<i;++r){if(this.getParsed(r)[t.axis]!==null&&!e[r].hidden){e[r].draw(this._ctx)}}}}class Uo extends So{static id="bubble";static defaults={datasetElementType:false,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=true;super.initialize()}parsePrimitiveData(n,t,e,i){const r=super.parsePrimitiveData(n,t,e,i);for(let n=0;n<r.length;n++){r[n]._custom=this.resolveDataElementOptions(n+e).radius}return r}parseArrayData(n,t,e,i){const r=super.parseArrayData(n,t,e,i);for(let n=0;n<r.length;n++){const i=t[e+n];r[n]._custom=Ct(i[2],this.resolveDataElementOptions(n+e).radius)}return r}parseObjectData(n,t,e,i){const r=super.parseObjectData(n,t,e,i);for(let n=0;n<r.length;n++){const i=t[e+n];r[n]._custom=Ct(i&&i.r&&+i.r,this.resolveDataElementOptions(n+e).radius)}return r}getMaxOverflow(){const n=this._cachedMeta.data;let t=0;for(let e=n.length-1;e>=0;--e){t=Math.max(t,n[e].size(this.resolveDataElementOptions(e))/2)}return t>0&&t}getLabelAndValue(n){const t=this._cachedMeta;const e=this.chart.data.labels||[];const{xScale:i,yScale:r}=t;const o=this.getParsed(n);const a=i.getLabelForValue(o.x);const s=r.getLabelForValue(o.y);const c=o._custom;return{label:e[n]||"",value:"("+a+", "+s+(c?", "+c:"")+")"}}update(n){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,n)}updateElements(n,t,e,i){const r=i==="reset";const{iScale:o,vScale:a}=this._cachedMeta;const{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,i);const l=o.axis;const h=a.axis;for(let d=t;d<t+e;d++){const t=n[d];const e=!r&&this.getParsed(d);const f={};const u=f[l]=r?o.getPixelForDecimal(.5):o.getPixelForValue(e[l]);const p=f[h]=r?a.getBasePixel():a.getPixelForValue(e[h]);f.skip=isNaN(u)||isNaN(p);if(c){f.options=s||this.resolveDataElementOptions(d,t.active?"active":i);if(r){f.options.radius=0}}this.updateElement(t,d,f,i)}}resolveDataElementOptions(n,t){const e=this.getParsed(n);let i=super.resolveDataElementOptions(n,t);if(i.$shared){i=Object.assign({},i,{$shared:false})}const r=i.radius;if(t!=="active"){i.radius=0}i.radius+=Ct(e&&e._custom,r);return i}}function Ho(n,t,e){let i=1;let r=1;let o=0;let a=0;if(t<Kt){const s=n;const c=s+t;const l=Math.cos(s);const h=Math.sin(s);const d=Math.cos(c);const f=Math.sin(c);const u=(n,t,i)=>we(n,s,c,true)?1:Math.max(t,t*e,i,i*e);const p=(n,t,i)=>we(n,s,c,true)?-1:Math.min(t,t*e,i,i*e);const g=u(0,l,d);const b=u(Qt,h,f);const w=p(Xt,l,d);const m=p(Xt+Qt,h,f);i=(g-w)/2;r=(b-m)/2;o=-(g+w)/2;a=-(b+m)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:a}}class Vo extends So{static id="doughnut";static defaults={datasetElementType:false,dataElementType:"arc",animation:{animateRotate:true,animateScale:false},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:n=>n!=="spacing",_indexable:n=>n!=="spacing"&&!n.startsWith("borderDash")&&!n.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e,color:i}}=n.legend.options;return t.labels.map(((t,r)=>{const o=n.getDatasetMeta(0);const a=o.controller.getStyle(r);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:i,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}}))}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index);e.chart.update()}}}};constructor(n,t){super(n,t);this.enableOptionSharing=true;this.innerRadius=undefined;this.outerRadius=undefined;this.offsetX=undefined;this.offsetY=undefined}linkScales(){}parse(n,t){const e=this.getDataset().data;const i=this._cachedMeta;if(this._parsing===false){i._parsed=e}else{let r=n=>+e[n];if(Mt(e[n])){const{key:n="value"}=this._parsing;r=t=>+Bt(e[t],n)}let o,a;for(o=n,a=n+t;o<a;++o){i._parsed[o]=r(o)}}}_getRotation(){return he(this.options.rotation-90)}_getCircumference(){return he(this.options.circumference)}_getRotationExtents(){let n=Kt;let t=-Kt;for(let e=0;e<this.chart.data.datasets.length;++e){if(this.chart.isDatasetVisible(e)&&this.chart.getDatasetMeta(e).type===this._type){const i=this.chart.getDatasetMeta(e).controller;const r=i._getRotation();const o=i._getCircumference();n=Math.min(n,r);t=Math.max(t,r+o)}}return{rotation:n,circumference:t-n}}update(n){const t=this.chart;const{chartArea:e}=t;const i=this._cachedMeta;const r=i.data;const o=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing;const a=Math.max((Math.min(e.width,e.height)-o)/2,0);const s=Math.min(_t(this.options.cutout,a),1);const c=this._getRingWeight(this.index);const{circumference:l,rotation:h}=this._getRotationExtents();const{ratioX:d,ratioY:f,offsetX:u,offsetY:p}=Ho(h,l,s);const g=(e.width-o)/d;const b=(e.height-o)/f;const w=Math.max(Math.min(g,b)/2,0);const m=jt(this.options.radius,w);const v=Math.max(m*s,0);const y=(m-v)/this._getVisibleDatasetWeightTotal();this.offsetX=u*m;this.offsetY=p*m;i.total=this.calculateTotal();this.outerRadius=m-y*this._getRingWeightOffset(this.index);this.innerRadius=Math.max(this.outerRadius-y*c,0);this.updateElements(r,0,r.length,n)}_circumference(n,t){const e=this.options;const i=this._cachedMeta;const r=this._getCircumference();if(t&&e.animation.animateRotate||!this.chart.getDataVisibility(n)||i._parsed[n]===null||i.data[n].hidden){return 0}return this.calculateCircumference(i._parsed[n]*r/Kt)}updateElements(n,t,e,i){const r=i==="reset";const o=this.chart;const a=o.chartArea;const s=o.options;const c=s.animation;const l=(a.left+a.right)/2;const h=(a.top+a.bottom)/2;const d=r&&c.animateScale;const f=d?0:this.innerRadius;const u=d?0:this.outerRadius;const{sharedOptions:p,includeOptions:g}=this._getSharedOptions(t,i);let b=this._getRotation();let w;for(w=0;w<t;++w){b+=this._circumference(w,r)}for(w=t;w<t+e;++w){const t=this._circumference(w,r);const e=n[w];const o={x:l+this.offsetX,y:h+this.offsetY,startAngle:b,endAngle:b+t,circumference:t,outerRadius:u,innerRadius:f};if(g){o.options=p||this.resolveDataElementOptions(w,e.active?"active":i)}b+=t;this.updateElement(e,w,o,i)}}calculateTotal(){const n=this._cachedMeta;const t=n.data;let e=0;let i;for(i=0;i<t.length;i++){const r=n._parsed[i];if(r!==null&&!isNaN(r)&&this.chart.getDataVisibility(i)&&!t[i].hidden){e+=Math.abs(r)}}return e}calculateCircumference(n){const t=this._cachedMeta.total;if(t>0&&!isNaN(n)){return Kt*(Math.abs(n)/t)}return 0}getLabelAndValue(n){const t=this._cachedMeta;const e=this.chart;const i=e.data.labels||[];const r=Ze(t._parsed[n],e.options.locale);return{label:i[n]||"",value:r}}getMaxBorderWidth(n){let t=0;const e=this.chart;let i,r,o,a,s;if(!n){for(i=0,r=e.data.datasets.length;i<r;++i){if(e.isDatasetVisible(i)){o=e.getDatasetMeta(i);n=o.data;a=o.controller;break}}}if(!n){return 0}for(i=0,r=n.length;i<r;++i){s=a.resolveDataElementOptions(i);if(s.borderAlign!=="inner"){t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0)}}return t}getMaxOffset(n){let t=0;for(let e=0,i=n.length;e<i;++e){const n=this.resolveDataElementOptions(e);t=Math.max(t,n.offset||0,n.hoverOffset||0)}return t}_getRingWeightOffset(n){let t=0;for(let e=0;e<n;++e){if(this.chart.isDatasetVisible(e)){t+=this._getRingWeight(e)}}return t}_getRingWeight(n){return Math.max(Ct(this.chart.data.datasets[n].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class $o extends So{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:true,spanGaps:false};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=true;this.supportsDecimation=true;super.initialize()}update(n){const t=this._cachedMeta;const{dataset:e,data:i=[],_dataset:r}=t;const o=this.chart._animationsDisabled;let{start:a,count:s}=Re(t,i,o);this._drawStart=a;this._drawCount=s;if(Ne(t)){a=0;s=i.length}e._chart=this.chart;e._datasetIndex=this.index;e._decimated=!!r._decimated;e.points=i;const c=this.resolveDatasetElementOptions(n);if(!this.options.showLine){c.borderWidth=0}c.segment=this.options.segment;this.updateElement(e,undefined,{animated:!o,options:c},n);this.updateElements(i,a,s,n)}updateElements(n,t,e,i){const r=i==="reset";const{iScale:o,vScale:a,_stacked:s,_dataset:c}=this._cachedMeta;const{sharedOptions:l,includeOptions:h}=this._getSharedOptions(t,i);const d=o.axis;const f=a.axis;const{spanGaps:u,segment:p}=this.options;const g=se(u)?u:Number.POSITIVE_INFINITY;const b=this.chart._animationsDisabled||r||i==="none";const w=t+e;const m=n.length;let v=t>0&&this.getParsed(t-1);for(let e=0;e<m;++e){const u=n[e];const m=b?u:{};if(e<t||e>=w){m.skip=true;continue}const y=this.getParsed(e);const x=xt(y[f]);const k=m[d]=o.getPixelForValue(y[d],e);const M=m[f]=r||x?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,y,s):y[f],e);m.skip=isNaN(k)||isNaN(M)||x;m.stop=e>0&&Math.abs(y[d]-v[d])>g;if(p){m.parsed=y;m.raw=c.data[e]}if(h){m.options=l||this.resolveDataElementOptions(e,u.active?"active":i)}if(!b){this.updateElement(u,e,m,i)}v=y}}getMaxOverflow(){const n=this._cachedMeta;const t=n.dataset;const e=t.options&&t.options.borderWidth||0;const i=n.data||[];if(!i.length){return e}const r=i[0].size(this.resolveDataElementOptions(0));const o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(e,r,o)/2}draw(){const n=this._cachedMeta;n.dataset.updateControlPoints(this.chart.chartArea,n.iScale.axis);super.draw()}}class Yo extends So{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:true,animateScale:true},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e,color:i}}=n.legend.options;return t.labels.map(((t,r)=>{const o=n.getDatasetMeta(0);const a=o.controller.getStyle(r);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:i,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}}))}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index);e.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:false},beginAtZero:true,grid:{circular:true},pointLabels:{display:false},startAngle:0}}};constructor(n,t){super(n,t);this.innerRadius=undefined;this.outerRadius=undefined}getLabelAndValue(n){const t=this._cachedMeta;const e=this.chart;const i=e.data.labels||[];const r=Ze(t._parsed[n].r,e.options.locale);return{label:i[n]||"",value:r}}parseObjectData(n,t,e,i){return tr.bind(this)(n,t,e,i)}update(n){const t=this._cachedMeta.data;this._updateRadius();this.updateElements(t,0,t.length,n)}getMinMax(){const n=this._cachedMeta;const t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};n.data.forEach(((n,e)=>{const i=this.getParsed(e).r;if(!isNaN(i)&&this.chart.getDataVisibility(e)){if(i<t.min){t.min=i}if(i>t.max){t.max=i}}}));return t}_updateRadius(){const n=this.chart;const t=n.chartArea;const e=n.options;const i=Math.min(t.right-t.left,t.bottom-t.top);const r=Math.max(i/2,0);const o=Math.max(e.cutoutPercentage?r/100*e.cutoutPercentage:1,0);const a=(r-o)/n.getVisibleDatasetCount();this.outerRadius=r-a*this.index;this.innerRadius=this.outerRadius-a}updateElements(n,t,e,i){const r=i==="reset";const o=this.chart;const a=o.options;const s=a.animation;const c=this._cachedMeta.rScale;const l=c.xCenter;const h=c.yCenter;const d=c.getIndexAngle(0)-.5*Xt;let f=d;let u;const p=360/this.countVisibleElements();for(u=0;u<t;++u){f+=this._computeAngle(u,i,p)}for(u=t;u<t+e;u++){const t=n[u];let e=f;let a=f+this._computeAngle(u,i,p);let g=o.getDataVisibility(u)?c.getDistanceFromCenterForValue(this.getParsed(u).r):0;f=a;if(r){if(s.animateScale){g=0}if(s.animateRotate){e=a=d}}const b={x:l,y:h,innerRadius:0,outerRadius:g,startAngle:e,endAngle:a,options:this.resolveDataElementOptions(u,t.active?"active":i)};this.updateElement(t,u,b,i)}}countVisibleElements(){const n=this._cachedMeta;let t=0;n.data.forEach(((n,e)=>{if(!isNaN(this.getParsed(e).r)&&this.chart.getDataVisibility(e)){t++}}));return t}_computeAngle(n,t,e){return this.chart.getDataVisibility(n)?he(this.resolveDataElementOptions(n,t).angle||e):0}}class Xo extends Vo{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class Ko extends So{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:true,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(n){const t=this._cachedMeta.vScale;const e=this.getParsed(n);return{label:t.getLabels()[n],value:""+t.getLabelForValue(e[t.axis])}}parseObjectData(n,t,e,i){return tr.bind(this)(n,t,e,i)}update(n){const t=this._cachedMeta;const e=t.dataset;const i=t.data||[];const r=t.iScale.getLabels();e.points=i;if(n!=="resize"){const t=this.resolveDatasetElementOptions(n);if(!this.options.showLine){t.borderWidth=0}const o={_loop:true,_fullLoop:r.length===i.length,options:t};this.updateElement(e,undefined,o,n)}this.updateElements(i,0,i.length,n)}updateElements(n,t,e,i){const r=this._cachedMeta.rScale;const o=i==="reset";for(let a=t;a<t+e;a++){const t=n[a];const e=this.resolveDataElementOptions(a,t.active?"active":i);const s=r.getPointPositionForValue(a,this.getParsed(a).r);const c=o?r.xCenter:s.x;const l=o?r.yCenter:s.y;const h={x:c,y:l,angle:s.angle,skip:isNaN(c)||isNaN(l),options:e};this.updateElement(t,a,h,i)}}}class qo extends So{static id="scatter";static defaults={datasetElementType:false,dataElementType:"point",showLine:false,fill:false};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(n){const t=this._cachedMeta;const e=this.chart.data.labels||[];const{xScale:i,yScale:r}=t;const o=this.getParsed(n);const a=i.getLabelForValue(o.x);const s=r.getLabelForValue(o.y);return{label:e[n]||"",value:"("+a+", "+s+")"}}update(n){const t=this._cachedMeta;const{data:e=[]}=t;const i=this.chart._animationsDisabled;let{start:r,count:o}=Re(t,e,i);this._drawStart=r;this._drawCount=o;if(Ne(t)){r=0;o=e.length}if(this.options.showLine){if(!this.datasetElementType){this.addElements()}const{dataset:r,_dataset:o}=t;r._chart=this.chart;r._datasetIndex=this.index;r._decimated=!!o._decimated;r.points=e;const a=this.resolveDatasetElementOptions(n);a.segment=this.options.segment;this.updateElement(r,undefined,{animated:!i,options:a},n)}else if(this.datasetElementType){delete t.dataset;this.datasetElementType=false}this.updateElements(e,r,o,n)}addElements(){const{showLine:n}=this.options;if(!this.datasetElementType&&n){this.datasetElementType=this.chart.registry.getElement("line")}super.addElements()}updateElements(n,t,e,i){const r=i==="reset";const{iScale:o,vScale:a,_stacked:s,_dataset:c}=this._cachedMeta;const l=this.resolveDataElementOptions(t,i);const h=this.getSharedOptions(l);const d=this.includeOptions(i,h);const f=o.axis;const u=a.axis;const{spanGaps:p,segment:g}=this.options;const b=se(p)?p:Number.POSITIVE_INFINITY;const w=this.chart._animationsDisabled||r||i==="none";let m=t>0&&this.getParsed(t-1);for(let l=t;l<t+e;++l){const t=n[l];const e=this.getParsed(l);const p=w?t:{};const v=xt(e[u]);const y=p[f]=o.getPixelForValue(e[f],l);const x=p[u]=r||v?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,e,s):e[u],l);p.skip=isNaN(y)||isNaN(x)||v;p.stop=l>0&&Math.abs(e[f]-m[f])>b;if(g){p.parsed=e;p.raw=c.data[l]}if(d){p.options=h||this.resolveDataElementOptions(l,t.active?"active":i)}if(!w){this.updateElement(t,l,p,i)}m=e}this.updateSharedOptions(h,i,l)}getMaxOverflow(){const n=this._cachedMeta;const t=n.data||[];if(!this.options.showLine){let n=0;for(let e=t.length-1;e>=0;--e){n=Math.max(n,t[e].size(this.resolveDataElementOptions(e))/2)}return n>0&&n}const e=n.dataset;const i=e.options&&e.options.borderWidth||0;if(!t.length){return i}const r=t[0].size(this.resolveDataElementOptions(0));const o=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(i,r,o)/2}}var Zo=Object.freeze({__proto__:null,BarController:Bo,BubbleController:Uo,DoughnutController:Vo,LineController:$o,PieController:Xo,PolarAreaController:Yo,RadarController:Ko,ScatterController:qo});function Jo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qo{static override(n){Object.assign(Qo.prototype,n)}options;constructor(n){this.options=n||{}}init(){}formats(){return Jo()}parse(){return Jo()}format(){return Jo()}add(){return Jo()}diff(){return Jo()}startOf(){return Jo()}endOf(){return Jo()}}var Go={_date:Qo};function na(n,t,e,i){const{controller:r,data:o,_sorted:a}=n;const s=r._cachedMeta.iScale;const c=n.dataset?n.dataset.options?n.dataset.options.spanGaps:null:null;if(s&&t===s.axis&&t!=="r"&&a&&o.length){const a=s._reversePixels?Me:ke;if(!i){const i=a(o,t,e);if(c){const{vScale:t}=r._cachedMeta;const{_parsed:e}=n;const o=e.slice(0,i.lo+1).reverse().findIndex((n=>!xt(n[t.axis])));i.lo-=Math.max(0,o);const a=e.slice(i.hi).findIndex((n=>!xt(n[t.axis])));i.hi+=Math.max(0,a)}return i}else if(r._sharedOptions){const n=o[0];const i=typeof n.getRange==="function"&&n.getRange(t);if(i){const n=a(o,t,e-i);const r=a(o,t,e+i);return{lo:n.lo,hi:r.hi}}}}return{lo:0,hi:o.length-1}}function ta(n,t,e,i,r){const o=n.getSortedVisibleDatasetMetas();const a=e[t];for(let n=0,e=o.length;n<e;++n){const{index:e,data:s}=o[n];const{lo:c,hi:l}=na(o[n],t,a,r);for(let n=c;n<=l;++n){const t=s[n];if(!t.skip){i(t,e,n)}}}}function ea(n){const t=n.indexOf("x")!==-1;const e=n.indexOf("y")!==-1;return function(n,i){const r=t?Math.abs(n.x-i.x):0;const o=e?Math.abs(n.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function ia(n,t,e,i,r){const o=[];if(!r&&!n.isPointInArea(t)){return o}const a=function(e,a,s){if(!r&&!pi(e,n.chartArea,0)){return}if(e.inRange(t.x,t.y,i)){o.push({element:e,datasetIndex:a,index:s})}};ta(n,e,t,a,true);return o}function ra(n,t,e,i){let r=[];function o(n,e,o){const{startAngle:a,endAngle:s}=n.getProps(["startAngle","endAngle"],i);const{angle:c}=ue(n,{x:t.x,y:t.y});if(we(c,a,s)){r.push({element:n,datasetIndex:e,index:o})}}ta(n,e,t,o);return r}function oa(n,t,e,i,r,o){let a=[];const s=ea(e);let c=Number.POSITIVE_INFINITY;function l(e,l,h){const d=e.inRange(t.x,t.y,r);if(i&&!d){return}const f=e.getCenterPoint(r);const u=!!o||n.isPointInArea(f);if(!u&&!d){return}const p=s(t,f);if(p<c){a=[{element:e,datasetIndex:l,index:h}];c=p}else if(p===c){a.push({element:e,datasetIndex:l,index:h})}}ta(n,e,t,l);return a}function aa(n,t,e,i,r,o){if(!o&&!n.isPointInArea(t)){return[]}return e==="r"&&!i?ra(n,t,e,r):oa(n,t,e,i,r,o)}function sa(n,t,e,i,r){const o=[];const a=e==="x"?"inXRange":"inYRange";let s=false;ta(n,e,t,((n,i,c)=>{if(n[a]&&n[a](t[e],r)){o.push({element:n,datasetIndex:i,index:c});s=s||n.inRange(t.x,t.y,r)}}));if(i&&!s){return[]}return o}var ca={modes:{index(n,t,e,i){const r=xr(t,n);const o=e.axis||"x";const a=e.includeInvisible||false;const s=e.intersect?ia(n,r,o,i,a):aa(n,r,o,false,i,a);const c=[];if(!s.length){return[]}n.getSortedVisibleDatasetMetas().forEach((n=>{const t=s[0].index;const e=n.data[t];if(e&&!e.skip){c.push({element:e,datasetIndex:n.index,index:t})}}));return c},dataset(n,t,e,i){const r=xr(t,n);const o=e.axis||"xy";const a=e.includeInvisible||false;let s=e.intersect?ia(n,r,o,i,a):aa(n,r,o,false,i,a);if(s.length>0){const t=s[0].datasetIndex;const e=n.getDatasetMeta(t).data;s=[];for(let n=0;n<e.length;++n){s.push({element:e[n],datasetIndex:t,index:n})}}return s},point(n,t,e,i){const r=xr(t,n);const o=e.axis||"xy";const a=e.includeInvisible||false;return ia(n,r,o,i,a)},nearest(n,t,e,i){const r=xr(t,n);const o=e.axis||"xy";const a=e.includeInvisible||false;return aa(n,r,o,e.intersect,i,a)},x(n,t,e,i){const r=xr(t,n);return sa(n,r,"x",e.intersect,i)},y(n,t,e,i){const r=xr(t,n);return sa(n,r,"y",e.intersect,i)}}};const la=["left","top","right","bottom"];function ha(n,t){return n.filter((n=>n.pos===t))}function da(n,t){return n.filter((n=>la.indexOf(n.pos)===-1&&n.box.axis===t))}function fa(n,t){return n.sort(((n,e)=>{const i=t?e:n;const r=t?n:e;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function ua(n){const t=[];let e,i,r,o,a,s;for(e=0,i=(n||[]).length;e<i;++e){r=n[e];({position:o,options:{stack:a,stackWeight:s=1}}=r);t.push({index:e,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&o+a,stackWeight:s})}return t}function pa(n){const t={};for(const e of n){const{stack:n,pos:i,stackWeight:r}=e;if(!n||!la.includes(i)){continue}const o=t[n]||(t[n]={count:0,placed:0,weight:0,size:0});o.count++;o.weight+=r}return t}function ga(n,t){const e=pa(n);const{vBoxMaxWidth:i,hBoxMaxHeight:r}=t;let o,a,s;for(o=0,a=n.length;o<a;++o){s=n[o];const{fullSize:a}=s.box;const c=e[s.stack];const l=c&&s.stackWeight/c.weight;if(s.horizontal){s.width=l?l*i:a&&t.availableWidth;s.height=r}else{s.width=i;s.height=l?l*r:a&&t.availableHeight}}return e}function ba(n){const t=ua(n);const e=fa(t.filter((n=>n.box.fullSize)),true);const i=fa(ha(t,"left"),true);const r=fa(ha(t,"right"));const o=fa(ha(t,"top"),true);const a=fa(ha(t,"bottom"));const s=da(t,"x");const c=da(t,"y");return{fullSize:e,leftAndTop:i.concat(o),rightAndBottom:r.concat(c).concat(a).concat(s),chartArea:ha(t,"chartArea"),vertical:i.concat(r).concat(c),horizontal:o.concat(a).concat(s)}}function wa(n,t,e,i){return Math.max(n[e],t[e])+Math.max(n[i],t[i])}function ma(n,t){n.top=Math.max(n.top,t.top);n.left=Math.max(n.left,t.left);n.bottom=Math.max(n.bottom,t.bottom);n.right=Math.max(n.right,t.right)}function va(n,t,e,i){const{pos:r,box:o}=e;const a=n.maxPadding;if(!Mt(r)){if(e.size){n[r]-=e.size}const t=i[e.stack]||{size:0,count:1};t.size=Math.max(t.size,e.horizontal?o.height:o.width);e.size=t.size/t.count;n[r]+=e.size}if(o.getPadding){ma(a,o.getPadding())}const s=Math.max(0,t.outerWidth-wa(a,n,"left","right"));const c=Math.max(0,t.outerHeight-wa(a,n,"top","bottom"));const l=s!==n.w;const h=c!==n.h;n.w=s;n.h=c;return e.horizontal?{same:l,other:h}:{same:h,other:l}}function ya(n){const t=n.maxPadding;function e(e){const i=Math.max(t[e]-n[e],0);n[e]+=i;return i}n.y+=e("top");n.x+=e("left");e("right");e("bottom")}function xa(n,t){const e=t.maxPadding;function i(n){const i={left:0,top:0,right:0,bottom:0};n.forEach((n=>{i[n]=Math.max(t[n],e[n])}));return i}return n?i(["left","right"]):i(["top","bottom"])}function ka(n,t,e,i){const r=[];let o,a,s,c,l,h;for(o=0,a=n.length,l=0;o<a;++o){s=n[o];c=s.box;c.update(s.width||t.w,s.height||t.h,xa(s.horizontal,t));const{same:a,other:d}=va(t,e,s,i);l|=a&&r.length;h=h||d;if(!c.fullSize){r.push(s)}}return l&&ka(r,t,e,i)||h}function Ma(n,t,e,i,r){n.top=e;n.left=t;n.right=t+i;n.bottom=e+r;n.width=i;n.height=r}function za(n,t,e,i){const r=e.padding;let{x:o,y:a}=t;for(const s of n){const n=s.box;const c=i[s.stack]||{placed:0,weight:1};const l=s.stackWeight/c.weight||1;if(s.horizontal){const i=t.w*l;const o=c.size||n.height;if(Ht(c.start)){a=c.start}if(n.fullSize){Ma(n,r.left,a,e.outerWidth-r.right-r.left,o)}else{Ma(n,t.left+c.placed,a,i,o)}c.start=a;c.placed+=i;a=n.bottom}else{const i=t.h*l;const a=c.size||n.width;if(Ht(c.start)){o=c.start}if(n.fullSize){Ma(n,o,r.top,a,e.outerHeight-r.bottom-r.top)}else{Ma(n,o,t.top+c.placed,a,i)}c.start=o;c.placed+=i;o=n.right}}t.x=o;t.y=a}var Sa={addBox(n,t){if(!n.boxes){n.boxes=[]}t.fullSize=t.fullSize||false;t.position=t.position||"top";t.weight=t.weight||0;t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]};n.boxes.push(t)},removeBox(n,t){const e=n.boxes?n.boxes.indexOf(t):-1;if(e!==-1){n.boxes.splice(e,1)}},configure(n,t,e){t.fullSize=e.fullSize;t.position=e.position;t.weight=e.weight},update(n,t,e,i){if(!n){return}const r=Ei(n.options.layout.padding);const o=Math.max(t-r.width,0);const a=Math.max(e-r.height,0);const s=ba(n.boxes);const c=s.vertical;const l=s.horizontal;Ot(n.boxes,(n=>{if(typeof n.beforeLayout==="function"){n.beforeLayout()}}));const h=c.reduce(((n,t)=>t.box.options&&t.box.options.display===false?n:n+1),0)||1;const d=Object.freeze({outerWidth:t,outerHeight:e,padding:r,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/h,hBoxMaxHeight:a/2});const f=Object.assign({},r);ma(f,Ei(i));const u=Object.assign({maxPadding:f,w:o,h:a,x:r.left,y:r.top},r);const p=ga(c.concat(l),d);ka(s.fullSize,u,d,p);ka(c,u,d,p);if(ka(l,u,d,p)){ka(c,u,d,p)}ya(u);za(s.leftAndTop,u,d,p);u.x+=u.w;u.y+=u.h;za(s.rightAndBottom,u,d,p);n.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w};Ot(s.chartArea,(t=>{const e=t.box;Object.assign(e,n.chartArea);e.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})}))}};class Ca{acquireContext(n,t){}releaseContext(n){return false}addEventListener(n,t,e){}removeEventListener(n,t,e){}getDevicePixelRatio(){return 1}getMaximumSize(n,t,e,i){t=Math.max(0,t||n.width);e=e||n.height;return{width:t,height:Math.max(0,i?Math.floor(t/i):e)}}isAttached(n){return true}updateConfig(n){}}class _a extends Ca{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=false}}const ja="$chartjs";const Pa={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};const Oa=n=>n===null||n==="";function Ea(n,t){const e=n.style;const i=n.getAttribute("height");const r=n.getAttribute("width");n[ja]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}};e.display=e.display||"block";e.boxSizing=e.boxSizing||"border-box";if(Oa(r)){const t=_r(n,"width");if(t!==undefined){n.width=t}}if(Oa(i)){if(n.style.height===""){n.height=n.width/(t||2)}else{const t=_r(n,"height");if(t!==undefined){n.height=t}}}return n}const Aa=Cr?{passive:true}:false;function Da(n,t,e){if(n){n.addEventListener(t,e,Aa)}}function La(n,t,e){if(n&&n.canvas){n.canvas.removeEventListener(t,e,Aa)}}function Ra(n,t){const e=Pa[n.type]||n.type;const{x:i,y:r}=xr(n,t);return{type:e,chart:t,native:n,x:i!==undefined?i:null,y:r!==undefined?r:null}}function Na(n,t){for(const e of n){if(e===t||e.contains(t)){return true}}}function Ia(n,t,e){const i=n.canvas;const r=new MutationObserver((n=>{let t=false;for(const e of n){t=t||Na(e.addedNodes,i);t=t&&!Na(e.removedNodes,i)}if(t){e()}}));r.observe(document,{childList:true,subtree:true});return r}function Ta(n,t,e){const i=n.canvas;const r=new MutationObserver((n=>{let t=false;for(const e of n){t=t||Na(e.removedNodes,i);t=t&&!Na(e.addedNodes,i)}if(t){e()}}));r.observe(document,{childList:true,subtree:true});return r}const Fa=new Map;let Wa=0;function Ba(){const n=window.devicePixelRatio;if(n===Wa){return}Wa=n;Fa.forEach(((t,e)=>{if(e.currentDevicePixelRatio!==n){t()}}))}function Ua(n,t){if(!Fa.size){window.addEventListener("resize",Ba)}Fa.set(n,t)}function Ha(n){Fa.delete(n);if(!Fa.size){window.removeEventListener("resize",Ba)}}function Va(n,t,e){const i=n.canvas;const r=i&&ur(i);if(!r){return}const o=Oe(((n,t)=>{const i=r.clientWidth;e(n,t);if(i<r.clientWidth){e()}}),window);const a=new ResizeObserver((n=>{const t=n[0];const e=t.contentRect.width;const i=t.contentRect.height;if(e===0&&i===0){return}o(e,i)}));a.observe(r);Ua(n,o);return a}function $a(n,t,e){if(e){e.disconnect()}if(t==="resize"){Ha(n)}}function Ya(n,t,e){const i=n.canvas;const r=Oe((t=>{if(n.ctx!==null){e(Ra(t,n))}}),n);Da(i,t,r);return r}class Xa extends Ca{acquireContext(n,t){const e=n&&n.getContext&&n.getContext("2d");if(e&&e.canvas===n){Ea(n,t);return e}return null}releaseContext(n){const t=n.canvas;if(!t[ja]){return false}const e=t[ja].initial;["height","width"].forEach((n=>{const i=e[n];if(xt(i)){t.removeAttribute(n)}else{t.setAttribute(n,i)}}));const i=e.style||{};Object.keys(i).forEach((n=>{t.style[n]=i[n]}));t.width=t.width;delete t[ja];return true}addEventListener(n,t,e){this.removeEventListener(n,t);const i=n.$proxies||(n.$proxies={});const r={attach:Ia,detach:Ta,resize:Va};const o=r[t]||Ya;i[t]=o(n,t,e)}removeEventListener(n,t){const e=n.$proxies||(n.$proxies={});const i=e[t];if(!i){return}const r={attach:$a,detach:$a,resize:$a};const o=r[t]||La;o(n,t,i);e[t]=undefined}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,t,e,i){return zr(n,t,e,i)}isAttached(n){const t=n&&ur(n);return!!(t&&t.isConnected)}}function Ka(n){if(!fr()||typeof OffscreenCanvas!=="undefined"&&n instanceof OffscreenCanvas){return _a}return Xa}class qa{static defaults={};static defaultRoutes=undefined;x;y;active=false;options;$animations;tooltipPosition(n){const{x:t,y:e}=this.getProps(["x","y"],n);return{x:t,y:e}}hasValue(){return se(this.x)&&se(this.y)}getProps(n,t){const e=this.$animations;if(!t||!e){return this}const i={};n.forEach((n=>{i[n]=e[n]&&e[n].active()?e[n]._to:this[n]}));return i}}function Za(n,t){const e=n.options.ticks;const i=Ja(n);const r=Math.min(e.maxTicksLimit||i,i);const o=e.major.enabled?Ga(t):[];const a=o.length;const s=o[0];const c=o[a-1];const l=[];if(a>r){ns(t,l,o,a/r);return l}const h=Qa(o,t,r);if(a>0){let n,e;const i=a>1?Math.round((c-s)/(a-1)):null;ts(t,l,h,xt(i)?0:s-i,s);for(n=0,e=a-1;n<e;n++){ts(t,l,h,o[n],o[n+1])}ts(t,l,h,c,xt(i)?t.length:c+i);return l}ts(t,l,h);return l}function Ja(n){const t=n.options.offset;const e=n._tickSize();const i=n._length/e+(t?0:1);const r=n._maxLength/e;return Math.floor(Math.min(i,r))}function Qa(n,t,e){const i=es(n);const r=t.length/e;if(!i){return Math.max(r,1)}const o=oe(i);for(let n=0,t=o.length-1;n<t;n++){const t=o[n];if(t>r){return t}}return Math.max(r,1)}function Ga(n){const t=[];let e,i;for(e=0,i=n.length;e<i;e++){if(n[e].major){t.push(e)}}return t}function ns(n,t,e,i){let r=0;let o=e[0];let a;i=Math.ceil(i);for(a=0;a<n.length;a++){if(a===o){t.push(n[a]);r++;o=e[r*i]}}}function ts(n,t,e,i,r){const o=Ct(i,0);const a=Math.min(Ct(r,n.length),n.length);let s=0;let c,l,h;e=Math.ceil(e);if(r){c=r-i;e=c/Math.floor(c/e)}h=o;while(h<0){s++;h=Math.round(o+s*e)}for(l=Math.max(o,0);l<a;l++){if(l===h){t.push(n[l]);s++;h=Math.round(o+s*e)}}}function es(n){const t=n.length;let e,i;if(t<2){return false}for(i=n[0],e=1;e<t;++e){if(n[e]-n[e-1]!==i){return false}}return i}const is=n=>n==="left"?"right":n==="right"?"left":n;const rs=(n,t,e)=>t==="top"||t==="left"?n[t]+e:n[t]-e;const os=(n,t)=>Math.min(t||n,n);function as(n,t){const e=[];const i=n.length/t;const r=n.length;let o=0;for(;o<r;o+=i){e.push(n[Math.floor(o)])}return e}function ss(n,t,e){const i=n.ticks.length;const r=Math.min(t,i-1);const o=n._startPixel;const a=n._endPixel;const s=1e-6;let c=n.getPixelForTick(r);let l;if(e){if(i===1){l=Math.max(c-o,a-c)}else if(t===0){l=(n.getPixelForTick(1)-c)/2}else{l=(c-n.getPixelForTick(r-1))/2}c+=r<t?l:-l;if(c<o-s||c>a+s){return}}return c}function cs(n,t){Ot(n,(n=>{const e=n.gc;const i=e.length/2;let r;if(i>t){for(r=0;r<i;++r){delete n.data[e[r]]}e.splice(0,i)}}))}function ls(n){return n.drawTicks?n.tickLength:0}function hs(n,t){if(!n.display){return 0}const e=Ai(n.font,t);const i=Ei(n.padding);const r=kt(n.text)?n.text.length:1;return r*e.lineHeight+i.height}function ds(n,t){return Ri(n,{scale:t,type:"scale"})}function fs(n,t,e){return Ri(n,{tick:e,index:t,type:"tick"})}function us(n,t,e){let i=Ae(n);if(e&&t!=="right"||!e&&t==="right"){i=is(i)}return i}function ps(n,t,e,i){const{top:r,left:o,bottom:a,right:s,chart:c}=n;const{chartArea:l,scales:h}=c;let d=0;let f,u,p;const g=a-r;const b=s-o;if(n.isHorizontal()){u=De(i,o,s);if(Mt(e)){const n=Object.keys(e)[0];const i=e[n];p=h[n].getPixelForValue(i)+g-t}else if(e==="center"){p=(l.bottom+l.top)/2+g-t}else{p=rs(n,e,t)}f=s-o}else{if(Mt(e)){const n=Object.keys(e)[0];const i=e[n];u=h[n].getPixelForValue(i)-b+t}else if(e==="center"){u=(l.left+l.right)/2-b+t}else{u=rs(n,e,t)}p=De(i,a,r);d=e==="left"?-Qt:Qt}return{titleX:u,titleY:p,maxWidth:f,rotation:d}}class gs extends qa{constructor(n){super();this.id=n.id;this.type=n.type;this.options=undefined;this.ctx=n.ctx;this.chart=n.chart;this.top=undefined;this.bottom=undefined;this.left=undefined;this.right=undefined;this.width=undefined;this.height=undefined;this._margins={left:0,right:0,top:0,bottom:0};this.maxWidth=undefined;this.maxHeight=undefined;this.paddingTop=undefined;this.paddingBottom=undefined;this.paddingLeft=undefined;this.paddingRight=undefined;this.axis=undefined;this.labelRotation=undefined;this.min=undefined;this.max=undefined;this._range=undefined;this.ticks=[];this._gridLineItems=null;this._labelItems=null;this._labelSizes=null;this._length=0;this._maxLength=0;this._longestTextCache={};this._startPixel=undefined;this._endPixel=undefined;this._reversePixels=false;this._userMax=undefined;this._userMin=undefined;this._suggestedMax=undefined;this._suggestedMin=undefined;this._ticksLength=0;this._borderValue=0;this._cache={};this._dataLimitsCached=false;this.$context=undefined}init(n){this.options=n.setContext(this.getContext());this.axis=n.axis;this._userMin=this.parse(n.min);this._userMax=this.parse(n.max);this._suggestedMin=this.parse(n.suggestedMin);this._suggestedMax=this.parse(n.suggestedMax)}parse(n,t){return n}getUserBounds(){let{_userMin:n,_userMax:t,_suggestedMin:e,_suggestedMax:i}=this;n=St(n,Number.POSITIVE_INFINITY);t=St(t,Number.NEGATIVE_INFINITY);e=St(e,Number.POSITIVE_INFINITY);i=St(i,Number.NEGATIVE_INFINITY);return{min:St(n,e),max:St(t,i),minDefined:zt(n),maxDefined:zt(t)}}getMinMax(n){let{min:t,max:e,minDefined:i,maxDefined:r}=this.getUserBounds();let o;if(i&&r){return{min:t,max:e}}const a=this.getMatchingVisibleMetas();for(let s=0,c=a.length;s<c;++s){o=a[s].controller.getMinMax(this,n);if(!i){t=Math.min(t,o.min)}if(!r){e=Math.max(e,o.max)}}t=r&&t>e?e:t;e=i&&t>e?t:e;return{min:St(t,St(e,t)),max:St(e,St(t,e))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}getLabelItems(n=this.chart.chartArea){const t=this._labelItems||(this._labelItems=this._computeLabelItems(n));return t}beforeLayout(){this._cache={};this._dataLimitsCached=false}beforeUpdate(){Pt(this.options.beforeUpdate,[this])}update(n,t,e){const{beginAtZero:i,grace:r,ticks:o}=this.options;const a=o.sampleSize;this.beforeUpdate();this.maxWidth=n;this.maxHeight=t;this._margins=e=Object.assign({left:0,right:0,top:0,bottom:0},e);this.ticks=null;this._labelSizes=null;this._gridLineItems=null;this._labelItems=null;this.beforeSetDimensions();this.setDimensions();this.afterSetDimensions();this._maxLength=this.isHorizontal()?this.width+e.left+e.right:this.height+e.top+e.bottom;if(!this._dataLimitsCached){this.beforeDataLimits();this.determineDataLimits();this.afterDataLimits();this._range=Li(this,r,i);this._dataLimitsCached=true}this.beforeBuildTicks();this.ticks=this.buildTicks()||[];this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?as(this.ticks,a):this.ticks);this.configure();this.beforeCalculateLabelRotation();this.calculateLabelRotation();this.afterCalculateLabelRotation();if(o.display&&(o.autoSkip||o.source==="auto")){this.ticks=Za(this,this.ticks);this._labelSizes=null;this.afterAutoSkip()}if(s){this._convertTicksToLabels(this.ticks)}this.beforeFit();this.fit();this.afterFit();this.afterUpdate()}configure(){let n=this.options.reverse;let t,e;if(this.isHorizontal()){t=this.left;e=this.right}else{t=this.top;e=this.bottom;n=!n}this._startPixel=t;this._endPixel=e;this._reversePixels=n;this._length=e-t;this._alignToPixels=this.options.alignToPixels}afterUpdate(){Pt(this.options.afterUpdate,[this])}beforeSetDimensions(){Pt(this.options.beforeSetDimensions,[this])}setDimensions(){if(this.isHorizontal()){this.width=this.maxWidth;this.left=0;this.right=this.width}else{this.height=this.maxHeight;this.top=0;this.bottom=this.height}this.paddingLeft=0;this.paddingTop=0;this.paddingRight=0;this.paddingBottom=0}afterSetDimensions(){Pt(this.options.afterSetDimensions,[this])}_callHooks(n){this.chart.notifyPlugins(n,this.getContext());Pt(this.options[n],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Pt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(n){const t=this.options.ticks;let e,i,r;for(e=0,i=n.length;e<i;e++){r=n[e];r.label=Pt(t.callback,[r.value,e,n],this)}}afterTickToLabelConversion(){Pt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Pt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const n=this.options;const t=n.ticks;const e=os(this.ticks.length,n.ticks.maxTicksLimit);const i=t.minRotation||0;const r=t.maxRotation;let o=i;let a,s,c;if(!this._isVisible()||!t.display||i>=r||e<=1||!this.isHorizontal()){this.labelRotation=i;return}const l=this._getLabelSizes();const h=l.widest.width;const d=l.highest.height;const f=me(this.chart.width-h,0,this.maxWidth);a=n.offset?this.maxWidth/e:f/(e-1);if(h+6>a){a=f/(e-(n.offset?.5:1));s=this.maxHeight-ls(n.grid)-t.padding-hs(n.title,this.chart.options.font);c=Math.sqrt(h*h+d*d);o=de(Math.min(Math.asin(me((l.highest.height+6)/a,-1,1)),Math.asin(me(s/c,-1,1))-Math.asin(me(d/c,-1,1))));o=Math.max(i,Math.min(r,o))}this.labelRotation=o}afterCalculateLabelRotation(){Pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pt(this.options.beforeFit,[this])}fit(){const n={width:0,height:0};const{chart:t,options:{ticks:e,title:i,grid:r}}=this;const o=this._isVisible();const a=this.isHorizontal();if(o){const o=hs(i,t.options.font);if(a){n.width=this.maxWidth;n.height=ls(r)+o}else{n.height=this.maxHeight;n.width=ls(r)+o}if(e.display&&this.ticks.length){const{first:t,last:i,widest:r,highest:o}=this._getLabelSizes();const s=e.padding*2;const c=he(this.labelRotation);const l=Math.cos(c);const h=Math.sin(c);if(a){const t=e.mirror?0:h*r.width+l*o.height;n.height=Math.min(this.maxHeight,n.height+t+s)}else{const t=e.mirror?0:l*r.width+h*o.height;n.width=Math.min(this.maxWidth,n.width+t+s)}this._calculatePadding(t,i,h,l)}}this._handleMargins();if(a){this.width=this._length=t.width-this._margins.left-this._margins.right;this.height=n.height}else{this.width=n.width;this.height=this._length=t.height-this._margins.top-this._margins.bottom}}_calculatePadding(n,t,e,i){const{ticks:{align:r,padding:o},position:a}=this.options;const s=this.labelRotation!==0;const c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left;const l=this.right-this.getPixelForTick(this.ticks.length-1);let h=0;let d=0;if(s){if(c){h=i*n.width;d=e*t.height}else{h=e*n.height;d=i*t.width}}else if(r==="start"){d=t.width}else if(r==="end"){h=n.width}else if(r!=="inner"){h=n.width/2;d=t.width/2}this.paddingLeft=Math.max((h-a+o)*this.width/(this.width-a),0);this.paddingRight=Math.max((d-l+o)*this.width/(this.width-l),0)}else{let e=t.height/2;let i=n.height/2;if(r==="start"){e=0;i=n.height}else if(r==="end"){e=t.height;i=0}this.paddingTop=e+o;this.paddingBottom=i+o}}_handleMargins(){if(this._margins){this._margins.left=Math.max(this.paddingLeft,this._margins.left);this._margins.top=Math.max(this.paddingTop,this._margins.top);this._margins.right=Math.max(this.paddingRight,this._margins.right);this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom)}}afterFit(){Pt(this.options.afterFit,[this])}isHorizontal(){const{axis:n,position:t}=this.options;return t==="top"||t==="bottom"||n==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){this.beforeTickToLabelConversion();this.generateTickLabels(n);let t,e;for(t=0,e=n.length;t<e;t++){if(xt(n[t].label)){n.splice(t,1);e--;t--}}this.afterTickToLabelConversion()}_getLabelSizes(){let n=this._labelSizes;if(!n){const t=this.options.ticks.sampleSize;let e=this.ticks;if(t<e.length){e=as(e,t)}this._labelSizes=n=this._computeLabelSizes(e,e.length,this.options.ticks.maxTicksLimit)}return n}_computeLabelSizes(n,t,e){const{ctx:i,_longestTextCache:r}=this;const o=[];const a=[];const s=Math.floor(t/os(t,e));let c=0;let l=0;let h,d,f,u,p,g,b,w,m,v,y;for(h=0;h<t;h+=s){u=n[h].label;p=this._resolveTickFontOptions(h);i.font=g=p.string;b=r[g]=r[g]||{data:{},gc:[]};w=p.lineHeight;m=v=0;if(!xt(u)&&!kt(u)){m=ci(i,b.data,b.gc,m,u);v=w}else if(kt(u)){for(d=0,f=u.length;d<f;++d){y=u[d];if(!xt(y)&&!kt(y)){m=ci(i,b.data,b.gc,m,y);v+=w}}}o.push(m);a.push(v);c=Math.max(m,c);l=Math.max(v,l)}cs(r,t);const x=o.indexOf(c);const k=a.indexOf(l);const M=n=>({width:o[n]||0,height:a[n]||0});return{first:M(0),last:M(t-1),widest:M(x),highest:M(k),widths:o,heights:a}}getLabelForValue(n){return n}getPixelForValue(n,t){return NaN}getValueForPixel(n){}getPixelForTick(n){const t=this.ticks;if(n<0||n>t.length-1){return null}return this.getPixelForValue(t[n].value)}getPixelForDecimal(n){if(this._reversePixels){n=1-n}const t=this._startPixel+n*this._length;return ve(this._alignToPixels?hi(this.chart,t,0):t)}getDecimalForPixel(n){const t=(n-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:n,max:t}=this;return n<0&&t<0?t:n>0&&t>0?n:0}getContext(n){const t=this.ticks||[];if(n>=0&&n<t.length){const e=t[n];return e.$context||(e.$context=fs(this.getContext(),n,e))}return this.$context||(this.$context=ds(this.chart.getContext(),this))}_tickSize(){const n=this.options.ticks;const t=he(this.labelRotation);const e=Math.abs(Math.cos(t));const i=Math.abs(Math.sin(t));const r=this._getLabelSizes();const o=n.autoSkipPadding||0;const a=r?r.widest.width+o:0;const s=r?r.highest.height+o:0;return this.isHorizontal()?s*e>a*i?a/e:s/i:s*i<a*e?s/e:a/i}_isVisible(){const n=this.options.display;if(n!=="auto"){return!!n}return this.getMatchingVisibleMetas().length>0}_computeGridLineItems(n){const t=this.axis;const e=this.chart;const i=this.options;const{grid:r,position:o,border:a}=i;const s=r.offset;const c=this.isHorizontal();const l=this.ticks;const h=l.length+(s?1:0);const d=ls(r);const f=[];const u=a.setContext(this.getContext());const p=u.display?u.width:0;const g=p/2;const b=function(n){return hi(e,n,p)};let w,m,v,y;let x,k,M,z,S,C,_,j;if(o==="top"){w=b(this.bottom);k=this.bottom-d;z=w-g;C=b(n.top)+g;j=n.bottom}else if(o==="bottom"){w=b(this.top);C=n.top;j=b(n.bottom)-g;k=w+g;z=this.top+d}else if(o==="left"){w=b(this.right);x=this.right-d;M=w-g;S=b(n.left)+g;_=n.right}else if(o==="right"){w=b(this.left);S=n.left;_=b(n.right)-g;x=w+g;M=this.left+d}else if(t==="x"){if(o==="center"){w=b((n.top+n.bottom)/2+.5)}else if(Mt(o)){const n=Object.keys(o)[0];const t=o[n];w=b(this.chart.scales[n].getPixelForValue(t))}C=n.top;j=n.bottom;k=w+g;z=k+d}else if(t==="y"){if(o==="center"){w=b((n.left+n.right)/2)}else if(Mt(o)){const n=Object.keys(o)[0];const t=o[n];w=b(this.chart.scales[n].getPixelForValue(t))}x=w-g;M=x-d;S=n.left;_=n.right}const P=Ct(i.ticks.maxTicksLimit,h);const O=Math.max(1,Math.ceil(h/P));for(m=0;m<h;m+=O){const n=this.getContext(m);const t=r.setContext(n);const i=a.setContext(n);const o=t.lineWidth;const l=t.color;const h=i.dash||[];const d=i.dashOffset;const u=t.tickWidth;const p=t.tickColor;const g=t.tickBorderDash||[];const b=t.tickBorderDashOffset;v=ss(this,m,s);if(v===undefined){continue}y=hi(e,v,o);if(c){x=M=S=_=y}else{k=z=C=j=y}f.push({tx1:x,ty1:k,tx2:M,ty2:z,x1:S,y1:C,x2:_,y2:j,width:o,color:l,borderDash:h,borderDashOffset:d,tickWidth:u,tickColor:p,tickBorderDash:g,tickBorderDashOffset:b})}this._ticksLength=h;this._borderValue=w;return f}_computeLabelItems(n){const t=this.axis;const e=this.options;const{position:i,ticks:r}=e;const o=this.isHorizontal();const a=this.ticks;const{align:s,crossAlign:c,padding:l,mirror:h}=r;const d=ls(e.grid);const f=d+l;const u=h?-l:f;const p=-he(this.labelRotation);const g=[];let b,w,m,v,y,x,k,M,z,S,C,_;let j="middle";if(i==="top"){x=this.bottom-u;k=this._getXAxisLabelAlignment()}else if(i==="bottom"){x=this.top+u;k=this._getXAxisLabelAlignment()}else if(i==="left"){const n=this._getYAxisLabelAlignment(d);k=n.textAlign;y=n.x}else if(i==="right"){const n=this._getYAxisLabelAlignment(d);k=n.textAlign;y=n.x}else if(t==="x"){if(i==="center"){x=(n.top+n.bottom)/2+f}else if(Mt(i)){const n=Object.keys(i)[0];const t=i[n];x=this.chart.scales[n].getPixelForValue(t)+f}k=this._getXAxisLabelAlignment()}else if(t==="y"){if(i==="center"){y=(n.left+n.right)/2-f}else if(Mt(i)){const n=Object.keys(i)[0];const t=i[n];y=this.chart.scales[n].getPixelForValue(t)}k=this._getYAxisLabelAlignment(d).textAlign}if(t==="y"){if(s==="start"){j="top"}else if(s==="end"){j="bottom"}}const P=this._getLabelSizes();for(b=0,w=a.length;b<w;++b){m=a[b];v=m.label;const n=r.setContext(this.getContext(b));M=this.getPixelForTick(b)+r.labelOffset;z=this._resolveTickFontOptions(b);S=z.lineHeight;C=kt(v)?v.length:1;const t=C/2;const e=n.color;const s=n.textStrokeColor;const l=n.textStrokeWidth;let d=k;if(o){y=M;if(k==="inner"){if(b===w-1){d=!this.options.reverse?"right":"left"}else if(b===0){d=!this.options.reverse?"left":"right"}else{d="center"}}if(i==="top"){if(c==="near"||p!==0){_=-C*S+S/2}else if(c==="center"){_=-P.highest.height/2-t*S+S}else{_=-P.highest.height+S/2}}else{if(c==="near"||p!==0){_=S/2}else if(c==="center"){_=P.highest.height/2-t*S}else{_=P.highest.height-C*S}}if(h){_*=-1}if(p!==0&&!n.showLabelBackdrop){y+=S/2*Math.sin(p)}}else{x=M;_=(1-C)*S/2}let f;if(n.showLabelBackdrop){const t=Ei(n.backdropPadding);const e=P.heights[b];const i=P.widths[b];let r=_-t.top;let o=0-t.left;switch(j){case"middle":r-=e/2;break;case"bottom":r-=e;break}switch(k){case"center":o-=i/2;break;case"right":o-=i;break;case"inner":if(b===w-1){o-=i}else if(b>0){o-=i/2}break}f={left:o,top:r,width:i+t.width,height:e+t.height,color:n.backdropColor}}g.push({label:v,font:z,textOffset:_,options:{rotation:p,color:e,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:j,translation:[y,x],backdrop:f}})}return g}_getXAxisLabelAlignment(){const{position:n,ticks:t}=this.options;const e=-he(this.labelRotation);if(e){return n==="top"?"left":"right"}let i="center";if(t.align==="start"){i="left"}else if(t.align==="end"){i="right"}else if(t.align==="inner"){i="inner"}return i}_getYAxisLabelAlignment(n){const{position:t,ticks:{crossAlign:e,mirror:i,padding:r}}=this.options;const o=this._getLabelSizes();const a=n+r;const s=o.widest.width;let c;let l;if(t==="left"){if(i){l=this.right+r;if(e==="near"){c="left"}else if(e==="center"){c="center";l+=s/2}else{c="right";l+=s}}else{l=this.right-a;if(e==="near"){c="right"}else if(e==="center"){c="center";l-=s/2}else{c="left";l=this.left}}}else if(t==="right"){if(i){l=this.left+r;if(e==="near"){c="right"}else if(e==="center"){c="center";l-=s/2}else{c="left";l-=s}}else{l=this.left+a;if(e==="near"){c="left"}else if(e==="center"){c="center";l+=s/2}else{c="right";l=this.right}}}else{c="right"}return{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror){return}const n=this.chart;const t=this.options.position;if(t==="left"||t==="right"){return{top:0,left:this.left,bottom:n.height,right:this.right}}if(t==="top"||t==="bottom"){return{top:this.top,left:0,bottom:this.bottom,right:n.width}}}drawBackground(){const{ctx:n,options:{backgroundColor:t},left:e,top:i,width:r,height:o}=this;if(t){n.save();n.fillStyle=t;n.fillRect(e,i,r,o);n.restore()}}getLineWidthForValue(n){const t=this.options.grid;if(!this._isVisible()||!t.display){return 0}const e=this.ticks;const i=e.findIndex((t=>t.value===n));if(i>=0){const n=t.setContext(this.getContext(i));return n.lineWidth}return 0}drawGrid(n){const t=this.options.grid;const e=this.ctx;const i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n));let r,o;const a=(n,t,i)=>{if(!i.width||!i.color){return}e.save();e.lineWidth=i.width;e.strokeStyle=i.color;e.setLineDash(i.borderDash||[]);e.lineDashOffset=i.borderDashOffset;e.beginPath();e.moveTo(n.x,n.y);e.lineTo(t.x,t.y);e.stroke();e.restore()};if(t.display){for(r=0,o=i.length;r<o;++r){const n=i[r];if(t.drawOnChartArea){a({x:n.x1,y:n.y1},{x:n.x2,y:n.y2},n)}if(t.drawTicks){a({x:n.tx1,y:n.ty1},{x:n.tx2,y:n.ty2},{color:n.tickColor,width:n.tickWidth,borderDash:n.tickBorderDash,borderDashOffset:n.tickBorderDashOffset})}}}}drawBorder(){const{chart:n,ctx:t,options:{border:e,grid:i}}=this;const r=e.setContext(this.getContext());const o=e.display?r.width:0;if(!o){return}const a=i.setContext(this.getContext(0)).lineWidth;const s=this._borderValue;let c,l,h,d;if(this.isHorizontal()){c=hi(n,this.left,o)-o/2;l=hi(n,this.right,a)+a/2;h=d=s}else{h=hi(n,this.top,o)-o/2;d=hi(n,this.bottom,a)+a/2;c=l=s}t.save();t.lineWidth=r.width;t.strokeStyle=r.color;t.beginPath();t.moveTo(c,h);t.lineTo(l,d);t.stroke();t.restore()}drawLabels(n){const t=this.options.ticks;if(!t.display){return}const e=this.ctx;const i=this._computeLabelArea();if(i){gi(e,i)}const r=this.getLabelItems(n);for(const n of r){const t=n.options;const i=n.font;const r=n.label;const o=n.textOffset;ki(e,r,0,o,i,t)}if(i){bi(e)}}drawTitle(){const{ctx:n,options:{position:t,title:e,reverse:i}}=this;if(!e.display){return}const r=Ai(e.font);const o=Ei(e.padding);const a=e.align;let s=r.lineHeight/2;if(t==="bottom"||t==="center"||Mt(t)){s+=o.bottom;if(kt(e.text)){s+=r.lineHeight*(e.text.length-1)}}else{s+=o.top}const{titleX:c,titleY:l,maxWidth:h,rotation:d}=ps(this,s,t,a);ki(n,e.text,0,0,r,{color:e.color,maxWidth:h,rotation:d,textAlign:us(a,t,i),textBaseline:"middle",translation:[c,l]})}draw(n){if(!this._isVisible()){return}this.drawBackground();this.drawGrid(n);this.drawBorder();this.drawTitle();this.drawLabels(n)}_layers(){const n=this.options;const t=n.ticks&&n.ticks.z||0;const e=Ct(n.grid&&n.grid.z,-1);const i=Ct(n.border&&n.border.z,0);if(!this._isVisible()||this.draw!==gs.prototype.draw){return[{z:t,draw:n=>{this.draw(n)}}]}return[{z:e,draw:n=>{this.drawBackground();this.drawGrid(n);this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:t,draw:n=>{this.drawLabels(n)}}]}getMatchingVisibleMetas(n){const t=this.chart.getSortedVisibleDatasetMetas();const e=this.axis+"AxisID";const i=[];let r,o;for(r=0,o=t.length;r<o;++r){const o=t[r];if(o[e]===this.id&&(!n||o.type===n)){i.push(o)}}return i}_resolveTickFontOptions(n){const t=this.options.ticks.setContext(this.getContext(n));return Ai(t.font)}_maxDigits(){const n=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/n}}class bs{constructor(n,t,e){this.type=n;this.scope=t;this.override=e;this.items=Object.create(null)}isForType(n){return Object.prototype.isPrototypeOf.call(this.type.prototype,n.prototype)}register(n){const t=Object.getPrototypeOf(n);let e;if(vs(t)){e=this.register(t)}const i=this.items;const r=n.id;const o=this.scope+"."+r;if(!r){throw new Error("class does not have id: "+n)}if(r in i){return o}i[r]=n;ws(n,o,e);if(this.override){ai.override(n.id,n.overrides)}return o}get(n){return this.items[n]}unregister(n){const t=this.items;const e=n.id;const i=this.scope;if(e in t){delete t[e]}if(i&&e in ai[i]){delete ai[i][e];if(this.override){delete ti[e]}}}}function ws(n,t,e){const i=Rt(Object.create(null),[e?ai.get(e):{},ai.get(t),n.defaults]);ai.set(t,i);if(n.defaultRoutes){ms(t,n.defaultRoutes)}if(n.descriptors){ai.describe(t,n.descriptors)}}function ms(n,t){Object.keys(t).forEach((e=>{const i=e.split(".");const r=i.pop();const o=[n].concat(i).join(".");const a=t[e].split(".");const s=a.pop();const c=a.join(".");ai.route(o,r,c,s)}))}function vs(n){return"id"in n&&"defaults"in n}class ys{constructor(){this.controllers=new bs(So,"datasets",true);this.elements=new bs(qa,"elements");this.plugins=new bs(Object,"plugins");this.scales=new bs(gs,"scales");this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,t,e){[...t].forEach((t=>{const i=e||this._getRegistryForType(t);if(e||i.isForType(t)||i===this.plugins&&t.id){this._exec(n,i,t)}else{Ot(t,(t=>{const i=e||this._getRegistryForType(t);this._exec(n,i,t)}))}}))}_exec(n,t,e){const i=Ut(n);Pt(e["before"+i],[],e);t[n](e);Pt(e["after"+i],[],e)}_getRegistryForType(n){for(let t=0;t<this._typedRegistries.length;t++){const e=this._typedRegistries[t];if(e.isForType(n)){return e}}return this.plugins}_get(n,t,e){const i=t.get(n);if(i===undefined){throw new Error('"'+n+'" is not a registered '+e+".")}return i}}var xs=new ys;class ks{constructor(){this._init=[]}notify(n,t,e,i){if(t==="beforeInit"){this._init=this._createDescriptors(n,true);this._notify(this._init,n,"install")}const r=i?this._descriptors(n).filter(i):this._descriptors(n);const o=this._notify(r,n,t,e);if(t==="afterDestroy"){this._notify(r,n,"stop");this._notify(this._init,n,"uninstall")}return o}_notify(n,t,e,i){i=i||{};for(const r of n){const n=r.plugin;const o=n[e];const a=[t,i,r.options];if(Pt(o,a,n)===false&&i.cancelable){return false}}return true}invalidate(){if(!xt(this._cache)){this._oldCache=this._cache;this._cache=undefined}}_descriptors(n){if(this._cache){return this._cache}const t=this._cache=this._createDescriptors(n);this._notifyStateChanges(n);return t}_createDescriptors(n,t){const e=n&&n.config;const i=Ct(e.options&&e.options.plugins,{});const r=Ms(e);return i===false&&!t?[]:Ss(n,r,i,t)}_notifyStateChanges(n){const t=this._oldCache||[];const e=this._cache;const i=(n,t)=>n.filter((n=>!t.some((t=>n.plugin.id===t.plugin.id))));this._notify(i(t,e),n,"stop");this._notify(i(e,t),n,"start")}}function Ms(n){const t={};const e=[];const i=Object.keys(xs.plugins.items);for(let n=0;n<i.length;n++){e.push(xs.getPlugin(i[n]))}const r=n.plugins||[];for(let n=0;n<r.length;n++){const i=r[n];if(e.indexOf(i)===-1){e.push(i);t[i.id]=true}}return{plugins:e,localIds:t}}function zs(n,t){if(!t&&n===false){return null}if(n===true){return{}}return n}function Ss(n,{plugins:t,localIds:e},i,r){const o=[];const a=n.getContext();for(const s of t){const t=s.id;const c=zs(i[t],r);if(c===null){continue}o.push({plugin:s,options:Cs(n.config,{plugin:s,local:e[t]},c,a)})}return o}function Cs(n,{plugin:t,local:e},i,r){const o=n.pluginScopeKeys(t);const a=n.getOptionScopes(i,o);if(e&&t.defaults){a.push(t.defaults)}return n.createResolver(a,r,[""],{scriptable:false,indexable:false,allKeys:true})}function _s(n,t){const e=ai.datasets[n]||{};const i=(t.datasets||{})[n]||{};return i.indexAxis||t.indexAxis||e.indexAxis||"x"}function js(n,t){let e=n;if(n==="_index_"){e=t}else if(n==="_value_"){e=t==="x"?"y":"x"}return e}function Ps(n,t){return n===t?"_index_":"_value_"}function Os(n){if(n==="x"||n==="y"||n==="r"){return n}}function Es(n){if(n==="top"||n==="bottom"){return"x"}if(n==="left"||n==="right"){return"y"}}function As(n,...t){if(Os(n)){return n}for(const e of t){const t=e.axis||Es(e.position)||n.length>1&&Os(n[0].toLowerCase());if(t){return t}}throw new Error(`Cannot determine type of '${n}' axis. Please provide 'axis' or 'position' option.`)}function Ds(n,t,e){if(e[t+"AxisID"]===n){return{axis:t}}}function Ls(n,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter((t=>t.xAxisID===n||t.yAxisID===n));if(e.length){return Ds(n,"x",e[0])||Ds(n,"y",e[0])}}return{}}function Rs(n,t){const e=ti[n.type]||{scales:{}};const i=t.scales||{};const r=_s(n.type,t);const o=Object.create(null);Object.keys(i).forEach((t=>{const a=i[t];if(!Mt(a)){return console.error(`Invalid scale configuration for scale: ${t}`)}if(a._proxy){return console.warn(`Ignoring resolver passed as options for scale: ${t}`)}const s=As(t,a,Ls(t,n),ai.scales[a.type]);const c=Ps(s,r);const l=e.scales||{};o[t]=Nt(Object.create(null),[{axis:s},a,l[s],l[c]])}));n.data.datasets.forEach((e=>{const r=e.type||n.type;const a=e.indexAxis||_s(r,t);const s=ti[r]||{};const c=s.scales||{};Object.keys(c).forEach((n=>{const t=js(n,a);const r=e[t+"AxisID"]||t;o[r]=o[r]||Object.create(null);Nt(o[r],[{axis:t},i[r],c[n]])}))}));Object.keys(o).forEach((n=>{const t=o[n];Nt(t,[ai.scales[t.type],ai.scale])}));return o}function Ns(n){const t=n.options||(n.options={});t.plugins=Ct(t.plugins,{});t.scales=Rs(n,t)}function Is(n){n=n||{};n.datasets=n.datasets||[];n.labels=n.labels||[];return n}function Ts(n){n=n||{};n.data=Is(n.data);Ns(n);return n}const Fs=new Map;const Ws=new Set;function Bs(n,t){let e=Fs.get(n);if(!e){e=t();Fs.set(n,e);Ws.add(e)}return e}const Us=(n,t,e)=>{const i=Bt(t,e);if(i!==undefined){n.add(i)}};class Hs{constructor(n){this._config=Ts(n);this._scopeCache=new Map;this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=Is(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){const n=this._config;this.clearCache();Ns(n)}clearCache(){this._scopeCache.clear();this._resolverCache.clear()}datasetScopeKeys(n){return Bs(n,(()=>[[`datasets.${n}`,""]]))}datasetAnimationScopeKeys(n,t){return Bs(`${n}.transition.${t}`,(()=>[[`datasets.${n}.transitions.${t}`,`transitions.${t}`],[`datasets.${n}`,""]]))}datasetElementScopeKeys(n,t){return Bs(`${n}-${t}`,(()=>[[`datasets.${n}.elements.${t}`,`datasets.${n}`,`elements.${t}`,""]]))}pluginScopeKeys(n){const t=n.id;const e=this.type;return Bs(`${e}-plugin-${t}`,(()=>[[`plugins.${t}`,...n.additionalOptionScopes||[]]]))}_cachedScopes(n,t){const e=this._scopeCache;let i=e.get(n);if(!i||t){i=new Map;e.set(n,i)}return i}getOptionScopes(n,t,e){const{options:i,type:r}=this;const o=this._cachedScopes(n,e);const a=o.get(t);if(a){return a}const s=new Set;t.forEach((t=>{if(n){s.add(n);t.forEach((t=>Us(s,n,t)))}t.forEach((n=>Us(s,i,n)));t.forEach((n=>Us(s,ti[r]||{},n)));t.forEach((n=>Us(s,ai,n)));t.forEach((n=>Us(s,ei,n)))}));const c=Array.from(s);if(c.length===0){c.push(Object.create(null))}if(Ws.has(t)){o.set(t,c)}return c}chartOptionScopes(){const{options:n,type:t}=this;return[n,ti[t]||{},ai.datasets[t]||{},{type:t},ai,ei]}resolveNamedOptions(n,t,e,i=[""]){const r={$shared:true};const{resolver:o,subPrefixes:a}=Vs(this._resolverCache,n,i);let s=o;if(Ys(o,t)){r.$shared=false;e=Vt(e)?e():e;const t=this.createResolver(n,e,a);s=Ii(o,e,t)}for(const n of t){r[n]=s[n]}return r}createResolver(n,t,e=[""],i){const{resolver:r}=Vs(this._resolverCache,n,e);return Mt(t)?Ii(r,t,undefined,i):r}}function Vs(n,t,e){let i=n.get(t);if(!i){i=new Map;n.set(t,i)}const r=e.join();let o=i.get(r);if(!o){const n=Ni(t,e);o={resolver:n,subPrefixes:e.filter((n=>!n.toLowerCase().includes("hover")))};i.set(r,o)}return o}const $s=n=>Mt(n)&&Object.getOwnPropertyNames(n).some((t=>Vt(n[t])));function Ys(n,t){const{isScriptable:e,isIndexable:i}=Ti(n);for(const r of t){const t=e(r);const o=i(r);const a=(o||t)&&n[r];if(t&&(Vt(a)||$s(a))||o&&kt(a)){return true}}return false}var Xs="4.4.9";const Ks=["top","bottom","left","right","chartArea"];function qs(n,t){return n==="top"||n==="bottom"||Ks.indexOf(n)===-1&&t==="x"}function Zs(n,t){return function(e,i){return e[n]===i[n]?e[t]-i[t]:e[n]-i[n]}}function Js(n){const t=n.chart;const e=t.options.animation;t.notifyPlugins("afterRender");Pt(e&&e.onComplete,[n],t)}function Qs(n){const t=n.chart;const e=t.options.animation;Pt(e&&e.onProgress,[n],t)}function Gs(n){if(fr()&&typeof n==="string"){n=document.getElementById(n)}else if(n&&n.length){n=n[0]}if(n&&n.canvas){n=n.canvas}return n}const nc={};const tc=n=>{const t=Gs(n);return Object.values(nc).filter((n=>n.canvas===t)).pop()};function ec(n,t,e){const i=Object.keys(n);for(const r of i){const i=+r;if(i>=t){const o=n[r];delete n[r];if(e>0||i>t){n[i+e]=o}}}}function ic(n,t,e,i){if(!e||n.type==="mouseout"){return null}if(i){return t}return n}class rc{static defaults=ai;static instances=nc;static overrides=ti;static registry=xs;static version=Xs;static getChart=tc;static register(...n){xs.add(...n);oc()}static unregister(...n){xs.remove(...n);oc()}constructor(n,t){const e=this.config=new Hs(t);const i=Gs(n);const r=tc(i);if(r){throw new Error("Canvas is already in use. Chart with ID '"+r.id+"'"+" must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.")}const o=e.createResolver(e.chartOptionScopes(),this.getContext());this.platform=new(e.platform||Ka(i));this.platform.updateConfig(e);const a=this.platform.acquireContext(i,o.aspectRatio);const s=a&&a.canvas;const c=s&&s.height;const l=s&&s.width;this.id=yt();this.ctx=a;this.canvas=s;this.width=l;this.height=c;this._options=o;this._aspectRatio=this.aspectRatio;this._layers=[];this._metasets=[];this._stacks=undefined;this.boxes=[];this.currentDevicePixelRatio=undefined;this.chartArea=undefined;this._active=[];this._lastEvent=undefined;this._listeners={};this._responsiveListeners=undefined;this._sortedMetasets=[];this.scales={};this._plugins=new ks;this.$proxies={};this._hiddenIndices={};this.attached=false;this._animationsDisabled=undefined;this.$context=undefined;this._doResize=Ee((n=>this.update(n)),o.resizeDelay||0);this._dataChanges=[];nc[this.id]=this;if(!a||!s){console.error("Failed to create chart: can't acquire context from the given item");return}Qr.listen(this,"complete",Js);Qr.listen(this,"progress",Qs);this._initialize();if(this.attached){this.update()}}get aspectRatio(){const{options:{aspectRatio:n,maintainAspectRatio:t},width:e,height:i,_aspectRatio:r}=this;if(!xt(n)){return n}if(t&&r){return r}return i?e/i:null}get data(){return this.config.data}set data(n){this.config.data=n}get options(){return this._options}set options(n){this.config.options=n}get registry(){return xs}_initialize(){this.notifyPlugins("beforeInit");if(this.options.responsive){this.resize()}else{Sr(this,this.options.devicePixelRatio)}this.bindEvents();this.notifyPlugins("afterInit");return this}clear(){di(this.canvas,this.ctx);return this}stop(){Qr.stop(this);return this}resize(n,t){if(!Qr.running(this)){this._resize(n,t)}else{this._resizeBeforeDraw={width:n,height:t}}}_resize(n,t){const e=this.options;const i=this.canvas;const r=e.maintainAspectRatio&&this.aspectRatio;const o=this.platform.getMaximumSize(i,n,t,r);const a=e.devicePixelRatio||this.platform.getDevicePixelRatio();const s=this.width?"resize":"attach";this.width=o.width;this.height=o.height;this._aspectRatio=this.aspectRatio;if(!Sr(this,a,true)){return}this.notifyPlugins("resize",{size:o});Pt(e.onResize,[this,o],this);if(this.attached){if(this._doResize(s)){this.render()}}}ensureScalesHaveIDs(){const n=this.options;const t=n.scales||{};Ot(t,((n,t)=>{n.id=t}))}buildOrUpdateScales(){const n=this.options;const t=n.scales;const e=this.scales;const i=Object.keys(e).reduce(((n,t)=>{n[t]=false;return n}),{});let r=[];if(t){r=r.concat(Object.keys(t).map((n=>{const e=t[n];const i=As(n,e);const r=i==="r";const o=i==="x";return{options:e,dposition:r?"chartArea":o?"bottom":"left",dtype:r?"radialLinear":o?"category":"linear"}})))}Ot(r,(t=>{const r=t.options;const o=r.id;const a=As(o,r);const s=Ct(r.type,t.dtype);if(r.position===undefined||qs(r.position,a)!==qs(t.dposition)){r.position=t.dposition}i[o]=true;let c=null;if(o in e&&e[o].type===s){c=e[o]}else{const n=xs.getScale(s);c=new n({id:o,type:s,ctx:this.ctx,chart:this});e[c.id]=c}c.init(r,n)}));Ot(i,((n,t)=>{if(!n){delete e[t]}}));Ot(e,(n=>{Sa.configure(this,n,n.options);Sa.addBox(this,n)}))}_updateMetasets(){const n=this._metasets;const t=this.data.datasets.length;const e=n.length;n.sort(((n,t)=>n.index-t.index));if(e>t){for(let n=t;n<e;++n){this._destroyDatasetMeta(n)}n.splice(t,e-t)}this._sortedMetasets=n.slice(0).sort(Zs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:n,data:{datasets:t}}=this;if(n.length>t.length){delete this._stacks}n.forEach(((n,e)=>{if(t.filter((t=>t===n._dataset)).length===0){this._destroyDatasetMeta(e)}}))}buildOrUpdateControllers(){const n=[];const t=this.data.datasets;let e,i;this._removeUnreferencedMetasets();for(e=0,i=t.length;e<i;e++){const i=t[e];let r=this.getDatasetMeta(e);const o=i.type||this.config.type;if(r.type&&r.type!==o){this._destroyDatasetMeta(e);r=this.getDatasetMeta(e)}r.type=o;r.indexAxis=i.indexAxis||_s(o,this.options);r.order=i.order||0;r.index=e;r.label=""+i.label;r.visible=this.isDatasetVisible(e);if(r.controller){r.controller.updateIndex(e);r.controller.linkScales()}else{const t=xs.getController(o);const{datasetElementType:i,dataElementType:a}=ai.datasets[o];Object.assign(t,{dataElementType:xs.getElement(a),datasetElementType:i&&xs.getElement(i)});r.controller=new t(this,e);n.push(r.controller)}}this._updateMetasets();return n}_resetElements(){Ot(this.data.datasets,((n,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements();this.notifyPlugins("reset")}update(n){const t=this.config;t.update();const e=this._options=t.createResolver(t.chartOptionScopes(),this.getContext());const i=this._animationsDisabled=!e.animation;this._updateScales();this._checkEventBindings();this._updateHiddenIndices();this._plugins.invalidate();if(this.notifyPlugins("beforeUpdate",{mode:n,cancelable:true})===false){return}const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let n=0,t=this.data.datasets.length;n<t;n++){const{controller:t}=this.getDatasetMeta(n);const e=!i&&r.indexOf(t)===-1;t.buildOrUpdateElements(e);o=Math.max(+t.getMaxOverflow(),o)}o=this._minPadding=e.layout.autoPadding?o:0;this._updateLayout(o);if(!i){Ot(r,(n=>{n.reset()}))}this._updateDatasets(n);this.notifyPlugins("afterUpdate",{mode:n});this._layers.sort(Zs("z","_idx"));const{_active:a,_lastEvent:s}=this;if(s){this._eventHandler(s,true)}else if(a.length){this._updateHoverStyles(a,a,true)}this.render()}_updateScales(){Ot(this.scales,(n=>{Sa.removeBox(this,n)}));this.ensureScalesHaveIDs();this.buildOrUpdateScales()}_checkEventBindings(){const n=this.options;const t=new Set(Object.keys(this._listeners));const e=new Set(n.events);if(!$t(t,e)||!!this._responsiveListeners!==n.responsive){this.unbindEvents();this.bindEvents()}}_updateHiddenIndices(){const{_hiddenIndices:n}=this;const t=this._getUniformDataChanges()||[];for(const{method:e,start:i,count:r}of t){const t=e==="_removeElements"?-r:r;ec(n,i,t)}}_getUniformDataChanges(){const n=this._dataChanges;if(!n||!n.length){return}this._dataChanges=[];const t=this.data.datasets.length;const e=t=>new Set(n.filter((n=>n[0]===t)).map(((n,t)=>t+","+n.splice(1).join(","))));const i=e(0);for(let n=1;n<t;n++){if(!$t(i,e(n))){return}}return Array.from(i).map((n=>n.split(","))).map((n=>({method:n[1],start:+n[2],count:+n[3]})))}_updateLayout(n){if(this.notifyPlugins("beforeLayout",{cancelable:true})===false){return}Sa.update(this,this.width,this.height,n);const t=this.chartArea;const e=t.width<=0||t.height<=0;this._layers=[];Ot(this.boxes,(n=>{if(e&&n.position==="chartArea"){return}if(n.configure){n.configure()}this._layers.push(...n._layers())}),this);this._layers.forEach(((n,t)=>{n._idx=t}));this.notifyPlugins("afterLayout")}_updateDatasets(n){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:n,cancelable:true})===false){return}for(let n=0,t=this.data.datasets.length;n<t;++n){this.getDatasetMeta(n).controller.configure()}for(let t=0,e=this.data.datasets.length;t<e;++t){this._updateDataset(t,Vt(n)?n({datasetIndex:t}):n)}this.notifyPlugins("afterDatasetsUpdate",{mode:n})}_updateDataset(n,t){const e=this.getDatasetMeta(n);const i={meta:e,index:n,mode:t,cancelable:true};if(this.notifyPlugins("beforeDatasetUpdate",i)===false){return}e.controller._update(t);i.cancelable=false;this.notifyPlugins("afterDatasetUpdate",i)}render(){if(this.notifyPlugins("beforeRender",{cancelable:true})===false){return}if(Qr.has(this)){if(this.attached&&!Qr.running(this)){Qr.start(this)}}else{this.draw();Js({chart:this})}}draw(){let n;if(this._resizeBeforeDraw){const{width:n,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null;this._resize(n,t)}this.clear();if(this.width<=0||this.height<=0){return}if(this.notifyPlugins("beforeDraw",{cancelable:true})===false){return}const t=this._layers;for(n=0;n<t.length&&t[n].z<=0;++n){t[n].draw(this.chartArea)}this._drawDatasets();for(;n<t.length;++n){t[n].draw(this.chartArea)}this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(n){const t=this._sortedMetasets;const e=[];let i,r;for(i=0,r=t.length;i<r;++i){const r=t[i];if(!n||r.visible){e.push(r)}}return e}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(true)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:true})===false){return}const n=this.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){this._drawDataset(n[t])}this.notifyPlugins("afterDatasetsDraw")}_drawDataset(n){const t=this.ctx;const e={meta:n,index:n.index,cancelable:true};const i=Zr(this,n);if(this.notifyPlugins("beforeDatasetDraw",e)===false){return}if(i){gi(t,i)}n.controller.draw();if(i){bi(t)}e.cancelable=false;this.notifyPlugins("afterDatasetDraw",e)}isPointInArea(n){return pi(n,this.chartArea,this._minPadding)}getElementsAtEventForMode(n,t,e,i){const r=ca.modes[t];if(typeof r==="function"){return r(this,n,e,i)}return[]}getDatasetMeta(n){const t=this.data.datasets[n];const e=this._metasets;let i=e.filter((n=>n&&n._dataset===t)).pop();if(!i){i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:n,_dataset:t,_parsed:[],_sorted:false};e.push(i)}return i}getContext(){return this.$context||(this.$context=Ri(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(n){const t=this.data.datasets[n];if(!t){return false}const e=this.getDatasetMeta(n);return typeof e.hidden==="boolean"?!e.hidden:!t.hidden}setDatasetVisibility(n,t){const e=this.getDatasetMeta(n);e.hidden=!t}toggleDataVisibility(n){this._hiddenIndices[n]=!this._hiddenIndices[n]}getDataVisibility(n){return!this._hiddenIndices[n]}_updateVisibility(n,t,e){const i=e?"show":"hide";const r=this.getDatasetMeta(n);const o=r.controller._resolveAnimations(undefined,i);if(Ht(t)){r.data[t].hidden=!e;this.update()}else{this.setDatasetVisibility(n,e);o.update(r,{visible:e});this.update((t=>t.datasetIndex===n?i:undefined))}}hide(n,t){this._updateVisibility(n,t,false)}show(n,t){this._updateVisibility(n,t,true)}_destroyDatasetMeta(n){const t=this._metasets[n];if(t&&t.controller){t.controller._destroy()}delete this._metasets[n]}_stop(){let n,t;this.stop();Qr.remove(this);for(n=0,t=this.data.datasets.length;n<t;++n){this._destroyDatasetMeta(n)}}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:n,ctx:t}=this;this._stop();this.config.clearCache();if(n){this.unbindEvents();di(n,t);this.platform.releaseContext(t);this.canvas=null;this.ctx=null}delete nc[this.id];this.notifyPlugins("afterDestroy")}toBase64Image(...n){return this.canvas.toDataURL(...n)}bindEvents(){this.bindUserEvents();if(this.options.responsive){this.bindResponsiveEvents()}else{this.attached=true}}bindUserEvents(){const n=this._listeners;const t=this.platform;const e=(e,i)=>{t.addEventListener(this,e,i);n[e]=i};const i=(n,t,e)=>{n.offsetX=t;n.offsetY=e;this._eventHandler(n)};Ot(this.options.events,(n=>e(n,i)))}bindResponsiveEvents(){if(!this._responsiveListeners){this._responsiveListeners={}}const n=this._responsiveListeners;const t=this.platform;const e=(e,i)=>{t.addEventListener(this,e,i);n[e]=i};const i=(e,i)=>{if(n[e]){t.removeEventListener(this,e,i);delete n[e]}};const r=(n,t)=>{if(this.canvas){this.resize(n,t)}};let o;const a=()=>{i("attach",a);this.attached=true;this.resize();e("resize",r);e("detach",o)};o=()=>{this.attached=false;i("resize",r);this._stop();this._resize(0,0);e("attach",a)};if(t.isAttached(this.canvas)){a()}else{o()}}unbindEvents(){Ot(this._listeners,((n,t)=>{this.platform.removeEventListener(this,t,n)}));this._listeners={};Ot(this._responsiveListeners,((n,t)=>{this.platform.removeEventListener(this,t,n)}));this._responsiveListeners=undefined}updateHoverStyle(n,t,e){const i=e?"set":"remove";let r,o,a,s;if(t==="dataset"){r=this.getDatasetMeta(n[0].datasetIndex);r.controller["_"+i+"DatasetHoverStyle"]()}for(a=0,s=n.length;a<s;++a){o=n[a];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;if(t){t[i+"HoverStyle"](o.element,o.datasetIndex,o.index)}}}getActiveElements(){return this._active||[]}setActiveElements(n){const t=this._active||[];const e=n.map((({datasetIndex:n,index:t})=>{const e=this.getDatasetMeta(n);if(!e){throw new Error("No dataset found at index "+n)}return{datasetIndex:n,element:e.data[t],index:t}}));const i=!Et(e,t);if(i){this._active=e;this._lastEvent=null;this._updateHoverStyles(e,t)}}notifyPlugins(n,t,e){return this._plugins.notify(this,n,t,e)}isPluginEnabled(n){return this._plugins._cache.filter((t=>t.plugin.id===n)).length===1}_updateHoverStyles(n,t,e){const i=this.options.hover;const r=(n,t)=>n.filter((n=>!t.some((t=>n.datasetIndex===t.datasetIndex&&n.index===t.index))));const o=r(t,n);const a=e?n:r(n,t);if(o.length){this.updateHoverStyle(o,i.mode,false)}if(a.length&&i.mode){this.updateHoverStyle(a,i.mode,true)}}_eventHandler(n,t){const e={event:n,replay:t,cancelable:true,inChartArea:this.isPointInArea(n)};const i=t=>(t.options.events||this.options.events).includes(n.native.type);if(this.notifyPlugins("beforeEvent",e,i)===false){return}const r=this._handleEvent(n,t,e.inChartArea);e.cancelable=false;this.notifyPlugins("afterEvent",e,i);if(r||e.changed){this.render()}return this}_handleEvent(n,t,e){const{_active:i=[],options:r}=this;const o=t;const a=this._getActiveElements(n,i,e,o);const s=Yt(n);const c=ic(n,this._lastEvent,e,s);if(e){this._lastEvent=null;Pt(r.onHover,[n,a,this],this);if(s){Pt(r.onClick,[n,a,this],this)}}const l=!Et(a,i);if(l||t){this._active=a;this._updateHoverStyles(a,i,t)}this._lastEvent=c;return l}_getActiveElements(n,t,e,i){if(n.type==="mouseout"){return[]}if(!e){return t}const r=this.options.hover;return this.getElementsAtEventForMode(n,r.mode,r,i)}}function oc(){return Ot(rc.instances,(n=>n._plugins.invalidate()))}function ac(n,t,e){const{startAngle:i,pixelMargin:r,x:o,y:a,outerRadius:s,innerRadius:c}=t;let l=r/s;n.beginPath();n.arc(o,a,s,i-l,e+l);if(c>r){l=r/c;n.arc(o,a,c,e+l,i-l,true)}else{n.arc(o,a,r,e+Qt,i-Qt)}n.closePath();n.clip()}function sc(n){return ji(n,["outerStart","outerEnd","innerStart","innerEnd"])}function cc(n,t,e,i){const r=sc(n.options.borderRadius);const o=(e-t)/2;const a=Math.min(o,i*t/2);const s=n=>{const t=(e-Math.min(o,n))*i/2;return me(n,0,Math.min(o,t))};return{outerStart:s(r.outerStart),outerEnd:s(r.outerEnd),innerStart:me(r.innerStart,0,a),innerEnd:me(r.innerEnd,0,a)}}function lc(n,t,e,i){return{x:e+n*Math.cos(t),y:i+n*Math.sin(t)}}function hc(n,t,e,i,r,o){const{x:a,y:s,startAngle:c,pixelMargin:l,innerRadius:h}=t;const d=Math.max(t.outerRadius+i+e-l,0);const f=h>0?h+i+e+l:0;let u=0;const p=r-c;if(i){const n=h>0?h-i:0;const t=d>0?d-i:0;const e=(n+t)/2;const r=e!==0?p*e/(e+i):p;u=(p-r)/2}const g=Math.max(.001,p*d-e/Xt)/d;const b=(p-g)/2;const w=c+b+u;const m=r-b-u;const{outerStart:v,outerEnd:y,innerStart:x,innerEnd:k}=cc(t,f,d,m-w);const M=d-v;const z=d-y;const S=w+v/M;const C=m-y/z;const _=f+x;const j=f+k;const P=w+x/_;const O=m-k/j;n.beginPath();if(o){const t=(S+C)/2;n.arc(a,s,d,S,t);n.arc(a,s,d,t,C);if(y>0){const t=lc(z,C,a,s);n.arc(t.x,t.y,y,C,m+Qt)}const e=lc(j,m,a,s);n.lineTo(e.x,e.y);if(k>0){const t=lc(j,O,a,s);n.arc(t.x,t.y,k,m+Qt,O+Math.PI)}const i=(m-k/f+(w+x/f))/2;n.arc(a,s,f,m-k/f,i,true);n.arc(a,s,f,i,w+x/f,true);if(x>0){const t=lc(_,P,a,s);n.arc(t.x,t.y,x,P+Math.PI,w-Qt)}const r=lc(M,w,a,s);n.lineTo(r.x,r.y);if(v>0){const t=lc(M,S,a,s);n.arc(t.x,t.y,v,w-Qt,S)}}else{n.moveTo(a,s);const t=Math.cos(S)*d+a;const e=Math.sin(S)*d+s;n.lineTo(t,e);const i=Math.cos(C)*d+a;const r=Math.sin(C)*d+s;n.lineTo(i,r)}n.closePath()}function dc(n,t,e,i,r){const{fullCircles:o,startAngle:a,circumference:s}=t;let c=t.endAngle;if(o){hc(n,t,e,i,c,r);for(let t=0;t<o;++t){n.fill()}if(!isNaN(s)){c=a+(s%Kt||Kt)}}hc(n,t,e,i,c,r);n.fill();return c}function fc(n,t,e,i,r){const{fullCircles:o,startAngle:a,circumference:s,options:c}=t;const{borderWidth:l,borderJoinStyle:h,borderDash:d,borderDashOffset:f}=c;const u=c.borderAlign==="inner";if(!l){return}n.setLineDash(d||[]);n.lineDashOffset=f;if(u){n.lineWidth=l*2;n.lineJoin=h||"round"}else{n.lineWidth=l;n.lineJoin=h||"bevel"}let p=t.endAngle;if(o){hc(n,t,e,i,p,r);for(let t=0;t<o;++t){n.stroke()}if(!isNaN(s)){p=a+(s%Kt||Kt)}}if(u){ac(n,t,p)}if(!o){hc(n,t,e,i,p,r);n.stroke()}}class uc extends qa{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:undefined,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:undefined,circular:true};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:true,_indexable:n=>n!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(n){super();this.options=undefined;this.circumference=undefined;this.startAngle=undefined;this.endAngle=undefined;this.innerRadius=undefined;this.outerRadius=undefined;this.pixelMargin=0;this.fullCircles=0;if(n){Object.assign(this,n)}}inRange(n,t,e){const i=this.getProps(["x","y"],e);const{angle:r,distance:o}=ue(i,{x:n,y:t});const{startAngle:a,endAngle:s,innerRadius:c,outerRadius:l,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],e);const d=(this.options.spacing+this.options.borderWidth)/2;const f=Ct(h,s-a);const u=we(r,a,s)&&a!==s;const p=f>=Kt||u;const g=ye(o,c+d,l+d);return p&&g}getCenterPoint(n){const{x:t,y:e,startAngle:i,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n);const{offset:s,spacing:c}=this.options;const l=(i+r)/2;const h=(o+a+c+s)/2;return{x:t+Math.cos(l)*h,y:e+Math.sin(l)*h}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:t,circumference:e}=this;const i=(t.offset||0)/4;const r=(t.spacing||0)/2;const o=t.circular;this.pixelMargin=t.borderAlign==="inner"?.33:0;this.fullCircles=e>Kt?Math.floor(e/Kt):0;if(e===0||this.innerRadius<0||this.outerRadius<0){return}n.save();const a=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(a)*i,Math.sin(a)*i);const s=1-Math.sin(Math.min(Xt,e||0));const c=i*s;n.fillStyle=t.backgroundColor;n.strokeStyle=t.borderColor;dc(n,this,c,r,o);fc(n,this,c,r,o);n.restore()}}function pc(n,t,e=t){n.lineCap=Ct(e.borderCapStyle,t.borderCapStyle);n.setLineDash(Ct(e.borderDash,t.borderDash));n.lineDashOffset=Ct(e.borderDashOffset,t.borderDashOffset);n.lineJoin=Ct(e.borderJoinStyle,t.borderJoinStyle);n.lineWidth=Ct(e.borderWidth,t.borderWidth);n.strokeStyle=Ct(e.borderColor,t.borderColor)}function gc(n,t,e){n.lineTo(e.x,e.y)}function bc(n){if(n.stepped){return wi}if(n.tension||n.cubicInterpolationMode==="monotone"){return mi}return gc}function wc(n,t,e={}){const i=n.length;const{start:r=0,end:o=i-1}=e;const{start:a,end:s}=t;const c=Math.max(r,a);const l=Math.min(o,s);const h=r<a&&o<a||r>s&&o>s;return{count:i,start:c,loop:t.loop,ilen:l<c&&!h?i+l-c:l-c}}function mc(n,t,e,i){const{points:r,options:o}=t;const{count:a,start:s,loop:c,ilen:l}=wc(r,e,i);const h=bc(o);let{move:d=true,reverse:f}=i||{};let u,p,g;for(u=0;u<=l;++u){p=r[(s+(f?l-u:u))%a];if(p.skip){continue}else if(d){n.moveTo(p.x,p.y);d=false}else{h(n,g,p,f,o.stepped)}g=p}if(c){p=r[(s+(f?l:0))%a];h(n,g,p,f,o.stepped)}return!!c}function vc(n,t,e,i){const r=t.points;const{count:o,start:a,ilen:s}=wc(r,e,i);const{move:c=true,reverse:l}=i||{};let h=0;let d=0;let f,u,p,g,b,w;const m=n=>(a+(l?s-n:n))%o;const v=()=>{if(g!==b){n.lineTo(h,b);n.lineTo(h,g);n.lineTo(h,w)}};if(c){u=r[m(0)];n.moveTo(u.x,u.y)}for(f=0;f<=s;++f){u=r[m(f)];if(u.skip){continue}const t=u.x;const e=u.y;const i=t|0;if(i===p){if(e<g){g=e}else if(e>b){b=e}h=(d*h+t)/++d}else{v();n.lineTo(t,e);p=i;d=0;g=b=e}w=e}v()}function yc(n){const t=n.options;const e=t.borderDash&&t.borderDash.length;const i=!n._decimated&&!n._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e;return i?vc:mc}function xc(n){if(n.stepped){return Pr}if(n.tension||n.cubicInterpolationMode==="monotone"){return Or}return jr}function kc(n,t,e,i){let r=t._path;if(!r){r=t._path=new Path2D;if(t.path(r,e,i)){r.closePath()}}pc(n,t.options);n.stroke(r)}function Mc(n,t,e,i){const{segments:r,options:o}=t;const a=yc(t);for(const s of r){pc(n,o,s.style);n.beginPath();if(a(n,t,s,{start:e,end:e+i-1})){n.closePath()}n.stroke()}}const zc=typeof Path2D==="function";function Sc(n,t,e,i){if(zc&&!t.options.segment){kc(n,t,e,i)}else{Mc(n,t,e,i)}}class Cc extends qa{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:true,cubicInterpolationMode:"default",fill:false,spanGaps:false,stepped:false,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:true,_indexable:n=>n!=="borderDash"&&n!=="fill"};constructor(n){super();this.animated=true;this.options=undefined;this._chart=undefined;this._loop=undefined;this._fullLoop=undefined;this._path=undefined;this._points=undefined;this._segments=undefined;this._decimated=false;this._pointsUpdated=false;this._datasetIndex=undefined;if(n){Object.assign(this,n)}}updateControlPoints(n,t){const e=this.options;if((e.tension||e.cubicInterpolationMode==="monotone")&&!e.stepped&&!this._pointsUpdated){const i=e.spanGaps?this._loop:this._fullLoop;dr(this._points,e,n,i,t);this._pointsUpdated=true}}set points(n){this._points=n;delete this._segments;delete this._path;this._pointsUpdated=false}get points(){return this._points}get segments(){return this._segments||(this._segments=Hr(this,this.options.segment))}first(){const n=this.segments;const t=this.points;return n.length&&t[n[0].start]}last(){const n=this.segments;const t=this.points;const e=n.length;return e&&t[n[e-1].end]}interpolate(n,t){const e=this.options;const i=n[t];const r=this.points;const o=Wr(this,{property:t,start:i,end:i});if(!o.length){return}const a=[];const s=xc(e);let c,l;for(c=0,l=o.length;c<l;++c){const{start:l,end:h}=o[c];const d=r[l];const f=r[h];if(d===f){a.push(d);continue}const u=Math.abs((i-d[t])/(f[t]-d[t]));const p=s(d,f,u,e.stepped);p[t]=n[t];a.push(p)}return a.length===1?a[0]:a}pathSegment(n,t,e){const i=yc(this);return i(n,this,t,e)}path(n,t,e){const i=this.segments;const r=yc(this);let o=this._loop;t=t||0;e=e||this.points.length-t;for(const a of i){o&=r(n,this,a,{start:t,end:t+e-1})}return!!o}draw(n,t,e,i){const r=this.options||{};const o=this.points||[];if(o.length&&r.borderWidth){n.save();Sc(n,this,e,i);n.restore()}if(this.animated){this._pointsUpdated=false;this._path=undefined}}}function _c(n,t,e,i){const r=n.options;const{[e]:o}=n.getProps([e],i);return Math.abs(t-o)<r.radius+r.hitRadius}class jc extends qa{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(n){super();this.options=undefined;this.parsed=undefined;this.skip=undefined;this.stop=undefined;if(n){Object.assign(this,n)}}inRange(n,t,e){const i=this.options;const{x:r,y:o}=this.getProps(["x","y"],e);return Math.pow(n-r,2)+Math.pow(t-o,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,t){return _c(this,n,"x",t)}inYRange(n,t){return _c(this,n,"y",t)}getCenterPoint(n){const{x:t,y:e}=this.getProps(["x","y"],n);return{x:t,y:e}}size(n){n=n||this.options||{};let t=n.radius||0;t=Math.max(t,t&&n.hoverRadius||0);const e=t&&n.borderWidth||0;return(t+e)*2}draw(n,t){const e=this.options;if(this.skip||e.radius<.1||!pi(this,t,this.size(e)/2)){return}n.strokeStyle=e.borderColor;n.lineWidth=e.borderWidth;n.fillStyle=e.backgroundColor;fi(n,e,this.x,this.y)}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}function Pc(n,t){const{x:e,y:i,base:r,width:o,height:a}=n.getProps(["x","y","base","width","height"],t);let s,c,l,h,d;if(n.horizontal){d=a/2;s=Math.min(e,r);c=Math.max(e,r);l=i-d;h=i+d}else{d=o/2;s=e-d;c=e+d;l=Math.min(i,r);h=Math.max(i,r)}return{left:s,top:l,right:c,bottom:h}}function Oc(n,t,e,i){return n?0:me(t,e,i)}function Ec(n,t,e){const i=n.options.borderWidth;const r=n.borderSkipped;const o=Pi(i);return{t:Oc(r.top,o.top,0,e),r:Oc(r.right,o.right,0,t),b:Oc(r.bottom,o.bottom,0,e),l:Oc(r.left,o.left,0,t)}}function Ac(n,t,e){const{enableBorderRadius:i}=n.getProps(["enableBorderRadius"]);const r=n.options.borderRadius;const o=Oi(r);const a=Math.min(t,e);const s=n.borderSkipped;const c=i||Mt(r);return{topLeft:Oc(!c||s.top||s.left,o.topLeft,0,a),topRight:Oc(!c||s.top||s.right,o.topRight,0,a),bottomLeft:Oc(!c||s.bottom||s.left,o.bottomLeft,0,a),bottomRight:Oc(!c||s.bottom||s.right,o.bottomRight,0,a)}}function Dc(n){const t=Pc(n);const e=t.right-t.left;const i=t.bottom-t.top;const r=Ec(n,e/2,i/2);const o=Ac(n,e/2,i/2);return{outer:{x:t.left,y:t.top,w:e,h:i,radius:o},inner:{x:t.left+r.l,y:t.top+r.t,w:e-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,o.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(r.b,r.r))}}}}function Lc(n,t,e,i){const r=t===null;const o=e===null;const a=r&&o;const s=n&&!a&&Pc(n,i);return s&&(r||ye(t,s.left,s.right))&&(o||ye(e,s.top,s.bottom))}function Rc(n){return n.topLeft||n.topRight||n.bottomLeft||n.bottomRight}function Nc(n,t){n.rect(t.x,t.y,t.w,t.h)}function Ic(n,t,e={}){const i=n.x!==e.x?-t:0;const r=n.y!==e.y?-t:0;const o=(n.x+n.w!==e.x+e.w?t:0)-i;const a=(n.y+n.h!==e.y+e.h?t:0)-r;return{x:n.x+i,y:n.y+r,w:n.w+o,h:n.h+a,radius:n.radius}}class Tc extends qa{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:undefined};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(n){super();this.options=undefined;this.horizontal=undefined;this.base=undefined;this.width=undefined;this.height=undefined;this.inflateAmount=undefined;if(n){Object.assign(this,n)}}draw(n){const{inflateAmount:t,options:{borderColor:e,backgroundColor:i}}=this;const{inner:r,outer:o}=Dc(this);const a=Rc(o.radius)?Mi:Nc;n.save();if(o.w!==r.w||o.h!==r.h){n.beginPath();a(n,Ic(o,t,r));n.clip();a(n,Ic(r,-t,o));n.fillStyle=e;n.fill("evenodd")}n.beginPath();a(n,Ic(r,t));n.fillStyle=i;n.fill();n.restore()}inRange(n,t,e){return Lc(this,n,t,e)}inXRange(n,t){return Lc(this,n,null,t)}inYRange(n,t){return Lc(this,null,n,t)}getCenterPoint(n){const{x:t,y:e,base:i,horizontal:r}=this.getProps(["x","y","base","horizontal"],n);return{x:r?(t+i)/2:t,y:r?e:(e+i)/2}}getRange(n){return n==="x"?this.width/2:this.height/2}}var Fc=Object.freeze({__proto__:null,ArcElement:uc,BarElement:Tc,LineElement:Cc,PointElement:jc});const Wc=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"];const Bc=Wc.map((n=>n.replace("rgb(","rgba(").replace(")",", 0.5)")));function Uc(n){return Wc[n%Wc.length]}function Hc(n){return Bc[n%Bc.length]}function Vc(n,t){n.borderColor=Uc(t);n.backgroundColor=Hc(t);return++t}function $c(n,t){n.backgroundColor=n.data.map((()=>Uc(t++)));return t}function Yc(n,t){n.backgroundColor=n.data.map((()=>Hc(t++)));return t}function Xc(n){let t=0;return(e,i)=>{const r=n.getDatasetMeta(i).controller;if(r instanceof Vo){t=$c(e,t)}else if(r instanceof Yo){t=Yc(e,t)}else if(r){t=Vc(e,t)}}}function Kc(n){let t;for(t in n){if(n[t].borderColor||n[t].backgroundColor){return true}}return false}function qc(n){return n&&(n.borderColor||n.backgroundColor)}function Zc(){return ai.borderColor!=="rgba(0,0,0,0.1)"||ai.backgroundColor!=="rgba(0,0,0,0.1)"}var Jc={id:"colors",defaults:{enabled:true,forceOverride:false},beforeLayout(n,t,e){if(!e.enabled){return}const{data:{datasets:i},options:r}=n.config;const{elements:o}=r;const a=Kc(i)||qc(r)||o&&Kc(o)||Zc();if(!e.forceOverride&&a){return}const s=Xc(n);i.forEach(s)}};function Qc(n,t,e,i,r){const o=r.samples||i;if(o>=e){return n.slice(t,t+e)}const a=[];const s=(e-2)/(o-2);let c=0;const l=t+e-1;let h=t;let d,f,u,p,g;a[c++]=n[h];for(d=0;d<o-2;d++){let i=0;let r=0;let o;const l=Math.floor((d+1)*s)+1+t;const b=Math.min(Math.floor((d+2)*s)+1,e)+t;const w=b-l;for(o=l;o<b;o++){i+=n[o].x;r+=n[o].y}i/=w;r/=w;const m=Math.floor(d*s)+1+t;const v=Math.min(Math.floor((d+1)*s)+1,e)+t;const{x:y,y:x}=n[h];u=p=-1;for(o=m;o<v;o++){p=.5*Math.abs((y-i)*(n[o].y-x)-(y-n[o].x)*(r-x));if(p>u){u=p;f=n[o];g=o}}a[c++]=f;h=g}a[c++]=n[l];return a}function Gc(n,t,e,i){let r=0;let o=0;let a,s,c,l,h,d,f,u,p,g;const b=[];const w=t+e-1;const m=n[t].x;const v=n[w].x;const y=v-m;for(a=t;a<t+e;++a){s=n[a];c=(s.x-m)/y*i;l=s.y;const t=c|0;if(t===h){if(l<p){p=l;d=a}else if(l>g){g=l;f=a}r=(o*r+s.x)/++o}else{const e=a-1;if(!xt(d)&&!xt(f)){const t=Math.min(d,f);const i=Math.max(d,f);if(t!==u&&t!==e){b.push({...n[t],x:r})}if(i!==u&&i!==e){b.push({...n[i],x:r})}}if(a>0&&e!==u){b.push(n[e])}b.push(s);h=t;o=0;p=g=l;d=f=u=a}}return b}function nl(n){if(n._decimated){const t=n._data;delete n._decimated;delete n._data;Object.defineProperty(n,"data",{configurable:true,enumerable:true,writable:true,value:t})}}function tl(n){n.data.datasets.forEach((n=>{nl(n)}))}function el(n,t){const e=t.length;let i=0;let r;const{iScale:o}=n;const{min:a,max:s,minDefined:c,maxDefined:l}=o.getUserBounds();if(c){i=me(ke(t,o.axis,a).lo,0,e-1)}if(l){r=me(ke(t,o.axis,s).hi+1,i,e)-i}else{r=e-i}return{start:i,count:r}}var il={id:"decimation",defaults:{algorithm:"min-max",enabled:false},beforeElementsUpdate:(n,t,e)=>{if(!e.enabled){tl(n);return}const i=n.width;n.data.datasets.forEach(((t,r)=>{const{_data:o,indexAxis:a}=t;const s=n.getDatasetMeta(r);const c=o||t.data;if(Di([a,n.options.indexAxis])==="y"){return}if(!s.controller.supportsDecimation){return}const l=n.scales[s.xAxisID];if(l.type!=="linear"&&l.type!=="time"){return}if(n.options.parsing){return}let{start:h,count:d}=el(s,c);const f=e.threshold||4*i;if(d<=f){nl(t);return}if(xt(o)){t._data=c;delete t.data;Object.defineProperty(t,"data",{configurable:true,enumerable:true,get:function(){return this._decimated},set:function(n){this._data=n}})}let u;switch(e.algorithm){case"lttb":u=Qc(c,h,d,i,e);break;case"min-max":u=Gc(c,h,d,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}t._decimated=u}))},destroy(n){tl(n)}};function rl(n,t,e){const i=n.segments;const r=n.points;const o=t.points;const a=[];for(const n of i){let{start:i,end:s}=n;s=sl(i,s,r);const c=ol(e,r[i],r[s],n.loop);if(!t.segments){a.push({source:n,target:c,start:r[i],end:r[s]});continue}const l=Wr(t,c);for(const t of l){const i=ol(e,o[t.start],o[t.end],t.loop);const s=Fr(n,r,i);for(const n of s){a.push({source:n,target:t,start:{[e]:cl(c,i,"start",Math.max)},end:{[e]:cl(c,i,"end",Math.min)}})}}}return a}function ol(n,t,e,i){if(i){return}let r=t[n];let o=e[n];if(n==="angle"){r=be(r);o=be(o)}return{property:n,start:r,end:o}}function al(n,t){const{x:e=null,y:i=null}=n||{};const r=t.points;const o=[];t.segments.forEach((({start:n,end:t})=>{t=sl(n,t,r);const a=r[n];const s=r[t];if(i!==null){o.push({x:a.x,y:i});o.push({x:s.x,y:i})}else if(e!==null){o.push({x:e,y:a.y});o.push({x:e,y:s.y})}}));return o}function sl(n,t,e){for(;t>n;t--){const n=e[t];if(!isNaN(n.x)&&!isNaN(n.y)){break}}return t}function cl(n,t,e,i){if(n&&t){return i(n[e],t[e])}return n?n[e]:t?t[e]:0}function ll(n,t){let e=[];let i=false;if(kt(n)){i=true;e=n}else{e=al(n,t)}return e.length?new Cc({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function hl(n){return n&&n.fill!==false}function dl(n,t,e){const i=n[t];let r=i.fill;const o=[t];let a;if(!e){return r}while(r!==false&&o.indexOf(r)===-1){if(!zt(r)){return r}a=n[r];if(!a){return false}if(a.visible){return r}o.push(r);r=a.fill}return false}function fl(n,t,e){const i=bl(n);if(Mt(i)){return isNaN(i.value)?false:i}let r=parseFloat(i);if(zt(r)&&Math.floor(r)===r){return ul(i[0],t,r,e)}return["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function ul(n,t,e,i){if(n==="-"||n==="+"){e=t+e}if(e===t||e<0||e>=i){return false}return e}function pl(n,t){let e=null;if(n==="start"){e=t.bottom}else if(n==="end"){e=t.top}else if(Mt(n)){e=t.getPixelForValue(n.value)}else if(t.getBasePixel){e=t.getBasePixel()}return e}function gl(n,t,e){let i;if(n==="start"){i=e}else if(n==="end"){i=t.options.reverse?t.min:t.max}else if(Mt(n)){i=n.value}else{i=t.getBaseValue()}return i}function bl(n){const t=n.options;const e=t.fill;let i=Ct(e&&e.target,e);if(i===undefined){i=!!t.backgroundColor}if(i===false||i===null){return false}if(i===true){return"origin"}return i}function wl(n){const{scale:t,index:e,line:i}=n;const r=[];const o=i.segments;const a=i.points;const s=ml(t,e);s.push(ll({x:null,y:t.bottom},i));for(let n=0;n<o.length;n++){const t=o[n];for(let n=t.start;n<=t.end;n++){vl(r,a[n],s)}}return new Cc({points:r,options:{}})}function ml(n,t){const e=[];const i=n.getMatchingVisibleMetas("line");for(let n=0;n<i.length;n++){const r=i[n];if(r.index===t){break}if(!r.hidden){e.unshift(r.dataset)}}return e}function vl(n,t,e){const i=[];for(let r=0;r<e.length;r++){const o=e[r];const{first:a,last:s,point:c}=yl(o,t,"x");if(!c||a&&s){continue}if(a){i.unshift(c)}else{n.push(c);if(!s){break}}}n.push(...i)}function yl(n,t,e){const i=n.interpolate(t,e);if(!i){return{}}const r=i[e];const o=n.segments;const a=n.points;let s=false;let c=false;for(let n=0;n<o.length;n++){const t=o[n];const i=a[t.start][e];const l=a[t.end][e];if(ye(r,i,l)){s=r===i;c=r===l;break}}return{first:s,last:c,point:i}}class xl{constructor(n){this.x=n.x;this.y=n.y;this.radius=n.radius}pathSegment(n,t,e){const{x:i,y:r,radius:o}=this;t=t||{start:0,end:Kt};n.arc(i,r,o,t.end,t.start,true);return!e.bounds}interpolate(n){const{x:t,y:e,radius:i}=this;const r=n.angle;return{x:t+Math.cos(r)*i,y:e+Math.sin(r)*i,angle:r}}}function kl(n){const{chart:t,fill:e,line:i}=n;if(zt(e)){return Ml(t,e)}if(e==="stack"){return wl(n)}if(e==="shape"){return true}const r=zl(n);if(r instanceof xl){return r}return ll(r,i)}function Ml(n,t){const e=n.getDatasetMeta(t);const i=e&&n.isDatasetVisible(t);return i?e.dataset:null}function zl(n){const t=n.scale||{};if(t.getPointPositionForValue){return Cl(n)}return Sl(n)}function Sl(n){const{scale:t={},fill:e}=n;const i=pl(e,t);if(zt(i)){const n=t.isHorizontal();return{x:n?i:null,y:n?null:i}}return null}function Cl(n){const{scale:t,fill:e}=n;const i=t.options;const r=t.getLabels().length;const o=i.reverse?t.max:t.min;const a=gl(e,t,o);const s=[];if(i.grid.circular){const n=t.getPointPositionForValue(0,o);return new xl({x:n.x,y:n.y,radius:t.getDistanceFromCenterForValue(a)})}for(let n=0;n<r;++n){s.push(t.getPointPositionForValue(n,a))}return s}function _l(n,t,e){const i=kl(t);const{chart:r,index:o,line:a,scale:s,axis:c}=t;const l=a.options;const h=l.fill;const d=l.backgroundColor;const{above:f=d,below:u=d}=h||{};const p=r.getDatasetMeta(o);const g=Zr(r,p);if(i&&a.points.length){gi(n,e);jl(n,{line:a,target:i,above:f,below:u,area:e,scale:s,axis:c,clip:g});bi(n)}}function jl(n,t){const{line:e,target:i,above:r,below:o,area:a,scale:s,clip:c}=t;const l=e._loop?"angle":t.axis;n.save();if(l==="x"&&o!==r){Pl(n,i,a.top);Ol(n,{line:e,target:i,color:r,scale:s,property:l,clip:c});n.restore();n.save();Pl(n,i,a.bottom)}Ol(n,{line:e,target:i,color:o,scale:s,property:l,clip:c});n.restore()}function Pl(n,t,e){const{segments:i,points:r}=t;let o=true;let a=false;n.beginPath();for(const s of i){const{start:i,end:c}=s;const l=r[i];const h=r[sl(i,c,r)];if(o){n.moveTo(l.x,l.y);o=false}else{n.lineTo(l.x,e);n.lineTo(l.x,l.y)}a=!!t.pathSegment(n,s,{move:a});if(a){n.closePath()}else{n.lineTo(h.x,e)}}n.lineTo(t.first().x,e);n.closePath();n.clip()}function Ol(n,t){const{line:e,target:i,property:r,color:o,scale:a,clip:s}=t;const c=rl(e,i,r);for(const{source:t,target:l,start:h,end:d}of c){const{style:{backgroundColor:c=o}={}}=t;const f=i!==true;n.save();n.fillStyle=c;El(n,a,s,f&&ol(r,h,d));n.beginPath();const u=!!e.pathSegment(n,t);let p;if(f){if(u){n.closePath()}else{Al(n,i,d,r)}const t=!!i.pathSegment(n,l,{move:u,reverse:true});p=u&&t;if(!p){Al(n,i,h,r)}}n.closePath();n.fill(p?"evenodd":"nonzero");n.restore()}}function El(n,t,e,i){const r=t.chart.chartArea;const{property:o,start:a,end:s}=i||{};if(o==="x"||o==="y"){let t,i,c,l;if(o==="x"){t=a;i=r.top;c=s;l=r.bottom}else{t=r.left;i=a;c=r.right;l=s}n.beginPath();if(e){t=Math.max(t,e.left);c=Math.min(c,e.right);i=Math.max(i,e.top);l=Math.min(l,e.bottom)}n.rect(t,i,c-t,l-i);n.clip()}}function Al(n,t,e,i){const r=t.interpolate(e,i);if(r){n.lineTo(r.x,r.y)}}var Dl={id:"filler",afterDatasetsUpdate(n,t,e){const i=(n.data.datasets||[]).length;const r=[];let o,a,s,c;for(a=0;a<i;++a){o=n.getDatasetMeta(a);s=o.dataset;c=null;if(s&&s.options&&s instanceof Cc){c={visible:n.isDatasetVisible(a),index:a,fill:fl(s,a,i),chart:n,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}}o.$filler=c;r.push(c)}for(a=0;a<i;++a){c=r[a];if(!c||c.fill===false){continue}c.fill=dl(r,a,e.propagate)}},beforeDraw(n,t,e){const i=e.drawTime==="beforeDraw";const r=n.getSortedVisibleDatasetMetas();const o=n.chartArea;for(let t=r.length-1;t>=0;--t){const e=r[t].$filler;if(!e){continue}e.line.updateControlPoints(o,e.axis);if(i&&e.fill){_l(n.ctx,e,o)}}},beforeDatasetsDraw(n,t,e){if(e.drawTime!=="beforeDatasetsDraw"){return}const i=n.getSortedVisibleDatasetMetas();for(let t=i.length-1;t>=0;--t){const e=i[t].$filler;if(hl(e)){_l(n.ctx,e,n.chartArea)}}},beforeDatasetDraw(n,t,e){const i=t.meta.$filler;if(!hl(i)||e.drawTime!=="beforeDatasetDraw"){return}_l(n.ctx,i,n.chartArea)},defaults:{propagate:true,drawTime:"beforeDatasetDraw"}};const Ll=(n,t)=>{let{boxHeight:e=t,boxWidth:i=t}=n;if(n.usePointStyle){e=Math.min(e,t);i=n.pointStyleWidth||Math.min(i,t)}return{boxWidth:i,boxHeight:e,itemHeight:Math.max(t,e)}};const Rl=(n,t)=>n!==null&&t!==null&&n.datasetIndex===t.datasetIndex&&n.index===t.index;class Nl extends qa{constructor(n){super();this._added=false;this.legendHitBoxes=[];this._hoveredItem=null;this.doughnutMode=false;this.chart=n.chart;this.options=n.options;this.ctx=n.ctx;this.legendItems=undefined;this.columnSizes=undefined;this.lineWidths=undefined;this.maxHeight=undefined;this.maxWidth=undefined;this.top=undefined;this.bottom=undefined;this.left=undefined;this.right=undefined;this.height=undefined;this.width=undefined;this._margins=undefined;this.position=undefined;this.weight=undefined;this.fullSize=undefined}update(n,t,e){this.maxWidth=n;this.maxHeight=t;this._margins=e;this.setDimensions();this.buildLabels();this.fit()}setDimensions(){if(this.isHorizontal()){this.width=this.maxWidth;this.left=this._margins.left;this.right=this.width}else{this.height=this.maxHeight;this.top=this._margins.top;this.bottom=this.height}}buildLabels(){const n=this.options.labels||{};let t=Pt(n.generateLabels,[this.chart],this)||[];if(n.filter){t=t.filter((t=>n.filter(t,this.chart.data)))}if(n.sort){t=t.sort(((t,e)=>n.sort(t,e,this.chart.data)))}if(this.options.reverse){t.reverse()}this.legendItems=t}fit(){const{options:n,ctx:t}=this;if(!n.display){this.width=this.height=0;return}const e=n.labels;const i=Ai(e.font);const r=i.size;const o=this._computeTitleHeight();const{boxWidth:a,itemHeight:s}=Ll(e,r);let c,l;t.font=i.string;if(this.isHorizontal()){c=this.maxWidth;l=this._fitRows(o,r,a,s)+10}else{l=this.maxHeight;c=this._fitCols(o,i,a,s)+10}this.width=Math.min(c,n.maxWidth||this.maxWidth);this.height=Math.min(l,n.maxHeight||this.maxHeight)}_fitRows(n,t,e,i){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this;const s=this.legendHitBoxes=[];const c=this.lineWidths=[0];const l=i+a;let h=n;r.textAlign="left";r.textBaseline="middle";let d=-1;let f=-l;this.legendItems.forEach(((n,u)=>{const p=e+t/2+r.measureText(n.text).width;if(u===0||c[c.length-1]+p+2*a>o){h+=l;c[c.length-(u>0?0:1)]=0;f+=l;d++}s[u]={left:0,top:f,row:d,width:p,height:i};c[c.length-1]+=p+a}));return h}_fitCols(n,t,e,i){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this;const s=this.legendHitBoxes=[];const c=this.columnSizes=[];const l=o-n;let h=a;let d=0;let f=0;let u=0;let p=0;this.legendItems.forEach(((n,o)=>{const{itemWidth:g,itemHeight:b}=Il(e,t,r,n,i);if(o>0&&f+b+2*a>l){h+=d+a;c.push({width:d,height:f});u+=d+a;p++;d=f=0}s[o]={left:u,top:f,col:p,width:g,height:b};d=Math.max(d,g);f+=b+a}));h+=d;c.push({width:d,height:f});return h}adjustHitBoxes(){if(!this.options.display){return}const n=this._computeTitleHeight();const{legendHitBoxes:t,options:{align:e,labels:{padding:i},rtl:r}}=this;const o=Dr(r,this.left,this.width);if(this.isHorizontal()){let r=0;let a=De(e,this.left+i,this.right-this.lineWidths[r]);for(const s of t){if(r!==s.row){r=s.row;a=De(e,this.left+i,this.right-this.lineWidths[r])}s.top+=this.top+n+i;s.left=o.leftForLtr(o.x(a),s.width);a+=s.width+i}}else{let r=0;let a=De(e,this.top+n+i,this.bottom-this.columnSizes[r].height);for(const s of t){if(s.col!==r){r=s.col;a=De(e,this.top+n+i,this.bottom-this.columnSizes[r].height)}s.top=a;s.left+=this.left+i;s.left=o.leftForLtr(o.x(s.left),s.width);a+=s.height+i}}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const n=this.ctx;gi(n,this);this._draw();bi(n)}}_draw(){const{options:n,columnSizes:t,lineWidths:e,ctx:i}=this;const{align:r,labels:o}=n;const a=ai.color;const s=Dr(n.rtl,this.left,this.width);const c=Ai(o.font);const{padding:l}=o;const h=c.size;const d=h/2;let f;this.drawTitle();i.textAlign=s.textAlign("left");i.textBaseline="middle";i.lineWidth=.5;i.font=c.string;const{boxWidth:u,boxHeight:p,itemHeight:g}=Ll(o,h);const b=function(n,t,e){if(isNaN(u)||u<=0||isNaN(p)||p<0){return}i.save();const r=Ct(e.lineWidth,1);i.fillStyle=Ct(e.fillStyle,a);i.lineCap=Ct(e.lineCap,"butt");i.lineDashOffset=Ct(e.lineDashOffset,0);i.lineJoin=Ct(e.lineJoin,"miter");i.lineWidth=r;i.strokeStyle=Ct(e.strokeStyle,a);i.setLineDash(Ct(e.lineDash,[]));if(o.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:e.pointStyle,rotation:e.rotation,borderWidth:r};const c=s.xPlus(n,u/2);const l=t+d;ui(i,a,c,l,o.pointStyleWidth&&u)}else{const o=t+Math.max((h-p)/2,0);const a=s.leftForLtr(n,u);const c=Oi(e.borderRadius);i.beginPath();if(Object.values(c).some((n=>n!==0))){Mi(i,{x:a,y:o,w:u,h:p,radius:c})}else{i.rect(a,o,u,p)}i.fill();if(r!==0){i.stroke()}}i.restore()};const w=function(n,t,e){ki(i,e.text,n,t+g/2,c,{strikethrough:e.hidden,textAlign:s.textAlign(e.textAlign)})};const m=this.isHorizontal();const v=this._computeTitleHeight();if(m){f={x:De(r,this.left+l,this.right-e[0]),y:this.top+l+v,line:0}}else{f={x:this.left+l,y:De(r,this.top+v+l,this.bottom-t[0].height),line:0}}Lr(this.ctx,n.textDirection);const y=g+l;this.legendItems.forEach(((a,h)=>{i.strokeStyle=a.fontColor;i.fillStyle=a.fontColor;const p=i.measureText(a.text).width;const g=s.textAlign(a.textAlign||(a.textAlign=o.textAlign));const x=u+d+p;let k=f.x;let M=f.y;s.setWidth(this.width);if(m){if(h>0&&k+x+l>this.right){M=f.y+=y;f.line++;k=f.x=De(r,this.left+l,this.right-e[f.line])}}else if(h>0&&M+y>this.bottom){k=f.x=k+t[f.line].width+l;f.line++;M=f.y=De(r,this.top+v+l,this.bottom-t[f.line].height)}const z=s.x(k);b(z,M,a);k=Le(g,k+u+d,m?k+x:this.right,n.rtl);w(s.x(k),M,a);if(m){f.x+=x+l}else if(typeof a.text!=="string"){const n=c.lineHeight;f.y+=Wl(a,n)+l}else{f.y+=y}}));Rr(this.ctx,n.textDirection)}drawTitle(){const n=this.options;const t=n.title;const e=Ai(t.font);const i=Ei(t.padding);if(!t.display){return}const r=Dr(n.rtl,this.left,this.width);const o=this.ctx;const a=t.position;const s=e.size/2;const c=i.top+s;let l;let h=this.left;let d=this.width;if(this.isHorizontal()){d=Math.max(...this.lineWidths);l=this.top+c;h=De(n.align,h,this.right-d)}else{const t=this.columnSizes.reduce(((n,t)=>Math.max(n,t.height)),0);l=c+De(n.align,this.top,this.bottom-t-n.labels.padding-this._computeTitleHeight())}const f=De(a,h,h+d);o.textAlign=r.textAlign(Ae(a));o.textBaseline="middle";o.strokeStyle=t.color;o.fillStyle=t.color;o.font=e.string;ki(o,t.text,f,l,e)}_computeTitleHeight(){const n=this.options.title;const t=Ai(n.font);const e=Ei(n.padding);return n.display?t.lineHeight+e.height:0}_getLegendItemAt(n,t){let e,i,r;if(ye(n,this.left,this.right)&&ye(t,this.top,this.bottom)){r=this.legendHitBoxes;for(e=0;e<r.length;++e){i=r[e];if(ye(n,i.left,i.left+i.width)&&ye(t,i.top,i.top+i.height)){return this.legendItems[e]}}}return null}handleEvent(n){const t=this.options;if(!Bl(n.type,t)){return}const e=this._getLegendItemAt(n.x,n.y);if(n.type==="mousemove"||n.type==="mouseout"){const i=this._hoveredItem;const r=Rl(i,e);if(i&&!r){Pt(t.onLeave,[n,i,this],this)}this._hoveredItem=e;if(e&&!r){Pt(t.onHover,[n,e,this],this)}}else if(e){Pt(t.onClick,[n,e,this],this)}}}function Il(n,t,e,i,r){const o=Tl(i,n,t,e);const a=Fl(r,i,t.lineHeight);return{itemWidth:o,itemHeight:a}}function Tl(n,t,e,i){let r=n.text;if(r&&typeof r!=="string"){r=r.reduce(((n,t)=>n.length>t.length?n:t))}return t+e.size/2+i.measureText(r).width}function Fl(n,t,e){let i=n;if(typeof t.text!=="string"){i=Wl(t,e)}return i}function Wl(n,t){const e=n.text?n.text.length:0;return t*e}function Bl(n,t){if((n==="mousemove"||n==="mouseout")&&(t.onHover||t.onLeave)){return true}if(t.onClick&&(n==="click"||n==="mouseup")){return true}return false}var Ul={id:"legend",_element:Nl,start(n,t,e){const i=n.legend=new Nl({ctx:n.ctx,options:e,chart:n});Sa.configure(n,i,e);Sa.addBox(n,i)},stop(n){Sa.removeBox(n,n.legend);delete n.legend},beforeUpdate(n,t,e){const i=n.legend;Sa.configure(n,i,e);i.options=e},afterUpdate(n){const t=n.legend;t.buildLabels();t.adjustHitBoxes()},afterEvent(n,t){if(!t.replay){n.legend.handleEvent(t.event)}},defaults:{display:true,position:"top",align:"center",fullSize:true,reverse:false,weight:1e3,onClick(n,t,e){const i=t.datasetIndex;const r=e.chart;if(r.isDatasetVisible(i)){r.hide(i);t.hidden=true}else{r.show(i);t.hidden=false}},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const t=n.data.datasets;const{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:o,useBorderRadius:a,borderRadius:s}}=n.legend.options;return n._getSortedDatasetMetas().map((n=>{const c=n.controller.getStyle(e?0:undefined);const l=Ei(c.borderWidth);return{text:t[n.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!n.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:r||c.textAlign,borderRadius:a&&(s||c.borderRadius),datasetIndex:n.index}}),this)}},title:{color:n=>n.chart.options.color,display:false,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class Hl extends qa{constructor(n){super();this.chart=n.chart;this.options=n.options;this.ctx=n.ctx;this._padding=undefined;this.top=undefined;this.bottom=undefined;this.left=undefined;this.right=undefined;this.width=undefined;this.height=undefined;this.position=undefined;this.weight=undefined;this.fullSize=undefined}update(n,t){const e=this.options;this.left=0;this.top=0;if(!e.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=n;this.height=this.bottom=t;const i=kt(e.text)?e.text.length:1;this._padding=Ei(e.padding);const r=i*Ai(e.font).lineHeight+this._padding.height;if(this.isHorizontal()){this.height=r}else{this.width=r}}isHorizontal(){const n=this.options.position;return n==="top"||n==="bottom"}_drawArgs(n){const{top:t,left:e,bottom:i,right:r,options:o}=this;const a=o.align;let s=0;let c,l,h;if(this.isHorizontal()){l=De(a,e,r);h=t+n;c=r-e}else{if(o.position==="left"){l=e+n;h=De(a,i,t);s=Xt*-.5}else{l=r-n;h=De(a,t,i);s=Xt*.5}c=i-t}return{titleX:l,titleY:h,maxWidth:c,rotation:s}}draw(){const n=this.ctx;const t=this.options;if(!t.display){return}const e=Ai(t.font);const i=e.lineHeight;const r=i/2+this._padding.top;const{titleX:o,titleY:a,maxWidth:s,rotation:c}=this._drawArgs(r);ki(n,t.text,0,0,e,{color:t.color,maxWidth:s,rotation:c,textAlign:Ae(t.align),textBaseline:"middle",translation:[o,a]})}}function Vl(n,t){const e=new Hl({ctx:n.ctx,options:t,chart:n});Sa.configure(n,e,t);Sa.addBox(n,e);n.titleBlock=e}var $l={id:"title",_element:Hl,start(n,t,e){Vl(n,e)},stop(n){const t=n.titleBlock;Sa.removeBox(n,t);delete n.titleBlock},beforeUpdate(n,t,e){const i=n.titleBlock;Sa.configure(n,i,e);i.options=e},defaults:{align:"center",display:false,font:{weight:"bold"},fullSize:true,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:true,_indexable:false}};const Yl=new WeakMap;var Xl={id:"subtitle",start(n,t,e){const i=new Hl({ctx:n.ctx,options:e,chart:n});Sa.configure(n,i,e);Sa.addBox(n,i);Yl.set(n,i)},stop(n){Sa.removeBox(n,Yl.get(n));Yl.delete(n)},beforeUpdate(n,t,e){const i=Yl.get(n);Sa.configure(n,i,e);i.options=e},defaults:{align:"center",display:false,font:{weight:"normal"},fullSize:true,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:true,_indexable:false}};const Kl={average(n){if(!n.length){return false}let t,e;let i=new Set;let r=0;let o=0;for(t=0,e=n.length;t<e;++t){const e=n[t].element;if(e&&e.hasValue()){const n=e.tooltipPosition();i.add(n.x);r+=n.y;++o}}if(o===0||i.size===0){return false}const a=[...i].reduce(((n,t)=>n+t))/i.size;return{x:a,y:r/o}},nearest(n,t){if(!n.length){return false}let e=t.x;let i=t.y;let r=Number.POSITIVE_INFINITY;let o,a,s;for(o=0,a=n.length;o<a;++o){const e=n[o].element;if(e&&e.hasValue()){const n=e.getCenterPoint();const i=pe(t,n);if(i<r){r=i;s=e}}}if(s){const n=s.tooltipPosition();e=n.x;i=n.y}return{x:e,y:i}}};function ql(n,t){if(t){if(kt(t)){Array.prototype.push.apply(n,t)}else{n.push(t)}}return n}function Zl(n){if((typeof n==="string"||n instanceof String)&&n.indexOf("\n")>-1){return n.split("\n")}return n}function Jl(n,t){const{element:e,datasetIndex:i,index:r}=t;const o=n.getDatasetMeta(i).controller;const{label:a,value:s}=o.getLabelAndValue(r);return{chart:n,label:a,parsed:o.getParsed(r),raw:n.data.datasets[i].data[r],formattedValue:s,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function Ql(n,t){const e=n.chart.ctx;const{body:i,footer:r,title:o}=n;const{boxWidth:a,boxHeight:s}=t;const c=Ai(t.bodyFont);const l=Ai(t.titleFont);const h=Ai(t.footerFont);const d=o.length;const f=r.length;const u=i.length;const p=Ei(t.padding);let g=p.height;let b=0;let w=i.reduce(((n,t)=>n+t.before.length+t.lines.length+t.after.length),0);w+=n.beforeBody.length+n.afterBody.length;if(d){g+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom}if(w){const n=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;g+=u*n+(w-u)*c.lineHeight+(w-1)*t.bodySpacing}if(f){g+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing}let m=0;const v=function(n){b=Math.max(b,e.measureText(n).width+m)};e.save();e.font=l.string;Ot(n.title,v);e.font=c.string;Ot(n.beforeBody.concat(n.afterBody),v);m=t.displayColors?a+2+t.boxPadding:0;Ot(i,(n=>{Ot(n.before,v);Ot(n.lines,v);Ot(n.after,v)}));m=0;e.font=h.string;Ot(n.footer,v);e.restore();b+=p.width;return{width:b,height:g}}function Gl(n,t){const{y:e,height:i}=t;if(e<i/2){return"top"}else if(e>n.height-i/2){return"bottom"}return"center"}function nh(n,t,e,i){const{x:r,width:o}=i;const a=e.caretSize+e.caretPadding;if(n==="left"&&r+o+a>t.width){return true}if(n==="right"&&r-o-a<0){return true}}function th(n,t,e,i){const{x:r,width:o}=e;const{width:a,chartArea:{left:s,right:c}}=n;let l="center";if(i==="center"){l=r<=(s+c)/2?"left":"right"}else if(r<=o/2){l="left"}else if(r>=a-o/2){l="right"}if(nh(l,n,t,e)){l="center"}return l}function eh(n,t,e){const i=e.yAlign||t.yAlign||Gl(n,e);return{xAlign:e.xAlign||t.xAlign||th(n,t,e,i),yAlign:i}}function ih(n,t){let{x:e,width:i}=n;if(t==="right"){e-=i}else if(t==="center"){e-=i/2}return e}function rh(n,t,e){let{y:i,height:r}=n;if(t==="top"){i+=e}else if(t==="bottom"){i-=r+e}else{i-=r/2}return i}function oh(n,t,e,i){const{caretSize:r,caretPadding:o,cornerRadius:a}=n;const{xAlign:s,yAlign:c}=e;const l=r+o;const{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=Oi(a);let p=ih(t,s);const g=rh(t,c,l);if(c==="center"){if(s==="left"){p+=l}else if(s==="right"){p-=l}}else if(s==="left"){p-=Math.max(h,f)+r}else if(s==="right"){p+=Math.max(d,u)+r}return{x:me(p,0,i.width-t.width),y:me(g,0,i.height-t.height)}}function ah(n,t,e){const i=Ei(e.padding);return t==="center"?n.x+n.width/2:t==="right"?n.x+n.width-i.right:n.x+i.left}function sh(n){return ql([],Zl(n))}function ch(n,t,e){return Ri(n,{tooltip:t,tooltipItems:e,type:"tooltip"})}function lh(n,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?n.override(e):n}const hh={beforeTitle:vt,title(n){if(n.length>0){const t=n[0];const e=t.chart.data.labels;const i=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset"){return t.dataset.label||""}else if(t.label){return t.label}else if(i>0&&t.dataIndex<i){return e[t.dataIndex]}}return""},afterTitle:vt,beforeBody:vt,beforeLabel:vt,label(n){if(this&&this.options&&this.options.mode==="dataset"){return n.label+": "+n.formattedValue||n.formattedValue}let t=n.dataset.label||"";if(t){t+=": "}const e=n.formattedValue;if(!xt(e)){t+=e}return t},labelColor(n){const t=n.chart.getDatasetMeta(n.datasetIndex);const e=t.controller.getStyle(n.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const t=n.chart.getDatasetMeta(n.datasetIndex);const e=t.controller.getStyle(n.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:vt,afterBody:vt,beforeFooter:vt,footer:vt,afterFooter:vt};function dh(n,t,e,i){const r=n[t].call(e,i);if(typeof r==="undefined"){return hh[t].call(e,i)}return r}class fh extends qa{static positioners=Kl;constructor(n){super();this.opacity=0;this._active=[];this._eventPosition=undefined;this._size=undefined;this._cachedAnimations=undefined;this._tooltipItems=[];this.$animations=undefined;this.$context=undefined;this.chart=n.chart;this.options=n.options;this.dataPoints=undefined;this.title=undefined;this.beforeBody=undefined;this.body=undefined;this.afterBody=undefined;this.footer=undefined;this.xAlign=undefined;this.yAlign=undefined;this.x=undefined;this.y=undefined;this.height=undefined;this.width=undefined;this.caretX=undefined;this.caretY=undefined;this.labelColors=undefined;this.labelPointStyles=undefined;this.labelTextColors=undefined}initialize(n){this.options=n;this._cachedAnimations=undefined;this.$context=undefined}_resolveAnimations(){const n=this._cachedAnimations;if(n){return n}const t=this.chart;const e=this.options.setContext(this.getContext());const i=e.enabled&&t.options.animation&&e.animations;const r=new eo(this.chart,i);if(i._cacheable){this._cachedAnimations=Object.freeze(r)}return r}getContext(){return this.$context||(this.$context=ch(this.chart.getContext(),this,this._tooltipItems))}getTitle(n,t){const{callbacks:e}=t;const i=dh(e,"beforeTitle",this,n);const r=dh(e,"title",this,n);const o=dh(e,"afterTitle",this,n);let a=[];a=ql(a,Zl(i));a=ql(a,Zl(r));a=ql(a,Zl(o));return a}getBeforeBody(n,t){return sh(dh(t.callbacks,"beforeBody",this,n))}getBody(n,t){const{callbacks:e}=t;const i=[];Ot(n,(n=>{const t={before:[],lines:[],after:[]};const r=lh(e,n);ql(t.before,Zl(dh(r,"beforeLabel",this,n)));ql(t.lines,dh(r,"label",this,n));ql(t.after,Zl(dh(r,"afterLabel",this,n)));i.push(t)}));return i}getAfterBody(n,t){return sh(dh(t.callbacks,"afterBody",this,n))}getFooter(n,t){const{callbacks:e}=t;const i=dh(e,"beforeFooter",this,n);const r=dh(e,"footer",this,n);const o=dh(e,"afterFooter",this,n);let a=[];a=ql(a,Zl(i));a=ql(a,Zl(r));a=ql(a,Zl(o));return a}_createItems(n){const t=this._active;const e=this.chart.data;const i=[];const r=[];const o=[];let a=[];let s,c;for(s=0,c=t.length;s<c;++s){a.push(Jl(this.chart,t[s]))}if(n.filter){a=a.filter(((t,i,r)=>n.filter(t,i,r,e)))}if(n.itemSort){a=a.sort(((t,i)=>n.itemSort(t,i,e)))}Ot(a,(t=>{const e=lh(n.callbacks,t);i.push(dh(e,"labelColor",this,t));r.push(dh(e,"labelPointStyle",this,t));o.push(dh(e,"labelTextColor",this,t))}));this.labelColors=i;this.labelPointStyles=r;this.labelTextColors=o;this.dataPoints=a;return a}update(n,t){const e=this.options.setContext(this.getContext());const i=this._active;let r;let o=[];if(!i.length){if(this.opacity!==0){r={opacity:0}}}else{const n=Kl[e.position].call(this,i,this._eventPosition);o=this._createItems(e);this.title=this.getTitle(o,e);this.beforeBody=this.getBeforeBody(o,e);this.body=this.getBody(o,e);this.afterBody=this.getAfterBody(o,e);this.footer=this.getFooter(o,e);const t=this._size=Ql(this,e);const a=Object.assign({},n,t);const s=eh(this.chart,e,a);const c=oh(e,a,s,this.chart);this.xAlign=s.xAlign;this.yAlign=s.yAlign;r={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:n.x,caretY:n.y}}this._tooltipItems=o;this.$context=undefined;if(r){this._resolveAnimations().update(this,r)}if(n&&e.external){e.external.call(this,{chart:this.chart,tooltip:this,replay:t})}}drawCaret(n,t,e,i){const r=this.getCaretPosition(n,e,i);t.lineTo(r.x1,r.y1);t.lineTo(r.x2,r.y2);t.lineTo(r.x3,r.y3)}getCaretPosition(n,t,e){const{xAlign:i,yAlign:r}=this;const{caretSize:o,cornerRadius:a}=e;const{topLeft:s,topRight:c,bottomLeft:l,bottomRight:h}=Oi(a);const{x:d,y:f}=n;const{width:u,height:p}=t;let g,b,w,m,v,y;if(r==="center"){v=f+p/2;if(i==="left"){g=d;b=g-o;m=v+o;y=v-o}else{g=d+u;b=g+o;m=v-o;y=v+o}w=g}else{if(i==="left"){b=d+Math.max(s,l)+o}else if(i==="right"){b=d+u-Math.max(c,h)-o}else{b=this.caretX}if(r==="top"){m=f;v=m-o;g=b-o;w=b+o}else{m=f+p;v=m+o;g=b+o;w=b-o}y=m}return{x1:g,x2:b,x3:w,y1:m,y2:v,y3:y}}drawTitle(n,t,e){const i=this.title;const r=i.length;let o,a,s;if(r){const c=Dr(e.rtl,this.x,this.width);n.x=ah(this,e.titleAlign,e);t.textAlign=c.textAlign(e.titleAlign);t.textBaseline="middle";o=Ai(e.titleFont);a=e.titleSpacing;t.fillStyle=e.titleColor;t.font=o.string;for(s=0;s<r;++s){t.fillText(i[s],c.x(n.x),n.y+o.lineHeight/2);n.y+=o.lineHeight+a;if(s+1===r){n.y+=e.titleMarginBottom-a}}}}_drawColorBox(n,t,e,i,r){const o=this.labelColors[e];const a=this.labelPointStyles[e];const{boxHeight:s,boxWidth:c}=r;const l=Ai(r.bodyFont);const h=ah(this,"left",r);const d=i.x(h);const f=s<l.lineHeight?(l.lineHeight-s)/2:0;const u=t.y+f;if(r.usePointStyle){const t={radius:Math.min(c,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1};const e=i.leftForLtr(d,c)+c/2;const l=u+s/2;n.strokeStyle=r.multiKeyBackground;n.fillStyle=r.multiKeyBackground;fi(n,t,e,l);n.strokeStyle=o.borderColor;n.fillStyle=o.backgroundColor;fi(n,t,e,l)}else{n.lineWidth=Mt(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1;n.strokeStyle=o.borderColor;n.setLineDash(o.borderDash||[]);n.lineDashOffset=o.borderDashOffset||0;const t=i.leftForLtr(d,c);const e=i.leftForLtr(i.xPlus(d,1),c-2);const a=Oi(o.borderRadius);if(Object.values(a).some((n=>n!==0))){n.beginPath();n.fillStyle=r.multiKeyBackground;Mi(n,{x:t,y:u,w:c,h:s,radius:a});n.fill();n.stroke();n.fillStyle=o.backgroundColor;n.beginPath();Mi(n,{x:e,y:u+1,w:c-2,h:s-2,radius:a});n.fill()}else{n.fillStyle=r.multiKeyBackground;n.fillRect(t,u,c,s);n.strokeRect(t,u,c,s);n.fillStyle=o.backgroundColor;n.fillRect(e,u+1,c-2,s-2)}}n.fillStyle=this.labelTextColors[e]}drawBody(n,t,e){const{body:i}=this;const{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:c,boxPadding:l}=e;const h=Ai(e.bodyFont);let d=h.lineHeight;let f=0;const u=Dr(e.rtl,this.x,this.width);const p=function(e){t.fillText(e,u.x(n.x+f),n.y+d/2);n.y+=d+r};const g=u.textAlign(o);let b,w,m,v,y,x,k;t.textAlign=o;t.textBaseline="middle";t.font=h.string;n.x=ah(this,g,e);t.fillStyle=e.bodyColor;Ot(this.beforeBody,p);f=a&&g!=="right"?o==="center"?c/2+l:c+2+l:0;for(v=0,x=i.length;v<x;++v){b=i[v];w=this.labelTextColors[v];t.fillStyle=w;Ot(b.before,p);m=b.lines;if(a&&m.length){this._drawColorBox(t,n,v,u,e);d=Math.max(h.lineHeight,s)}for(y=0,k=m.length;y<k;++y){p(m[y]);d=h.lineHeight}Ot(b.after,p)}f=0;d=h.lineHeight;Ot(this.afterBody,p);n.y-=r}drawFooter(n,t,e){const i=this.footer;const r=i.length;let o,a;if(r){const s=Dr(e.rtl,this.x,this.width);n.x=ah(this,e.footerAlign,e);n.y+=e.footerMarginTop;t.textAlign=s.textAlign(e.footerAlign);t.textBaseline="middle";o=Ai(e.footerFont);t.fillStyle=e.footerColor;t.font=o.string;for(a=0;a<r;++a){t.fillText(i[a],s.x(n.x),n.y+o.lineHeight/2);n.y+=o.lineHeight+e.footerSpacing}}}drawBackground(n,t,e,i){const{xAlign:r,yAlign:o}=this;const{x:a,y:s}=n;const{width:c,height:l}=e;const{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=Oi(i.cornerRadius);t.fillStyle=i.backgroundColor;t.strokeStyle=i.borderColor;t.lineWidth=i.borderWidth;t.beginPath();t.moveTo(a+h,s);if(o==="top"){this.drawCaret(n,t,e,i)}t.lineTo(a+c-d,s);t.quadraticCurveTo(a+c,s,a+c,s+d);if(o==="center"&&r==="right"){this.drawCaret(n,t,e,i)}t.lineTo(a+c,s+l-u);t.quadraticCurveTo(a+c,s+l,a+c-u,s+l);if(o==="bottom"){this.drawCaret(n,t,e,i)}t.lineTo(a+f,s+l);t.quadraticCurveTo(a,s+l,a,s+l-f);if(o==="center"&&r==="left"){this.drawCaret(n,t,e,i)}t.lineTo(a,s+h);t.quadraticCurveTo(a,s,a+h,s);t.closePath();t.fill();if(i.borderWidth>0){t.stroke()}}_updateAnimationTarget(n){const t=this.chart;const e=this.$animations;const i=e&&e.x;const r=e&&e.y;if(i||r){const e=Kl[n.position].call(this,this._active,this._eventPosition);if(!e){return}const o=this._size=Ql(this,n);const a=Object.assign({},e,this._size);const s=eh(t,n,a);const c=oh(n,a,s,t);if(i._to!==c.x||r._to!==c.y){this.xAlign=s.xAlign;this.yAlign=s.yAlign;this.width=o.width;this.height=o.height;this.caretX=e.x;this.caretY=e.y;this._resolveAnimations().update(this,c)}}}_willRender(){return!!this.opacity}draw(n){const t=this.options.setContext(this.getContext());let e=this.opacity;if(!e){return}this._updateAnimationTarget(t);const i={width:this.width,height:this.height};const r={x:this.x,y:this.y};e=Math.abs(e)<.001?0:e;const o=Ei(t.padding);const a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;if(t.enabled&&a){n.save();n.globalAlpha=e;this.drawBackground(r,n,i,t);Lr(n,t.textDirection);r.y+=o.top;this.drawTitle(r,n,t);this.drawBody(r,n,t);this.drawFooter(r,n,t);Rr(n,t.textDirection);n.restore()}}getActiveElements(){return this._active||[]}setActiveElements(n,t){const e=this._active;const i=n.map((({datasetIndex:n,index:t})=>{const e=this.chart.getDatasetMeta(n);if(!e){throw new Error("Cannot find a dataset at index "+n)}return{datasetIndex:n,element:e.data[t],index:t}}));const r=!Et(e,i);const o=this._positionChanged(i,t);if(r||o){this._active=i;this._eventPosition=t;this._ignoreReplayEvents=true;this.update(true)}}handleEvent(n,t,e=true){if(t&&this._ignoreReplayEvents){return false}this._ignoreReplayEvents=false;const i=this.options;const r=this._active||[];const o=this._getActiveElements(n,r,t,e);const a=this._positionChanged(o,n);const s=t||!Et(o,r)||a;if(s){this._active=o;if(i.enabled||i.external){this._eventPosition={x:n.x,y:n.y};this.update(true,t)}}return s}_getActiveElements(n,t,e,i){const r=this.options;if(n.type==="mouseout"){return[]}if(!i){return t.filter((n=>this.chart.data.datasets[n.datasetIndex]&&this.chart.getDatasetMeta(n.datasetIndex).controller.getParsed(n.index)!==undefined))}const o=this.chart.getElementsAtEventForMode(n,r.mode,r,e);if(r.reverse){o.reverse()}return o}_positionChanged(n,t){const{caretX:e,caretY:i,options:r}=this;const o=Kl[r.position].call(this,n,t);return o!==false&&(e!==o.x||i!==o.y)}}var uh={id:"tooltip",_element:fh,positioners:Kl,afterInit(n,t,e){if(e){n.tooltip=new fh({chart:n,options:e})}},beforeUpdate(n,t,e){if(n.tooltip){n.tooltip.initialize(e)}},reset(n,t,e){if(n.tooltip){n.tooltip.initialize(e)}},afterDraw(n){const t=n.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(n.notifyPlugins("beforeTooltipDraw",{...e,cancelable:true})===false){return}t.draw(n.ctx);n.notifyPlugins("afterTooltipDraw",e)}},afterEvent(n,t){if(n.tooltip){const e=t.replay;if(n.tooltip.handleEvent(t.event,e,t.inChartArea)){t.changed=true}}},defaults:{enabled:true,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,t)=>t.bodyFont.size,boxWidth:(n,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:true,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:hh},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>n!=="filter"&&n!=="itemSort"&&n!=="external",_indexable:false,callbacks:{_scriptable:false,_indexable:false},animation:{_fallback:false},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var ph=Object.freeze({__proto__:null,Colors:Jc,Decimation:il,Filler:Dl,Legend:Ul,SubTitle:Xl,Title:$l,Tooltip:uh});const gh=(n,t,e,i)=>{if(typeof t==="string"){e=n.push(t)-1;i.unshift({index:e,label:t})}else if(isNaN(t)){e=null}return e};function bh(n,t,e,i){const r=n.indexOf(t);if(r===-1){return gh(n,t,e,i)}const o=n.lastIndexOf(t);return r!==o?e:r}const wh=(n,t)=>n===null?null:me(Math.round(n),0,t);function mh(n){const t=this.getLabels();if(n>=0&&n<t.length){return t[n]}return n}class vh extends gs{static id="category";static defaults={ticks:{callback:mh}};constructor(n){super(n);this._startValue=undefined;this._valueRange=0;this._addedLabels=[]}init(n){const t=this._addedLabels;if(t.length){const n=this.getLabels();for(const{index:e,label:i}of t){if(n[e]===i){n.splice(e,1)}}this._addedLabels=[]}super.init(n)}parse(n,t){if(xt(n)){return null}const e=this.getLabels();t=isFinite(t)&&e[t]===n?t:bh(e,n,Ct(t,n),this._addedLabels);return wh(t,e.length-1)}determineDataLimits(){const{minDefined:n,maxDefined:t}=this.getUserBounds();let{min:e,max:i}=this.getMinMax(true);if(this.options.bounds==="ticks"){if(!n){e=0}if(!t){i=this.getLabels().length-1}}this.min=e;this.max=i}buildTicks(){const n=this.min;const t=this.max;const e=this.options.offset;const i=[];let r=this.getLabels();r=n===0&&t===r.length-1?r:r.slice(n,t+1);this._valueRange=Math.max(r.length-(e?0:1),1);this._startValue=this.min-(e?.5:0);for(let e=n;e<=t;e++){i.push({value:e})}return i}getLabelForValue(n){return mh.call(this,n)}configure(){super.configure();if(!this.isHorizontal()){this._reversePixels=!this._reversePixels}}getPixelForValue(n){if(typeof n!=="number"){n=this.parse(n)}return n===null?NaN:this.getPixelForDecimal((n-this._startValue)/this._valueRange)}getPixelForTick(n){const t=this.ticks;if(n<0||n>t.length-1){return null}return this.getPixelForValue(t[n].value)}getValueForPixel(n){return Math.round(this._startValue+this.getDecimalForPixel(n)*this._valueRange)}getBasePixel(){return this.bottom}}function yh(n,t){const e=[];const i=1e-14;const{bounds:r,step:o,min:a,max:s,precision:c,count:l,maxTicks:h,maxDigits:d,includeBounds:f}=n;const u=o||1;const p=h-1;const{min:g,max:b}=t;const w=!xt(a);const m=!xt(s);const v=!xt(l);const y=(b-g)/(d+1);let x=re((b-g)/p/u)*u;let k,M,z,S;if(x<i&&!w&&!m){return[{value:g},{value:b}]}S=Math.ceil(b/x)-Math.floor(g/x);if(S>p){x=re(S*x/p/u)*u}if(!xt(c)){k=Math.pow(10,c);x=Math.ceil(x*k)/k}if(r==="ticks"){M=Math.floor(g/x)*x;z=Math.ceil(b/x)*x}else{M=g;z=b}if(w&&m&&o&&ce((s-a)/o,x/1e3)){S=Math.round(Math.min((s-a)/x,h));x=(s-a)/S;M=a;z=s}else if(v){M=w?a:M;z=m?s:z;S=l-1;x=(z-M)/S}else{S=(z-M)/x;if(ie(S,Math.round(S),x/1e3)){S=Math.round(S)}else{S=Math.ceil(S)}}const C=Math.max(fe(x),fe(M));k=Math.pow(10,xt(c)?C:c);M=Math.round(M*k)/k;z=Math.round(z*k)/k;let _=0;if(w){if(f&&M!==a){e.push({value:a});if(M<a){_++}if(ie(Math.round((M+_*x)*k)/k,a,xh(a,y,n))){_++}}else if(M<a){_++}}for(;_<S;++_){const n=Math.round((M+_*x)*k)/k;if(m&&n>s){break}e.push({value:n})}if(m&&f&&z!==s){if(e.length&&ie(e[e.length-1].value,s,xh(s,y,n))){e[e.length-1].value=s}else{e.push({value:s})}}else if(!m||z===s){e.push({value:z})}return e}function xh(n,t,{horizontal:e,minRotation:i}){const r=he(i);const o=(e?Math.sin(r):Math.cos(r))||.001;const a=.75*t*(""+n).length;return Math.min(t/o,a)}class kh extends gs{constructor(n){super(n);this.start=undefined;this.end=undefined;this._startValue=undefined;this._endValue=undefined;this._valueRange=0}parse(n,t){if(xt(n)){return null}if((typeof n==="number"||n instanceof Number)&&!isFinite(+n)){return null}return+n}handleTickRangeOptions(){const{beginAtZero:n}=this.options;const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this;const o=n=>i=t?i:n;const a=n=>r=e?r:n;if(n){const n=ee(i);const t=ee(r);if(n<0&&t<0){a(0)}else if(n>0&&t>0){o(0)}}if(i===r){let t=r===0?1:Math.abs(r*.05);a(r+t);if(!n){o(i-t)}}this.min=i;this.max=r}getTickLimit(){const n=this.options.ticks;let{maxTicksLimit:t,stepSize:e}=n;let i;if(e){i=Math.ceil(this.max/e)-Math.floor(this.min/e)+1;if(i>1e3){console.warn(`scales.${this.id}.ticks.stepSize: ${e} would result generating up to ${i} ticks. Limiting to 1000.`);i=1e3}}else{i=this.computeTickLimit();t=t||11}if(t){i=Math.min(t,i)}return i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const n=this.options;const t=n.ticks;let e=this.getTickLimit();e=Math.max(2,e);const i={maxTicks:e,bounds:n.bounds,min:n.min,max:n.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==false};const r=this._range||this;const o=yh(i,r);if(n.bounds==="ticks"){le(o,this,"value")}if(n.reverse){o.reverse();this.start=this.max;this.end=this.min}else{this.start=this.min;this.end=this.max}return o}configure(){const n=this.ticks;let t=this.min;let e=this.max;super.configure();if(this.options.offset&&n.length){const i=(e-t)/Math.max(n.length-1,1)/2;t-=i;e+=i}this._startValue=t;this._endValue=e;this._valueRange=e-t}getLabelForValue(n){return Ze(n,this.chart.options.locale,this.options.ticks.format)}}class Mh extends kh{static id="linear";static defaults={ticks:{callback:Ge.formatters.numeric}};determineDataLimits(){const{min:n,max:t}=this.getMinMax(true);this.min=zt(n)?n:0;this.max=zt(t)?t:1;this.handleTickRangeOptions()}computeTickLimit(){const n=this.isHorizontal();const t=n?this.width:this.height;const e=he(this.options.ticks.minRotation);const i=(n?Math.sin(e):Math.cos(e))||.001;const r=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,r.lineHeight/i))}getPixelForValue(n){return n===null?NaN:this.getPixelForDecimal((n-this._startValue)/this._valueRange)}getValueForPixel(n){return this._startValue+this.getDecimalForPixel(n)*this._valueRange}}const zh=n=>Math.floor(te(n));const Sh=(n,t)=>Math.pow(10,zh(n)+t);function Ch(n){const t=n/Math.pow(10,zh(n));return t===1}function _h(n,t,e){const i=Math.pow(10,e);const r=Math.floor(n/i);const o=Math.ceil(t/i);return o-r}function jh(n,t){const e=t-n;let i=zh(e);while(_h(n,t,i)>10){i++}while(_h(n,t,i)<10){i--}return Math.min(i,zh(n))}function Ph(n,{min:t,max:e}){t=St(n.min,t);const i=[];const r=zh(t);let o=jh(t,e);let a=o<0?Math.pow(10,Math.abs(o)):1;const s=Math.pow(10,o);const c=r>o?Math.pow(10,r):0;const l=Math.round((t-c)*a)/a;const h=Math.floor((t-c)/s/10)*s*10;let d=Math.floor((l-h)/Math.pow(10,o));let f=St(n.min,Math.round((c+h+d*Math.pow(10,o))*a)/a);while(f<e){i.push({value:f,major:Ch(f),significand:d});if(d>=10){d=d<15?15:20}else{d++}if(d>=20){o++;d=2;a=o>=0?1:a}f=Math.round((c+h+d*Math.pow(10,o))*a)/a}const u=St(n.max,f);i.push({value:u,major:Ch(u),significand:d});return i}class Oh extends gs{static id="logarithmic";static defaults={ticks:{callback:Ge.formatters.logarithmic,major:{enabled:true}}};constructor(n){super(n);this.start=undefined;this.end=undefined;this._startValue=undefined;this._valueRange=0}parse(n,t){const e=kh.prototype.parse.apply(this,[n,t]);if(e===0){this._zero=true;return undefined}return zt(e)&&e>0?e:null}determineDataLimits(){const{min:n,max:t}=this.getMinMax(true);this.min=zt(n)?Math.max(0,n):null;this.max=zt(t)?Math.max(0,t):null;if(this.options.beginAtZero){this._zero=true}if(this._zero&&this.min!==this._suggestedMin&&!zt(this._userMin)){this.min=n===Sh(this.min,0)?Sh(this.min,-1):Sh(this.min,0)}this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:n,maxDefined:t}=this.getUserBounds();let e=this.min;let i=this.max;const r=t=>e=n?e:t;const o=n=>i=t?i:n;if(e===i){if(e<=0){r(1);o(10)}else{r(Sh(e,-1));o(Sh(i,1))}}if(e<=0){r(Sh(i,-1))}if(i<=0){o(Sh(e,1))}this.min=e;this.max=i}buildTicks(){const n=this.options;const t={min:this._userMin,max:this._userMax};const e=Ph(t,this);if(n.bounds==="ticks"){le(e,this,"value")}if(n.reverse){e.reverse();this.start=this.max;this.end=this.min}else{this.start=this.min;this.end=this.max}return e}getLabelForValue(n){return n===undefined?"0":Ze(n,this.chart.options.locale,this.options.ticks.format)}configure(){const n=this.min;super.configure();this._startValue=te(n);this._valueRange=te(this.max)-te(n)}getPixelForValue(n){if(n===undefined||n===0){n=this.min}if(n===null||isNaN(n)){return NaN}return this.getPixelForDecimal(n===this.min?0:(te(n)-this._startValue)/this._valueRange)}getValueForPixel(n){const t=this.getDecimalForPixel(n);return Math.pow(10,this._startValue+t*this._valueRange)}}function Eh(n){const t=n.ticks;if(t.display&&n.display){const n=Ei(t.backdropPadding);return Ct(t.font&&t.font.size,ai.font.size)+n.height}return 0}function Ah(n,t,e){e=kt(e)?e:[e];return{w:li(n,t.string,e),h:e.length*t.lineHeight}}function Dh(n,t,e,i,r){if(n===i||n===r){return{start:t-e/2,end:t+e/2}}else if(n<i||n>r){return{start:t-e,end:t}}return{start:t,end:t+e}}function Lh(n){const t={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom};const e=Object.assign({},t);const i=[];const r=[];const o=n._pointLabels.length;const a=n.options.pointLabels;const s=a.centerPointLabels?Xt/o:0;for(let c=0;c<o;c++){const o=a.setContext(n.getPointLabelContext(c));r[c]=o.padding;const l=n.getPointPosition(c,n.drawingArea+r[c],s);const h=Ai(o.font);const d=Ah(n.ctx,h,n._pointLabels[c]);i[c]=d;const f=be(n.getIndexAngle(c)+s);const u=Math.round(de(f));const p=Dh(u,l.x,d.w,0,180);const g=Dh(u,l.y,d.h,90,270);Rh(e,t,f,p,g)}n.setCenterPoint(t.l-e.l,e.r-t.r,t.t-e.t,e.b-t.b);n._pointLabelItems=Th(n,i,r)}function Rh(n,t,e,i,r){const o=Math.abs(Math.sin(e));const a=Math.abs(Math.cos(e));let s=0;let c=0;if(i.start<t.l){s=(t.l-i.start)/o;n.l=Math.min(n.l,t.l-s)}else if(i.end>t.r){s=(i.end-t.r)/o;n.r=Math.max(n.r,t.r+s)}if(r.start<t.t){c=(t.t-r.start)/a;n.t=Math.min(n.t,t.t-c)}else if(r.end>t.b){c=(r.end-t.b)/a;n.b=Math.max(n.b,t.b+c)}}function Nh(n,t,e){const i=n.drawingArea;const{extra:r,additionalAngle:o,padding:a,size:s}=e;const c=n.getPointPosition(t,i+r+a,o);const l=Math.round(de(be(c.angle+Qt)));const h=Bh(c.y,s.h,l);const d=Fh(l);const f=Wh(c.x,s.w,d);return{visible:true,x:c.x,y:h,textAlign:d,left:f,top:h,right:f+s.w,bottom:h+s.h}}function Ih(n,t){if(!t){return true}const{left:e,top:i,right:r,bottom:o}=n;const a=pi({x:e,y:i},t)||pi({x:e,y:o},t)||pi({x:r,y:i},t)||pi({x:r,y:o},t);return!a}function Th(n,t,e){const i=[];const r=n._pointLabels.length;const o=n.options;const{centerPointLabels:a,display:s}=o.pointLabels;const c={extra:Eh(o)/2,additionalAngle:a?Xt/r:0};let l;for(let o=0;o<r;o++){c.padding=e[o];c.size=t[o];const r=Nh(n,o,c);i.push(r);if(s==="auto"){r.visible=Ih(r,l);if(r.visible){l=r}}}return i}function Fh(n){if(n===0||n===180){return"center"}else if(n<180){return"left"}return"right"}function Wh(n,t,e){if(e==="right"){n-=t}else if(e==="center"){n-=t/2}return n}function Bh(n,t,e){if(e===90||e===270){n-=t/2}else if(e>270||e<90){n-=t}return n}function Uh(n,t,e){const{left:i,top:r,right:o,bottom:a}=e;const{backdropColor:s}=t;if(!xt(s)){const e=Oi(t.borderRadius);const c=Ei(t.backdropPadding);n.fillStyle=s;const l=i-c.left;const h=r-c.top;const d=o-i+c.width;const f=a-r+c.height;if(Object.values(e).some((n=>n!==0))){n.beginPath();Mi(n,{x:l,y:h,w:d,h:f,radius:e});n.fill()}else{n.fillRect(l,h,d,f)}}}function Hh(n,t){const{ctx:e,options:{pointLabels:i}}=n;for(let r=t-1;r>=0;r--){const t=n._pointLabelItems[r];if(!t.visible){continue}const o=i.setContext(n.getPointLabelContext(r));Uh(e,o,t);const a=Ai(o.font);const{x:s,y:c,textAlign:l}=t;ki(e,n._pointLabels[r],s,c+a.lineHeight/2,a,{color:o.color,textAlign:l,textBaseline:"middle"})}}function Vh(n,t,e,i){const{ctx:r}=n;if(e){r.arc(n.xCenter,n.yCenter,t,0,Kt)}else{let e=n.getPointPosition(0,t);r.moveTo(e.x,e.y);for(let o=1;o<i;o++){e=n.getPointPosition(o,t);r.lineTo(e.x,e.y)}}}function $h(n,t,e,i,r){const o=n.ctx;const a=t.circular;const{color:s,lineWidth:c}=t;if(!a&&!i||!s||!c||e<0){return}o.save();o.strokeStyle=s;o.lineWidth=c;o.setLineDash(r.dash||[]);o.lineDashOffset=r.dashOffset;o.beginPath();Vh(n,e,a,i);o.closePath();o.stroke();o.restore()}function Yh(n,t,e){return Ri(n,{label:e,index:t,type:"pointLabel"})}class Xh extends kh{static id="radialLinear";static defaults={display:true,animate:true,position:"chartArea",angleLines:{display:true,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:false},startAngle:0,ticks:{showLabelBackdrop:true,callback:Ge.formatters.numeric},pointLabels:{backdropColor:undefined,backdropPadding:2,display:true,font:{size:10},callback(n){return n},padding:5,centerPointLabels:false}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(n){super(n);this.xCenter=undefined;this.yCenter=undefined;this.drawingArea=undefined;this._pointLabels=[];this._pointLabelItems=[]}setDimensions(){const n=this._padding=Ei(Eh(this.options)/2);const t=this.width=this.maxWidth-n.width;const e=this.height=this.maxHeight-n.height;this.xCenter=Math.floor(this.left+t/2+n.left);this.yCenter=Math.floor(this.top+e/2+n.top);this.drawingArea=Math.floor(Math.min(t,e)/2)}determineDataLimits(){const{min:n,max:t}=this.getMinMax(false);this.min=zt(n)&&!isNaN(n)?n:0;this.max=zt(t)&&!isNaN(t)?t:0;this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Eh(this.options))}generateTickLabels(n){kh.prototype.generateTickLabels.call(this,n);this._pointLabels=this.getLabels().map(((n,t)=>{const e=Pt(this.options.pointLabels.callback,[n,t],this);return e||e===0?e:""})).filter(((n,t)=>this.chart.getDataVisibility(t)))}fit(){const n=this.options;if(n.display&&n.pointLabels.display){Lh(this)}else{this.setCenterPoint(0,0,0,0)}}setCenterPoint(n,t,e,i){this.xCenter+=Math.floor((n-t)/2);this.yCenter+=Math.floor((e-i)/2);this.drawingArea-=Math.min(this.drawingArea/2,Math.max(n,t,e,i))}getIndexAngle(n){const t=Kt/(this._pointLabels.length||1);const e=this.options.startAngle||0;return be(n*t+he(e))}getDistanceFromCenterForValue(n){if(xt(n)){return NaN}const t=this.drawingArea/(this.max-this.min);if(this.options.reverse){return(this.max-n)*t}return(n-this.min)*t}getValueForDistanceFromCenter(n){if(xt(n)){return NaN}const t=n/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(n){const t=this._pointLabels||[];if(n>=0&&n<t.length){const e=t[n];return Yh(this.getContext(),n,e)}}getPointPosition(n,t,e=0){const i=this.getIndexAngle(n)-Qt+e;return{x:Math.cos(i)*t+this.xCenter,y:Math.sin(i)*t+this.yCenter,angle:i}}getPointPositionForValue(n,t){return this.getPointPosition(n,this.getDistanceFromCenterForValue(t))}getBasePosition(n){return this.getPointPositionForValue(n||0,this.getBaseValue())}getPointLabelPosition(n){const{left:t,top:e,right:i,bottom:r}=this._pointLabelItems[n];return{left:t,top:e,right:i,bottom:r}}drawBackground(){const{backgroundColor:n,grid:{circular:t}}=this.options;if(n){const e=this.ctx;e.save();e.beginPath();Vh(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length);e.closePath();e.fillStyle=n;e.fill();e.restore()}}drawGrid(){const n=this.ctx;const t=this.options;const{angleLines:e,grid:i,border:r}=t;const o=this._pointLabels.length;let a,s,c;if(t.pointLabels.display){Hh(this,o)}if(i.display){this.ticks.forEach(((n,t)=>{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(n.value);const e=this.getContext(t);const a=i.setContext(e);const c=r.setContext(e);$h(this,a,s,o,c)}}))}if(e.display){n.save();for(a=o-1;a>=0;a--){const i=e.setContext(this.getPointLabelContext(a));const{color:r,lineWidth:o}=i;if(!o||!r){continue}n.lineWidth=o;n.strokeStyle=r;n.setLineDash(i.borderDash);n.lineDashOffset=i.borderDashOffset;s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max);c=this.getPointPosition(a,s);n.beginPath();n.moveTo(this.xCenter,this.yCenter);n.lineTo(c.x,c.y);n.stroke()}n.restore()}}drawBorder(){}drawLabels(){const n=this.ctx;const t=this.options;const e=t.ticks;if(!e.display){return}const i=this.getIndexAngle(0);let r,o;n.save();n.translate(this.xCenter,this.yCenter);n.rotate(i);n.textAlign="center";n.textBaseline="middle";this.ticks.forEach(((i,a)=>{if(a===0&&this.min>=0&&!t.reverse){return}const s=e.setContext(this.getContext(a));const c=Ai(s.font);r=this.getDistanceFromCenterForValue(this.ticks[a].value);if(s.showLabelBackdrop){n.font=c.string;o=n.measureText(i.label).width;n.fillStyle=s.backdropColor;const t=Ei(s.backdropPadding);n.fillRect(-o/2-t.left,-r-c.size/2-t.top,o+t.width,c.size+t.height)}ki(n,i.label,0,-r,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}));n.restore()}drawTitle(){}}const Kh={millisecond:{common:true,size:1,steps:1e3},second:{common:true,size:1e3,steps:60},minute:{common:true,size:6e4,steps:60},hour:{common:true,size:36e5,steps:24},day:{common:true,size:864e5,steps:30},week:{common:false,size:6048e5,steps:4},month:{common:true,size:2628e6,steps:12},quarter:{common:false,size:7884e6,steps:4},year:{common:true,size:3154e7}};const qh=Object.keys(Kh);function Zh(n,t){return n-t}function Jh(n,t){if(xt(t)){return null}const e=n._adapter;const{parser:i,round:r,isoWeekday:o}=n._parseOpts;let a=t;if(typeof i==="function"){a=i(a)}if(!zt(a)){a=typeof i==="string"?e.parse(a,i):e.parse(a)}if(a===null){return null}if(r){a=r==="week"&&(se(o)||o===true)?e.startOf(a,"isoWeek",o):e.startOf(a,r)}return+a}function Qh(n,t,e,i){const r=qh.length;for(let o=qh.indexOf(n);o<r-1;++o){const n=Kh[qh[o]];const r=n.steps?n.steps:Number.MAX_SAFE_INTEGER;if(n.common&&Math.ceil((e-t)/(r*n.size))<=i){return qh[o]}}return qh[r-1]}function Gh(n,t,e,i,r){for(let o=qh.length-1;o>=qh.indexOf(e);o--){const e=qh[o];if(Kh[e].common&&n._adapter.diff(r,i,e)>=t-1){return e}}return qh[e?qh.indexOf(e):0]}function nd(n){for(let t=qh.indexOf(n)+1,e=qh.length;t<e;++t){if(Kh[qh[t]].common){return qh[t]}}}function td(n,t,e){if(!e){n[t]=true}else if(e.length){const{lo:i,hi:r}=xe(e,t);const o=e[i]>=t?e[i]:e[r];n[o]=true}}function ed(n,t,e,i){const r=n._adapter;const o=+r.startOf(t[0].value,i);const a=t[t.length-1].value;let s,c;for(s=o;s<=a;s=+r.add(s,1,i)){c=e[s];if(c>=0){t[c].major=true}}return t}function id(n,t,e){const i=[];const r={};const o=t.length;let a,s;for(a=0;a<o;++a){s=t[a];r[s]=a;i.push({value:s,major:false})}return o===0||!e?i:ed(n,i,r,e)}class rd extends gs{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:false,unit:false,round:false,isoWeekday:false,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:false,major:{enabled:false}}};constructor(n){super(n);this._cache={data:[],labels:[],all:[]};this._unit="day";this._majorUnit=undefined;this._offsets={};this._normalized=false;this._parseOpts=undefined}init(n,t={}){const e=n.time||(n.time={});const i=this._adapter=new Go._date(n.adapters.date);i.init(t);Nt(e.displayFormats,i.formats());this._parseOpts={parser:e.parser,round:e.round,isoWeekday:e.isoWeekday};super.init(n);this._normalized=t.normalized}parse(n,t){if(n===undefined){return null}return Jh(this,n)}beforeLayout(){super.beforeLayout();this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const n=this.options;const t=this._adapter;const e=n.time.unit||"day";let{min:i,max:r,minDefined:o,maxDefined:a}=this.getUserBounds();function s(n){if(!o&&!isNaN(n.min)){i=Math.min(i,n.min)}if(!a&&!isNaN(n.max)){r=Math.max(r,n.max)}}if(!o||!a){s(this._getLabelBounds());if(n.bounds!=="ticks"||n.ticks.source!=="labels"){s(this.getMinMax(false))}}i=zt(i)&&!isNaN(i)?i:+t.startOf(Date.now(),e);r=zt(r)&&!isNaN(r)?r:+t.endOf(Date.now(),e)+1;this.min=Math.min(i,r-1);this.max=Math.max(i+1,r)}_getLabelBounds(){const n=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY;let e=Number.NEGATIVE_INFINITY;if(n.length){t=n[0];e=n[n.length-1]}return{min:t,max:e}}buildTicks(){const n=this.options;const t=n.time;const e=n.ticks;const i=e.source==="labels"?this.getLabelTimestamps():this._generate();if(n.bounds==="ticks"&&i.length){this.min=this._userMin||i[0];this.max=this._userMax||i[i.length-1]}const r=this.min;const o=this.max;const a=ze(i,r,o);this._unit=t.unit||(e.autoSkip?Qh(t.minUnit,this.min,this.max,this._getLabelCapacity(r)):Gh(this,a.length,t.minUnit,this.min,this.max));this._majorUnit=!e.major.enabled||this._unit==="year"?undefined:nd(this._unit);this.initOffsets(i);if(n.reverse){a.reverse()}return id(this,a,this._majorUnit)}afterAutoSkip(){if(this.options.offsetAfterAutoskip){this.initOffsets(this.ticks.map((n=>+n.value)))}}initOffsets(n=[]){let t=0;let e=0;let i,r;if(this.options.offset&&n.length){i=this.getDecimalForValue(n[0]);if(n.length===1){t=1-i}else{t=(this.getDecimalForValue(n[1])-i)/2}r=this.getDecimalForValue(n[n.length-1]);if(n.length===1){e=r}else{e=(r-this.getDecimalForValue(n[n.length-2]))/2}}const o=n.length<3?.5:.25;t=me(t,0,o);e=me(e,0,o);this._offsets={start:t,end:e,factor:1/(t+1+e)}}_generate(){const n=this._adapter;const t=this.min;const e=this.max;const i=this.options;const r=i.time;const o=r.unit||Qh(r.minUnit,t,e,this._getLabelCapacity(t));const a=Ct(i.ticks.stepSize,1);const s=o==="week"?r.isoWeekday:false;const c=se(s)||s===true;const l={};let h=t;let d,f;if(c){h=+n.startOf(h,"isoWeek",s)}h=+n.startOf(h,c?"day":o);if(n.diff(e,t,o)>1e5*a){throw new Error(t+" and "+e+" are too far apart with stepSize of "+a+" "+o)}const u=i.ticks.source==="data"&&this.getDataTimestamps();for(d=h,f=0;d<e;d=+n.add(d,a,o),f++){td(l,d,u)}if(d===e||i.bounds==="ticks"||f===1){td(l,d,u)}return Object.keys(l).sort(Zh).map((n=>+n))}getLabelForValue(n){const t=this._adapter;const e=this.options.time;if(e.tooltipFormat){return t.format(n,e.tooltipFormat)}return t.format(n,e.displayFormats.datetime)}format(n,t){const e=this.options;const i=e.time.displayFormats;const r=this._unit;const o=t||i[r];return this._adapter.format(n,o)}_tickFormatFunction(n,t,e,i){const r=this.options;const o=r.ticks.callback;if(o){return Pt(o,[n,t,e],this)}const a=r.time.displayFormats;const s=this._unit;const c=this._majorUnit;const l=s&&a[s];const h=c&&a[c];const d=e[t];const f=c&&h&&d&&d.major;return this._adapter.format(n,i||(f?h:l))}generateTickLabels(n){let t,e,i;for(t=0,e=n.length;t<e;++t){i=n[t];i.label=this._tickFormatFunction(i.value,t,n)}}getDecimalForValue(n){return n===null?NaN:(n-this.min)/(this.max-this.min)}getPixelForValue(n){const t=this._offsets;const e=this.getDecimalForValue(n);return this.getPixelForDecimal((t.start+e)*t.factor)}getValueForPixel(n){const t=this._offsets;const e=this.getDecimalForPixel(n)/t.factor-t.end;return this.min+e*(this.max-this.min)}_getLabelSize(n){const t=this.options.ticks;const e=this.ctx.measureText(n).width;const i=he(this.isHorizontal()?t.maxRotation:t.minRotation);const r=Math.cos(i);const o=Math.sin(i);const a=this._resolveTickFontOptions(0).size;return{w:e*r+a*o,h:e*o+a*r}}_getLabelCapacity(n){const t=this.options.time;const e=t.displayFormats;const i=e[t.unit]||e.millisecond;const r=this._tickFormatFunction(n,0,id(this,[n],this._majorUnit),i);const o=this._getLabelSize(r);const a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let n=this._cache.data||[];let t,e;if(n.length){return n}const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length){return this._cache.data=i[0].controller.getAllParsedValues(this)}for(t=0,e=i.length;t<e;++t){n=n.concat(i[t].controller.getAllParsedValues(this))}return this._cache.data=this.normalize(n)}getLabelTimestamps(){const n=this._cache.labels||[];let t,e;if(n.length){return n}const i=this.getLabels();for(t=0,e=i.length;t<e;++t){n.push(Jh(this,i[t]))}return this._cache.labels=this._normalized?n:this.normalize(n)}normalize(n){return je(n.sort(Zh))}}function od(n,t,e){let i=0;let r=n.length-1;let o,a,s,c;if(e){if(t>=n[i].pos&&t<=n[r].pos){({lo:i,hi:r}=ke(n,"pos",t))}({pos:o,time:s}=n[i]);({pos:a,time:c}=n[r])}else{if(t>=n[i].time&&t<=n[r].time){({lo:i,hi:r}=ke(n,"time",t))}({time:o,pos:s}=n[i]);({time:a,pos:c}=n[r])}const l=a-o;return l?s+(c-s)*(t-o)/l:s}class ad extends rd{static id="timeseries";static defaults=rd.defaults;constructor(n){super(n);this._table=[];this._minPos=undefined;this._tableRange=undefined}initOffsets(){const n=this._getTimestampsForTable();const t=this._table=this.buildLookupTable(n);this._minPos=od(t,this.min);this._tableRange=od(t,this.max)-this._minPos;super.initOffsets(n)}buildLookupTable(n){const{min:t,max:e}=this;const i=[];const r=[];let o,a,s,c,l;for(o=0,a=n.length;o<a;++o){c=n[o];if(c>=t&&c<=e){i.push(c)}}if(i.length<2){return[{time:t,pos:0},{time:e,pos:1}]}for(o=0,a=i.length;o<a;++o){l=i[o+1];s=i[o-1];c=i[o];if(Math.round((l+s)/2)!==c){r.push({time:c,pos:o/(a-1)})}}return r}_generate(){const n=this.min;const t=this.max;let e=super.getDataTimestamps();if(!e.includes(n)||!e.length){e.splice(0,0,n)}if(!e.includes(t)||e.length===1){e.push(t)}return e.sort(((n,t)=>n-t))}_getTimestampsForTable(){let n=this._cache.all||[];if(n.length){return n}const t=this.getDataTimestamps();const e=this.getLabelTimestamps();if(t.length&&e.length){n=this.normalize(t.concat(e))}else{n=t.length?t:e}n=this._cache.all=n;return n}getDecimalForValue(n){return(od(this._table,n)-this._minPos)/this._tableRange}getValueForPixel(n){const t=this._offsets;const e=this.getDecimalForPixel(n)/t.factor-t.end;return od(this._table,e*this._tableRange+this._minPos,true)}}var sd=Object.freeze({__proto__:null,CategoryScale:vh,LinearScale:Mh,LogarithmicScale:Oh,RadialLinearScale:Xh,TimeScale:rd,TimeSeriesScale:ad});const cd=[Zo,Fc,ph,sd];rc.register(...cd);const ld='/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",\n "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",\n "Courier New", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-4xl: 2rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n 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");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden="until-found"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .bottom-full {\n bottom: 100%;\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1 {\n left: calc(var(--spacing) * 1);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .m-auto {\n margin: auto;\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .table {\n display: table;\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-full {\n height: 100%;\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-52 {\n width: calc(var(--spacing) * 52);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-128 {\n width: calc(var(--spacing) * 128);\n }\n .w-full {\n width: 100%;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .flex-1 {\n flex: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-help {\n cursor: help;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-4xl {\n border-radius: var(--radius-4xl);\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-\\[\\#271200\\] {\n border-color: #271200;\n }\n .border-\\[\\#964500\\] {\n border-color: #964500;\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-red-500 {\n border-color: var(--color-red-500);\n }\n .bg-\\[\\#271200\\] {\n background-color: #271200;\n }\n .bg-\\[\\#964500\\] {\n background-color: #964500;\n }\n .bg-\\[\\#f3ebda\\] {\n background-color: #f3ebda;\n }\n .bg-gray-50 {\n background-color: var(--color-gray-50);\n }\n .bg-gray-200 {\n background-color: var(--color-gray-200);\n }\n .bg-gray-400 {\n background-color: var(--color-gray-400);\n }\n .bg-gray-800 {\n background-color: var(--color-gray-800);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-9 {\n padding: calc(var(--spacing) * 9);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-7 {\n padding-top: calc(var(--spacing) * 7);\n }\n .pr-3 {\n padding-right: calc(var(--spacing) * 3);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-7 {\n padding-bottom: calc(var(--spacing) * 7);\n }\n .pl-3 {\n padding-left: calc(var(--spacing) * 3);\n }\n .pl-10 {\n padding-left: calc(var(--spacing) * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\[\\#1a365d\\] {\n color: #1a365d;\n }\n .text-\\[\\#271200\\] {\n color: #271200;\n }\n .text-\\[\\#964500\\] {\n color: #964500;\n }\n .text-gray-400 {\n color: var(--color-gray-400);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-gray-600 {\n color: var(--color-gray-600);\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .text-green-600 {\n color: var(--color-green-600);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .underline {\n text-decoration-line: underline;\n }\n .accent-\\[\\#964500\\] {\n accent-color: #964500;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .peer-checked\\:bg-\\[\\#964500\\] {\n &:is(:where(.peer):checked ~ *) {\n background-color: #964500;\n }\n }\n .peer-checked\\:opacity-100 {\n &:is(:where(.peer):checked ~ *) {\n opacity: 100%;\n }\n }\n .hover\\:bg-\\[\\#7a3700\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #7a3700;\n }\n }\n }\n .hover\\:bg-\\[\\#964500\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #964500;\n }\n }\n }\n .focus\\:border-transparent {\n &:focus {\n border-color: transparent;\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-\\[\\#1a365d\\] {\n &:focus {\n --tw-ring-color: #1a365d;\n }\n }\n .focus\\:ring-\\[\\#964500\\] {\n &:focus {\n --tw-ring-color: #964500;\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:h-4 {\n &::-moz-range-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:w-4 {\n &::-moz-range-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:appearance-none {\n &::-moz-range-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:rounded-full {\n &::-moz-range-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:border-0 {\n &::-moz-range-thumb {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&\\:\\:-moz-range-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-moz-range-track\\]\\:bg-\\[\\#964500\\] {\n &::-moz-range-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-runnable-track\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-runnable-track {\n background-color: #964500;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:h-4 {\n &::-webkit-slider-thumb {\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:w-4 {\n &::-webkit-slider-thumb {\n width: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:appearance-none {\n &::-webkit-slider-thumb {\n appearance: none;\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:rounded-full {\n &::-webkit-slider-thumb {\n border-radius: calc(infinity * 1px);\n }\n }\n .\\[\\&\\:\\:-webkit-slider-thumb\\]\\:bg-\\[\\#964500\\] {\n &::-webkit-slider-thumb {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:bg-\\[\\#964500\\] {\n &>option:checked {\n background-color: #964500;\n }\n }\n .\\[\\&\\>option\\:checked\\]\\:text-white {\n &>option:checked {\n color: var(--color-white);\n }\n }\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false;\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n';const hd=[0,0,0,0,0,0,0,.1,.2,.4,.8,1,1,1,1,.7,.5,.3,.16,.02,0,0,0,0];const dd={mostly_at_home:[.1,.1,.1,.1,.1,.15,.23,.26,.16,.16,.15,.19,.23,.24,.35,.28,.275,.8,.78,.74,.75,.73,.26,.1],mostly_away:[.1,.1,.1,.1,.1,.15,.29,.32,.25,.15,.12,.14,.15,.12,.16,.21,.285,1,.81,.77,.79,.73,.26,.1]};const fd=class{constructor(t){n(this,t)}systemConfigs={};language="en";roofPolygons={};obstructionPolygons={};householdConsumption=3500;consumptionProfile="mostly_at_home";electricityPrice=.3;compensationRate=.07;autonomy=0;costSavings=0;numberOfPanels=5;panelPeakPower=.4;name="";email="";nameError="";emailError="";chart=null;chartRef=null;updateSystemConfigs(){if(Object.keys(this.systemConfigs).length===0){this.numberOfPanels=0;return}this.numberOfPanels=Object.keys(this.systemConfigs).reduce(((n,t)=>n+this.systemConfigs[t].positionedPanels.length),0);this.panelPeakPower=Object.entries(this.systemConfigs)[0][1].positionedPanels[0].panel.kWattPeak;this.recalculate();this.updateChart()}recalculate(){const n=dd[this.consumptionProfile];const t=n.reduce(((n,t)=>n+t),0);const e=this.numberOfPanels*this.panelPeakPower;const i=hd.map((n=>n*e));let r=0;for(let e=0;e<n.length;e++){n[e]=n[e]*this.householdConsumption/t/365;if(n[e]<=i[e]){r+=n[e]}else if(n[e]>i[e]){r+=i[e]}}const o=i.map(((t,e)=>n[e]-t));const a=-o.filter((n=>n<0)).reduce(((n,t)=>n+t),0);this.costSavings=a*this.compensationRate*365+r*365*this.electricityPrice;this.autonomy=r/(this.householdConsumption/365)*100}updateChart(){if(!this.chartRef)return;const n=this.chartRef.getContext("2d");if(!n)return;if(this.chart){this.chart.destroy()}const t=Array.from({length:24},((n,t)=>`${t}:00`));const e=dd[this.consumptionProfile];const i=e.reduce(((n,t)=>n+t),0);const r=this.numberOfPanels*this.panelPeakPower;const o=hd.map((n=>n*r));for(let n=0;n<e.length;n++){e[n]=e[n]*this.householdConsumption/i/365}let a=[{label:"Energy Consumption",data:e,borderColor:"#964500",backgroundColor:"rgba(150, 69, 0, 0.1)",fill:true,tension:.4},{label:"Energy Production",data:o,borderColor:"#000000",backgroundColor:"rgba(0, 0, 0, 0.1)",fill:true}];this.chart=new rc(n,{type:"line",data:{labels:t,datasets:a},options:{responsive:true,plugins:{title:{display:true,text:"Daily Consumption Profile"}},scales:{y:{beginAtZero:true,title:{display:true,text:"Relative Consumption"}},x:{title:{display:true,text:"Hour of Day"}}}}})}componentWillLoad(){this.updateSystemConfigs()}validateForm(){let n=true;const t=bn(this.language);if(!this.name.trim()){this.nameError=t.solarSystemForm.nameError;n=false}else{this.nameError=""}const e=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!this.email.trim()){this.emailError=t.solarSystemForm.emailError;n=false}else if(!e.test(this.email)){this.emailError=t.solarSystemForm.validEmailError;n=false}else{this.emailError=""}return n}handleRequestOffer(){if(!this.validateForm()){return}console.log("Requesting offer for: ",{name:this.name,email:this.email,systemConfig:this.systemConfigs,consumption:this.householdConsumption,autonomy:this.autonomy,costSavings:this.costSavings,roofPolygons:this.roofPolygons,obstructionPolygons:this.obstructionPolygons})}render(){const n=bn(this.language);return t("div",{key:"85f0ec10f34015604a1acefcef02299b50466b6b",class:"flex flex-col justify-center items-center w-full h-full gap-4 p-4",style:{display:Object.keys(this.systemConfigs).length===0?"none":"flex"}},t("h1",{key:"bf5f2adee5fb32b7a4b6ed215164799f834cb19d",class:"text-2xl font-bold text-[#271200] mb-4"},n.solarSystemForm.title),t("div",{key:"be9b94e078403ad753219dede42a9150f59fa9c2",class:"w-full max-w-2xl bg-[#f3ebda] rounded-4xl p-6 space-y-6"},t("div",{key:"aee08edb3ae4839d0d563a16c1dedddc20cda0ca",class:"space-y-4"},t("h2",{key:"a26a8f0a04be453a66e93d682fe32f886793c863",class:"text-lg font-semibold text-[#271200]"},n.solarSystemForm.systemInformation),t("div",{key:"2b260f44574aecf9068c4dddff21f1dfcea1869f",class:"grid grid-cols-2 gap-4"},t("div",{key:"ba75503bcca9fbe04c99c0feac99eb7c7f064455"},t("label",{key:"5ffaad1ceab5def87c9208f236b45597f539d574",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.numberOfPanels),t("input",{key:"e984ed36d139ba29ea648122686cd71e9a01511f",type:"number",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",value:this.numberOfPanels,readOnly:true})),t("div",{key:"6d60596af443dceaccbf71738b6e161678452053"},t("label",{key:"593fb87663cab979e4409a15199d28cd716bfa33",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.panelPeakPower),t("input",{key:"71436a23b315fd713988d8d23f0056a5b8a378ac",type:"number",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",value:this.panelPeakPower,readonly:true}))),t("div",{key:"d8ea7e83738283446eef7c166d05692b9cff8f30",class:"bg-white rounded-4xl p-4"},t("div",{key:"3ef0039db7abdc783a9fe2d8a5c6a5044d76b383",class:"flex items-center justify-between"},t("span",{key:"8532b97fb829f69b338e5fba682cc5f5f68b8e2f",class:"text-gray-600"},n.solarSystemForm.totalSystemPeakPower),t("span",{key:"fa3835b2d2670cbd2fa11f57af60deab2cdc7142",class:"text-xl font-bold text-[#271200]"},(D.kWattPeak*this.numberOfPanels).toFixed(1)," kW")))),t("div",{key:"357c15507bbb1374c4d386360b3ba313fe12c71e",class:"space-y-4"},t("h2",{key:"d87a246f2765a91490067d8c0449741e75bf3e71",class:"text-lg font-semibold text-[#271200]"},n.solarSystemForm.householdConsumptionTitle),t("div",{key:"0ba31368f5fbb4909f2858a5b325976aa6fa103f",class:"grid grid-cols-2 gap-4"},t("div",{key:"051bd4afd32d202664e13df6dfaf92d6f2c881ea"},t("label",{key:"56ed4f26cdc9d0c0001f0a0a602fcdd9c4e514f2",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.annualConsumption),t("input",{key:"fe3a1e54b09104fa8829c3d8eb1337a8665aea55",type:"number",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",value:this.householdConsumption,onInput:n=>{this.householdConsumption=parseInt(n.target.value);this.recalculate();this.updateChart()}})),t("div",{key:"c33aaab13fa367d60842d9b378a8045aeee946cc"},t("label",{key:"3bb5d0271fad3ac4d5bf45a76d62a1d31efbec06",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.consumptionProfileTitle),t("select",{key:"061a6746a1fde4aa95d39c48c772de24ca80dda6",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",onChange:n=>{this.consumptionProfile=n.target.value;this.recalculate();this.updateChart()}},t("option",{key:"c763ff9d4bdf3c60c5067e105d00936bf32ffbd5",value:"mostly_at_home",selected:this.consumptionProfile==="mostly_at_home"},n.solarSystemForm.consumptionProfiles.mostlyAtHome),t("option",{key:"df7e8cf24b1680575fcceab59a1ba7c79da39009",value:"mostly_away",selected:this.consumptionProfile==="mostly_away"},n.solarSystemForm.consumptionProfiles.mostlyAway)))),t("div",{key:"61df552d9e00d3acd2419071187703a8e808abd5",class:"mt-4 h-48"},t("canvas",{key:"fad304a8b3b6390c9ccd79dfa37cec5ec0b2bda0",ref:n=>this.chartRef=n}))),t("div",{key:"d7d8e5c36d883d5dcdc51cd9a2ec44092e5cb26b",class:"space-y-4"},t("h2",{key:"e18131dfdc84c8e0105a9ca4640d196c006e3095",class:"text-lg font-semibold text-[#271200]"},n.solarSystemForm.electricityCostsTitle),t("div",{key:"1cd7f7d3d59149e79b30b9832ef7a42e2082e00d",class:"grid grid-cols-2 gap-4"},t("div",{key:"53bead211d686cf6acc883474baa7d9135365afc"},t("label",{key:"c04f6d3880e9590f9d51649df7bd124073746e5b",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.electricityPrice),t("input",{key:"68e226adfe557355b89745efc3aeee88528b6710",type:"number",step:"0.01",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",value:this.electricityPrice,onInput:n=>{this.electricityPrice=parseFloat(n.target.value);this.recalculate();this.updateChart()}})),t("div",{key:"3264cda47cb1f7f90259fc13116601ae9e636238"},t("label",{key:"1580f49c9f24ec02fcfe5ec174e5c8087c040f4e",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.compensationRate),t("input",{key:"f87e99c2b852da74267351cb630453f2d7cadd6f",type:"number",step:"0.01",class:"w-full px-4 py-2 rounded-4xl border border-gray-300 focus:ring-2 focus:ring-[#964500] focus:border-transparent",value:this.compensationRate,onInput:n=>{this.compensationRate=parseFloat(n.target.value);this.recalculate();this.updateChart()}})))),t("div",{key:"cccd456f9ec53c92069d10a8e6d784846bf5f781",class:"space-y-4 pt-4 border-t border-gray-200"},t("h2",{key:"3c78d0c1acc807cc98b9d9dbc3da4a4fb6cc2a8e",class:"text-lg font-semibold text-[#271200]"},n.solarSystemForm.resultsTitle),t("div",{key:"91312264cd67e83a97de15523cbc6d9f82299ed4",class:"bg-white rounded-4xl p-4"},t("div",{key:"1e85cd1784830413d0b1c004b6d8c3351190b8f3",class:"flex items-center justify-between"},t("span",{key:"014465ba43e1c65df0ec912c5a8f7852e8606752",class:"text-gray-600"},n.solarSystemForm.autonomy),t("span",{key:"16f0e0cec4193c35413790f24f60a96ec698271b",class:"text-xl font-bold text-[#271200]"},this.autonomy.toFixed(1),"%")),t("div",{key:"03a768dc16689bdefe3da494e3647703f2efd975",class:"flex items-center justify-between mt-4"},t("div",{key:"903e120975d517ddf5969f89b6abab03d25f2f0b",class:"flex items-center gap-2"},t("span",{key:"6c1de0b96b625c0fc7bc5b376156e0e8b33c2f1b",class:"text-gray-600"},n.solarSystemForm.costSavings),t("div",{key:"c70b1d80322d64ccf07b9f40ca300ed4aba9da2f",class:"relative group"},t("svg",{key:"7f8567254e065d1dd8b6da090b12305db89bb83c",xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 text-gray-400 cursor-help",viewBox:"0 0 20 20",fill:"currentColor"},t("path",{key:"d374484901dcffbc35e1ff5c1d1039526ea65978","fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"})),t("div",{key:"0f59e908dfa91226ee1648d6d4739f9e9bc54ca5",class:"absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 w-64 p-2 bg-gray-800 text-white text-sm rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none"},n.solarSystemForm.savingsDisclaimer))),t("span",{key:"bf1d7bd08a93274615b88d35e2bd359187ca085b",class:"text-xl font-bold text-green-600"},this.costSavings.toFixed(2),"€/",n.solarSystemForm.year)))),t("div",{key:"ca60e696392cb3ef2cb66603489997869e0f51cb",class:"space-y-4 pt-4 border-t border-gray-200"},t("h2",{key:"4f44b5774a022e8925738abc25894fdf8b6fc8fa",class:"text-lg font-semibold text-[#271200]"},n.solarSystemForm.requestOffer),t("div",{key:"fe32a47f43e742d81424980fd41631d328358695",class:"grid grid-cols-2 gap-4"},t("div",{key:"a2ce707a5f4b4568eabb02a08022d8f1c74137e2"},t("label",{key:"b38ec2029a9d9cfe29c4e2d415a03b046acba319",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.name),t("input",{key:"8f94467b24e2a11f898f258c6d4aa9ee0de34dc1",type:"text",class:`w-full px-4 py-2 rounded-4xl border ${this.nameError?"border-red-500":"border-gray-300"} focus:ring-2 focus:ring-[#964500] focus:border-transparent`,value:this.name,onInput:n=>{this.name=n.target.value;this.validateForm()},placeholder:"Your name"}),this.nameError&&t("p",{key:"e539561f556cf7914a3d888d20450e2d09b72fa2",class:"text-red-500 text-sm mt-1"},this.nameError)),t("div",{key:"6ab0ef38a62847304aa131d41902d4eeeebd2fc9"},t("label",{key:"336f9d727f4c556397bef6a080d969015d730036",class:"block text-sm font-medium text-gray-600 mb-1"},n.solarSystemForm.email),t("input",{key:"783fe2c3552a444e300a3d36f784aa13af9cfc79",type:"email",class:`w-full px-4 py-2 rounded-4xl border ${this.emailError?"border-red-500":"border-gray-300"} focus:ring-2 focus:ring-[#964500] focus:border-transparent`,value:this.email,onInput:n=>{this.email=n.target.value;this.validateForm()},placeholder:"your.email@example.com"}),this.emailError&&t("p",{key:"5e67155bb99c051e1a1a6d5957826ef328daa362",class:"text-red-500 text-sm mt-1"},this.emailError))),t("div",{key:"d4a4ded8adfab4ef284f888556e9ad4847f0de2e",class:"flex justify-center"},t("button",{key:"539e892fdace00dd5c59dc14b0f85754e22ee111",onClick:()=>this.handleRequestOffer(),disabled:!this.name.trim()||!this.email.trim()||!!this.nameError||!!this.emailError,class:"px-4 py-2 bg-[#271200] text-white rounded-4xl hover:bg-[#964500] transition-colors duration-200"},n.solarSystemForm.requestOfferButton)))))}static get watchers(){return{systemConfigs:["updateSystemConfigs"]}}};fd.style=ld;export{c as eraser_icon,h as house_icon,f as icon_selector,vn as map_draw,xn as move_icon,Mn as octagon_minus_icon,Sn as search_icon,_n as solar_expert,fd as solar_system_form};
|
|
20
|
-
//# sourceMappingURL=p-
|
|
20
|
+
//# sourceMappingURL=p-761eaa1f.entry.js.map
|