digital-rabbit-cl 2.4.2 → 2.4.3
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/components/ImageThumbnail/ImageThumbnail.d.ts +2 -3
- package/dist/components/ImageThumbnail/ImageThumbnail.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/digital-rabbit-cl.es.js +177 -175
- package/dist/digital-rabbit-cl.umd.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types/component-props.d.ts +1 -1
- package/dist/types/component-props.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:var(--button-padding-small)}.Button-module__sizeLarge___yeZSH{padding:var(--button-padding-large)}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:var(--form-label-padding-bottom)}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormError-module__formError___kaUBn{font-size:.875em;margin-top:var(--form-error-margin-top);font-weight:400}.FormGroup-module__formGroup___aVI-B{display:flex;flex-direction:column;margin-bottom:var(--form-group-margin-bottom)}.FormGroup-module__inputWrapper___429QE{display:flex;flex-direction:column;gap:.5em}.FormGroup-module__indented___t61iz{padding-left:.5em}.FormGroup-module__formGroup___aVI-B.FormGroup-module__disabled___W-tJ0{opacity:.6;pointer-events:none}.FormGroup-module__required___mO3xA{color:inherit;margin-left:.125em}.FormGroup-module__errorMessage___SHzl3{font-size:.875em;margin-top:.25rem;font-weight:400}.Input-module__input___WjT81{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:var(--input-padding-small)}.Input-module__sizeLarge___4Boj3{padding:var(--input-padding-large)}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:var(--textarea-padding-small)}.Textarea-module__sizeLarge___5a3sf{padding:var(--textarea-padding-large)}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:var(--select-padding-small)}.Select-module__sizeLarge___eBA1T{padding:var(--select-padding-large)}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.Hamburger-module__hamburger___Tf4-t{background:transparent;border:none;cursor:pointer;display:none;flex-direction:column;justify-content:space-around;height:2em;outline:none;padding:0;position:relative;width:2em;z-index:11}.Hamburger-module__line___gybZM{background:currentColor;border-radius:var(--hamburger-border-radius, 10px);height:12.5%;position:relative;transform-origin:1px;transition:all .3s linear;width:100%}.Hamburger-module__line___gybZM:first-child{transform:rotate(0)}.Hamburger-module__line___gybZM:nth-child(2){opacity:1;transform:translate(0)}.Hamburger-module__line___gybZM:nth-child(3){transform:rotate(0)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:first-child{transform:rotate(45deg)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(2){opacity:0;transform:translate(20px)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(3){transform:rotate(-45deg)}.Header-module__header___RUooH{width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding);position:relative}.ResponsiveNav-module__nav___xOfv5{display:flex}.ResponsiveNav-module__navMobile___h795P{flex-direction:column;min-height:100%;overflow-x:hidden}.ResponsiveNav-module__navHeader___Me8bB{height:3.5em;flex-shrink:0}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE .ResponsiveNav-module__navHeader___Me8bB{height:3em}.ResponsiveNav-module__navDesktop___9wscZ{align-items:center;flex-direction:row;height:auto}.ResponsiveNav-module__navDesktop___9wscZ>*{margin-left:1.25rem}.Popover-module__triggerWrapper___dZpf6{display:inline-block}.Popover-module__popup___JAvrb{max-height:60vh;min-width:120px;overflow:auto}.Popover-module__panelOverlay___1xDU5{top:0;right:0;bottom:0;left:0;pointer-events:none;position:fixed;z-index:1000}.Popover-module__panelOverlayVisible___BgtIQ{pointer-events:auto}.Popover-module__backdrop___e8qHL{top:0;right:0;bottom:0;left:0;position:absolute;transition:background-color .3s ease}.Popover-module__panel___eUJ2E{bottom:0;overflow-y:auto;padding:1rem;position:absolute;top:0;transition:transform .3s ease-in-out}.Popover-module__panelLeft___9nSLp{left:0;transform:translate(-100%)}.Popover-module__panelRight___OrQfl{right:0;transform:translate(100%)}.Popover-module__panelOpen___hhvV-{transform:translate(0)}.Popover-module__panelCloseButton___kALaN{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;height:1.5rem;justify-content:center;padding:0;position:absolute;right:1rem;top:1rem;width:1.5rem}.Popover-module__panelCloseButton___kALaN:hover{opacity:.7}.NavDropdown-module__trigger___1PQZp{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;font-family:inherit;font-size:inherit;gap:.375rem;padding:0}.NavDropdown-module__chevron___ZLAV7{align-items:center;display:inline-flex;transition:transform .2s ease}.NavDropdown-module__chevronOpen___9mgjr{transform:rotate(180deg)}.Modal-module__backdrop___GVUh4{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1em}.Modal-module__modal___aD7aP{padding:1em;position:relative;display:flex;flex-direction:column;gap:1em;max-height:90vh;box-shadow:0 10px 40px #0003;outline:none}.Modal-module__header___ILG9i{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.Modal-module__title___A5OeE{margin:0;font-size:1.5rem;font-weight:600;flex:1}.Modal-module__closeButton___3LpSf{background:none;border:none;cursor:pointer;padding:0;width:1.75em;height:1.75em;display:flex;align-items:center;justify-content:center;color:inherit;margin-left:auto;opacity:.6;transition:opacity .2s,transform .2s;flex-shrink:0}.Modal-module__closeButton___3LpSf svg{display:block;flex-shrink:0}.Modal-module__content___dWO-B{overflow-y:auto;flex:1}.Modal-module__actions___hY6zi{flex-shrink:0}@media (max-width: calc(var(--breakpoint-md) - 1px)){.Modal-module__backdrop___GVUh4{padding:.5em}.Modal-module__header___ILG9i,.Modal-module__content___dWO-B,.Modal-module__actions___hY6zi{padding:1rem}.Modal-module__title___A5OeE{font-size:1.25em}}.Stack-module__stack___yUU-B{display:flex;gap:.5em}.Stack-module__vertical___sKTyQ{flex-direction:column;margin-bottom:.5em}.Stack-module__horizontal___YsvtV{flex-direction:row;align-items:center}.ResponsiveSection-module__section___gBESK{width:100%;padding:0}.ResponsiveSection-module__innerDiv___r1bky{max-width:var(--max-width);margin:0 auto;padding:var(--section-padding)}.Hero-module__hero___IB2tg{padding:var(--hero-padding, 3rem 0)}.Hero-module__content___rkkfQ h1{font-size:var(--hero-h1-font-size, 2rem);margin-bottom:var(--hero-h1-margin-bottom)}.Hero-module__content___rkkfQ p{font-size:var(--hero-p-font-size, 1.125rem);line-height:1.6}.Footer-module__footer___A76NF{width:100%;margin-top:auto}.Footer-module__container___QneNs{display:flex;align-items:center;justify-content:space-between;margin:0 auto}.FeatureCard-module__card___XQt66{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--feature-card-padding)}.FeatureCard-module__icon___dXJ92{font-size:var(--feature-icon-font-size, 2.5rem);margin-bottom:var(--feature-icon-margin-bottom);color:var(--feature-icon-color, var(--primary-color))}.FeatureCard-module__title___KxXyA{font-size:var(--feature-title-font-size, 1.25rem);font-weight:600;margin-bottom:var(--feature-title-margin-bottom);color:var(--feature-title-color, inherit)}.FeatureCard-module__content___68xkw{font-size:1rem;line-height:1.6;color:var(--feature-content-color, var(--primary-color))}.FeatureGridSection-module__section___wZrbC{padding:var(--section-padding-vertical) 0}.FeatureGridSection-module__grid___iwPJv{display:grid;gap:2rem;grid-template-columns:var(--grid-template-columns, 1fr)}.PageLayout-module__layoutContainer___diLdT{display:flex;flex-direction:column;min-height:100vh}.PageLayout-module__content___h2mBr{flex:1 0 auto;display:flex;flex-direction:column}.PageLayout-module__main___Sw7Pv{flex:1}.FileUpload-module__dropzone___jqua0{border-style:dashed;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:1rem;text-align:center;transition:opacity .15s ease,background-color .15s ease;width:100%}.FileUpload-module__dropzone___jqua0:hover:not(.FileUpload-module__loading___C7PsH){background-color:#00000008}.FileUpload-module__dropzone___jqua0:focus-visible{outline:2px solid var(--upload-color, currentColor);outline-offset:2px}.FileUpload-module__dragOver___q1zPo{background-color:#0000000f}.FileUpload-module__loading___C7PsH{cursor:not-allowed;opacity:.6}.FileUpload-module__hiddenInput___RLLPJ{display:none}.FileUpload-module__content___yCP0l{display:flex;flex-direction:column;align-items:center;gap:.35rem}.FileUpload-module__label___lbMkx{font-weight:600}.FileUpload-module__hint___8dXlk{font-size:.85em;opacity:.7}.FileUpload-module__errorMessage___8HB3n{font-size:.85em;font-weight:600;margin-top:.25rem}.ImageThumbnail-module__thumbnail___-igbe{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.ImageThumbnail-module__img___Q7Z4V{width:100%;height:100%;object-fit:cover;display:block}.ImageThumbnail-module__sizeSm___rtC81{width:3rem;height:3rem}.ImageThumbnail-module__sizeMd___GL9qs{width:4rem;height:4rem}.ImageThumbnail-module__sizeLg___E70Oi{width:5em;height:5em}.ImageThumbnail-module__removeButton___Ceh1Q{position:absolute;top:.25rem;right:.25rem;width:1.1rem;height:1.1rem;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:1;opacity:.6;transition:opacity .15s ease}.ImageThumbnail-module__removeButton___Ceh1Q:hover{opacity:1}@keyframes Skeleton-module__pulse___8RWFn{0%,to{opacity:.4}50%{opacity:1}}.Skeleton-module__skeleton___CB4uF{background-color:var(--skeleton-color, color-mix(in srgb, currentColor 20%, transparent));animation:Skeleton-module__pulse___8RWFn 2s ease-in-out infinite;display:block;width:100%;height:100%}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:var(--button-padding-small)}.Button-module__sizeLarge___yeZSH{padding:var(--button-padding-large)}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:var(--form-label-padding-bottom)}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormError-module__formError___kaUBn{font-size:.875em;margin-top:var(--form-error-margin-top);font-weight:400}.FormGroup-module__formGroup___aVI-B{display:flex;flex-direction:column;margin-bottom:var(--form-group-margin-bottom)}.FormGroup-module__inputWrapper___429QE{display:flex;flex-direction:column;gap:.5em}.FormGroup-module__indented___t61iz{padding-left:.5em}.FormGroup-module__formGroup___aVI-B.FormGroup-module__disabled___W-tJ0{opacity:.6;pointer-events:none}.FormGroup-module__required___mO3xA{color:inherit;margin-left:.125em}.FormGroup-module__errorMessage___SHzl3{font-size:.875em;margin-top:.25rem;font-weight:400}.Input-module__input___WjT81{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:var(--input-padding-small)}.Input-module__sizeLarge___4Boj3{padding:var(--input-padding-large)}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:var(--textarea-padding-small)}.Textarea-module__sizeLarge___5a3sf{padding:var(--textarea-padding-large)}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:var(--select-padding-small)}.Select-module__sizeLarge___eBA1T{padding:var(--select-padding-large)}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.Hamburger-module__hamburger___Tf4-t{background:transparent;border:none;cursor:pointer;display:none;flex-direction:column;justify-content:space-around;height:2em;outline:none;padding:0;position:relative;width:2em;z-index:11}.Hamburger-module__line___gybZM{background:currentColor;border-radius:var(--hamburger-border-radius, 10px);height:12.5%;position:relative;transform-origin:1px;transition:all .3s linear;width:100%}.Hamburger-module__line___gybZM:first-child{transform:rotate(0)}.Hamburger-module__line___gybZM:nth-child(2){opacity:1;transform:translate(0)}.Hamburger-module__line___gybZM:nth-child(3){transform:rotate(0)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:first-child{transform:rotate(45deg)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(2){opacity:0;transform:translate(20px)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(3){transform:rotate(-45deg)}.Header-module__header___RUooH{width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding);position:relative}.ResponsiveNav-module__nav___xOfv5{display:flex}.ResponsiveNav-module__navMobile___h795P{flex-direction:column;min-height:100%;overflow-x:hidden}.ResponsiveNav-module__navHeader___Me8bB{height:3.5em;flex-shrink:0}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE .ResponsiveNav-module__navHeader___Me8bB{height:3em}.ResponsiveNav-module__navDesktop___9wscZ{align-items:center;flex-direction:row;height:auto}.ResponsiveNav-module__navDesktop___9wscZ>*{margin-left:1.25rem}.Popover-module__triggerWrapper___dZpf6{display:inline-block}.Popover-module__popup___JAvrb{max-height:60vh;min-width:120px;overflow:auto}.Popover-module__panelOverlay___1xDU5{top:0;right:0;bottom:0;left:0;pointer-events:none;position:fixed;z-index:1000}.Popover-module__panelOverlayVisible___BgtIQ{pointer-events:auto}.Popover-module__backdrop___e8qHL{top:0;right:0;bottom:0;left:0;position:absolute;transition:background-color .3s ease}.Popover-module__panel___eUJ2E{bottom:0;overflow-y:auto;padding:1rem;position:absolute;top:0;transition:transform .3s ease-in-out}.Popover-module__panelLeft___9nSLp{left:0;transform:translate(-100%)}.Popover-module__panelRight___OrQfl{right:0;transform:translate(100%)}.Popover-module__panelOpen___hhvV-{transform:translate(0)}.Popover-module__panelCloseButton___kALaN{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;height:1.5rem;justify-content:center;padding:0;position:absolute;right:1rem;top:1rem;width:1.5rem}.Popover-module__panelCloseButton___kALaN:hover{opacity:.7}.NavDropdown-module__trigger___1PQZp{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;font-family:inherit;font-size:inherit;gap:.375rem;padding:0}.NavDropdown-module__chevron___ZLAV7{align-items:center;display:inline-flex;transition:transform .2s ease}.NavDropdown-module__chevronOpen___9mgjr{transform:rotate(180deg)}.Modal-module__backdrop___GVUh4{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1em}.Modal-module__modal___aD7aP{padding:1em;position:relative;display:flex;flex-direction:column;gap:1em;max-height:90vh;box-shadow:0 10px 40px #0003;outline:none}.Modal-module__header___ILG9i{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.Modal-module__title___A5OeE{margin:0;font-size:1.5rem;font-weight:600;flex:1}.Modal-module__closeButton___3LpSf{background:none;border:none;cursor:pointer;padding:0;width:1.75em;height:1.75em;display:flex;align-items:center;justify-content:center;color:inherit;margin-left:auto;opacity:.6;transition:opacity .2s,transform .2s;flex-shrink:0}.Modal-module__closeButton___3LpSf svg{display:block;flex-shrink:0}.Modal-module__content___dWO-B{overflow-y:auto;flex:1}.Modal-module__actions___hY6zi{flex-shrink:0}@media (max-width: calc(var(--breakpoint-md) - 1px)){.Modal-module__backdrop___GVUh4{padding:.5em}.Modal-module__header___ILG9i,.Modal-module__content___dWO-B,.Modal-module__actions___hY6zi{padding:1rem}.Modal-module__title___A5OeE{font-size:1.25em}}.Stack-module__stack___yUU-B{display:flex}.Stack-module__vertical___sKTyQ{flex-direction:column}.Stack-module__horizontal___YsvtV{flex-direction:row;align-items:center}.ResponsiveSection-module__section___gBESK{width:100%;padding:0}.ResponsiveSection-module__innerDiv___r1bky{max-width:var(--max-width);margin:0 auto;padding:var(--section-padding)}.Hero-module__hero___IB2tg{padding:var(--hero-padding, 3rem 0)}.Hero-module__content___rkkfQ h1{font-size:var(--hero-h1-font-size, 2rem);margin-bottom:var(--hero-h1-margin-bottom)}.Hero-module__content___rkkfQ p{font-size:var(--hero-p-font-size, 1.125rem);line-height:1.6}.Footer-module__footer___A76NF{width:100%;margin-top:auto}.Footer-module__container___QneNs{display:flex;align-items:center;justify-content:space-between;margin:0 auto}.FeatureCard-module__card___XQt66{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--feature-card-padding)}.FeatureCard-module__icon___dXJ92{font-size:var(--feature-icon-font-size, 2.5rem);margin-bottom:var(--feature-icon-margin-bottom);color:var(--feature-icon-color, var(--primary-color))}.FeatureCard-module__title___KxXyA{font-size:var(--feature-title-font-size, 1.25rem);font-weight:600;margin-bottom:var(--feature-title-margin-bottom);color:var(--feature-title-color, inherit)}.FeatureCard-module__content___68xkw{font-size:1rem;line-height:1.6;color:var(--feature-content-color, var(--primary-color))}.FeatureGridSection-module__section___wZrbC{padding:var(--section-padding-vertical) 0}.FeatureGridSection-module__grid___iwPJv{display:grid;gap:2rem;grid-template-columns:var(--grid-template-columns, 1fr)}.PageLayout-module__layoutContainer___diLdT{display:flex;flex-direction:column;min-height:100vh}.PageLayout-module__content___h2mBr{flex:1 0 auto;display:flex;flex-direction:column}.PageLayout-module__main___Sw7Pv{flex:1}.FileUpload-module__dropzone___jqua0{border-style:dashed;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:1rem;text-align:center;transition:opacity .15s ease,background-color .15s ease;width:100%}.FileUpload-module__dropzone___jqua0:hover:not(.FileUpload-module__loading___C7PsH){background-color:#00000008}.FileUpload-module__dropzone___jqua0:focus-visible{outline:2px solid var(--upload-color, currentColor);outline-offset:2px}.FileUpload-module__dragOver___q1zPo{background-color:#0000000f}.FileUpload-module__loading___C7PsH{cursor:not-allowed;opacity:.6}.FileUpload-module__hiddenInput___RLLPJ{display:none}.FileUpload-module__content___yCP0l{display:flex;flex-direction:column;align-items:center;gap:.35rem}.FileUpload-module__label___lbMkx{font-weight:600}.FileUpload-module__hint___8dXlk{font-size:.85em;opacity:.7}.FileUpload-module__errorMessage___8HB3n{font-size:.85em;font-weight:600;margin-top:.25rem}.ImageThumbnail-module__thumbnail___-igbe{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.ImageThumbnail-module__img___Q7Z4V{width:100%;height:100%;object-fit:cover;display:block}.ImageThumbnail-module__sizeXs___TvSHV{width:2rem;height:2rem}.ImageThumbnail-module__sizeSm___rtC81{width:3rem;height:3rem}.ImageThumbnail-module__sizeMd___GL9qs{width:4rem;height:4rem}.ImageThumbnail-module__sizeLg___E70Oi{width:5em;height:5em}.ImageThumbnail-module__removeButton___Ceh1Q{position:absolute;top:.25rem;right:.25rem;width:1.1rem;height:1.1rem;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:1;opacity:.6;transition:opacity .15s ease}.ImageThumbnail-module__removeButton___Ceh1Q:hover{opacity:1}@keyframes Skeleton-module__pulse___8RWFn{0%,to{opacity:.4}50%{opacity:1}}.Skeleton-module__skeleton___CB4uF{background-color:var(--skeleton-color, color-mix(in srgb, currentColor 20%, transparent));animation:Skeleton-module__pulse___8RWFn 2s ease-in-out infinite;display:block;width:100%;height:100%}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import { jsx as p, jsxs as I, Fragment as Ce } from "react/jsx-runtime";
|
|
3
3
|
import E, { createContext as mt, useContext as tr, useState as Y, useLayoutEffect as Tr, useSyncExternalStore as Ir, useEffect as le, useCallback as xe, useRef as Fe, useMemo as je } from "react";
|
|
4
4
|
import { createPortal as at } from "react-dom";
|
|
@@ -54,7 +54,7 @@ function $e(e) {
|
|
|
54
54
|
unit: o
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const Xe = {
|
|
58
58
|
primary: "#000",
|
|
59
59
|
secondary: "#FFF",
|
|
60
60
|
accent: "#4381C1",
|
|
@@ -62,7 +62,7 @@ const Ke = {
|
|
|
62
62
|
success: "#008000",
|
|
63
63
|
warning: "#FFEB3B"
|
|
64
64
|
}, it = {
|
|
65
|
-
colors:
|
|
65
|
+
colors: Xe,
|
|
66
66
|
fonts: {
|
|
67
67
|
color: "#000",
|
|
68
68
|
lineHeight: 1.5,
|
|
@@ -81,7 +81,7 @@ const Ke = {
|
|
|
81
81
|
textColor: "#FFF",
|
|
82
82
|
paddingHorizontal: 0.35,
|
|
83
83
|
primary: {
|
|
84
|
-
textColor:
|
|
84
|
+
textColor: Xe.secondary
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
inputs: {
|
|
@@ -111,11 +111,11 @@ const Ke = {
|
|
|
111
111
|
padding: "1rem"
|
|
112
112
|
},
|
|
113
113
|
modal: {
|
|
114
|
-
backgroundColor:
|
|
114
|
+
backgroundColor: Xe.secondary,
|
|
115
115
|
backdropColor: "rgba(0, 0, 0, 0.5)",
|
|
116
116
|
boxShadow: "0 10px 40px rgba(0, 0, 0, 0.2)"
|
|
117
117
|
}
|
|
118
|
-
}, or = mt(it),
|
|
118
|
+
}, or = mt(it), Zn = ({ theme: e, children: r }) => {
|
|
119
119
|
const t = e ? rr(it, e) : it;
|
|
120
120
|
return /* @__PURE__ */ p(or.Provider, { value: t, children: r });
|
|
121
121
|
}, H = () => tr(or), qr = ({
|
|
@@ -195,10 +195,10 @@ function nr(e, r, t) {
|
|
|
195
195
|
r[o + n] = s[n];
|
|
196
196
|
return r || Qr(s);
|
|
197
197
|
}
|
|
198
|
-
const
|
|
199
|
-
container:
|
|
200
|
-
svg:
|
|
201
|
-
label:
|
|
198
|
+
const Xr = "Checkbox-module__container___aV9qz", Kr = "Checkbox-module__svg___kkluC", Jr = "Checkbox-module__label___cwRtI", Ke = {
|
|
199
|
+
container: Xr,
|
|
200
|
+
svg: Kr,
|
|
201
|
+
label: Jr
|
|
202
202
|
}, Yr = ({
|
|
203
203
|
color: e = "#000",
|
|
204
204
|
checkmarkColor: r,
|
|
@@ -298,7 +298,7 @@ const Kr = "Checkbox-module__container___aV9qz", Jr = "Checkbox-module__svg___kk
|
|
|
298
298
|
stroke: g.checkmarkColor,
|
|
299
299
|
strokeWidth: "15",
|
|
300
300
|
fill: "transparent"
|
|
301
|
-
}, Z = [
|
|
301
|
+
}, Z = [Ke.container, h].filter(Boolean).join(" ");
|
|
302
302
|
return /* @__PURE__ */ I("div", { ...C, className: Z, style: z, children: [
|
|
303
303
|
/* @__PURE__ */ p(
|
|
304
304
|
"input",
|
|
@@ -319,7 +319,7 @@ const Kr = "Checkbox-module__container___aV9qz", Jr = "Checkbox-module__svg___kk
|
|
|
319
319
|
viewBox: "0 0 100 100",
|
|
320
320
|
onClick: () => F({ target: { checked: !t, name: a, type: "checkbox" } }),
|
|
321
321
|
style: N,
|
|
322
|
-
className:
|
|
322
|
+
className: Ke.svg,
|
|
323
323
|
children: [
|
|
324
324
|
/* @__PURE__ */ p("rect", { x: "0", y: "0", height: "100", width: "100", style: M }),
|
|
325
325
|
t && /* @__PURE__ */ p("path", { d: "M 25 45 L 45 65 L 75 30", style: B })
|
|
@@ -330,7 +330,7 @@ const Kr = "Checkbox-module__container___aV9qz", Jr = "Checkbox-module__svg___kk
|
|
|
330
330
|
yt,
|
|
331
331
|
{
|
|
332
332
|
htmlFor: _,
|
|
333
|
-
className:
|
|
333
|
+
className: Ke.label,
|
|
334
334
|
style: { paddingBottom: 0, ...d },
|
|
335
335
|
color: g.checkboxColor,
|
|
336
336
|
disabled: s,
|
|
@@ -339,20 +339,20 @@ const Kr = "Checkbox-module__container___aV9qz", Jr = "Checkbox-module__svg___kk
|
|
|
339
339
|
}
|
|
340
340
|
)
|
|
341
341
|
] });
|
|
342
|
-
},
|
|
342
|
+
}, Qn = () => {
|
|
343
343
|
const e = H();
|
|
344
344
|
return Tr(() => {
|
|
345
345
|
const r = document.documentElement;
|
|
346
346
|
e.fonts && (e.fonts.fontFamily && r.style.setProperty("--font-family", e.fonts.fontFamily), e.fonts.size && r.style.setProperty("--font-size", e.fonts.size), e.fonts.lineHeight !== void 0 && r.style.setProperty("--line-height", e.fonts.lineHeight.toString()), e.fonts.fontWeightHeader !== void 0 && r.style.setProperty("--font-weight-header", e.fonts.fontWeightHeader.toString()), e.fonts.fontSizeH1 && r.style.setProperty("--font-size-h1", e.fonts.fontSizeH1), e.fonts.fontSizeH2 && r.style.setProperty("--font-size-h2", e.fonts.fontSizeH2), e.fonts.fontSizeH3 && r.style.setProperty("--font-size-h3", e.fonts.fontSizeH3), e.fonts.fontSizeH4 && r.style.setProperty("--font-size-h4", e.fonts.fontSizeH4), e.fonts.fontSizeH5 && r.style.setProperty("--font-size-h5", e.fonts.fontSizeH5), e.fonts.fontSizeH6 && r.style.setProperty("--font-size-h6", e.fonts.fontSizeH6)), e.colors && (e.colors.primary && r.style.setProperty("--primary-color", e.colors.primary), e.colors.secondary && r.style.setProperty("--background-color", e.colors.secondary), e.colors.accent && r.style.setProperty("--accent-color", e.colors.accent)), e.breakpoints && (e.breakpoints.xs && r.style.setProperty("--breakpoint-xs", e.breakpoints.xs), e.breakpoints.sm && r.style.setProperty("--breakpoint-sm", e.breakpoints.sm), e.breakpoints.md && r.style.setProperty("--breakpoint-md", e.breakpoints.md), e.breakpoints.lg && r.style.setProperty("--breakpoint-lg", e.breakpoints.lg)), e.layout && (e.layout.maxWidth && r.style.setProperty("--layout-max-width", e.layout.maxWidth), e.layout.paddingSm && r.style.setProperty("--layout-wrapper-padding-sm", e.layout.paddingSm), e.layout.padding && r.style.setProperty("--layout-wrapper-padding", e.layout.padding));
|
|
347
347
|
}, [e]), null;
|
|
348
348
|
};
|
|
349
|
-
var Le = (e) => e.type === "checkbox",
|
|
349
|
+
var Le = (e) => e.type === "checkbox", pe = (e) => e instanceof Date, ee = (e) => e == null;
|
|
350
350
|
const ar = (e) => typeof e == "object";
|
|
351
|
-
var G = (e) => !ee(e) && !Array.isArray(e) && ar(e) && !
|
|
351
|
+
var G = (e) => !ee(e) && !Array.isArray(e) && ar(e) && !pe(e), ir = (e) => G(e) && e.target ? Le(e.target) ? e.target.checked : e.target.value : e, oo = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, lr = (e, r) => e.has(oo(r)), so = (e) => {
|
|
352
352
|
const r = e.constructor && e.constructor.prototype;
|
|
353
353
|
return G(r) && r.hasOwnProperty("isPrototypeOf");
|
|
354
354
|
}, ht = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
355
|
-
function
|
|
355
|
+
function K(e) {
|
|
356
356
|
let r;
|
|
357
357
|
const t = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
358
358
|
if (e instanceof Date)
|
|
@@ -362,7 +362,7 @@ function J(e) {
|
|
|
362
362
|
r = e;
|
|
363
363
|
else
|
|
364
364
|
for (const s in e)
|
|
365
|
-
e.hasOwnProperty(s) && (r[s] =
|
|
365
|
+
e.hasOwnProperty(s) && (r[s] = K(e[s]));
|
|
366
366
|
else
|
|
367
367
|
return e;
|
|
368
368
|
return r;
|
|
@@ -451,7 +451,7 @@ var oe = (e) => typeof e == "string", ct = (e, r, t, o, s) => oe(e) ? (o && r.wa
|
|
|
451
451
|
function ae(e, r, t = /* @__PURE__ */ new WeakSet()) {
|
|
452
452
|
if (ut(e) || ut(r))
|
|
453
453
|
return e === r;
|
|
454
|
-
if (
|
|
454
|
+
if (pe(e) && pe(r))
|
|
455
455
|
return e.getTime() === r.getTime();
|
|
456
456
|
const o = Object.keys(e), s = Object.keys(r);
|
|
457
457
|
if (o.length !== s.length)
|
|
@@ -465,7 +465,7 @@ function ae(e, r, t = /* @__PURE__ */ new WeakSet()) {
|
|
|
465
465
|
return !1;
|
|
466
466
|
if (n !== "ref") {
|
|
467
467
|
const i = r[n];
|
|
468
|
-
if (
|
|
468
|
+
if (pe(a) && pe(i) || G(a) && G(i) || Array.isArray(a) && Array.isArray(i) ? !ae(a, i, t) : a !== i)
|
|
469
469
|
return !1;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -584,7 +584,7 @@ function io(e) {
|
|
|
584
584
|
Z && Z._f && (Z._f.mount = B);
|
|
585
585
|
};
|
|
586
586
|
if (N(t, !0), F) {
|
|
587
|
-
const M =
|
|
587
|
+
const M = K(w(s._options.defaultValues, t, h.current.defaultValue));
|
|
588
588
|
T(s._defaultValues, t, M), U(w(s._formValues, t)) && T(s._formValues, t, M);
|
|
589
589
|
}
|
|
590
590
|
return !i && s.register(t), m.current = t, () => {
|
|
@@ -639,12 +639,12 @@ function dr(e, r) {
|
|
|
639
639
|
}
|
|
640
640
|
return t;
|
|
641
641
|
}
|
|
642
|
-
var
|
|
642
|
+
var J = (e) => G(e) && !Object.keys(e).length, St = (e) => e.type === "file", ie = (e) => typeof e == "function", Ie = (e) => {
|
|
643
643
|
if (!ht)
|
|
644
644
|
return !1;
|
|
645
645
|
const r = e ? e.ownerDocument : 0;
|
|
646
646
|
return e instanceof (r && r.defaultView ? r.defaultView.HTMLElement : HTMLElement);
|
|
647
|
-
}, fr = (e) => e.type === "select-multiple", wt = (e) => e.type === "radio", lo = (e) => wt(e) || Le(e),
|
|
647
|
+
}, fr = (e) => e.type === "select-multiple", wt = (e) => e.type === "radio", lo = (e) => wt(e) || Le(e), Je = (e) => Ie(e) && e.isConnected;
|
|
648
648
|
function co(e, r) {
|
|
649
649
|
const t = r.slice(0, -1).length;
|
|
650
650
|
let o = 0;
|
|
@@ -660,7 +660,7 @@ function uo(e) {
|
|
|
660
660
|
}
|
|
661
661
|
function q(e, r) {
|
|
662
662
|
const t = Array.isArray(r) ? r : Ue(r) ? [r] : pt(r), o = t.length === 1 ? e : co(e, t), s = t.length - 1, n = t[s];
|
|
663
|
-
return o && delete o[n], s !== 0 && (G(o) &&
|
|
663
|
+
return o && delete o[n], s !== 0 && (G(o) && J(o) || Array.isArray(o) && uo(o)) && q(e, t.slice(0, -1)), e;
|
|
664
664
|
}
|
|
665
665
|
var fo = (e) => {
|
|
666
666
|
for (const r in e)
|
|
@@ -780,7 +780,7 @@ function jt(e, r, t) {
|
|
|
780
780
|
var _o = (e, r, t, o) => {
|
|
781
781
|
t(e);
|
|
782
782
|
const { name: s, ...n } = e;
|
|
783
|
-
return
|
|
783
|
+
return J(n) || Object.keys(n).length >= Object.keys(r).length || Object.keys(n).find((a) => r[a] === (!o || ne.all));
|
|
784
784
|
}, po = (e, r, t) => !e || !r || e === r || Ee(e).some((o) => o && (t ? o === r : o.startsWith(r) || r.startsWith(o))), go = (e, r, t, o, s) => s.isOnAll ? !1 : !t && s.isOnTouch ? !(r || e) : (t ? o.isOnBlur : s.isOnBlur) ? !e : (t ? o.isOnChange : s.isOnChange) ? e : !0, vo = (e, r) => !_t(w(e, r)).length && q(e, r), bo = (e, r, t) => {
|
|
785
785
|
const o = Ee(w(e, t));
|
|
786
786
|
return T(o, "root", r[t]), T(e, t, o), e;
|
|
@@ -793,7 +793,7 @@ function Ut(e, r, t = "validate") {
|
|
|
793
793
|
ref: r
|
|
794
794
|
};
|
|
795
795
|
}
|
|
796
|
-
var
|
|
796
|
+
var be = (e) => G(e) && !He(e) ? e : {
|
|
797
797
|
value: e,
|
|
798
798
|
message: ""
|
|
799
799
|
}, Wt = async (e, r, t, o, s, n) => {
|
|
@@ -802,17 +802,17 @@ var ve = (e) => G(e) && !He(e) ? e : {
|
|
|
802
802
|
return {};
|
|
803
803
|
const F = i ? i[0] : a, z = (L) => {
|
|
804
804
|
s && F.reportValidity && (F.setCustomValidity(re(L) ? "" : L || ""), F.reportValidity());
|
|
805
|
-
}, N = {}, M = wt(a), B = Le(a), Z = M || B, P = (x || St(a)) && U(a.value) && U(g) || Ie(a) && a.value === "" || g === "" || Array.isArray(g) && !g.length, Q = bt.bind(null, _, o, N), W = (L, A, D, R = de.maxLength,
|
|
805
|
+
}, N = {}, M = wt(a), B = Le(a), Z = M || B, P = (x || St(a)) && U(a.value) && U(g) || Ie(a) && a.value === "" || g === "" || Array.isArray(g) && !g.length, Q = bt.bind(null, _, o, N), W = (L, A, D, R = de.maxLength, X = de.minLength) => {
|
|
806
806
|
const te = L ? A : D;
|
|
807
807
|
N[_] = {
|
|
808
|
-
type: L ? R :
|
|
808
|
+
type: L ? R : X,
|
|
809
809
|
message: te,
|
|
810
810
|
ref: a,
|
|
811
|
-
...Q(L ? R :
|
|
811
|
+
...Q(L ? R : X, te)
|
|
812
812
|
};
|
|
813
813
|
};
|
|
814
814
|
if (n ? !Array.isArray(g) || !g.length : f && (!Z && (P || ee(g)) || re(g) && !g || B && !yr(i).isValid || M && !_r(i).isValid)) {
|
|
815
|
-
const { value: L, message: A } = oe(f) ? { value: !!f, message: f } :
|
|
815
|
+
const { value: L, message: A } = oe(f) ? { value: !!f, message: f } : be(f);
|
|
816
816
|
if (L && (N[_] = {
|
|
817
817
|
type: de.required,
|
|
818
818
|
message: A,
|
|
@@ -823,24 +823,24 @@ var ve = (e) => G(e) && !He(e) ? e : {
|
|
|
823
823
|
}
|
|
824
824
|
if (!P && (!ee(h) || !ee(m))) {
|
|
825
825
|
let L, A;
|
|
826
|
-
const D =
|
|
826
|
+
const D = be(m), R = be(h);
|
|
827
827
|
if (!ee(g) && !isNaN(g)) {
|
|
828
|
-
const
|
|
829
|
-
ee(D.value) || (L =
|
|
828
|
+
const X = a.valueAsNumber || g && +g;
|
|
829
|
+
ee(D.value) || (L = X > D.value), ee(R.value) || (A = X < R.value);
|
|
830
830
|
} else {
|
|
831
|
-
const
|
|
832
|
-
oe(D.value) && g && (L = me ? te(g) > te(D.value) :
|
|
831
|
+
const X = a.valueAsDate || new Date(g), te = (Ae) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ae), me = a.type == "time", ve = a.type == "week";
|
|
832
|
+
oe(D.value) && g && (L = me ? te(g) > te(D.value) : ve ? g > D.value : X > new Date(D.value)), oe(R.value) && g && (A = me ? te(g) < te(R.value) : ve ? g < R.value : X < new Date(R.value));
|
|
833
833
|
}
|
|
834
834
|
if ((L || A) && (W(!!L, D.message, R.message, de.max, de.min), !o))
|
|
835
835
|
return z(N[_].message), N;
|
|
836
836
|
}
|
|
837
837
|
if ((c || d) && !P && (oe(g) || n && Array.isArray(g))) {
|
|
838
|
-
const L =
|
|
838
|
+
const L = be(c), A = be(d), D = !ee(L.value) && g.length > +L.value, R = !ee(A.value) && g.length < +A.value;
|
|
839
839
|
if ((D || R) && (W(D, L.message, A.message), !o))
|
|
840
840
|
return z(N[_].message), N;
|
|
841
841
|
}
|
|
842
842
|
if (C && !P && oe(g)) {
|
|
843
|
-
const { value: L, message: A } =
|
|
843
|
+
const { value: L, message: A } = be(C);
|
|
844
844
|
if (He(L) && !g.match(L) && (N[_] = {
|
|
845
845
|
type: de.pattern,
|
|
846
846
|
message: A,
|
|
@@ -860,7 +860,7 @@ var ve = (e) => G(e) && !He(e) ? e : {
|
|
|
860
860
|
} else if (G(b)) {
|
|
861
861
|
let L = {};
|
|
862
862
|
for (const A in b) {
|
|
863
|
-
if (!
|
|
863
|
+
if (!J(L) && !o)
|
|
864
864
|
break;
|
|
865
865
|
const D = Ut(await b[A](g, t), F, A);
|
|
866
866
|
D && (L = {
|
|
@@ -868,7 +868,7 @@ var ve = (e) => G(e) && !He(e) ? e : {
|
|
|
868
868
|
...Q(A, D.message)
|
|
869
869
|
}, z(D.message), o && (N[_] = L));
|
|
870
870
|
}
|
|
871
|
-
if (!
|
|
871
|
+
if (!J(L) && (N[_] = {
|
|
872
872
|
ref: F,
|
|
873
873
|
...L
|
|
874
874
|
}, !o))
|
|
@@ -901,7 +901,7 @@ function wo(e = {}) {
|
|
|
901
901
|
validatingFields: {},
|
|
902
902
|
errors: r.errors || {},
|
|
903
903
|
disabled: r.disabled || !1
|
|
904
|
-
}, o = {}, s = G(r.defaultValues) || G(r.values) ?
|
|
904
|
+
}, o = {}, s = G(r.defaultValues) || G(r.values) ? K(r.defaultValues || r.values) || {} : {}, n = r.shouldUnregister ? {} : K(s), a = {
|
|
905
905
|
action: !1,
|
|
906
906
|
mount: !1,
|
|
907
907
|
watch: !1
|
|
@@ -931,7 +931,7 @@ function wo(e = {}) {
|
|
|
931
931
|
clearTimeout(c), c = setTimeout(l, u);
|
|
932
932
|
}, _ = async (l) => {
|
|
933
933
|
if (!r.disabled && (d.isValid || h.isValid || l)) {
|
|
934
|
-
const u = r.resolver ?
|
|
934
|
+
const u = r.resolver ? J((await B()).errors) : await P(o, !0);
|
|
935
935
|
u !== t.isValid && m.state.next({
|
|
936
936
|
isValid: u
|
|
937
937
|
});
|
|
@@ -941,7 +941,7 @@ function wo(e = {}) {
|
|
|
941
941
|
y && (u ? T(t.validatingFields, y, u) : q(t.validatingFields, y));
|
|
942
942
|
}), m.state.next({
|
|
943
943
|
validatingFields: t.validatingFields,
|
|
944
|
-
isValidating: !
|
|
944
|
+
isValidating: !J(t.validatingFields)
|
|
945
945
|
}));
|
|
946
946
|
}, V = (l, u = [], y, k, S = !0, v = !0) => {
|
|
947
947
|
if (k && y && !r.disabled) {
|
|
@@ -1001,7 +1001,7 @@ function wo(e = {}) {
|
|
|
1001
1001
|
return v ? O : {};
|
|
1002
1002
|
}, M = (l, u, y, k) => {
|
|
1003
1003
|
const S = w(t.errors, l), v = (d.isValid || h.isValid) && re(u) && t.isValid !== u;
|
|
1004
|
-
if (r.delayError && y ? (f = b(() => g(l, y)), f(r.delayError)) : (clearTimeout(c), f = null, y ? T(t.errors, l, y) : q(t.errors, l)), (y ? !ae(S, y) : S) || !
|
|
1004
|
+
if (r.delayError && y ? (f = b(() => g(l, y)), f(r.delayError)) : (clearTimeout(c), f = null, y ? T(t.errors, l, y) : q(t.errors, l)), (y ? !ae(S, y) : S) || !J(k) || v) {
|
|
1005
1005
|
const $ = {
|
|
1006
1006
|
...k,
|
|
1007
1007
|
...v && re(u) ? { isValid: u } : {},
|
|
@@ -1042,14 +1042,14 @@ function wo(e = {}) {
|
|
|
1042
1042
|
break;
|
|
1043
1043
|
!u && (w(se, v.name) ? O ? bo(t.errors, se, v.name) : T(t.errors, v.name, se[v.name]) : q(t.errors, v.name));
|
|
1044
1044
|
}
|
|
1045
|
-
!
|
|
1045
|
+
!J($) && await P($, u, y);
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
1048
|
return y.valid;
|
|
1049
1049
|
}, Q = () => {
|
|
1050
1050
|
for (const l of i.unMount) {
|
|
1051
1051
|
const u = w(o, l);
|
|
1052
|
-
u && (u._f.refs ? u._f.refs.every((y) => !
|
|
1052
|
+
u && (u._f.refs ? u._f.refs.every((y) => !Je(y)) : !Je(u._f.ref)) && We(l);
|
|
1053
1053
|
}
|
|
1054
1054
|
i.unMount = /* @__PURE__ */ new Set();
|
|
1055
1055
|
}, W = (l, u) => !r.disabled && (l && u && T(n, l, u), !ae(Ae(), s)), L = (l, u, y) => ct(l, i, {
|
|
@@ -1063,67 +1063,67 @@ function wo(e = {}) {
|
|
|
1063
1063
|
(!$.defaultChecked || !$.disabled) && (Array.isArray(S) ? $.checked = !!S.find((O) => O === $.value) : $.checked = S === $.value || !!S);
|
|
1064
1064
|
}) : v.refs.forEach(($) => $.checked = $.value === S) : St(v.ref) ? v.ref.value = "" : (v.ref.value = S, v.ref.type || m.state.next({
|
|
1065
1065
|
name: l,
|
|
1066
|
-
values:
|
|
1066
|
+
values: K(n)
|
|
1067
1067
|
})));
|
|
1068
1068
|
}
|
|
1069
|
-
(y.shouldDirty || y.shouldTouch) && N(l, S, y.shouldTouch, y.shouldDirty, !0), y.shouldValidate &&
|
|
1069
|
+
(y.shouldDirty || y.shouldTouch) && N(l, S, y.shouldTouch, y.shouldDirty, !0), y.shouldValidate && ve(l);
|
|
1070
1070
|
}, R = (l, u, y) => {
|
|
1071
1071
|
for (const k in u) {
|
|
1072
1072
|
if (!u.hasOwnProperty(k))
|
|
1073
1073
|
return;
|
|
1074
1074
|
const S = u[k], v = l + "." + k, $ = w(o, v);
|
|
1075
|
-
(i.array.has(l) || G(S) || $ && !$._f) && !
|
|
1075
|
+
(i.array.has(l) || G(S) || $ && !$._f) && !pe(S) ? R(v, S, y) : D(v, S, y);
|
|
1076
1076
|
}
|
|
1077
|
-
},
|
|
1078
|
-
const k = w(o, l), S = i.array.has(l), v =
|
|
1077
|
+
}, X = (l, u, y = {}) => {
|
|
1078
|
+
const k = w(o, l), S = i.array.has(l), v = K(u);
|
|
1079
1079
|
T(n, l, v), S ? (m.array.next({
|
|
1080
1080
|
name: l,
|
|
1081
|
-
values:
|
|
1081
|
+
values: K(n)
|
|
1082
1082
|
}), (d.isDirty || d.dirtyFields || h.isDirty || h.dirtyFields) && y.shouldDirty && m.state.next({
|
|
1083
1083
|
name: l,
|
|
1084
1084
|
dirtyFields: we(s, n),
|
|
1085
1085
|
isDirty: W(l, v)
|
|
1086
1086
|
})) : k && !k._f && !ee(v) ? R(l, v, y) : D(l, v, y), Ht(l, i) && m.state.next({ ...t, name: l }), m.state.next({
|
|
1087
1087
|
name: a.mount ? l : void 0,
|
|
1088
|
-
values:
|
|
1088
|
+
values: K(n)
|
|
1089
1089
|
});
|
|
1090
1090
|
}, te = async (l) => {
|
|
1091
1091
|
a.mount = !0;
|
|
1092
1092
|
const u = l.target;
|
|
1093
1093
|
let y = u.name, k = !0;
|
|
1094
1094
|
const S = w(o, y), v = (j) => {
|
|
1095
|
-
k = Number.isNaN(j) ||
|
|
1095
|
+
k = Number.isNaN(j) || pe(j) && isNaN(j.getTime()) || ae(j, w(n, y, j));
|
|
1096
1096
|
}, $ = Tt(r.mode), O = Tt(r.reValidateMode);
|
|
1097
1097
|
if (S) {
|
|
1098
1098
|
let j, se;
|
|
1099
1099
|
const Pe = u.type ? Ot(S._f) : ir(l), ye = l.type === Te.BLUR || l.type === Te.FOCUS_OUT, Dr = !ho(S._f) && !r.resolver && !w(t.errors, y) && !S._f.deps || go(ye, w(t.touchedFields, y), t.isSubmitted, O, $), Ze = Ht(y, i, ye);
|
|
1100
1100
|
T(n, y, Pe), ye ? (!u || !u.readOnly) && (S._f.onBlur && S._f.onBlur(l), f && f(0)) : S._f.onChange && S._f.onChange(l);
|
|
1101
|
-
const Qe = N(y, Pe, ye), Rr = !
|
|
1101
|
+
const Qe = N(y, Pe, ye), Rr = !J(Qe) || Ze;
|
|
1102
1102
|
if (!ye && m.state.next({
|
|
1103
1103
|
name: y,
|
|
1104
1104
|
type: l.type,
|
|
1105
|
-
values:
|
|
1105
|
+
values: K(n)
|
|
1106
1106
|
}), Dr)
|
|
1107
1107
|
return (d.isValid || h.isValid) && (r.mode === "onBlur" ? ye && _() : ye || _()), Rr && m.state.next({ name: y, ...Ze ? {} : Qe });
|
|
1108
1108
|
if (!ye && Ze && m.state.next({ ...t }), r.resolver) {
|
|
1109
1109
|
const { errors: $t } = await B([y]);
|
|
1110
1110
|
if (v(Pe), k) {
|
|
1111
1111
|
const Or = jt(t.errors, o, y), Lt = jt($t, o, Or.name || y);
|
|
1112
|
-
j = Lt.error, y = Lt.name, se =
|
|
1112
|
+
j = Lt.error, y = Lt.name, se = J($t);
|
|
1113
1113
|
}
|
|
1114
1114
|
} else
|
|
1115
1115
|
x([y], !0), j = (await Wt(S, i.disabled, n, C, r.shouldUseNativeValidation))[y], x([y]), v(Pe), k && (j ? se = !1 : (d.isValid || h.isValid) && (se = await P(o, !0)));
|
|
1116
|
-
k && (S._f.deps && (!Array.isArray(S._f.deps) || S._f.deps.length > 0) &&
|
|
1116
|
+
k && (S._f.deps && (!Array.isArray(S._f.deps) || S._f.deps.length > 0) && ve(S._f.deps), M(y, se, j, Qe));
|
|
1117
1117
|
}
|
|
1118
1118
|
}, me = (l, u) => {
|
|
1119
1119
|
if (w(t.errors, u) && l.focus)
|
|
1120
1120
|
return l.focus(), 1;
|
|
1121
|
-
},
|
|
1121
|
+
}, ve = async (l, u = {}) => {
|
|
1122
1122
|
let y, k;
|
|
1123
1123
|
const S = Ee(l);
|
|
1124
1124
|
if (r.resolver) {
|
|
1125
1125
|
const v = await Z(U(l) ? l : S);
|
|
1126
|
-
y =
|
|
1126
|
+
y = J(v), k = l ? !S.some(($) => w(v, $)) : y;
|
|
1127
1127
|
} else l ? (k = (await Promise.all(S.map(async (v) => {
|
|
1128
1128
|
const $ = w(o, v);
|
|
1129
1129
|
return await P($ && $._f ? { [v]: $ } : $);
|
|
@@ -1180,7 +1180,7 @@ function wo(e = {}) {
|
|
|
1180
1180
|
for (const y of l ? Ee(l) : i.mount)
|
|
1181
1181
|
i.mount.delete(y), i.array.delete(y), u.keepValue || (q(o, y), q(n, y)), !u.keepError && q(t.errors, y), !u.keepDirty && q(t.dirtyFields, y), !u.keepTouched && q(t.touchedFields, y), !u.keepIsValidating && q(t.validatingFields, y), !r.shouldUnregister && !u.keepDefaultValue && q(s, y);
|
|
1182
1182
|
m.state.next({
|
|
1183
|
-
values:
|
|
1183
|
+
values: K(n)
|
|
1184
1184
|
}), m.state.next({
|
|
1185
1185
|
...t,
|
|
1186
1186
|
...u.keepDirty ? { isDirty: W() } : {}
|
|
@@ -1225,7 +1225,7 @@ function wo(e = {}) {
|
|
|
1225
1225
|
...y._f,
|
|
1226
1226
|
...$ ? {
|
|
1227
1227
|
refs: [
|
|
1228
|
-
...O.filter(
|
|
1228
|
+
...O.filter(Je),
|
|
1229
1229
|
v,
|
|
1230
1230
|
...Array.isArray(w(s, l)) ? [{}] : []
|
|
1231
1231
|
],
|
|
@@ -1247,18 +1247,18 @@ function wo(e = {}) {
|
|
|
1247
1247
|
}, Vt = (l, u) => async (y) => {
|
|
1248
1248
|
let k;
|
|
1249
1249
|
y && (y.preventDefault && y.preventDefault(), y.persist && y.persist());
|
|
1250
|
-
let S =
|
|
1250
|
+
let S = K(n);
|
|
1251
1251
|
if (m.state.next({
|
|
1252
1252
|
isSubmitting: !0
|
|
1253
1253
|
}), r.resolver) {
|
|
1254
1254
|
const { errors: v, values: $ } = await B();
|
|
1255
|
-
t.errors = v, S =
|
|
1255
|
+
t.errors = v, S = K($);
|
|
1256
1256
|
} else
|
|
1257
1257
|
await P(o);
|
|
1258
1258
|
if (i.disabled.size)
|
|
1259
1259
|
for (const v of i.disabled)
|
|
1260
1260
|
q(S, v);
|
|
1261
|
-
if (q(t.errors, "root"),
|
|
1261
|
+
if (q(t.errors, "root"), J(t.errors)) {
|
|
1262
1262
|
m.state.next({
|
|
1263
1263
|
errors: {}
|
|
1264
1264
|
});
|
|
@@ -1272,15 +1272,15 @@ function wo(e = {}) {
|
|
|
1272
1272
|
if (m.state.next({
|
|
1273
1273
|
isSubmitted: !0,
|
|
1274
1274
|
isSubmitting: !1,
|
|
1275
|
-
isSubmitSuccessful:
|
|
1275
|
+
isSubmitSuccessful: J(t.errors) && !k,
|
|
1276
1276
|
submitCount: t.submitCount + 1,
|
|
1277
1277
|
errors: t.errors
|
|
1278
1278
|
}), k)
|
|
1279
1279
|
throw k;
|
|
1280
1280
|
}, Pr = (l, u = {}) => {
|
|
1281
|
-
w(o, l) && (U(u.defaultValue) ?
|
|
1281
|
+
w(o, l) && (U(u.defaultValue) ? X(l, K(w(s, l))) : (X(l, u.defaultValue), T(s, l, K(u.defaultValue))), u.keepTouched || q(t.touchedFields, l), u.keepDirty || (q(t.dirtyFields, l), t.isDirty = u.defaultValue ? W(l, K(w(s, l))) : W()), u.keepError || (q(t.errors, l), d.isValid && _()), m.state.next({ ...t }));
|
|
1282
1282
|
}, zt = (l, u = {}) => {
|
|
1283
|
-
const y = l ?
|
|
1283
|
+
const y = l ? K(l) : s, k = K(y), S = J(l), v = S ? s : k;
|
|
1284
1284
|
if (u.keepDefaultValues || (s = y), !u.keepValues) {
|
|
1285
1285
|
if (u.keepDirtyValues) {
|
|
1286
1286
|
const $ = /* @__PURE__ */ new Set([
|
|
@@ -1288,7 +1288,7 @@ function wo(e = {}) {
|
|
|
1288
1288
|
...Object.keys(we(s, n))
|
|
1289
1289
|
]);
|
|
1290
1290
|
for (const O of Array.from($))
|
|
1291
|
-
w(t.dirtyFields, O) ? T(v, O, w(n, O)) :
|
|
1291
|
+
w(t.dirtyFields, O) ? T(v, O, w(n, O)) : X(O, w(v, O));
|
|
1292
1292
|
} else {
|
|
1293
1293
|
if (ht && U(l))
|
|
1294
1294
|
for (const $ of i.mount) {
|
|
@@ -1306,11 +1306,11 @@ function wo(e = {}) {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
if (u.keepFieldsRef)
|
|
1308
1308
|
for (const $ of i.mount)
|
|
1309
|
-
|
|
1309
|
+
X($, w(v, $));
|
|
1310
1310
|
else
|
|
1311
1311
|
o = {};
|
|
1312
1312
|
}
|
|
1313
|
-
n = r.shouldUnregister ? u.keepDefaultValues ?
|
|
1313
|
+
n = r.shouldUnregister ? u.keepDefaultValues ? K(s) : {} : K(v), m.array.next({
|
|
1314
1314
|
values: { ...v }
|
|
1315
1315
|
}), m.state.next({
|
|
1316
1316
|
values: { ...v }
|
|
@@ -1324,7 +1324,7 @@ function wo(e = {}) {
|
|
|
1324
1324
|
watch: /* @__PURE__ */ new Set(),
|
|
1325
1325
|
watchAll: !1,
|
|
1326
1326
|
focus: ""
|
|
1327
|
-
}, a.mount = !d.isValid || !!u.keepIsValid || !!u.keepDirtyValues || !r.shouldUnregister && !
|
|
1327
|
+
}, a.mount = !d.isValid || !!u.keepIsValid || !!u.keepDirtyValues || !r.shouldUnregister && !J(v), a.watch = !!r.shouldUnregister, m.state.next({
|
|
1328
1328
|
submitCount: u.keepSubmitCount ? t.submitCount : 0,
|
|
1329
1329
|
isDirty: S ? !1 : u.keepDirty ? t.isDirty : !!(u.keepDefaultValues && !ae(l, s)),
|
|
1330
1330
|
isSubmitted: u.keepIsSubmitted ? t.isSubmitted : !1,
|
|
@@ -1408,11 +1408,11 @@ function wo(e = {}) {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
},
|
|
1410
1410
|
subscribe: Lr,
|
|
1411
|
-
trigger:
|
|
1411
|
+
trigger: ve,
|
|
1412
1412
|
register: qe,
|
|
1413
1413
|
handleSubmit: Vt,
|
|
1414
1414
|
watch: $r,
|
|
1415
|
-
setValue:
|
|
1415
|
+
setValue: X,
|
|
1416
1416
|
getValues: Ae,
|
|
1417
1417
|
reset: Et,
|
|
1418
1418
|
resetField: Pr,
|
|
@@ -1717,7 +1717,7 @@ function Do({
|
|
|
1717
1717
|
}), d = c.handleSubmit(e);
|
|
1718
1718
|
return /* @__PURE__ */ p(kr.Provider, { value: c, children: /* @__PURE__ */ p("form", { ...f, className: a, style: i, onSubmit: d, children: typeof r == "function" ? r(c) : r }) });
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1720
|
+
const Xn = Do, Ro = "FormError-module__formError___kaUBn", Oo = {
|
|
1721
1721
|
formError: Ro
|
|
1722
1722
|
}, To = ({
|
|
1723
1723
|
// Color prop
|
|
@@ -1737,7 +1737,7 @@ const Qn = Do, Ro = "FormError-module__formError___kaUBn", Oo = {
|
|
|
1737
1737
|
// Top level style prop overrides
|
|
1738
1738
|
}, i = [Oo.formError, t].filter(Boolean).join(" ");
|
|
1739
1739
|
return /* @__PURE__ */ p("div", { ...s, className: i, style: a, role: "alert", "aria-live": "polite", children: r });
|
|
1740
|
-
}, Io = "FormGroup-module__formGroup___aVI-B", Ho = "FormGroup-module__inputWrapper___429QE", jo = "FormGroup-module__indented___t61iz", Uo = "FormGroup-module__disabled___W-tJ0", Wo = "FormGroup-module__required___mO3xA",
|
|
1740
|
+
}, Io = "FormGroup-module__formGroup___aVI-B", Ho = "FormGroup-module__inputWrapper___429QE", jo = "FormGroup-module__indented___t61iz", Uo = "FormGroup-module__disabled___W-tJ0", Wo = "FormGroup-module__required___mO3xA", Se = {
|
|
1741
1741
|
formGroup: Io,
|
|
1742
1742
|
inputWrapper: Ho,
|
|
1743
1743
|
indented: jo,
|
|
@@ -1764,9 +1764,9 @@ const Qn = Do, Ro = "FormError-module__formError___kaUBn", Oo = {
|
|
|
1764
1764
|
divProps: h
|
|
1765
1765
|
}) => {
|
|
1766
1766
|
const m = H(), C = [
|
|
1767
|
-
|
|
1768
|
-
r ?
|
|
1769
|
-
e ?
|
|
1767
|
+
Se.formGroup,
|
|
1768
|
+
r ? Se.error : "",
|
|
1769
|
+
e ? Se.disabled : "",
|
|
1770
1770
|
c
|
|
1771
1771
|
].filter(Boolean).join(" "), b = {
|
|
1772
1772
|
"--form-group-margin-bottom": `calc(${m.fonts.rhythm} * 0.35)`,
|
|
@@ -1782,16 +1782,16 @@ const Qn = Do, Ro = "FormError-module__formError___kaUBn", Oo = {
|
|
|
1782
1782
|
return /* @__PURE__ */ I("div", { ...h, className: C, style: b, children: [
|
|
1783
1783
|
n && /* @__PURE__ */ I(yt, { htmlFor: s, disabled: e, error: r, ...i, children: [
|
|
1784
1784
|
n,
|
|
1785
|
-
t && /* @__PURE__ */ I("span", { className:
|
|
1785
|
+
t && /* @__PURE__ */ I("span", { className: Se.required, "aria-label": "required", children: [
|
|
1786
1786
|
" ",
|
|
1787
1787
|
"*"
|
|
1788
1788
|
] })
|
|
1789
1789
|
] }),
|
|
1790
|
-
/* @__PURE__ */ p("div", { className: `${
|
|
1790
|
+
/* @__PURE__ */ p("div", { className: `${Se.inputWrapper} ${o ? Se.indented : ""}`, children: _ }),
|
|
1791
1791
|
r && a && /* @__PURE__ */ p(To, { children: a })
|
|
1792
1792
|
] });
|
|
1793
1793
|
};
|
|
1794
|
-
function
|
|
1794
|
+
function ge({
|
|
1795
1795
|
name: e,
|
|
1796
1796
|
label: r,
|
|
1797
1797
|
required: t,
|
|
@@ -1839,7 +1839,7 @@ const Go = "Input-module__input___WjT81", Zo = "Input-module__sizeSmall___NFvsi"
|
|
|
1839
1839
|
input: Go,
|
|
1840
1840
|
sizeSmall: Zo,
|
|
1841
1841
|
sizeLarge: Qo
|
|
1842
|
-
},
|
|
1842
|
+
}, Xo = ({
|
|
1843
1843
|
color: e = "#000",
|
|
1844
1844
|
disabled: r = !1,
|
|
1845
1845
|
fontSize: t = "1em",
|
|
@@ -1850,7 +1850,7 @@ const Go = "Input-module__input___WjT81", Zo = "Input-module__sizeSmall___NFvsi"
|
|
|
1850
1850
|
fontSize: t,
|
|
1851
1851
|
opacity: r ? 0.3 : 1,
|
|
1852
1852
|
placeholderOpacity: o
|
|
1853
|
-
}),
|
|
1853
|
+
}), Ko = ({
|
|
1854
1854
|
// State props
|
|
1855
1855
|
disabled: e = !1,
|
|
1856
1856
|
error: r = !1,
|
|
@@ -1874,7 +1874,7 @@ const Go = "Input-module__input___WjT81", Zo = "Input-module__sizeSmall___NFvsi"
|
|
|
1874
1874
|
// Element-specific props
|
|
1875
1875
|
inputProps: b
|
|
1876
1876
|
}) => {
|
|
1877
|
-
const _ = H(), x = _.colors.error, V = r ? x : t || _.colors.primary, g =
|
|
1877
|
+
const _ = H(), x = _.colors.error, V = r ? x : t || _.colors.primary, g = Xo({
|
|
1878
1878
|
color: V,
|
|
1879
1879
|
disabled: e,
|
|
1880
1880
|
fontSize: _.fonts.size,
|
|
@@ -1924,7 +1924,7 @@ function Kn({
|
|
|
1924
1924
|
...i
|
|
1925
1925
|
}) {
|
|
1926
1926
|
return /* @__PURE__ */ p(
|
|
1927
|
-
|
|
1927
|
+
ge,
|
|
1928
1928
|
{
|
|
1929
1929
|
name: e,
|
|
1930
1930
|
label: r,
|
|
@@ -1934,7 +1934,7 @@ function Kn({
|
|
|
1934
1934
|
className: n,
|
|
1935
1935
|
style: a,
|
|
1936
1936
|
children: ({ value: f, onChange: c, onBlur: d, name: h, error: m }) => /* @__PURE__ */ p(
|
|
1937
|
-
|
|
1937
|
+
Ko,
|
|
1938
1938
|
{
|
|
1939
1939
|
...i,
|
|
1940
1940
|
name: h,
|
|
@@ -1947,8 +1947,8 @@ function Kn({
|
|
|
1947
1947
|
}
|
|
1948
1948
|
);
|
|
1949
1949
|
}
|
|
1950
|
-
const
|
|
1951
|
-
textarea:
|
|
1950
|
+
const Jo = "Textarea-module__textarea___Z-y6g", Yo = "Textarea-module__sizeSmall___HHFEM", es = "Textarea-module__sizeLarge___5a3sf", et = {
|
|
1951
|
+
textarea: Jo,
|
|
1952
1952
|
sizeSmall: Yo,
|
|
1953
1953
|
sizeLarge: es
|
|
1954
1954
|
}, ts = ({
|
|
@@ -2033,7 +2033,7 @@ function Jn({
|
|
|
2033
2033
|
...i
|
|
2034
2034
|
}) {
|
|
2035
2035
|
return /* @__PURE__ */ p(
|
|
2036
|
-
|
|
2036
|
+
ge,
|
|
2037
2037
|
{
|
|
2038
2038
|
name: e,
|
|
2039
2039
|
label: r,
|
|
@@ -2154,7 +2154,7 @@ const os = "Select-module__select___cjdcr", ss = "Select-module__sizeSmall___i1q
|
|
|
2154
2154
|
}
|
|
2155
2155
|
);
|
|
2156
2156
|
};
|
|
2157
|
-
function
|
|
2157
|
+
function Yn({
|
|
2158
2158
|
name: e,
|
|
2159
2159
|
label: r,
|
|
2160
2160
|
required: t,
|
|
@@ -2166,7 +2166,7 @@ function Xn({
|
|
|
2166
2166
|
...f
|
|
2167
2167
|
}) {
|
|
2168
2168
|
return /* @__PURE__ */ p(
|
|
2169
|
-
|
|
2169
|
+
ge,
|
|
2170
2170
|
{
|
|
2171
2171
|
name: e,
|
|
2172
2172
|
label: r,
|
|
@@ -2190,7 +2190,7 @@ function Xn({
|
|
|
2190
2190
|
}
|
|
2191
2191
|
);
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2193
|
+
function ea({
|
|
2194
2194
|
name: e,
|
|
2195
2195
|
required: r,
|
|
2196
2196
|
rules: t,
|
|
@@ -2200,7 +2200,7 @@ function Yn({
|
|
|
2200
2200
|
...a
|
|
2201
2201
|
}) {
|
|
2202
2202
|
return /* @__PURE__ */ p(
|
|
2203
|
-
|
|
2203
|
+
ge,
|
|
2204
2204
|
{
|
|
2205
2205
|
name: e,
|
|
2206
2206
|
required: r,
|
|
@@ -2312,7 +2312,7 @@ const ls = "Radio-module__container___AQxhk", cs = "Radio-module__svg___zl5kF",
|
|
|
2312
2312
|
)
|
|
2313
2313
|
] });
|
|
2314
2314
|
};
|
|
2315
|
-
function
|
|
2315
|
+
function ta({
|
|
2316
2316
|
name: e,
|
|
2317
2317
|
label: r,
|
|
2318
2318
|
required: t,
|
|
@@ -2324,7 +2324,7 @@ function ea({
|
|
|
2324
2324
|
...f
|
|
2325
2325
|
}) {
|
|
2326
2326
|
return /* @__PURE__ */ p(
|
|
2327
|
-
|
|
2327
|
+
ge,
|
|
2328
2328
|
{
|
|
2329
2329
|
name: e,
|
|
2330
2330
|
required: t,
|
|
@@ -2346,7 +2346,7 @@ function ea({
|
|
|
2346
2346
|
}
|
|
2347
2347
|
);
|
|
2348
2348
|
}
|
|
2349
|
-
function
|
|
2349
|
+
function ra({
|
|
2350
2350
|
name: e,
|
|
2351
2351
|
label: r,
|
|
2352
2352
|
required: t,
|
|
@@ -2357,7 +2357,7 @@ function ta({
|
|
|
2357
2357
|
indent: i = !0
|
|
2358
2358
|
}) {
|
|
2359
2359
|
return /* @__PURE__ */ p(
|
|
2360
|
-
|
|
2360
|
+
ge,
|
|
2361
2361
|
{
|
|
2362
2362
|
name: e,
|
|
2363
2363
|
label: r,
|
|
@@ -2386,7 +2386,7 @@ function ta({
|
|
|
2386
2386
|
}
|
|
2387
2387
|
);
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function oa({
|
|
2390
2390
|
name: e,
|
|
2391
2391
|
label: r,
|
|
2392
2392
|
required: t,
|
|
@@ -2398,7 +2398,7 @@ function ra({
|
|
|
2398
2398
|
indent: f = !0
|
|
2399
2399
|
}) {
|
|
2400
2400
|
return /* @__PURE__ */ p(
|
|
2401
|
-
|
|
2401
|
+
ge,
|
|
2402
2402
|
{
|
|
2403
2403
|
name: e,
|
|
2404
2404
|
label: r,
|
|
@@ -2500,7 +2500,7 @@ const fs = "Hamburger-module__hamburger___Tf4-t", ms = "Hamburger-module__line__
|
|
|
2500
2500
|
]
|
|
2501
2501
|
}
|
|
2502
2502
|
);
|
|
2503
|
-
}, ps = "Header-module__header___RUooH", gs = "Header-module__container___t68M9",
|
|
2503
|
+
}, ps = "Header-module__header___RUooH", gs = "Header-module__container___t68M9", Xt = {
|
|
2504
2504
|
header: ps,
|
|
2505
2505
|
container: gs
|
|
2506
2506
|
}, vs = ({
|
|
@@ -2571,8 +2571,8 @@ const fs = "Hamburger-module__hamburger___Tf4-t", ms = "Hamburger-module__line__
|
|
|
2571
2571
|
gap: c,
|
|
2572
2572
|
backgroundColor: e,
|
|
2573
2573
|
color: r
|
|
2574
|
-
}), M = [
|
|
2575
|
-
return /* @__PURE__ */ p("header", { ..._, className:
|
|
2574
|
+
}), M = [Xt.container, C].filter(Boolean).join(" "), B = h ? { position: "fixed", top: 0, left: 0, right: 0, zIndex: 1e3 } : {};
|
|
2575
|
+
return /* @__PURE__ */ p("header", { ..._, className: Xt.header, style: B, children: /* @__PURE__ */ p(
|
|
2576
2576
|
"div",
|
|
2577
2577
|
{
|
|
2578
2578
|
className: M,
|
|
@@ -2663,15 +2663,15 @@ const Cr = ({
|
|
|
2663
2663
|
), M = xe(() => N(!g), [g, N]), B = xe(() => N(!1), [N]), { panelMounted: Z, panelVisible: P, handleTransitionEnd: Q } = Ms(g, t), { popupPositionStyle: W } = Ds(g, t, F, n);
|
|
2664
2664
|
le(() => {
|
|
2665
2665
|
if (!g || t !== "popup") return;
|
|
2666
|
-
const R = (
|
|
2666
|
+
const R = (X) => {
|
|
2667
2667
|
var te, me;
|
|
2668
|
-
(te = z.current) != null && te.contains(
|
|
2668
|
+
(te = z.current) != null && te.contains(X.target) || (me = F.current) != null && me.contains(X.target) || B();
|
|
2669
2669
|
};
|
|
2670
2670
|
return document.addEventListener("mousedown", R), () => document.removeEventListener("mousedown", R);
|
|
2671
2671
|
}, [g, t, B]), le(() => {
|
|
2672
2672
|
if (!g) return;
|
|
2673
|
-
const R = (
|
|
2674
|
-
|
|
2673
|
+
const R = (X) => {
|
|
2674
|
+
X.key === "Escape" && B();
|
|
2675
2675
|
};
|
|
2676
2676
|
return document.addEventListener("keydown", R), () => document.removeEventListener("keydown", R);
|
|
2677
2677
|
}, [g, B]), le(() => {
|
|
@@ -2861,7 +2861,7 @@ const Cr = ({
|
|
|
2861
2861
|
cssProps: t,
|
|
2862
2862
|
navProps: o,
|
|
2863
2863
|
content: s
|
|
2864
|
-
}) => /* @__PURE__ */ p("nav", { ...o, className: r, style: t, children: typeof s == "function" ? s({ setOpen: e }) : s }),
|
|
2864
|
+
}) => /* @__PURE__ */ p("nav", { ...o, className: r, style: t, children: typeof s == "function" ? s({ setOpen: e }) : s }), sa = ({
|
|
2865
2865
|
mobile: e,
|
|
2866
2866
|
desktop: r,
|
|
2867
2867
|
breakpoints: t,
|
|
@@ -2933,7 +2933,7 @@ function Fr({
|
|
|
2933
2933
|
onMouseLeave: () => n(!1)
|
|
2934
2934
|
};
|
|
2935
2935
|
}
|
|
2936
|
-
const
|
|
2936
|
+
const na = ({
|
|
2937
2937
|
label: e,
|
|
2938
2938
|
children: r,
|
|
2939
2939
|
dropdownVariant: t = "popup",
|
|
@@ -3004,7 +3004,7 @@ const sa = ({
|
|
|
3004
3004
|
children: r
|
|
3005
3005
|
}
|
|
3006
3006
|
);
|
|
3007
|
-
},
|
|
3007
|
+
}, aa = ({ isActive: e, hoverOpacity: r, color: t, children: o }) => {
|
|
3008
3008
|
const { style: s, onMouseEnter: n, onMouseLeave: a } = Fr({
|
|
3009
3009
|
isActive: e,
|
|
3010
3010
|
hoverOpacity: r,
|
|
@@ -3078,42 +3078,43 @@ const sa = ({
|
|
|
3078
3078
|
children: d
|
|
3079
3079
|
}
|
|
3080
3080
|
) : d;
|
|
3081
|
-
},
|
|
3081
|
+
}, ia = ({ children: e, loadingComponent: r }) => {
|
|
3082
3082
|
const [t, o] = Y(!1);
|
|
3083
3083
|
return le(() => {
|
|
3084
3084
|
requestAnimationFrame(() => {
|
|
3085
3085
|
o(!0);
|
|
3086
3086
|
});
|
|
3087
3087
|
}, []), t ? /* @__PURE__ */ p(Ce, { children: e }) : r || /* @__PURE__ */ p(Vr, {});
|
|
3088
|
-
}, Ws = "Modal-module__backdrop___GVUh4", qs = "Modal-module__modal___aD7aP", Gs = "Modal-module__header___ILG9i", Zs = "Modal-module__title___A5OeE", Qs = "Modal-module__closeButton___3LpSf",
|
|
3088
|
+
}, Ws = "Modal-module__backdrop___GVUh4", qs = "Modal-module__modal___aD7aP", Gs = "Modal-module__header___ILG9i", Zs = "Modal-module__title___A5OeE", Qs = "Modal-module__closeButton___3LpSf", Xs = "Modal-module__content___dWO-B", Ks = "Modal-module__actions___hY6zi", he = {
|
|
3089
3089
|
backdrop: Ws,
|
|
3090
3090
|
modal: qs,
|
|
3091
3091
|
header: Gs,
|
|
3092
3092
|
title: Zs,
|
|
3093
3093
|
closeButton: Qs,
|
|
3094
|
-
content:
|
|
3095
|
-
actions:
|
|
3096
|
-
},
|
|
3097
|
-
stack:
|
|
3094
|
+
content: Xs,
|
|
3095
|
+
actions: Ks
|
|
3096
|
+
}, Js = "Stack-module__stack___yUU-B", Ys = "Stack-module__vertical___sKTyQ", en = "Stack-module__horizontal___YsvtV", st = {
|
|
3097
|
+
stack: Js,
|
|
3098
3098
|
vertical: Ys,
|
|
3099
3099
|
horizontal: en
|
|
3100
3100
|
}, tn = ({
|
|
3101
3101
|
// Layout props
|
|
3102
3102
|
direction: e = "row",
|
|
3103
|
+
gap: r = "0.5em",
|
|
3103
3104
|
// Content
|
|
3104
|
-
children:
|
|
3105
|
+
children: t,
|
|
3105
3106
|
// Style overrides
|
|
3106
|
-
className:
|
|
3107
|
-
style:
|
|
3107
|
+
className: o,
|
|
3108
|
+
style: s,
|
|
3108
3109
|
// Element-specific props
|
|
3109
|
-
divProps:
|
|
3110
|
+
divProps: n
|
|
3110
3111
|
}) => {
|
|
3111
|
-
const
|
|
3112
|
+
const a = [
|
|
3112
3113
|
st.stack,
|
|
3113
3114
|
e === "column" ? st.vertical : st.horizontal,
|
|
3114
|
-
|
|
3115
|
+
o
|
|
3115
3116
|
].filter(Boolean).join(" ");
|
|
3116
|
-
return /* @__PURE__ */ p("div", { ...
|
|
3117
|
+
return /* @__PURE__ */ p("div", { ...n, className: a, style: { gap: r, ...s }, children: t });
|
|
3117
3118
|
}, rn = ({
|
|
3118
3119
|
isOpen: e,
|
|
3119
3120
|
onClose: r,
|
|
@@ -3229,7 +3230,7 @@ const sa = ({
|
|
|
3229
3230
|
}
|
|
3230
3231
|
);
|
|
3231
3232
|
return at(Z, document.body);
|
|
3232
|
-
}, zr = mt(null),
|
|
3233
|
+
}, zr = mt(null), la = ({ children: e }) => {
|
|
3233
3234
|
const [r, t] = Y(null), o = E.useCallback((c) => new Promise((d, h) => {
|
|
3234
3235
|
const m = Math.random().toString(36).substr(2, 9);
|
|
3235
3236
|
t({
|
|
@@ -3302,12 +3303,12 @@ const sa = ({
|
|
|
3302
3303
|
}
|
|
3303
3304
|
)
|
|
3304
3305
|
] });
|
|
3305
|
-
},
|
|
3306
|
+
}, ca = () => {
|
|
3306
3307
|
const e = tr(zr);
|
|
3307
3308
|
if (!e)
|
|
3308
3309
|
throw new Error("useModal must be used within a ModalProvider");
|
|
3309
3310
|
return e;
|
|
3310
|
-
}, on = "ResponsiveSection-module__section___gBESK", sn = "ResponsiveSection-module__innerDiv___r1bky",
|
|
3311
|
+
}, on = "ResponsiveSection-module__section___gBESK", sn = "ResponsiveSection-module__innerDiv___r1bky", Kt = {
|
|
3311
3312
|
section: on,
|
|
3312
3313
|
innerDiv: sn
|
|
3313
3314
|
}, Er = ({
|
|
@@ -3345,9 +3346,9 @@ const sa = ({
|
|
|
3345
3346
|
"--height": n,
|
|
3346
3347
|
"--section-padding": `${g} ${F}`,
|
|
3347
3348
|
"--gap": c
|
|
3348
|
-
}, N = [
|
|
3349
|
-
return /* @__PURE__ */ p("section", { ...b, className: N, style: V, children: /* @__PURE__ */ p("div", { className:
|
|
3350
|
-
}, nn = "Hero-module__hero___IB2tg", an = "Hero-module__content___rkkfQ",
|
|
3349
|
+
}, N = [Kt.section, m].filter(Boolean).join(" ");
|
|
3350
|
+
return /* @__PURE__ */ p("section", { ...b, className: N, style: V, children: /* @__PURE__ */ p("div", { className: Kt.innerDiv, style: z, children: h }) });
|
|
3351
|
+
}, nn = "Hero-module__hero___IB2tg", an = "Hero-module__content___rkkfQ", Jt = {
|
|
3351
3352
|
hero: nn,
|
|
3352
3353
|
content: an
|
|
3353
3354
|
}, ln = ({
|
|
@@ -3363,7 +3364,7 @@ const sa = ({
|
|
|
3363
3364
|
"--hero-p-font-size": a,
|
|
3364
3365
|
"--hero-h1-margin-bottom": `calc(${o} * 0.7)`
|
|
3365
3366
|
};
|
|
3366
|
-
}, [e, r, t.fonts]),
|
|
3367
|
+
}, [e, r, t.fonts]), ua = ({
|
|
3367
3368
|
// Color props
|
|
3368
3369
|
color: e,
|
|
3369
3370
|
// Layout props
|
|
@@ -3375,7 +3376,7 @@ const sa = ({
|
|
|
3375
3376
|
style: s,
|
|
3376
3377
|
...n
|
|
3377
3378
|
}) => {
|
|
3378
|
-
const a = H(), i = [
|
|
3379
|
+
const a = H(), i = [Jt.hero, o].filter(Boolean).join(" "), f = (r == null ? void 0 : r.md) || a.breakpoints.md, c = (r == null ? void 0 : r.lg) || a.breakpoints.lg, d = ce(`(min-width: ${f})`), h = ce(`(min-width: ${c})`), m = ln({ isMd: d, isLg: h, theme: a });
|
|
3379
3380
|
return /* @__PURE__ */ p(
|
|
3380
3381
|
Er,
|
|
3381
3382
|
{
|
|
@@ -3383,7 +3384,7 @@ const sa = ({
|
|
|
3383
3384
|
color: e || a.fonts.color,
|
|
3384
3385
|
style: { ...m, ...s },
|
|
3385
3386
|
...n,
|
|
3386
|
-
children: /* @__PURE__ */ p("div", { className:
|
|
3387
|
+
children: /* @__PURE__ */ p("div", { className: Jt.content, children: t })
|
|
3387
3388
|
}
|
|
3388
3389
|
);
|
|
3389
3390
|
}, cn = "Footer-module__footer___A76NF", un = "Footer-module__container___QneNs", Yt = {
|
|
@@ -3467,7 +3468,7 @@ const sa = ({
|
|
|
3467
3468
|
"--feature-icon-margin-bottom": `calc(${t} * 0.7)`,
|
|
3468
3469
|
"--feature-title-margin-bottom": `calc(${t} * 0.5)`
|
|
3469
3470
|
};
|
|
3470
|
-
}, [e, r.fonts]),
|
|
3471
|
+
}, [e, r.fonts]), da = ({
|
|
3471
3472
|
// Layout props
|
|
3472
3473
|
breakpoint: e,
|
|
3473
3474
|
// Content
|
|
@@ -3512,7 +3513,7 @@ const sa = ({
|
|
|
3512
3513
|
}[e]
|
|
3513
3514
|
} : {
|
|
3514
3515
|
"--grid-template-columns": "1fr"
|
|
3515
|
-
}, [e, r, t]),
|
|
3516
|
+
}, [e, r, t]), fa = ({
|
|
3516
3517
|
// Layout props
|
|
3517
3518
|
columns: e = 3,
|
|
3518
3519
|
breakpoints: r,
|
|
@@ -3536,7 +3537,7 @@ const sa = ({
|
|
|
3536
3537
|
layoutContainer: Sn,
|
|
3537
3538
|
content: wn,
|
|
3538
3539
|
main: kn
|
|
3539
|
-
},
|
|
3540
|
+
}, ma = ({
|
|
3540
3541
|
// Content
|
|
3541
3542
|
header: e,
|
|
3542
3543
|
footer: r,
|
|
@@ -3578,7 +3579,7 @@ const sa = ({
|
|
|
3578
3579
|
"aria-hidden": !0,
|
|
3579
3580
|
children: /* @__PURE__ */ p("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })
|
|
3580
3581
|
}
|
|
3581
|
-
),
|
|
3582
|
+
), ya = ({
|
|
3582
3583
|
onUpload: e,
|
|
3583
3584
|
accept: r,
|
|
3584
3585
|
maxSizeBytes: t,
|
|
@@ -3678,17 +3679,18 @@ const sa = ({
|
|
|
3678
3679
|
]
|
|
3679
3680
|
}
|
|
3680
3681
|
);
|
|
3681
|
-
}, An = "ImageThumbnail-module__thumbnail___-igbe", Pn = "ImageThumbnail-module__img___Q7Z4V", Bn = "ImageThumbnail-
|
|
3682
|
+
}, An = "ImageThumbnail-module__thumbnail___-igbe", Pn = "ImageThumbnail-module__img___Q7Z4V", Bn = "ImageThumbnail-module__sizeXs___TvSHV", Mn = "ImageThumbnail-module__sizeSm___rtC81", Dn = "ImageThumbnail-module__sizeMd___GL9qs", Rn = "ImageThumbnail-module__sizeLg___E70Oi", On = "ImageThumbnail-module__removeButton___Ceh1Q", _e = {
|
|
3682
3683
|
thumbnail: An,
|
|
3683
3684
|
img: Pn,
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3685
|
+
sizeXs: Bn,
|
|
3686
|
+
sizeSm: Mn,
|
|
3687
|
+
sizeMd: Dn,
|
|
3688
|
+
sizeLg: Rn,
|
|
3689
|
+
removeButton: On
|
|
3690
|
+
}, Tn = "Skeleton-module__skeleton___CB4uF", In = {
|
|
3691
|
+
skeleton: Tn
|
|
3692
|
+
}, Hn = ({ className: e, style: r, divProps: t }) => {
|
|
3693
|
+
const o = H(), s = [In.skeleton, e].filter(Boolean).join(" ");
|
|
3692
3694
|
return /* @__PURE__ */ p(
|
|
3693
3695
|
"div",
|
|
3694
3696
|
{
|
|
@@ -3699,7 +3701,7 @@ const sa = ({
|
|
|
3699
3701
|
"aria-busy": !0
|
|
3700
3702
|
}
|
|
3701
3703
|
);
|
|
3702
|
-
},
|
|
3704
|
+
}, jn = ({ color: e }) => /* @__PURE__ */ I(
|
|
3703
3705
|
"svg",
|
|
3704
3706
|
{
|
|
3705
3707
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3716,10 +3718,10 @@ const sa = ({
|
|
|
3716
3718
|
/* @__PURE__ */ p("polyline", { points: "21 15 16 10 5 21" })
|
|
3717
3719
|
]
|
|
3718
3720
|
}
|
|
3719
|
-
),
|
|
3721
|
+
), ha = ({
|
|
3720
3722
|
src: e,
|
|
3721
3723
|
alt: r = "",
|
|
3722
|
-
size: t = "
|
|
3724
|
+
size: t = "default",
|
|
3723
3725
|
loading: o = !1,
|
|
3724
3726
|
skeletonDelay: s = 500,
|
|
3725
3727
|
onRemove: n,
|
|
@@ -3735,7 +3737,7 @@ const sa = ({
|
|
|
3735
3737
|
const W = setTimeout(() => V(e), s);
|
|
3736
3738
|
return () => clearTimeout(W);
|
|
3737
3739
|
}, [e, s]);
|
|
3738
|
-
const N = o || !!e && !g && !F && z, M = !o && (!e || F), B = t === "
|
|
3740
|
+
const N = o || !!e && !g && !F && z, M = !o && (!e || F), B = t === "xs" ? _e.sizeXs : t === "small" ? _e.sizeSm : t === "large" ? _e.sizeLg : _e.sizeMd, Z = [_e.thumbnail, B, f].filter(Boolean).join(" "), P = {
|
|
3739
3741
|
borderRadius: h.border.radius,
|
|
3740
3742
|
...c
|
|
3741
3743
|
}, Q = {
|
|
@@ -3751,15 +3753,15 @@ const sa = ({
|
|
|
3751
3753
|
"aria-label": M ? r || "Image placeholder" : void 0,
|
|
3752
3754
|
"aria-busy": N || void 0,
|
|
3753
3755
|
children: [
|
|
3754
|
-
N && /* @__PURE__ */ p(
|
|
3755
|
-
M && (i ?? /* @__PURE__ */ p(
|
|
3756
|
+
N && /* @__PURE__ */ p(Hn, { style: { borderRadius: "inherit", position: "absolute", inset: 0 } }),
|
|
3757
|
+
M && (i ?? /* @__PURE__ */ p(jn, { color: h.colors.primary })),
|
|
3756
3758
|
!o && e && !F && /* @__PURE__ */ p(
|
|
3757
3759
|
"img",
|
|
3758
3760
|
{
|
|
3759
3761
|
...d,
|
|
3760
3762
|
src: e,
|
|
3761
3763
|
alt: r,
|
|
3762
|
-
className:
|
|
3764
|
+
className: _e.img,
|
|
3763
3765
|
style: { opacity: g ? 1 : 0 },
|
|
3764
3766
|
onLoad: () => e && C(e),
|
|
3765
3767
|
onError: () => e && _(e)
|
|
@@ -3769,7 +3771,7 @@ const sa = ({
|
|
|
3769
3771
|
"button",
|
|
3770
3772
|
{
|
|
3771
3773
|
type: "button",
|
|
3772
|
-
className:
|
|
3774
|
+
className: _e.removeButton,
|
|
3773
3775
|
style: Q,
|
|
3774
3776
|
onClick: (W) => {
|
|
3775
3777
|
W.stopPropagation(), n();
|
|
@@ -3799,50 +3801,50 @@ const sa = ({
|
|
|
3799
3801
|
};
|
|
3800
3802
|
export {
|
|
3801
3803
|
qr as Button,
|
|
3802
|
-
|
|
3804
|
+
Qn as CSSReset,
|
|
3803
3805
|
lt as Checkbox,
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3806
|
+
da as FeatureCard,
|
|
3807
|
+
fa as FeatureGridSection,
|
|
3808
|
+
ya as FileUpload,
|
|
3807
3809
|
fn as Footer,
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3810
|
+
Xn as Form,
|
|
3811
|
+
ea as FormCheckbox,
|
|
3812
|
+
oa as FormCheckboxGroup,
|
|
3811
3813
|
To as FormError,
|
|
3812
|
-
|
|
3814
|
+
ge as FormField,
|
|
3813
3815
|
qo as FormGroup,
|
|
3814
3816
|
Kn as FormInput,
|
|
3815
3817
|
yt as FormLabel,
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3818
|
+
ta as FormRadio,
|
|
3819
|
+
ra as FormRadioGroup,
|
|
3820
|
+
Yn as FormSelect,
|
|
3819
3821
|
Jn as FormTextarea,
|
|
3820
3822
|
_s as Hamburger,
|
|
3821
3823
|
bs as Header,
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3824
|
+
ua as Hero,
|
|
3825
|
+
ha as ImageThumbnail,
|
|
3826
|
+
Ko as Input,
|
|
3825
3827
|
Vr as LoadingSpinner,
|
|
3826
3828
|
rn as Modal,
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3829
|
+
la as ModalProvider,
|
|
3830
|
+
na as NavDropdown,
|
|
3831
|
+
aa as NavLink,
|
|
3832
|
+
ma as PageLayout,
|
|
3831
3833
|
Cr as Popover,
|
|
3832
3834
|
xr as Radio,
|
|
3833
|
-
|
|
3835
|
+
sa as ResponsiveNav,
|
|
3834
3836
|
Os as ResponsiveNavContext,
|
|
3835
3837
|
Er as ResponsiveSection,
|
|
3836
3838
|
is as Select,
|
|
3837
|
-
|
|
3839
|
+
Hn as Skeleton,
|
|
3838
3840
|
tn as Stack,
|
|
3839
|
-
|
|
3841
|
+
ia as StyleLoader,
|
|
3840
3842
|
rs as Textarea,
|
|
3841
|
-
|
|
3843
|
+
Zn as ThemeProvider,
|
|
3842
3844
|
$e as parseBreakpoint,
|
|
3843
3845
|
Mo as useFormContext,
|
|
3844
3846
|
ce as useMediaQuery,
|
|
3845
|
-
|
|
3847
|
+
ca as useModal,
|
|
3846
3848
|
Fr as useNavLinkStyles,
|
|
3847
3849
|
H as useTheme
|
|
3848
3850
|
};
|