diff --git a/config/filament.php b/config/filament.php index 7daac3d1bb..4f25bcb27f 100644 --- a/config/filament.php +++ b/config/filament.php @@ -16,7 +16,7 @@ return [ 'features' => [ Features::registration(), - // Features::profile(), + Features::profile(), Features::resources(), ], diff --git a/dist/css/filament.css b/dist/css/filament.css index 81273ec628..bba75bb190 100644 --- a/dist/css/filament.css +++ b/dist/css/filament.css @@ -1,2 +1,2 @@ -html{scroll-behavior:smooth}::-moz-selection{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}::selection{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}[x-cloak]{display:none}.js-focus-visible :focus:not([data-focus-visible-added]){outline:2px solid transparent;outline-offset:2px}.btn{background-color:rgba(243,244,246,var(--tw-bg-opacity))}.btn,.btn:hover{--tw-bg-opacity:1}.btn:hover{background-color:rgba(229,231,235,var(--tw-bg-opacity))}.btn{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-radius:.25rem;border-width:1px;cursor:pointer;display:inline-block;font-weight:600;font-size:.875rem;line-height:1.25rem;padding:.5rem 1rem;position:relative;--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.btn:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgba(199,210,254,var(--tw-ring-opacity));--tw-ring-opacity:0.5}.btn{--tw-text-opacity:1;color:rgba(31,41,55,var(--tw-text-opacity));transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.btn-primary{--tw-bg-opacity:1;background-color:rgba(29,78,216,var(--tw-bg-opacity))}.btn-primary:hover{--tw-bg-opacity:1;background-color:rgba(30,64,175,var(--tw-bg-opacity))}.btn-primary{border-color:transparent;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.btn[disabled]{opacity:.5}.list-dropdown{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.25rem;font-size:.875rem;line-height:1.25rem;line-height:1.25;overflow:hidden;--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);text-align:left}.list-dropdown>li{white-space:nowrap}.list-dropdown>li+*{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-top-width:1px}.list-dropdown [role=menuitem]:hover,.list-dropdown a:hover,.list-dropdown button:hover{--tw-bg-opacity:1;background-color:rgba(229,231,235,var(--tw-bg-opacity))}.list-dropdown [role=menuitem],.list-dropdown a,.list-dropdown button{display:inline-block;padding:.5rem 1rem;--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity));width:100%;transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.card{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.25rem;overflow:hidden;padding:1rem;--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}@media (min-width:768px){.card{padding:1.5rem}}.help,.hint{font-weight:400;font-size:.75rem;line-height:1rem;line-height:1.25;--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.help a,.hint a{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.help a:hover,.hint a:hover{--tw-text-opacity:1;color:rgba(30,64,175,var(--tw-text-opacity))}.hint{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,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}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af}input::placeholder,textarea::placeholder{color:#9ca3af}[role=button],button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[type=email],[type=password],[type=text],[type=time],[type=url],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}[type=email]:focus,[type=password]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,select:focus,textarea:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;color-adjust:exact}[type=checkbox],select{-webkit-print-color-adjust:exact}[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0}[type=checkbox]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}[type=checkbox]:checked{background-size:100% 100%;background-position:50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E")}[type=checkbox]:checked,[type=checkbox]:checked:focus,[type=checkbox]:checked:hover{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.25rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem*var(--tw-space-x-reverse));margin-left:calc(0.5rem*(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.75rem*var(--tw-space-x-reverse));margin-left:calc(0.75rem*(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.bg-black{--tw-bg-opacity:1;background-color:rgba(0,0,0,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgba(229,231,235,var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgba(107,114,128,var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgba(31,41,55,var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgba(17,24,39,var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity:1;background-color:rgba(31,41,55,var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgba(190,18,60,var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.border-gray-200{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgba(225,29,72,var(--tw-border-opacity))}.focus\:border-gray-600:focus{--tw-border-opacity:1;border-color:rgba(75,85,99,var(--tw-border-opacity))}.focus\:border-indigo-300:focus{--tw-border-opacity:1;border-color:rgba(165,180,252,var(--tw-border-opacity))}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.border-dashed{border-style:dashed}.border{border-width:1px}.border-r{border-right-width:1px}.border-b{border-bottom-width:1px}.cursor-pointer{cursor:pointer}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-shrink-0{flex-shrink:0}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-light{font-weight:300}.font-semibold{font-weight:600}.h-1{height:.25rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-12{height:3rem}.h-64{height:16rem}.h-full{height:100%}.h-screen{height:100vh}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.leading-tight{line-height:1.25}.my-2{margin-top:.5rem;margin-bottom:.5rem}.ml-2{margin-left:.5rem}.mr-4{margin-right:1rem}.ml-4{margin-left:1rem}.mb-6{margin-bottom:1.5rem}.-mb-3{margin-bottom:-.75rem}.-mb-px{margin-bottom:-1px}.max-w-sm{max-width:24rem}.max-w-full{max-width:100%}.min-h-screen{min-height:100vh}.object-cover{-o-object-fit:cover;object-fit:cover}.opacity-0{opacity:0}.opacity-100{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.overflow-hidden{overflow:hidden}.p-3{padding:.75rem}.p-4{padding:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{right:0;left:0}.inset-0,.inset-y-0{top:0;bottom:0}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}*{--tw-shadow:0 0 transparent}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:ring-indigo-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(199,210,254,var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity:0.5}.fill-current{fill:currentColor}.text-left{text-align:left}.text-center{text-align:center}.text-current{color:currentColor}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgba(229,231,235,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgba(225,29,72,var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgba(190,18,60,var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity:1;color:rgba(30,64,175,var(--tw-text-opacity))}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tracking-wider{letter-spacing:.05em}.w-0{width:0}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-12{width:3rem}.w-48{width:12rem}.w-56{width:14rem}.w-full{width:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.gap-2{gap:.5rem}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%}.-translate-x-full{--tw-translate-x:-100%}.translate-y-0{--tw-translate-y:0px}.translate-y-2{--tw-translate-y:0.5rem}.-translate-y-2{--tw-translate-y:-0.5rem}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@-webkit-keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@media (prefers-reduced-motion:no-preference){.motion-safe\:animate-shake{-webkit-animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;animation:shake .82s cubic-bezier(.36,.07,.19,.97) both}}@media (min-width:640px){.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:translate-x-0{--tw-translate-x:0px}.sm\:translate-x-2{--tw-translate-x:0.5rem}.sm\:translate-y-0{--tw-translate-y:0px}}@media (min-width:768px){.md\:hidden{display:none}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:p-6{padding:1.5rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:static{position:static}.md\:shadow-none{--tw-shadow:0 0 transparent;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.md\:translate-x-0{--tw-translate-x:0px}}@media (min-width:1024px){.lg\:gap-6{gap:1.5rem}} +html{scroll-behavior:smooth}::-moz-selection{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}::selection{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}[x-cloak]{display:none}.js-focus-visible :focus:not([data-focus-visible-added]){outline:2px solid transparent;outline-offset:2px}.btn{background-color:rgba(243,244,246,var(--tw-bg-opacity))}.btn,.btn:hover{--tw-bg-opacity:1}.btn:hover{background-color:rgba(229,231,235,var(--tw-bg-opacity))}.btn{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-radius:.25rem;border-width:1px;cursor:pointer;display:inline-block;font-weight:600;font-size:.875rem;line-height:1.25rem;padding:.5rem 1rem;position:relative;--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.btn:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgba(199,210,254,var(--tw-ring-opacity));--tw-ring-opacity:0.5}.btn{--tw-text-opacity:1;color:rgba(31,41,55,var(--tw-text-opacity));transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.btn-primary{--tw-bg-opacity:1;background-color:rgba(29,78,216,var(--tw-bg-opacity))}.btn-primary:hover{--tw-bg-opacity:1;background-color:rgba(30,64,175,var(--tw-bg-opacity))}.btn-primary{border-color:transparent;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.btn[disabled]{opacity:.5}.list-dropdown{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.25rem;font-size:.875rem;line-height:1.25rem;line-height:1.25;overflow:hidden;--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);text-align:left}.list-dropdown>li{white-space:nowrap}.list-dropdown>li+*{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-top-width:1px}.list-dropdown [role=menuitem]:hover,.list-dropdown a:hover,.list-dropdown button:hover{--tw-bg-opacity:1;background-color:rgba(229,231,235,var(--tw-bg-opacity))}.list-dropdown [role=menuitem],.list-dropdown a,.list-dropdown button{display:inline-block;padding:.5rem 1rem;--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity));width:100%;transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.card{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.25rem;overflow:hidden;padding:1rem;--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}@media (min-width:768px){.card{padding:1.5rem}}.help,.hint{font-weight:400;font-size:.75rem;line-height:1rem;line-height:1.25;--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.help a,.hint a{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.help a:hover,.hint a:hover{--tw-text-opacity:1;color:rgba(30,64,175,var(--tw-text-opacity))}.hint{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,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}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af}input::placeholder,textarea::placeholder{color:#9ca3af}[role=button],button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[type=email],[type=password],[type=text],[type=time],[type=url],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}[type=email]:focus,[type=password]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,select:focus,textarea:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;color-adjust:exact}[type=checkbox],select{-webkit-print-color-adjust:exact}[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0}[type=checkbox]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}[type=checkbox]:checked{background-size:100% 100%;background-position:50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E")}[type=checkbox]:checked,[type=checkbox]:checked:focus,[type=checkbox]:checked:hover{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.25rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem*var(--tw-space-x-reverse));margin-left:calc(0.5rem*(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.75rem*var(--tw-space-x-reverse));margin-left:calc(0.75rem*(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.bg-black{--tw-bg-opacity:1;background-color:rgba(0,0,0,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgba(229,231,235,var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgba(107,114,128,var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgba(31,41,55,var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgba(17,24,39,var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity:1;background-color:rgba(31,41,55,var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgba(190,18,60,var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.border-gray-200{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgba(225,29,72,var(--tw-border-opacity))}.focus\:border-gray-600:focus{--tw-border-opacity:1;border-color:rgba(75,85,99,var(--tw-border-opacity))}.focus\:border-indigo-300:focus{--tw-border-opacity:1;border-color:rgba(165,180,252,var(--tw-border-opacity))}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.border-dashed{border-style:dashed}.border{border-width:1px}.border-r{border-right-width:1px}.border-b{border-bottom-width:1px}.cursor-pointer{cursor:pointer}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-shrink-0{flex-shrink:0}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-light{font-weight:300}.font-semibold{font-weight:600}.h-1{height:.25rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-12{height:3rem}.h-64{height:16rem}.h-full{height:100%}.h-screen{height:100vh}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.leading-tight{line-height:1.25}.my-2{margin-top:.5rem;margin-bottom:.5rem}.ml-2{margin-left:.5rem}.mr-4{margin-right:1rem}.ml-4{margin-left:1rem}.mb-6{margin-bottom:1.5rem}.-mb-3{margin-bottom:-.75rem}.-mb-px{margin-bottom:-1px}.max-w-sm{max-width:24rem}.max-w-full{max-width:100%}.min-h-screen{min-height:100vh}.object-cover{-o-object-fit:cover;object-fit:cover}.opacity-0{opacity:0}.opacity-100{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.overflow-hidden{overflow:hidden}.p-3{padding:.75rem}.p-4{padding:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{right:0;left:0}.inset-0,.inset-y-0{top:0;bottom:0}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}*{--tw-shadow:0 0 transparent}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:ring-indigo-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(199,210,254,var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity:0.5}.fill-current{fill:currentColor}.text-left{text-align:left}.text-center{text-align:center}.text-current{color:currentColor}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgba(229,231,235,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgba(225,29,72,var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgba(190,18,60,var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity:1;color:rgba(30,64,175,var(--tw-text-opacity))}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tracking-wider{letter-spacing:.05em}.w-0{width:0}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-12{width:3rem}.w-48{width:12rem}.w-56{width:14rem}.w-full{width:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.gap-2{gap:.5rem}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%}.-translate-x-full{--tw-translate-x:-100%}.translate-y-0{--tw-translate-y:0px}.translate-y-2{--tw-translate-y:0.5rem}.-translate-y-2{--tw-translate-y:-0.5rem}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@-webkit-keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@media (prefers-reduced-motion:no-preference){.motion-safe\:animate-shake{-webkit-animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;animation:shake .82s cubic-bezier(.36,.07,.19,.97) both}}@media (min-width:640px){.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:translate-x-0{--tw-translate-x:0px}.sm\:translate-x-2{--tw-translate-x:0.5rem}.sm\:translate-y-0{--tw-translate-y:0px}}@media (min-width:768px){.md\:hidden{display:none}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:p-6{padding:1.5rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:static{position:static}.md\:shadow-none{--tw-shadow:0 0 transparent;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.md\:translate-x-0{--tw-translate-x:0px}}@media (min-width:1024px){.lg\:gap-6{gap:1.5rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}} /*# sourceMappingURL=filament.css.map*/ \ No newline at end of file diff --git a/dist/css/filament.css.map b/dist/css/filament.css.map index 6e4b379aef..eda8626240 100644 --- a/dist/css/filament.css.map +++ b/dist/css/filament.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./resources/css/base.css","webpack:///./","webpack:///./resources/css/components/buttons.css","webpack:///./resources/css/components/lists.css","webpack:///./resources/css/components/cards.css","webpack:///./","webpack:///./resources/css/utilities/typography.css","webpack:///./node_modules/tailwindcss/base.css","webpack:///./node_modules/tailwindcss/utilities.css"],"names":[],"mappings":"AAGA,KACE,sBACF,CAKA,iBCPkB,0IDSlB,CAFA,YCPkB,0IDSlB,CASA,UClBkB,YDoBlB,CAQA,yDC5BkB,gDD8BlB,CEjCA,KDGkB,uDCOlB,CDPkB,iCAAmB,CAAnB,kEAAmB,CAAnB,+YAAmB,CAAnB,gaAAmB,CAAnB,yQAAmB,CCAnC,aDAgB,uECEhB,CDFgB,0FAAmB,CAAnB,wGAAmB,CCInC,eDJgB,UCMhB,CCTF,eFGkB,yWEalB,CAbE,kBFAgB,kBEMhB,CAHE,oBFHc,kGEKd,CFLc,iKAAmB,CAAnB,gWAAmB,CGHrC,MHGkB,+SGDlB,CCFA,yBJGkB,oBAAmB,EAAnB,iJAAmB,CKCnC,gBLDgB,gEKGhB,CLHgB,4FAAmB,CKMrC,MLNkB,mGKQlB,CCXA,6IAAc,CAAd,mDAAc,CAAd,6HAAc,CAAd,yBAAc,CAAd,qFAAc,CAAd,2BAAc,CAAd,gHAAc,CAAd,mBAAc,CAAd,6EAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,wCAAc,CAAd,kGAAc,CAAd,iCAAc,CAAd,4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iFAAmB,CAAnB,oCAAmB,CAAnB,YAAmB,CAAnB,iBAAmB,CAAnB,eAAmB,CAAnB,kBAAmB,CAAnB,iBAAmB,CAAnB,eAAmB,CAAnB,gBAAmB,CAAnB,iBAAmB,CAAnB,iBAAmB,CAAnB,kBAAmB,CAAnB,cAAmB,CAAnB,gBAAmB,CAAnB,gBAAmB,CAAnB,gBAAmB,CAAnB,0DAAmB,CAAnB,mUAAmB,CAAnB,mCAAmB,CAAnB,uCAAmB,CAAnB,yCAAmB,CAAnB,mCAAmB,CAAnB,sCAAmB,CAAnB,wCAAmB,CAAnB,mHAAmB,CAAnB,wLAAmB,CAAnB,kKAAmB,CAAnB,+HAAmB,CAAnB,0DAAmB,CAAnB,2DAAmB,CAAnB,qCAAmB,CAAnB,qCAAmB,CAAnB,qCAAmB,CAAnB,kDAAmB,EAAnB,0CAAmB,EAAnB,2DAAmB,EAAnB,mDAAmB,EAAnB,uCAAmB,EAAnB,+BAAmB,EAAnB,oKAAmB,CAAnB,4HAAmB,EAAnB,4JAAmB,CAAnB,4HAAmB,EAAnB,gEAAmB,CAAnB,sCAAmB,CAAnB,2CAAmB,CAAnB,sCAAmB,EAAnB,wDAAmB,CAAnB,sCAAmB,CAAnB,2CAAmB,CAAnB,sCAAmB,EHAnB,8CGAA,mJAAmB,EHAnB,yBGAA,uCAAmB,CAAnB,yCAAmB,CAAnB,uCAAmB,CAAnB,0CAAmB,CAAnB,uCAAmB,EHAnB,yBGAA,wBAAmB,CAAnB,oDAAmB,CAAnB,uBAAmB,CAAnB,kDAAmB,CAAnB,kDAAmB,CAAnB,2BAAmB,CAAnB,2JAAmB,CAAnB,uCAAmB,EHAnB,0BGAA,qBAAmB","file":"css/filament.css","sourcesContent":["/**\n * Smoothly animate the scroll position, instead of a straight jump.\n */\nhtml {\n scroll-behavior: smooth;\n}\n\n/**\n * ::selection selector: color, background, cursor, and outline.\n */\n::selection {\n @apply bg-blue-600 text-white;\n}\n\n/**\n * `x-cloak` attributes are removed from elements when Alpine initializes.\n * This is useful for hiding pre-initialized DOM.\n *\n * @link https://github.com/alpinejs/alpine#x-cloak\n *\n */\n[x-cloak] {\n @apply hidden;\n}\n\n/**\n * Selectively disable the default focus style by selecting for the case when the polyfill\n * is loaded and [data-focus-visible-added] attribute is not applied to the element:\n *\n * @link https://github.com/WICG/focus-visible#2-update-your-css\n */\n.js-focus-visible :focus:not([data-focus-visible-added]) {\n @apply outline-none;\n}\n","\n @tailwind base;\n @tailwind components;\n @tailwind utilities;\n ",".btn {\n @apply cursor-pointer text-sm font-semibold py-2 px-4 border border-gray-300 bg-gray-100 text-gray-800 rounded transition duration-200 shadow-sm inline-block relative focus:ring focus:ring-indigo-200 focus:ring-opacity-50 hover:bg-gray-200;\n\n &-primary {\n @apply border-transparent bg-blue-700 text-white hover:bg-blue-800;\n }\n\n &[disabled] {\n @apply opacity-50;\n }\n}\n",".list-dropdown {\n @apply bg-white shadow rounded text-sm leading-tight text-left overflow-hidden;\n\n > li {\n @apply whitespace-nowrap;\n\n & + * {\n @apply border-t border-gray-300;\n }\n }\n\n a,\n button,\n [role='menuitem'] {\n @apply inline-block w-full py-2 px-4 transition-colors duration-200 text-gray-600 hover:bg-gray-200;\n }\n}\n",".card {\n @apply p-4 md:p-6 bg-white shadow rounded overflow-hidden;\n}\n",null,".help,\n.hint {\n @apply text-xs font-normal leading-tight text-gray-500;\n\n a {\n @apply text-blue-600 hover:text-blue-800;\n }\n}\n\n.hint {\n @apply font-mono;\n}\n","@tailwind base;\n","@tailwind utilities;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./resources/css/base.css","webpack:///./","webpack:///./resources/css/components/buttons.css","webpack:///./resources/css/components/lists.css","webpack:///./resources/css/components/cards.css","webpack:///./","webpack:///./resources/css/utilities/typography.css","webpack:///./node_modules/tailwindcss/base.css","webpack:///./node_modules/tailwindcss/utilities.css"],"names":[],"mappings":"AAGA,KACE,sBACF,CAKA,iBCPkB,0IDSlB,CAFA,YCPkB,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mB,EAAnB,oKAAmB,CAAnB,4HAAmB,EAAnB,4JAAmB,CAAnB,4HAAmB,EAAnB,gEAAmB,CAAnB,sCAAmB,CAAnB,2CAAmB,CAAnB,sCAAmB,EAAnB,wDAAmB,CAAnB,sCAAmB,CAAnB,2CAAmB,CAAnB,sCAAmB,EHAnB,8CGAA,mJAAmB,EHAnB,yBGAA,uCAAmB,CAAnB,yCAAmB,CAAnB,uCAAmB,CAAnB,0CAAmB,CAAnB,uCAAmB,EHAnB,yBGAA,wBAAmB,CAAnB,oDAAmB,CAAnB,uBAAmB,CAAnB,kDAAmB,CAAnB,kDAAmB,CAAnB,2BAAmB,CAAnB,2JAAmB,CAAnB,uCAAmB,EHAnB,0BGAA,qBAAmB,CAAnB,8DAAmB","file":"css/filament.css","sourcesContent":["/**\n * Smoothly animate the scroll position, instead of a straight jump.\n */\nhtml {\n scroll-behavior: smooth;\n}\n\n/**\n * ::selection selector: color, background, cursor, and outline.\n */\n::selection {\n @apply bg-blue-600 text-white;\n}\n\n/**\n * `x-cloak` attributes are removed from elements when Alpine initializes.\n * This is useful for hiding pre-initialized DOM.\n *\n * @link https://github.com/alpinejs/alpine#x-cloak\n *\n */\n[x-cloak] {\n @apply hidden;\n}\n\n/**\n * Selectively disable the default focus style by selecting for the case when the polyfill\n * is loaded and [data-focus-visible-added] attribute is not applied to the element:\n *\n * @link https://github.com/WICG/focus-visible#2-update-your-css\n */\n.js-focus-visible :focus:not([data-focus-visible-added]) {\n @apply outline-none;\n}\n","\n @tailwind base;\n @tailwind components;\n @tailwind utilities;\n ",".btn {\n @apply cursor-pointer text-sm font-semibold py-2 px-4 border border-gray-300 bg-gray-100 text-gray-800 rounded transition duration-200 shadow-sm inline-block relative focus:ring focus:ring-indigo-200 focus:ring-opacity-50 hover:bg-gray-200;\n\n &-primary {\n @apply border-transparent bg-blue-700 text-white hover:bg-blue-800;\n }\n\n &[disabled] {\n @apply opacity-50;\n }\n}\n",".list-dropdown {\n @apply bg-white shadow rounded text-sm leading-tight text-left overflow-hidden;\n\n > li {\n @apply whitespace-nowrap;\n\n & + * {\n @apply border-t border-gray-300;\n }\n }\n\n a,\n button,\n [role='menuitem'] {\n @apply inline-block w-full py-2 px-4 transition-colors duration-200 text-gray-600 hover:bg-gray-200;\n }\n}\n",".card {\n @apply p-4 md:p-6 bg-white shadow rounded overflow-hidden;\n}\n",null,".help,\n.hint {\n @apply text-xs font-normal leading-tight text-gray-500;\n\n a {\n @apply text-blue-600 hover:text-blue-800;\n }\n}\n\n.hint {\n @apply font-mono;\n}\n","@tailwind base;\n","@tailwind utilities;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/mix-manifest.json b/dist/mix-manifest.json index 0904dbfaef..4a82f97be6 100644 --- a/dist/mix-manifest.json +++ b/dist/mix-manifest.json @@ -1,6 +1,6 @@ { "/js/filament.js": "/js/filament.js?id=9995e728ce8648b81f5d", - "/css/filament.css": "/css/filament.css?id=59ae2ccb0284510a04e7", + "/css/filament.css": "/css/filament.css?id=861788a74c7acdcdfb24", "/js/filament.js.map": "/js/filament.js.map?id=1d3615b89069bfd79261", - "/css/filament.css.map": "/css/filament.css.map?id=e875f899bca9d385fc36" + "/css/filament.css.map": "/css/filament.css.map?id=0cdd1f4b1a3b98124155" } diff --git a/resources/views/components/fieldset.blade.php b/resources/views/components/fieldset.blade.php index edce1ed5bf..13fdf05bdb 100644 --- a/resources/views/components/fieldset.blade.php +++ b/resources/views/components/fieldset.blade.php @@ -1,11 +1,12 @@ @props([ - 'cols' => 1, 'legend' => null, ]) -
merge(['class' => 'border rounded border-grey-100 p-4 md:px-6 grid grid-cols-1 gap-2 lg:gap-6 lg:grid-cols-'.$cols]) }}> +
@if ($legend) {{ $legend }} @endif - {{ $slot }} +
+ {{ $slot }} +
\ No newline at end of file diff --git a/resources/views/components/input-avatar.blade.php b/resources/views/components/input-avatar.blade.php index 5c4ea6e0cd..7479bff364 100644 --- a/resources/views/components/input-avatar.blade.php +++ b/resources/views/components/input-avatar.blade.php @@ -34,7 +34,7 @@
- +
diff --git a/resources/views/livewire/account.blade.php b/resources/views/livewire/account.blade.php index 158011a0fe..d0f622a276 100644 --- a/resources/views/livewire/account.blade.php +++ b/resources/views/livewire/account.blade.php @@ -8,15 +8,15 @@ - + {{ __('Optional') }} - + - + {{ __('Optional') }} @@ -26,7 +26,7 @@ - + diff --git a/src/Http/Livewire/Account.php b/src/Http/Livewire/Account.php index f5c71cd03c..d230bffe43 100644 --- a/src/Http/Livewire/Account.php +++ b/src/Http/Livewire/Account.php @@ -26,7 +26,8 @@ class Account extends Component 'required', 'email', ], - 'password' => 'nullable', + 'password' => 'nullable|required_with:password_confirmation|min:8|confirmed', + 'password_confirmation' => 'nullable|same:password', ]; public function updated($user) @@ -37,8 +38,6 @@ class Account extends Component 'email', Rule::unique('users', 'email')->ignore($this->user->id), ], - 'password' => 'nullable|required_with:password_confirmation|min:8', - 'password_confirmation' => 'nullable|same:password', ]); } diff --git a/tests/Feature/ProfileAccountTest.php b/tests/Feature/ProfileAccountTest.php new file mode 100644 index 0000000000..5327e802f4 --- /dev/null +++ b/tests/Feature/ProfileAccountTest.php @@ -0,0 +1,112 @@ +user = User::factory()->create(); + } + + public function test_name_is_required() + { + $this->accountComponent() + ->set('user.name', '') + ->call('submit') + ->assertHasErrors(['user.name' => 'required']); + } + + public function test_name_is_minimum_two_characters() + { + $this->accountComponent() + ->set('user.name', 'a') + ->call('submit') + ->assertHasErrors(['user.name' => 'min']); + } + + public function test_email_is_required() + { + $this->accountComponent() + ->set('user.email', '') + ->call('submit') + ->assertHasErrors(['user.email' => 'required']); + } + + public function test_email_is_valid_email() + { + $this->accountComponent() + ->set('user.email', 'Something') + ->call('submit') + ->assertHasErrors(['user.email' => 'email']); + } + + public function test_email_is_unique() + { + User::factory()->create(['email' => 'test@example.com']); + + $this->accountComponent() + ->set('user.email', 'test@example.com') + ->assertHasErrors(['user.email' => 'unique']); + } + + public function test_password_may_be_left_blank() + { + $this->accountComponent() + ->set('password', '') + ->call('submit') + ->assertHasNoErrors(['password' => 'nullable']); + } + + public function test_password_is_minimum_eight_characters() + { + $this->accountComponent() + ->set('password', 'test') + ->call('submit') + ->assertHasErrors(['password' => 'min']); + } + + public function test_password_must_be_confirmed() + { + $this->accountComponent() + ->set('password', 'test') + ->call('submit') + ->assertHasErrors(['password' => 'confirmed']); + } + + public function test_password_confirmation_may_be_left_blank() + { + $this->accountComponent() + ->set('password_confirmation', '') + ->call('submit') + ->assertHasNoErrors(['password_confirmation' => 'nullable']); + } + + public function test_password_confirmation_matches_password() + { + $this->accountComponent() + ->set('password', 'test') + ->set('password_confirmation', 'test2') + ->call('submit') + ->assertHasErrors(['password_confirmation' => 'same']); + } + + public function test_account_saved() + { + $this->accountComponent() + ->call('submit') + ->assertDispatchedBrowserEvent('notify', __('Account saved!')); + } + + public function accountComponent() + { + return Livewire::test(Account::class, ['user' => $this->user]); + } +} \ No newline at end of file diff --git a/tests/Feature/ProfileTest.php b/tests/Feature/ProfileTest.php new file mode 100644 index 0000000000..d6a1397288 --- /dev/null +++ b/tests/Feature/ProfileTest.php @@ -0,0 +1,27 @@ +user = User::factory()->create(); + } + + public function test_can_see_profile_and_user_account_form() + { + Livewire::actingAs($this->user) + ->test(Profile::class) + ->assertSee(__('Profile')) + ->assertSeeLivewire('filament-account'); + } +} \ No newline at end of file