diff --git a/404.html b/404.html new file mode 120000 index 0000000..64233a9 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +index.html \ No newline at end of file diff --git a/assets/index-BiF6f5hV.css b/assets/index-BiF6f5hV.css new file mode 100644 index 0000000..6b04bdd --- /dev/null +++ b/assets/index-BiF6f5hV.css @@ -0,0 +1 @@ +.dark{color-scheme:dark}@keyframes fadeInDown-e76a5f74{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp-e76a5f74{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in-down[data-v-e76a5f74]{animation:fadeInDown-e76a5f74 1s ease-out}.animate-fade-in-up[data-v-e76a5f74]{animation:fadeInUp-e76a5f74 1s ease-out}.product-details-modal[data-v-f32baca0]{scrollbar-width:auto;scrollbar-color:rgba(156,163,175,.5) transparent}.product-details-modal[data-v-f32baca0]::-webkit-scrollbar{width:12px}.product-details-modal[data-v-f32baca0]::-webkit-scrollbar-track{background:transparent}.product-details-modal[data-v-f32baca0]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:6px;border:3px solid rgba(255,255,255,.1)}.product-details-modal[data-v-f32baca0]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}.product-details-modal .overflow-x-auto[data-v-f32baca0]{scroll-behavior:smooth}.line-clamp-2[data-v-0af70e76]{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.group:hover .group-hover\:opacity-100[data-v-0af70e76]{opacity:1}.bg-green-100[data-v-afb2a038],.dark .bg-green-800[data-v-afb2a038]{transition:background-color .5s ease}.line-clamp-2[data-v-187c3b28]{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bg-green-100[data-v-187c3b28],.dark .bg-green-800[data-v-187c3b28]{transition:background-color .5s ease}.group:hover .group-hover\:opacity-100[data-v-187c3b28]{opacity:1}.overflow-x-auto[data-v-187c3b28]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.5) transparent}.overflow-x-auto[data-v-187c3b28]::-webkit-scrollbar{height:10px}.overflow-x-auto[data-v-187c3b28]::-webkit-scrollbar-track{background:transparent}.overflow-x-auto[data-v-187c3b28]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:5px}.overflow-x-auto[data-v-187c3b28]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}.bg-gray-700[data-v-187c3b28]{background-color:#374151}.bg-gray-800[data-v-187c3b28]{background-color:#1f2937}.text-green-400[data-v-0e01e2db]{color:#4ade80}.text-gray-500[data-v-0e01e2db]{color:#6b7280}.bg-gray-700[data-v-0e01e2db]{background-color:#374151}.bg-gray-800[data-v-0e01e2db]{background-color:#1f2937}.bg-gray-900[data-v-0e01e2db]{background-color:#111827}@keyframes fadeInDown-070f966c{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in-down[data-v-070f966c]{animation:fadeInDown-070f966c 1s ease-out}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.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}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-2{left:.5rem}.left-4{left:1rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.m-6{margin:1.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-32{height:8rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.max-h-60{max-height:15rem}.max-h-\[90vh\]{max-height:90vh}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-32{width:8rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-80{width:20rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-10{--tw-translate-y: 2.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-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 * calc(1 - var(--tw-space-x-reverse)))}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(3rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-4{padding-right:1rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.line-through{text-decoration-line:line-through}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--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 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-indigo-300:hover{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-indigo-500:focus{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2: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(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 #0000)}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-indigo-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.dark\:bg-indigo-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-600:is(.dark *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.dark\:text-indigo-400:is(.dark *){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:text-gray-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:hover\:text-green-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.dark\:hover\:text-indigo-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.dark\:hover\:text-indigo-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:mb-12{margin-bottom:3rem}.sm\:mb-8{margin-bottom:2rem}.sm\:mt-16{margin-top:4rem}.sm\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:translate-x-2{--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\: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 * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:p-10{padding:2.5rem}.sm\:p-6{padding:1.5rem}.sm\:p-8{padding:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width: 768px){.md\:mb-0{margin-bottom:0}.md\:mr-6{margin-right:1.5rem}.md\:w-1\/2{width:50%}.md\:w-1\/4{width:25%}.md\:w-3\/4{width:75%}.md\:flex-row{flex-direction:row}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:pl-8{padding-left:2rem}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1280px){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}} diff --git a/assets/index-CpJWj1H3.js b/assets/index-CpJWj1H3.js new file mode 100644 index 0000000..96e756c --- /dev/null +++ b/assets/index-CpJWj1H3.js @@ -0,0 +1,25 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/** +* @vue/shared v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function no(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const xe={},en=[],Ge=()=>{},yl=()=>!1,Xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),so=e=>e.startsWith("onUpdate:"),Ae=Object.assign,oo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xl=Object.prototype.hasOwnProperty,ce=(e,t)=>xl.call(e,t),J=Array.isArray,tn=e=>es(e)==="[object Map]",Vr=e=>es(e)==="[object Set]",X=e=>typeof e=="function",ke=e=>typeof e=="string",Rt=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",Ur=e=>(ye(e)||X(e))&&X(e.then)&&X(e.catch),Kr=Object.prototype.toString,es=e=>Kr.call(e),bl=e=>es(e).slice(8,-1),qr=e=>es(e)==="[object Object]",ro=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gn=no(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ts=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wl=/-(\w)/g,Xe=ts(e=>e.replace(wl,(t,n)=>n?n.toUpperCase():"")),kl=/\B([A-Z])/g,Tt=ts(e=>e.replace(kl,"-$1").toLowerCase()),ns=ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=ts(e=>e?`on${ns(e)}`:""),St=(e,t)=>!Object.is(e,t),Hn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Fs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$l=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Oo;const zr=()=>Oo||(Oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function io(e){if(J(e)){const t={};for(let n=0;n{if(n){const s=n.split(Pl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Oe(e){let t="";if(ke(e))t=e;else if(J(e))for(let n=0;n!!(e&&e.__v_isRef===!0),R=e=>ke(e)?e:e==null?"":J(e)||ye(e)&&(e.toString===Kr||!X(e.toString))?Qr(e)?R(e.value):JSON.stringify(e,Yr,2):String(e),Yr=(e,t)=>Qr(t)?Yr(e,t.value):tn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[xs(s,r)+" =>"]=o,n),{})}:Vr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xs(n))}:Rt(t)?xs(t):ye(t)&&!J(t)&&!qr(t)?String(t):t,xs=(e,t="")=>{var n;return Rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ke;class Jr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){Ke=this}off(){Ke=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ct,n=Dt;try{return Ct=!0,Dt=this,this._runnings++,Lo(this),this.fn()}finally{Fo(this),this._runnings--,Dt=n,Ct=t}}stop(){this.active&&(Lo(this),Fo(this),this.onStop&&this.onStop(),this.active=!1)}}function Il(e){return e.value}function Lo(e){e._trackId++,e._depsLength=0}function Fo(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Wn=new WeakMap,Vt=Symbol(""),Bs=Symbol("");function Ve(e,t,n){if(Ct&&Dt){let s=Wn.get(e);s||Wn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=oi(()=>s.delete(n))),ni(Dt,o)}}function ct(e,t,n,s,o,r){const i=Wn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&J(e)){const c=Number(s);i.forEach((u,f)=>{(f==="length"||!Rt(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":J(e)?ro(n)&&l.push(i.get("length")):(l.push(i.get(Vt)),tn(e)&&l.push(i.get(Bs)));break;case"delete":J(e)||(l.push(i.get(Vt)),tn(e)&&l.push(i.get(Bs)));break;case"set":tn(e)&&l.push(i.get(Vt));break}ao();for(const c of l)c&&si(c,4);co()}function Ol(e,t){const n=Wn.get(e);return n&&n.get(t)}const Ll=no("__proto__,__v_isRef,__isVue"),ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Rt)),jo=Fl();function Fl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=de(this);for(let r=0,i=this.length;r{e[t]=function(...n){At(),ao();const s=de(this)[t].apply(this,n);return co(),Mt(),s}}),e}function jl(e){Rt(e)||(e=String(e));const t=de(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Yl:ui:r?ci:ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=J(t);if(!o){if(i&&ce(jo,n))return Reflect.get(jo,n,s);if(n==="hasOwnProperty")return jl}const l=Reflect.get(t,n,s);return(Rt(n)?ri.has(n):Ll(n))||(o||Ve(t,"get",n),r)?l:Se(l)?i&&ro(n)?l:l.value:ye(l)?o?fi(l):Rn(l):l}}class li extends ii{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const c=Wt(r);if(!sn(s)&&!Wt(s)&&(r=de(r),s=de(s)),!J(t)&&Se(r)&&!Se(s))return c?!1:(r.value=s,!0)}const i=J(t)&&ro(n)?Number(n)e,ss=e=>Reflect.getPrototypeOf(e);function Mn(e,t,n=!1,s=!1){e=e.__v_raw;const o=de(e),r=de(t);n||(St(t,r)&&Ve(o,"get",t),Ve(o,"get",r));const{has:i}=ss(o),l=s?uo:n?po:wn;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function In(e,t=!1){const n=this.__v_raw,s=de(n),o=de(e);return t||(St(e,o)&&Ve(s,"has",e),Ve(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function On(e,t=!1){return e=e.__v_raw,!t&&Ve(de(e),"iterate",Vt),Reflect.get(e,"size",e)}function No(e,t=!1){!t&&!sn(e)&&!Wt(e)&&(e=de(e));const n=de(this);return ss(n).has.call(n,e)||(n.add(e),ct(n,"add",e,e)),this}function Bo(e,t,n=!1){!n&&!sn(t)&&!Wt(t)&&(t=de(t));const s=de(this),{has:o,get:r}=ss(s);let i=o.call(s,e);i||(e=de(e),i=o.call(s,e));const l=r.call(s,e);return s.set(e,t),i?St(t,l)&&ct(s,"set",e,t):ct(s,"add",e,t),this}function Ho(e){const t=de(this),{has:n,get:s}=ss(t);let o=n.call(t,e);o||(e=de(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&ct(t,"delete",e,void 0),r}function Do(){const e=de(this),t=e.size!==0,n=e.clear();return t&&ct(e,"clear",void 0,void 0),n}function Ln(e,t){return function(s,o){const r=this,i=r.__v_raw,l=de(i),c=t?uo:e?po:wn;return!e&&Ve(l,"iterate",Vt),i.forEach((u,f)=>s.call(o,c(u),c(f),r))}}function Fn(e,t,n){return function(...s){const o=this.__v_raw,r=de(o),i=tn(r),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=o[e](...s),f=n?uo:t?po:wn;return!t&&Ve(r,"iterate",c?Bs:Vt),{next(){const{value:h,done:p}=u.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function pt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vl(){const e={get(r){return Mn(this,r)},get size(){return On(this)},has:In,add:No,set:Bo,delete:Ho,clear:Do,forEach:Ln(!1,!1)},t={get(r){return Mn(this,r,!1,!0)},get size(){return On(this)},has:In,add(r){return No.call(this,r,!0)},set(r,i){return Bo.call(this,r,i,!0)},delete:Ho,clear:Do,forEach:Ln(!1,!0)},n={get(r){return Mn(this,r,!0)},get size(){return On(this,!0)},has(r){return In.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!1)},s={get(r){return Mn(this,r,!0,!0)},get size(){return On(this,!0)},has(r){return In.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Fn(r,!1,!1),n[r]=Fn(r,!0,!1),t[r]=Fn(r,!1,!0),s[r]=Fn(r,!0,!0)}),[e,n,t,s]}const[Ul,Kl,ql,Wl]=Vl();function fo(e,t){const n=t?e?Wl:ql:e?Kl:Ul;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ce(n,o)&&o in s?n:s,o,r)}const zl={get:fo(!1,!1)},Gl={get:fo(!1,!0)},Ql={get:fo(!0,!1)};const ai=new WeakMap,ci=new WeakMap,ui=new WeakMap,Yl=new WeakMap;function Jl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zl(e){return e.__v_skip||!Object.isExtensible(e)?0:Jl(bl(e))}function Rn(e){return Wt(e)?e:ho(e,!1,Bl,zl,ai)}function di(e){return ho(e,!1,Dl,Gl,ci)}function fi(e){return ho(e,!0,Hl,Ql,ui)}function ho(e,t,n,s,o){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Zl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Ut(e){return Wt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function hi(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function go(e){return Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const wn=e=>ye(e)?Rn(e):e,po=e=>ye(e)?fi(e):e;class gi{constructor(t,n,s,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new lo(()=>t(this._value),()=>Dn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=de(this);return(!t._cacheable||t.effect.dirty)&&St(t._value,t._value=t.effect.run())&&Dn(t,4),pi(t),t.effect._dirtyLevel>=2&&Dn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Xl(e,t,n=!1){let s,o;const r=X(e);return r?(s=e,o=Ge):(s=e.get,o=e.set),new gi(s,o,r||!o,n)}function pi(e){var t;Ct&&Dt&&(e=de(e),ni(Dt,(t=e.dep)!=null?t:e.dep=oi(()=>e.dep=void 0,e instanceof gi?e:void 0)))}function Dn(e,t=4,n,s){e=de(e);const o=e.dep;o&&si(o,t)}function Se(e){return!!(e&&e.__v_isRef===!0)}function G(e){return mi(e,!1)}function ea(e){return mi(e,!0)}function mi(e,t){return Se(e)?e:new ta(e,t)}class ta{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:wn(t)}get value(){return pi(this),this._value}set value(t){const n=this.__v_isShallow||sn(t)||Wt(t);t=n?t:de(t),St(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:wn(t),Dn(this,4))}}function ie(e){return Se(e)?e.value:e}const na={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function vi(e){return Ut(e)?e:new Proxy(e,na)}function sa(e){const t=J(e)?new Array(e.length):{};for(const n in e)t[n]=ra(e,n);return t}class oa{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ol(de(this._object),this._key)}}function ra(e,t,n){const s=e[t];return Se(s)?s:new oa(e,t,n)}/** +* @vue/runtime-core v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Pt(e,t,n,s){try{return s?e(...s):e()}catch(o){os(o,t,n)}}function Qe(e,t,n,s){if(X(e)){const o=Pt(e,t,n,s);return o&&Ur(o)&&o.catch(r=>{os(r,t,n)}),o}if(J(e)){const o=[];for(let r=0;r>>1,o=Fe[s],r=$n(o);rrt&&Fe.splice(t,1)}function ca(e){J(e)?nn.push(...e):(!xt||!xt.includes(e,e.allowRecurse?Bt+1:Bt))&&nn.push(e),yi()}function Vo(e,t,n=kn?rt+1:0){for(;n$n(n)-$n(s));if(nn.length=0,xt){xt.push(...t);return}for(xt=t,Bt=0;Bte.id==null?1/0:e.id,ua=(e,t)=>{const n=$n(e)-$n(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bi(e){Hs=!1,kn=!0,Fe.sort(ua);try{for(rt=0;rt{s._d&&er(-1);const r=zn(t);let i;try{i=e(...o)}finally{zn(r),s._d&&er(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ut(e,t){if(Ce===null)return e;const n=fs(Ce),s=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Si(()=>{e.isUnmounting=!0}),e}const ze=[Function,Array],wi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ze,onEnter:ze,onAfterEnter:ze,onEnterCancelled:ze,onBeforeLeave:ze,onLeave:ze,onAfterLeave:ze,onLeaveCancelled:ze,onBeforeAppear:ze,onAppear:ze,onAfterAppear:ze,onAppearCancelled:ze},ki=e=>{const t=e.subTree;return t.component?ki(t.component):t},fa={name:"BaseTransition",props:wi,setup(e,{slots:t}){const n=mc(),s=da();return()=>{const o=t.default&&Ci(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const p of o)if(p.type!==He){r=p;break}}const i=de(e),{mode:l}=i;if(s.isLeaving)return bs(r);const c=Uo(r);if(!c)return bs(r);let u=Ds(c,i,s,n,p=>u=p);Gn(c,u);const f=n.subTree,h=f&&Uo(f);if(h&&h.type!==He&&!Ht(c,h)&&ki(n).type!==He){const p=Ds(h,i,s,n);if(Gn(h,p),l==="out-in"&&c.type!==He)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},bs(r);l==="in-out"&&c.type!==He&&(p.delayLeave=(m,v,y)=>{const A=$i(s,h);A[String(h.key)]=h,m[bt]=()=>{v(),m[bt]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return r}}},ha=fa;function $i(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ds(e,t,n,s,o){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:v,onLeaveCancelled:y,onBeforeAppear:A,onAppear:S,onAfterAppear:O,onAppearCancelled:b}=t,q=String(e.key),K=$i(n,e),$=(I,D)=>{I&&Qe(I,s,9,D)},k=(I,D)=>{const Z=D[1];$(I,D),J(I)?I.every(V=>V.length<=1)&&Z():I.length<=1&&Z()},M={mode:i,persisted:l,beforeEnter(I){let D=c;if(!n.isMounted)if(r)D=A||c;else return;I[bt]&&I[bt](!0);const Z=K[q];Z&&Ht(e,Z)&&Z.el[bt]&&Z.el[bt](),$(D,[I])},enter(I){let D=u,Z=f,V=h;if(!n.isMounted)if(r)D=S||u,Z=O||f,V=b||h;else return;let ne=!1;const be=I[jn]=je=>{ne||(ne=!0,je?$(V,[I]):$(Z,[I]),M.delayedLeave&&M.delayedLeave(),I[jn]=void 0)};D?k(D,[I,be]):be()},leave(I,D){const Z=String(e.key);if(I[jn]&&I[jn](!0),n.isUnmounting)return D();$(p,[I]);let V=!1;const ne=I[bt]=be=>{V||(V=!0,D(),be?$(y,[I]):$(v,[I]),I[bt]=void 0,K[Z]===e&&delete K[Z])};K[Z]=e,m?k(m,[I,ne]):ne()},clone(I){const D=Ds(I,t,n,s,o);return o&&o(D),D}};return M}function bs(e){if(ls(e))return e=Et(e),e.children=null,e}function Uo(e){if(!ls(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&X(n.default))return n.default()}}function Gn(e,t){e.shapeFlag&6&&e.component?Gn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ci(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,ls=e=>e.type.__isKeepAlive;function ga(e,t){Pi(e,"a",t)}function pa(e,t){Pi(e,"da",t)}function Pi(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(as(t,s,n),n){let o=n.parent;for(;o&&o.parent;)ls(o.parent.vnode)&&ma(s,t,n,o),o=o.parent}}function ma(e,t,n,s){const o=as(t,e,s,!0);Ei(()=>{oo(s[t],o)},n)}function as(e,t,n=Re,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{At();const l=Tn(n),c=Qe(t,n,e,i);return l(),Mt(),c});return s?o.unshift(r):o.push(r),r}}const gt=e=>(t,n=Re)=>{(!ds||e==="sp")&&as(e,(...s)=>t(...s),n)},va=gt("bm"),ln=gt("m"),_a=gt("bu"),ya=gt("u"),Si=gt("bum"),Ei=gt("um"),xa=gt("sp"),ba=gt("rtg"),wa=gt("rtc");function ka(e,t=Re){as("ec",e,t)}const Ri="components";function $a(e,t){return Ai(Ri,e,!0,t)||e}const Ti=Symbol.for("v-ndc");function Ca(e){return ke(e)?Ai(Ri,e,!1)||e:e||Ti}function Ai(e,t,n=!0,s=!1){const o=Ce||Re;if(o){const r=o.type;{const l=bc(r,!1);if(l&&(l===t||l===Xe(t)||l===ns(Xe(t))))return r}const i=Ko(o[e]||r[e],t)||Ko(o.appContext[e],t);return!i&&s?r:i}}function Ko(e,t){return e&&(e[t]||e[Xe(t)]||e[ns(Xe(t))])}function Pe(e,t,n,s){let o;const r=n;if(J(e)||ke(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,r));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,c=i.length;lYn(t)?!(t.type===He||t.type===ue&&!Mi(t.children)):!0)?e:null}const Vs=e=>e?Zi(e)?fs(e):Vs(e.parent):null,mn=Ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$emit:e=>e.emit,$options:e=>_o(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,vo(e.update)}),$nextTick:e=>e.n||(e.n=rs.bind(e.proxy)),$watch:e=>Xa.bind(e)}),ws=(e,t)=>e!==xe&&!e.__isScriptSetup&&ce(e,t),Sa={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ws(s,t))return i[t]=1,s[t];if(o!==xe&&ce(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ce(u,t))return i[t]=3,r[t];if(n!==xe&&ce(n,t))return i[t]=4,n[t];Us&&(i[t]=0)}}const f=mn[t];let h,p;if(f)return t==="$attrs"&&Ve(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==xe&&ce(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,ce(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ws(o,t)?(o[t]=n,!0):s!==xe&&ce(s,t)?(s[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==xe&&ce(e,i)||ws(t,i)||(l=r[0])&&ce(l,i)||ce(s,i)||ce(mn,i)||ce(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qo(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Us=!0;function Ea(e){const t=_o(e),n=e.proxy,s=e.ctx;Us=!1,t.beforeCreate&&Wo(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:v,activated:y,deactivated:A,beforeDestroy:S,beforeUnmount:O,destroyed:b,unmounted:q,render:K,renderTracked:$,renderTriggered:k,errorCaptured:M,serverPrefetch:I,expose:D,inheritAttrs:Z,components:V,directives:ne,filters:be}=t;if(u&&Ra(u,s,null),i)for(const ee in i){const oe=i[ee];X(oe)&&(s[ee]=oe.bind(n))}if(o){const ee=o.call(n,n);ye(ee)&&(e.data=Rn(ee))}if(Us=!0,r)for(const ee in r){const oe=r[ee],Je=X(oe)?oe.bind(n,n):X(oe.get)?oe.get.bind(n,n):Ge,tt=!X(oe)&&X(oe.set)?oe.set.bind(n):Ge,We=ae({get:Je,set:tt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>We.value,set:Le=>We.value=Le})}if(l)for(const ee in l)Ii(l[ee],s,n,ee);if(c){const ee=X(c)?c.call(n):c;Reflect.ownKeys(ee).forEach(oe=>{Vn(oe,ee[oe])})}f&&Wo(f,e,"c");function ge(ee,oe){J(oe)?oe.forEach(Je=>ee(Je.bind(n))):oe&&ee(oe.bind(n))}if(ge(va,h),ge(ln,p),ge(_a,m),ge(ya,v),ge(ga,y),ge(pa,A),ge(ka,M),ge(wa,$),ge(ba,k),ge(Si,O),ge(Ei,q),ge(xa,I),J(D))if(D.length){const ee=e.exposed||(e.exposed={});D.forEach(oe=>{Object.defineProperty(ee,oe,{get:()=>n[oe],set:Je=>n[oe]=Je})})}else e.exposed||(e.exposed={});K&&e.render===Ge&&(e.render=K),Z!=null&&(e.inheritAttrs=Z),V&&(e.components=V),ne&&(e.directives=ne)}function Ra(e,t,n=Ge){J(e)&&(e=Ks(e));for(const s in e){const o=e[s];let r;ye(o)?"default"in o?r=Ye(o.from||s,o.default,!0):r=Ye(o.from||s):r=Ye(o),Se(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Wo(e,t,n){Qe(J(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ii(e,t,n,s){const o=s.includes(".")?Gi(n,s):()=>n[s];if(ke(e)){const r=t[e];X(r)&&dt(o,r)}else if(X(e))dt(o,e.bind(n));else if(ye(e))if(J(e))e.forEach(r=>Ii(r,t,n,s));else{const r=X(e.handler)?e.handler.bind(n):t[e.handler];X(r)&&dt(o,r,e)}}function _o(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(u=>Qn(c,u,i,!0)),Qn(c,t,i)),ye(t)&&r.set(t,c),c}function Qn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Qn(e,r,n,!0),o&&o.forEach(i=>Qn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ta[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ta={data:zo,props:Go,emits:Go,methods:hn,computed:hn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:hn,directives:hn,watch:Ma,provide:zo,inject:Aa};function zo(e,t){return t?e?function(){return Ae(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Aa(e,t){return hn(Ks(e),Ks(t))}function Ks(e){if(J(e)){const t={};for(let n=0;n1)return n&&X(t)?t.call(s&&s.proxy):t}}function La(){return!!(Re||Ce||Kt)}const Li={},Fi=()=>Object.create(Li),ji=e=>Object.getPrototypeOf(e)===Li;function Fa(e,t,n,s=!1){const o={},r=Fi();e.propsDefaults=Object.create(null),Ni(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:di(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function ja(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=de(o),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,m]=Bi(h,t,!0);Ae(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!c)return ye(e)&&s.set(e,en),en;if(J(r))for(let f=0;fe[0]==="_"||e==="$stable",yo=e=>J(e)?e.map(ot):[ot(e)],Ba=(e,t,n)=>{if(t._n)return t;const s=Te((...o)=>yo(t(...o)),n);return s._c=!1,s},Di=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Hi(o))continue;const r=e[o];if(X(r))t[o]=Ba(o,r,s);else if(r!=null){const i=yo(r);t[o]=()=>i}}},Vi=(e,t)=>{const n=yo(t);e.slots.default=()=>n},Ui=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ha=(e,t,n)=>{const s=e.slots=Fi();if(e.vnode.shapeFlag&32){const o=t._;o?(Ui(s,t,n),n&&Wr(s,"_",o,!0)):Di(t,s)}else t&&Vi(e,t)},Da=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=xe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:Ui(o,t,n):(r=!t.$stable,Di(t,o)),i=t}else t&&(Vi(e,t),i={default:1});if(r)for(const l in o)!Hi(l)&&i[l]==null&&delete o[l]};function Ws(e,t,n,s,o=!1){if(J(e)){e.forEach((p,m)=>Ws(p,t&&(J(t)?t[m]:t),n,s,o));return}if(pn(s)&&!o)return;const r=s.shapeFlag&4?fs(s.component):s.el,i=o?null:r,{i:l,r:c}=e,u=t&&t.r,f=l.refs===xe?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ke(u)?(f[u]=null,ce(h,u)&&(h[u]=null)):Se(u)&&(u.value=null)),X(c))Pt(c,l,12,[i,f]);else{const p=ke(c),m=Se(c);if(p||m){const v=()=>{if(e.f){const y=p?ce(h,c)?h[c]:f[c]:c.value;o?J(y)&&oo(y,r):J(y)?y.includes(r)||y.push(r):p?(f[c]=[r],ce(h,c)&&(h[c]=f[c])):(c.value=[r],e.k&&(f[e.k]=c.value))}else p?(f[c]=i,ce(h,c)&&(h[c]=i)):m&&(c.value=i,e.k&&(f[e.k]=i))};i?(v.id=-1,Be(v,n)):v()}}}const Ki=Symbol("_vte"),Va=e=>e.__isTeleport,vn=e=>e&&(e.disabled||e.disabled===""),Yo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zs=(e,t)=>{const n=e&&e.to;return ke(n)?t?t(n):null:n},Ua={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,l,c,u){const{mc:f,pc:h,pbc:p,o:{insert:m,querySelector:v,createText:y,createComment:A}}=u,S=vn(t.props);let{shapeFlag:O,children:b,dynamicChildren:q}=t;if(e==null){const K=t.el=y(""),$=t.anchor=y("");m(K,n,s),m($,n,s);const k=t.target=zs(t.props,v),M=Wi(k,t,y,m);k&&(i==="svg"||Yo(k)?i="svg":(i==="mathml"||Jo(k))&&(i="mathml"));const I=(D,Z)=>{O&16&&f(b,D,Z,o,r,i,l,c)};S?I(n,$):k&&I(k,M)}else{t.el=e.el,t.targetStart=e.targetStart;const K=t.anchor=e.anchor,$=t.target=e.target,k=t.targetAnchor=e.targetAnchor,M=vn(e.props),I=M?n:$,D=M?K:k;if(i==="svg"||Yo($)?i="svg":(i==="mathml"||Jo($))&&(i="mathml"),q?(p(e.dynamicChildren,q,I,o,r,i,l),xo(e,t,!0)):c||h(e,t,I,D,o,r,i,l,!1),S)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Nn(t,n,K,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=zs(t.props,v);Z&&Nn(t,Z,null,u,0)}else M&&Nn(t,$,k,u,1)}qi(t)},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:p}=e;if(h&&(o(u),o(f)),r&&o(c),i&16){const m=r||!vn(p);for(let v=0;v{if(d===g)return;d&&!Ht(d,g)&&(C=x(d),Le(d,w,E,!0),d=null),g.patchFlag===-2&&(j=!1,g.dynamicChildren=null);const{type:P,ref:U,shapeFlag:Q}=g;switch(P){case us:A(d,g,_,C);break;case He:S(d,g,_,C);break;case Un:d==null&&O(g,_,C,N);break;case ue:V(d,g,_,C,w,E,N,L,j);break;default:Q&1?K(d,g,_,C,w,E,N,L,j):Q&6?ne(d,g,_,C,w,E,N,L,j):(Q&64||Q&128)&&P.process(d,g,_,C,w,E,N,L,j,W)}U!=null&&w&&Ws(U,d&&d.ref,E,g||d,!g)},A=(d,g,_,C)=>{if(d==null)s(g.el=l(g.children),_,C);else{const w=g.el=d.el;g.children!==d.children&&u(w,g.children)}},S=(d,g,_,C)=>{d==null?s(g.el=c(g.children||""),_,C):g.el=d.el},O=(d,g,_,C)=>{[d.el,d.anchor]=v(d.children,g,_,C,d.el,d.anchor)},b=({el:d,anchor:g},_,C)=>{let w;for(;d&&d!==g;)w=p(d),s(d,_,C),d=w;s(g,_,C)},q=({el:d,anchor:g})=>{let _;for(;d&&d!==g;)_=p(d),o(d),d=_;o(g)},K=(d,g,_,C,w,E,N,L,j)=>{g.type==="svg"?N="svg":g.type==="math"&&(N="mathml"),d==null?$(g,_,C,w,E,N,L,j):I(d,g,w,E,N,L,j)},$=(d,g,_,C,w,E,N,L)=>{let j,P;const{props:U,shapeFlag:Q,transition:z,dirs:te}=d;if(j=d.el=i(d.type,E,U&&U.is,U),Q&8?f(j,d.children):Q&16&&M(d.children,j,null,C,w,ks(d,E),N,L),te&&Lt(d,null,C,"created"),k(j,d,d.scopeId,N,C),U){for(const _e in U)_e!=="value"&&!gn(_e)&&r(j,_e,null,U[_e],E,C);"value"in U&&r(j,"value",null,U.value,E),(P=U.onVnodeBeforeMount)&&st(P,C,d)}te&&Lt(d,null,C,"beforeMount");const se=Ga(w,z);se&&z.beforeEnter(j),s(j,g,_),((P=U&&U.onVnodeMounted)||se||te)&&Be(()=>{P&&st(P,C,d),se&&z.enter(j),te&&Lt(d,null,C,"mounted")},w)},k=(d,g,_,C,w)=>{if(_&&m(d,_),C)for(let E=0;E{for(let P=j;P{const L=g.el=d.el;let{patchFlag:j,dynamicChildren:P,dirs:U}=g;j|=d.patchFlag&16;const Q=d.props||xe,z=g.props||xe;let te;if(_&&Ft(_,!1),(te=z.onVnodeBeforeUpdate)&&st(te,_,g,d),U&&Lt(g,d,_,"beforeUpdate"),_&&Ft(_,!0),(Q.innerHTML&&z.innerHTML==null||Q.textContent&&z.textContent==null)&&f(L,""),P?D(d.dynamicChildren,P,L,_,C,ks(g,w),E):N||oe(d,g,L,null,_,C,ks(g,w),E,!1),j>0){if(j&16)Z(L,Q,z,_,w);else if(j&2&&Q.class!==z.class&&r(L,"class",null,z.class,w),j&4&&r(L,"style",Q.style,z.style,w),j&8){const se=g.dynamicProps;for(let _e=0;_e{te&&st(te,_,g,d),U&&Lt(g,d,_,"updated")},C)},D=(d,g,_,C,w,E,N)=>{for(let L=0;L{if(g!==_){if(g!==xe)for(const E in g)!gn(E)&&!(E in _)&&r(d,E,g[E],null,w,C);for(const E in _){if(gn(E))continue;const N=_[E],L=g[E];N!==L&&E!=="value"&&r(d,E,L,N,w,C)}"value"in _&&r(d,"value",g.value,_.value,w)}},V=(d,g,_,C,w,E,N,L,j)=>{const P=g.el=d?d.el:l(""),U=g.anchor=d?d.anchor:l("");let{patchFlag:Q,dynamicChildren:z,slotScopeIds:te}=g;te&&(L=L?L.concat(te):te),d==null?(s(P,_,C),s(U,_,C),M(g.children||[],_,U,w,E,N,L,j)):Q>0&&Q&64&&z&&d.dynamicChildren?(D(d.dynamicChildren,z,_,w,E,N,L),(g.key!=null||w&&g===w.subTree)&&xo(d,g,!0)):oe(d,g,_,U,w,E,N,L,j)},ne=(d,g,_,C,w,E,N,L,j)=>{g.slotScopeIds=L,d==null?g.shapeFlag&512?w.ctx.activate(g,_,C,N,j):be(g,_,C,w,E,N,j):je(d,g,j)},be=(d,g,_,C,w,E,N)=>{const L=d.component=pc(d,C,w);if(ls(d)&&(L.ctx.renderer=W),vc(L,!1,N),L.asyncDep){if(w&&w.registerDep(L,ge,N),!d.el){const j=L.subTree=re(He);S(null,j,g,_)}}else ge(L,d,g,_,w,E,N)},je=(d,g,_)=>{const C=g.component=d.component;if(oc(d,g,_))if(C.asyncDep&&!C.asyncResolved){ee(C,g,_);return}else C.next=g,aa(C.update),C.effect.dirty=!0,C.update();else g.el=d.el,C.vnode=g},ge=(d,g,_,C,w,E,N)=>{const L=()=>{if(d.isMounted){let{next:U,bu:Q,u:z,parent:te,vnode:se}=d;{const Yt=zi(d);if(Yt){U&&(U.el=se.el,ee(d,U,N)),Yt.asyncDep.then(()=>{d.isUnmounted||L()});return}}let _e=U,he;Ft(d,!1),U?(U.el=se.el,ee(d,U,N)):U=se,Q&&Hn(Q),(he=U.props&&U.props.onVnodeBeforeUpdate)&&st(he,te,U,se),Ft(d,!0);const Ee=$s(d),Ze=d.subTree;d.subTree=Ee,y(Ze,Ee,h(Ze.el),x(Ze),d,w,E),U.el=Ee.el,_e===null&&rc(d,Ee.el),z&&Be(z,w),(he=U.props&&U.props.onVnodeUpdated)&&Be(()=>st(he,te,U,se),w)}else{let U;const{el:Q,props:z}=g,{bm:te,m:se,parent:_e}=d,he=pn(g);if(Ft(d,!1),te&&Hn(te),!he&&(U=z&&z.onVnodeBeforeMount)&&st(U,_e,g),Ft(d,!0),Q&&we){const Ee=()=>{d.subTree=$s(d),we(Q,d.subTree,d,w,null)};he?g.type.__asyncLoader().then(()=>!d.isUnmounted&&Ee()):Ee()}else{const Ee=d.subTree=$s(d);y(null,Ee,_,C,d,w,E),g.el=Ee.el}if(se&&Be(se,w),!he&&(U=z&&z.onVnodeMounted)){const Ee=g;Be(()=>st(U,_e,Ee),w)}(g.shapeFlag&256||_e&&pn(_e.vnode)&&_e.vnode.shapeFlag&256)&&d.a&&Be(d.a,w),d.isMounted=!0,g=_=C=null}},j=d.effect=new lo(L,Ge,()=>vo(P),d.scope),P=d.update=()=>{j.dirty&&j.run()};P.i=d,P.id=d.uid,Ft(d,!0),P()},ee=(d,g,_)=>{g.component=d;const C=d.vnode.props;d.vnode=g,d.next=null,ja(d,g.props,C,_),Da(d,g.children,_),At(),Vo(d),Mt()},oe=(d,g,_,C,w,E,N,L,j=!1)=>{const P=d&&d.children,U=d?d.shapeFlag:0,Q=g.children,{patchFlag:z,shapeFlag:te}=g;if(z>0){if(z&128){tt(P,Q,_,C,w,E,N,L,j);return}else if(z&256){Je(P,Q,_,C,w,E,N,L,j);return}}te&8?(U&16&&ve(P,w,E),Q!==P&&f(_,Q)):U&16?te&16?tt(P,Q,_,C,w,E,N,L,j):ve(P,w,E,!0):(U&8&&f(_,""),te&16&&M(Q,_,C,w,E,N,L,j))},Je=(d,g,_,C,w,E,N,L,j)=>{d=d||en,g=g||en;const P=d.length,U=g.length,Q=Math.min(P,U);let z;for(z=0;zU?ve(d,w,E,!0,!1,Q):M(g,_,C,w,E,N,L,j,Q)},tt=(d,g,_,C,w,E,N,L,j)=>{let P=0;const U=g.length;let Q=d.length-1,z=U-1;for(;P<=Q&&P<=z;){const te=d[P],se=g[P]=j?wt(g[P]):ot(g[P]);if(Ht(te,se))y(te,se,_,null,w,E,N,L,j);else break;P++}for(;P<=Q&&P<=z;){const te=d[Q],se=g[z]=j?wt(g[z]):ot(g[z]);if(Ht(te,se))y(te,se,_,null,w,E,N,L,j);else break;Q--,z--}if(P>Q){if(P<=z){const te=z+1,se=tez)for(;P<=Q;)Le(d[P],w,E,!0),P++;else{const te=P,se=P,_e=new Map;for(P=se;P<=z;P++){const Ue=g[P]=j?wt(g[P]):ot(g[P]);Ue.key!=null&&_e.set(Ue.key,P)}let he,Ee=0;const Ze=z-se+1;let Yt=!1,Ao=0;const cn=new Array(Ze);for(P=0;P=Ze){Le(Ue,w,E,!0);continue}let nt;if(Ue.key!=null)nt=_e.get(Ue.key);else for(he=se;he<=z;he++)if(cn[he-se]===0&&Ht(Ue,g[he])){nt=he;break}nt===void 0?Le(Ue,w,E,!0):(cn[nt-se]=P+1,nt>=Ao?Ao=nt:Yt=!0,y(Ue,g[nt],_,null,w,E,N,L,j),Ee++)}const Mo=Yt?Qa(cn):en;for(he=Mo.length-1,P=Ze-1;P>=0;P--){const Ue=se+P,nt=g[Ue],Io=Ue+1{const{el:E,type:N,transition:L,children:j,shapeFlag:P}=d;if(P&6){We(d.component.subTree,g,_,C);return}if(P&128){d.suspense.move(g,_,C);return}if(P&64){N.move(d,g,_,W);return}if(N===ue){s(E,g,_);for(let Q=0;QL.enter(E),w);else{const{leave:Q,delayLeave:z,afterLeave:te}=L,se=()=>s(E,g,_),_e=()=>{Q(E,()=>{se(),te&&te()})};z?z(E,se,_e):_e()}else s(E,g,_)},Le=(d,g,_,C=!1,w=!1)=>{const{type:E,props:N,ref:L,children:j,dynamicChildren:P,shapeFlag:U,patchFlag:Q,dirs:z,cacheIndex:te}=d;if(Q===-2&&(w=!1),L!=null&&Ws(L,null,_,d,!0),te!=null&&(g.renderCache[te]=void 0),U&256){g.ctx.deactivate(d);return}const se=U&1&&z,_e=!pn(d);let he;if(_e&&(he=N&&N.onVnodeBeforeUnmount)&&st(he,g,d),U&6)le(d.component,_,C);else{if(U&128){d.suspense.unmount(_,C);return}se&&Lt(d,null,g,"beforeUnmount"),U&64?d.type.remove(d,g,_,W,C):P&&!P.hasOnce&&(E!==ue||Q>0&&Q&64)?ve(P,g,_,!1,!0):(E===ue&&Q&384||!w&&U&16)&&ve(j,g,_),C&&it(d)}(_e&&(he=N&&N.onVnodeUnmounted)||se)&&Be(()=>{he&&st(he,g,d),se&&Lt(d,null,g,"unmounted")},_)},it=d=>{const{type:g,el:_,anchor:C,transition:w}=d;if(g===ue){Y(_,C);return}if(g===Un){q(d);return}const E=()=>{o(_),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:N,delayLeave:L}=w,j=()=>N(_,E);L?L(d.el,E,j):j()}else E()},Y=(d,g)=>{let _;for(;d!==g;)_=p(d),o(d),d=_;o(g)},le=(d,g,_)=>{const{bum:C,scope:w,update:E,subTree:N,um:L,m:j,a:P}=d;Zo(j),Zo(P),C&&Hn(C),w.stop(),E&&(E.active=!1,Le(N,d,g,_)),L&&Be(L,g),Be(()=>{d.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},ve=(d,g,_,C=!1,w=!1,E=0)=>{for(let N=E;N{if(d.shapeFlag&6)return x(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const g=p(d.anchor||d.el),_=g&&g[Ki];return _?p(_):g};let H=!1;const B=(d,g,_)=>{d==null?g._vnode&&Le(g._vnode,null,null,!0):y(g._vnode||null,d,g,null,null,null,_),g._vnode=d,H||(H=!0,Vo(),xi(),H=!1)},W={p:y,um:Le,m:We,r:it,mt:be,mc:M,pc:oe,pbc:D,n:x,o:e};let pe,we;return{render:B,hydrate:pe,createApp:Oa(B,pe)}}function ks({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ga(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xo(e,t,n=!1){const s=e.children,o=t.children;if(J(s)&&J(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}function Zo(e){if(e)for(let t=0;tYe(Ya);function Za(e,t){return bo(e,null,t)}const Bn={};function dt(e,t,n){return bo(e,t,n)}function bo(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:l}=xe){if(t&&r){const $=t;t=(...k)=>{$(...k),K()}}const c=Re,u=$=>s===!0?$:$t($,s===!1?1:void 0);let f,h=!1,p=!1;if(Se(e)?(f=()=>e.value,h=sn(e)):Ut(e)?(f=()=>u(e),h=!0):J(e)?(p=!0,h=e.some($=>Ut($)||sn($)),f=()=>e.map($=>{if(Se($))return $.value;if(Ut($))return u($);if(X($))return Pt($,c,2)})):X(e)?t?f=()=>Pt(e,c,2):f=()=>(m&&m(),Qe(e,c,3,[v])):f=Ge,t&&s){const $=f;f=()=>$t($())}let m,v=$=>{m=b.onStop=()=>{Pt($,c,4),m=b.onStop=void 0}},y;if(ds)if(v=Ge,t?n&&Qe(t,c,3,[f(),p?[]:void 0,v]):f(),o==="sync"){const $=Ja();y=$.__watcherHandles||($.__watcherHandles=[])}else return Ge;let A=p?new Array(e.length).fill(Bn):Bn;const S=()=>{if(!(!b.active||!b.dirty))if(t){const $=b.run();(s||h||(p?$.some((k,M)=>St(k,A[M])):St($,A)))&&(m&&m(),Qe(t,c,3,[$,A===Bn?void 0:p&&A[0]===Bn?[]:A,v]),A=$)}else b.run()};S.allowRecurse=!!t;let O;o==="sync"?O=S:o==="post"?O=()=>Be(S,c&&c.suspense):(S.pre=!0,c&&(S.id=c.uid),O=()=>vo(S));const b=new lo(f,Ge,O),q=Xr(),K=()=>{b.stop(),q&&oo(q.effects,b)};return t?n?S():A=b.run():o==="post"?Be(b.run.bind(b),c&&c.suspense):b.run(),y&&y.push(K),K}function Xa(e,t,n){const s=this.proxy,o=ke(e)?e.includes(".")?Gi(s,e):()=>s[e]:e.bind(s,s);let r;X(t)?r=t:(r=t.handler,n=t);const i=Tn(this),l=bo(o,r.bind(s),n);return i(),l}function Gi(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{$t(s,t,n)});else if(qr(e)){for(const s in e)$t(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&$t(e[s],t,n)}return e}const ec=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xe(t)}Modifiers`]||e[`${Tt(t)}Modifiers`];function tc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||xe;let o=n;const r=t.startsWith("update:"),i=r&&ec(s,t.slice(7));i&&(i.trim&&(o=n.map(f=>ke(f)?f.trim():f)),i.number&&(o=n.map(Fs)));let l,c=s[l=ys(t)]||s[l=ys(Xe(t))];!c&&r&&(c=s[l=ys(Tt(t))]),c&&Qe(c,e,6,o);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(u,e,6,o)}}function Qi(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!X(e)){const c=u=>{const f=Qi(u,t,!0);f&&(l=!0,Ae(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(ye(e)&&s.set(e,null),null):(J(r)?r.forEach(c=>i[c]=null):Ae(i,r),ye(e)&&s.set(e,i),i)}function cs(e,t){return!e||!Xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Tt(t))||ce(e,t))}function $s(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:p,setupState:m,ctx:v,inheritAttrs:y}=e,A=zn(e);let S,O;try{if(n.shapeFlag&4){const q=o||s,K=q;S=ot(u.call(K,q,f,h,m,p,v)),O=l}else{const q=t;S=ot(q.length>1?q(h,{attrs:l,slots:i,emit:c}):q(h,null)),O=t.props?l:nc(l)}}catch(q){_n.length=0,os(q,e,1),S=re(He)}let b=S;if(O&&y!==!1){const q=Object.keys(O),{shapeFlag:K}=b;q.length&&K&7&&(r&&q.some(so)&&(O=sc(O,r)),b=Et(b,O,!1,!0))}return n.dirs&&(b=Et(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),S=b,zn(A),S}const nc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xn(n))&&((t||(t={}))[n]=e[n]);return t},sc=(e,t)=>{const n={};for(const s in e)(!so(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function oc(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Xo(s,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function lc(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):ca(e)}const ue=Symbol.for("v-fgt"),us=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),Un=Symbol.for("v-stc"),_n=[];let qe=null;function T(e=!1){_n.push(qe=e?null:[])}function ac(){_n.pop(),qe=_n[_n.length-1]||null}let Cn=1;function er(e){Cn+=e,e<0&&qe&&(qe.hasOnce=!0)}function Yi(e){return e.dynamicChildren=Cn>0?qe||en:null,ac(),Cn>0&&qe&&qe.push(e),e}function F(e,t,n,s,o,r){return Yi(a(e,t,n,s,o,r,!0))}function ht(e,t,n,s,o){return Yi(re(e,t,n,s,o,!0))}function Yn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Ji=({key:e})=>e??null,Kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Se(e)||X(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function a(e,t=null,n=null,s=0,o=null,r=e===ue?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&Kn(t),scopeId:is,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ce};return l?(wo(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=ke(n)?8:16),Cn>0&&!i&&qe&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&qe.push(c),c}const re=cc;function cc(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ti)&&(e=He),Yn(e)){const l=Et(e,t,!0);return n&&wo(l,n),Cn>0&&!r&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(wc(e)&&(e=e.__vccOpts),t){t=uc(t);let{class:l,style:c}=t;l&&!ke(l)&&(t.class=Oe(l)),ye(c)&&(hi(c)&&!J(c)&&(c=Ae({},c)),t.style=io(c))}const i=ke(e)?1:ic(e)?128:Va(e)?64:ye(e)?4:X(e)?2:0;return a(e,t,n,s,o,i,r,!0)}function uc(e){return e?hi(e)||ji(e)?Ae({},e):e:null}function Et(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:c}=e,u=t?fc(o||{},t):o,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ji(u),ref:t&&t.ref?n&&r?J(r)?r.concat(Kn(t)):[r,Kn(t)]:Kn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Gn(f,c.clone(f)),f}function fe(e=" ",t=0){return re(us,null,e,t)}function dc(e,t){const n=re(Un,null,e);return n.staticCount=t,n}function Ie(e="",t=!1){return t?(T(),ht(He,null,e)):re(He,null,e)}function ot(e){return e==null||typeof e=="boolean"?re(He):J(e)?re(ue,null,e.slice()):typeof e=="object"?wt(e):re(us,null,String(e))}function wt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function wo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),wo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ji(t)?t._ctx=Ce:o===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),s&64?(n=16,t=[fe(t)]):n=8);e.children=t,e.shapeFlag|=n}function fc(...e){const t={};for(let n=0;nRe||Ce;let Jn,Gs;{const e=zr(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Jn=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),Gs=t("__VUE_SSR_SETTERS__",n=>ds=n)}const Tn=e=>{const t=Re;return Jn(e),e.scope.on(),()=>{e.scope.off(),Jn(t)}},tr=()=>{Re&&Re.scope.off(),Jn(null)};function Zi(e){return e.vnode.shapeFlag&4}let ds=!1;function vc(e,t=!1,n=!1){t&&Gs(t);const{props:s,children:o}=e.vnode,r=Zi(e);Fa(e,s,r,t),Ha(e,o,n);const i=r?_c(e,t):void 0;return t&&Gs(!1),i}function _c(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sa);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?xc(e):null,r=Tn(e);At();const i=Pt(s,e,0,[e.props,o]);if(Mt(),r(),Ur(i)){if(i.then(tr,tr),t)return i.then(l=>{nr(e,l,t)}).catch(l=>{os(l,e,0)});e.asyncDep=i}else nr(e,i,t)}else Xi(e,t)}function nr(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=vi(t)),Xi(e,n)}let sr;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&sr&&!s.render){const o=s.template||_o(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=Ae(Ae({isCustomElement:r,delimiters:l},i),c);s.render=sr(o,u)}}e.render=s.render||Ge}{const o=Tn(e);At();try{Ea(e)}finally{Mt(),o()}}}const yc={get(e,t){return Ve(e,"get",""),e[t]}};function xc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,yc),slots:e.slots,emit:e.emit,expose:t}}function fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vi(go(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}})):e.proxy}function bc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function wc(e){return X(e)&&"__vccOpts"in e}const ae=(e,t)=>Xl(e,t,ds);function ko(e,t,n){const s=arguments.length;return s===2?ye(t)&&!J(t)?Yn(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Yn(n)&&(n=[n]),re(e,t,n))}const kc="3.4.38";/** +* @vue/runtime-dom v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const $c="http://www.w3.org/2000/svg",Cc="http://www.w3.org/1998/Math/MathML",at=typeof document<"u"?document:null,or=at&&at.createElement("template"),Pc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?at.createElementNS($c,e):t==="mathml"?at.createElementNS(Cc,e):n?at.createElement(e,{is:n}):at.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{or.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=or.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},mt="transition",un="animation",Pn=Symbol("_vtc"),$o=(e,{slots:t})=>ko(ha,Sc(e),t);$o.displayName="Transition";const el={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};$o.props=Ae({},wi,el);const jt=(e,t=[])=>{J(e)?e.forEach(n=>n(...t)):e&&e(...t)},rr=e=>e?J(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const V in e)V in el||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Ec(o),y=v&&v[0],A=v&&v[1],{onBeforeEnter:S,onEnter:O,onEnterCancelled:b,onLeave:q,onLeaveCancelled:K,onBeforeAppear:$=S,onAppear:k=O,onAppearCancelled:M=b}=t,I=(V,ne,be)=>{Nt(V,ne?f:l),Nt(V,ne?u:i),be&&be()},D=(V,ne)=>{V._isLeaving=!1,Nt(V,h),Nt(V,m),Nt(V,p),ne&&ne()},Z=V=>(ne,be)=>{const je=V?k:O,ge=()=>I(ne,V,be);jt(je,[ne,ge]),ir(()=>{Nt(ne,V?c:r),vt(ne,V?f:l),rr(je)||lr(ne,s,y,ge)})};return Ae(t,{onBeforeEnter(V){jt(S,[V]),vt(V,r),vt(V,i)},onBeforeAppear(V){jt($,[V]),vt(V,c),vt(V,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(V,ne){V._isLeaving=!0;const be=()=>D(V,ne);vt(V,h),vt(V,p),Ac(),ir(()=>{V._isLeaving&&(Nt(V,h),vt(V,m),rr(q)||lr(V,s,A,be))}),jt(q,[V,be])},onEnterCancelled(V){I(V,!1),jt(b,[V])},onAppearCancelled(V){I(V,!0),jt(M,[V])},onLeaveCancelled(V){D(V),jt(K,[V])}})}function Ec(e){if(e==null)return null;if(ye(e))return[Cs(e.enter),Cs(e.leave)];{const t=Cs(e);return[t,t]}}function Cs(e){return $l(e)}function vt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Pn]||(e[Pn]=new Set)).add(t)}function Nt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Pn];n&&(n.delete(t),n.size||(e[Pn]=void 0))}function ir(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rc=0;function lr(e,t,n,s){const o=e._endId=++Rc,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:c}=Tc(e,t);if(!i)return s();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,p),r()},p=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[v]||"").split(", "),o=s(`${mt}Delay`),r=s(`${mt}Duration`),i=ar(o,r),l=s(`${un}Delay`),c=s(`${un}Duration`),u=ar(l,c);let f=null,h=0,p=0;t===mt?i>0&&(f=mt,h=i,p=r.length):t===un?u>0&&(f=un,h=u,p=c.length):(h=Math.max(i,u),f=h>0?i>u?mt:un:null,p=f?f===mt?r.length:c.length:0);const m=f===mt&&/\b(transform|all)(,|$)/.test(s(`${mt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function ar(e,t){for(;e.lengthcr(n)+cr(e[s])))}function cr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ac(){return document.body.offsetHeight}function Mc(e,t,n){const s=e[Pn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ur=Symbol("_vod"),Ic=Symbol("_vsh"),Oc=Symbol(""),Lc=/(^|;)\s*display\s*:/;function Fc(e,t,n){const s=e.style,o=ke(n);let r=!1;if(n&&!o){if(t)if(ke(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&qn(s,l,"")}else for(const i in t)n[i]==null&&qn(s,i,"");for(const i in n)i==="display"&&(r=!0),qn(s,i,n[i])}else if(o){if(t!==n){const i=s[Oc];i&&(n+=";"+i),s.cssText=n,r=Lc.test(n)}}else t&&e.removeAttribute("style");ur in e&&(e[ur]=r?s.display:"",e[Ic]&&(s.display="none"))}const dr=/\s*!important$/;function qn(e,t,n){if(J(n))n.forEach(s=>qn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=jc(e,t);dr.test(n)?e.setProperty(Tt(s),n.replace(dr,""),"important"):e[s]=n}}const fr=["Webkit","Moz","ms"],Ps={};function jc(e,t){const n=Ps[t];if(n)return n;let s=Xe(t);if(s!=="filter"&&s in e)return Ps[t]=s;s=ns(s);for(let o=0;oSs||(Vc.then(()=>Ss=0),Ss=Date.now());function Kc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(qc(s,n.value),t,5,[s])};return n.value=e,n.attached=Uc(),n}function qc(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wc=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Mc(e,s,i):t==="style"?Fc(e,n,s):Xn(t)?so(t)||Hc(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zc(e,t,s,i))?(Nc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gr(e,t,s,i,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),gr(e,t,s,i))};function zc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&vr(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return vr(t)&&ke(n)?!1:t in e}const _r=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>Hn(t,n):t};function Gc(e){e.target.composing=!0}function yr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Es=Symbol("_assign"),ft={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[Es]=_r(o);const r=s||o.props&&o.props.type==="number";Zt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=Fs(l)),e[Es](l)}),n&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",Gc),Zt(e,"compositionend",yr),Zt(e,"change",yr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[Es]=_r(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Fs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===c)||(e.value=c))}},Qc=["ctrl","shift","alt","meta"],Yc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qc.some(n=>e[`${n}Key`]&&!t.includes(n))},qt=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(o,...r)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=o=>{if(!("key"in o))return;const r=Tt(o.key);if(t.some(i=>i===r||Jc[i]===r))return e(o)})},Zc=Ae({patchProp:Wc},Pc);let xr;function Xc(){return xr||(xr=Wa(Zc))}const eu=(...e)=>{const t=Xc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=nu(s);if(!o)return;const r=t._component;!X(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,tu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nu(e){return ke(e)?document.querySelector(e):e}var su=!1;/*! + * pinia v2.2.2 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */let tl;const hs=e=>tl=e,nl=Symbol();function Qs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var yn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(yn||(yn={}));function ou(){const e=Zr(!0),t=e.run(()=>G({}));let n=[],s=[];const o=go({install(r){hs(o),o._a=r,r.provide(nl,o),r.config.globalProperties.$pinia=o,s.forEach(i=>n.push(i)),s=[]},use(r){return!this._a&&!su?s.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const sl=()=>{};function br(e,t,n,s=sl){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&Xr()&&Ml(o),o}function Jt(e,...t){e.slice().forEach(n=>{n(...t)})}const ru=e=>e(),wr=Symbol(),Ts=Symbol();function Ys(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];Qs(o)&&Qs(s)&&e.hasOwnProperty(n)&&!Se(s)&&!Ut(s)?e[n]=Ys(o,s):e[n]=s}return e}const iu=Symbol();function lu(e){return!Qs(e)||!e.hasOwnProperty(iu)}const{assign:yt}=Object;function au(e){return!!(Se(e)&&e.effect)}function cu(e,t,n,s){const{state:o,actions:r,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=o?o():{});const f=sa(n.state.value[e]);return yt(f,r,Object.keys(i||{}).reduce((h,p)=>(h[p]=go(ae(()=>{hs(n);const m=n._s.get(e);return i[p].call(m,m)})),h),{}))}return c=ol(e,u,t,n,s,!0),c}function ol(e,t,n={},s,o,r){let i;const l=yt({actions:{}},n),c={deep:!0};let u,f,h=[],p=[],m;const v=s.state.value[e];!r&&!v&&(s.state.value[e]={}),G({});let y;function A(M){let I;u=f=!1,typeof M=="function"?(M(s.state.value[e]),I={type:yn.patchFunction,storeId:e,events:m}):(Ys(s.state.value[e],M),I={type:yn.patchObject,payload:M,storeId:e,events:m});const D=y=Symbol();rs().then(()=>{y===D&&(u=!0)}),f=!0,Jt(h,I,s.state.value[e])}const S=r?function(){const{state:I}=n,D=I?I():{};this.$patch(Z=>{yt(Z,D)})}:sl;function O(){i.stop(),h=[],p=[],s._s.delete(e)}const b=(M,I="")=>{if(wr in M)return M[Ts]=I,M;const D=function(){hs(s);const Z=Array.from(arguments),V=[],ne=[];function be(ee){V.push(ee)}function je(ee){ne.push(ee)}Jt(p,{args:Z,name:D[Ts],store:K,after:be,onError:je});let ge;try{ge=M.apply(this&&this.$id===e?this:K,Z)}catch(ee){throw Jt(ne,ee),ee}return ge instanceof Promise?ge.then(ee=>(Jt(V,ee),ee)).catch(ee=>(Jt(ne,ee),Promise.reject(ee))):(Jt(V,ge),ge)};return D[wr]=!0,D[Ts]=I,D},q={_p:s,$id:e,$onAction:br.bind(null,p),$patch:A,$reset:S,$subscribe(M,I={}){const D=br(h,M,I.detached,()=>Z()),Z=i.run(()=>dt(()=>s.state.value[e],V=>{(I.flush==="sync"?f:u)&&M({storeId:e,type:yn.direct,events:m},V)},yt({},c,I)));return D},$dispose:O},K=Rn(q);s._s.set(e,K);const k=(s._a&&s._a.runWithContext||ru)(()=>s._e.run(()=>(i=Zr()).run(()=>t({action:b}))));for(const M in k){const I=k[M];if(Se(I)&&!au(I)||Ut(I))r||(v&&lu(I)&&(Se(I)?I.value=v[M]:Ys(I,v[M])),s.state.value[e][M]=I);else if(typeof I=="function"){const D=b(I,M);k[M]=D,l.actions[M]=I}}return yt(K,k),yt(de(K),k),Object.defineProperty(K,"$state",{get:()=>s.state.value[e],set:M=>{A(I=>{yt(I,M)})}}),s._p.forEach(M=>{yt(K,i.run(()=>M({store:K,app:s._a,pinia:s,options:l})))}),v&&r&&n.hydrate&&n.hydrate(K.$state,v),u=!0,f=!0,K}function gs(e,t,n){let s,o;const r=typeof t=="function";typeof e=="string"?(s=e,o=r?n:t):(o=e,s=e.id);function i(l,c){const u=La();return l=l||(u?Ye(nl,null):null),l&&hs(l),l=tl,l._s.has(s)||(r?ol(s,t,o,l):cu(s,o,l)),l._s.get(s)}return i.$id=s,i}/*! + * vue-router v4.4.3 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Xt=typeof document<"u";function uu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function As(e,t){const n={};for(const s in t){const o=t[s];n[s]=et(o)?o.map(e):e(o)}return n}const xn=()=>{},et=Array.isArray,rl=/#/g,du=/&/g,fu=/\//g,hu=/=/g,gu=/\?/g,il=/\+/g,pu=/%5B/g,mu=/%5D/g,ll=/%5E/g,vu=/%60/g,al=/%7B/g,_u=/%7C/g,cl=/%7D/g,yu=/%20/g;function Co(e){return encodeURI(""+e).replace(_u,"|").replace(pu,"[").replace(mu,"]")}function xu(e){return Co(e).replace(al,"{").replace(cl,"}").replace(ll,"^")}function Js(e){return Co(e).replace(il,"%2B").replace(yu,"+").replace(rl,"%23").replace(du,"%26").replace(vu,"`").replace(al,"{").replace(cl,"}").replace(ll,"^")}function bu(e){return Js(e).replace(hu,"%3D")}function wu(e){return Co(e).replace(rl,"%23").replace(gu,"%3F")}function ku(e){return e==null?"":wu(e).replace(fu,"%2F")}function Sn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const $u=/\/$/,Cu=e=>e.replace($u,"");function Ms(e,t,n="/"){let s,o={},r="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),r=t.slice(c+1,l>-1?l:t.length),o=e(r)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Ru(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Sn(i)}}function Pu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function kr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Su(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&on(t.matched[s],n.matched[o])&&ul(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function on(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ul(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Eu(e[n],t[n]))return!1;return!0}function Eu(e,t){return et(e)?$r(e,t):et(t)?$r(t,e):e===t}function $r(e,t){return et(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ru(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,l;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var En;(function(e){e.pop="pop",e.push="push"})(En||(En={}));var bn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bn||(bn={}));function Tu(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Cu(e)}const Au=/^[^#]+#/;function Mu(e,t){return e.replace(Au,"#")+t}function Iu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ps=()=>({left:window.scrollX,top:window.scrollY});function Ou(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Iu(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Cr(e,t){return(history.state?history.state.position-t:-1)+e}const Zs=new Map;function Lu(e,t){Zs.set(e,t)}function Fu(e){const t=Zs.get(e);return Zs.delete(e),t}let ju=()=>location.protocol+"//"+location.host;function dl(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let l=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(l);return c[0]!=="/"&&(c="/"+c),kr(c,"")}return kr(n,e)+s+o}function Nu(e,t,n,s){let o=[],r=[],i=null;const l=({state:p})=>{const m=dl(e,location),v=n.value,y=t.value;let A=0;if(p){if(n.value=m,t.value=p,i&&i===v){i=null;return}A=y?p.position-y.position:0}else s(m);o.forEach(S=>{S(n.value,v,{delta:A,type:En.pop,direction:A?A>0?bn.forward:bn.back:bn.unknown})})};function c(){i=n.value}function u(p){o.push(p);const m=()=>{const v=o.indexOf(p);v>-1&&o.splice(v,1)};return r.push(m),m}function f(){const{history:p}=window;p.state&&p.replaceState(me({},p.state,{scroll:ps()}),"")}function h(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:u,destroy:h}}function Pr(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ps():null}}function Bu(e){const{history:t,location:n}=window,s={value:dl(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,u,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:ju()+e+c;try{t[f?"replaceState":"pushState"](u,"",p),o.value=u}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function i(c,u){const f=me({},t.state,Pr(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});r(c,f,!0),s.value=c}function l(c,u){const f=me({},o.value,t.state,{forward:c,scroll:ps()});r(f.current,f,!0);const h=me({},Pr(s.value,c,null),{position:f.position+1},u);r(c,h,!1),s.value=c}return{location:s,state:o,push:l,replace:i}}function Hu(e){e=Tu(e);const t=Bu(e),n=Nu(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=me({location:"",base:e,go:s,createHref:Mu.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Du(e){return typeof e=="string"||e&&typeof e=="object"}function fl(e){return typeof e=="string"||typeof e=="symbol"}const hl=Symbol("");var Sr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Sr||(Sr={}));function rn(e,t){return me(new Error,{type:e,[hl]:!0},t)}function lt(e,t){return e instanceof Error&&hl in e&&(t==null||!!(e.type&t))}const Er="[^/]+?",Vu={sensitive:!1,strict:!1,start:!0,end:!0},Uu=/[.+*?^${}()[\]/\\]/g;function Ku(e,t){const n=me({},Vu,t),s=[];let o=n.start?"^":"";const r=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function gl(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Wu={type:0,value:""},zu=/[a-zA-Z0-9_]/;function Gu(e){if(!e)return[[]];if(e==="/")return[[Wu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let l=0,c,u="",f="";function h(){u&&(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l{i(b)}:xn}function i(h){if(fl(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function l(){return n}function c(h){const p=ed(h,n);n.splice(p,0,h),h.record.name&&!Ar(h)&&s.set(h.record.name,h)}function u(h,p){let m,v={},y,A;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw rn(1,{location:h});A=m.record.name,v=me(Tr(p.params,m.keys.filter(b=>!b.optional).concat(m.parent?m.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),h.params&&Tr(h.params,m.keys.map(b=>b.name))),y=m.stringify(v)}else if(h.path!=null)y=h.path,m=n.find(b=>b.re.test(y)),m&&(v=m.parse(y),A=m.record.name);else{if(m=p.name?s.get(p.name):n.find(b=>b.re.test(p.path)),!m)throw rn(1,{location:h,currentLocation:p});A=m.record.name,v=me({},p.params,h.params),y=m.stringify(v)}const S=[];let O=m;for(;O;)S.unshift(O.record),O=O.parent;return{name:A,path:y,params:v,matched:S,meta:Xu(S)}}e.forEach(h=>r(h));function f(){n.length=0,s.clear()}return{addRoute:r,resolve:u,removeRoute:i,clearRoutes:f,getRoutes:l,getRecordMatcher:o}}function Tr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ju(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Zu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Zu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ar(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xu(e){return e.reduce((t,n)=>me(t,n.meta),{})}function Mr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function ed(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;gl(e,t[r])<0?s=r:n=r+1}const o=td(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function td(e){let t=e;for(;t=t.parent;)if(pl(t)&&gl(e,t)===0)return t}function pl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function nd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&Js(r)):[s&&Js(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function sd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=et(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const od=Symbol(""),Or=Symbol(""),ms=Symbol(""),Po=Symbol(""),Xs=Symbol("");function dn(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kt(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(rn(4,{from:n,to:t})):p instanceof Error?c(p):Du(p)?c(rn(2,{from:t,to:p})):(i&&s.enterCallbacks[o]===i&&typeof p=="function"&&i.push(p),l())},f=r(()=>e.call(s&&s.instances[o],t,n,u));let h=Promise.resolve(f);e.length<3&&(h=h.then(u)),h.catch(p=>c(p))})}function Is(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(rd(c)){const f=(c.__vccOpts||c)[t];f&&r.push(kt(f,n,s,i,l,o))}else{let u=c();r.push(()=>u.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=uu(f)?f.default:f;i.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&kt(m,n,s,i,l,o)()}))}}return r}function rd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Lr(e){const t=Ye(ms),n=Ye(Po),s=ae(()=>{const c=ie(e.to);return t.resolve(c)}),o=ae(()=>{const{matched:c}=s.value,{length:u}=c,f=c[u-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(on.bind(null,f));if(p>-1)return p;const m=Fr(c[u-2]);return u>1&&Fr(f)===m&&h[h.length-1].path!==m?h.findIndex(on.bind(null,c[u-2])):p}),r=ae(()=>o.value>-1&&ad(n.params,s.value.params)),i=ae(()=>o.value>-1&&o.value===n.matched.length-1&&ul(n.params,s.value.params));function l(c={}){return ld(c)?t[ie(e.replace)?"replace":"push"](ie(e.to)).catch(xn):Promise.resolve()}return{route:s,href:ae(()=>s.value.href),isActive:r,isExactActive:i,navigate:l}}const id=Me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Lr,setup(e,{slots:t}){const n=Rn(Lr(e)),{options:s}=Ye(ms),o=ae(()=>({[jr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[jr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:ko("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),De=id;function ld(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ad(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!et(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Fr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jr=(e,t,n)=>e??t??n,cd=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ye(Xs),o=ae(()=>e.route||s.value),r=Ye(Or,0),i=ae(()=>{let u=ie(r);const{matched:f}=o.value;let h;for(;(h=f[u])&&!h.components;)u++;return u}),l=ae(()=>o.value.matched[i.value]);Vn(Or,ae(()=>i.value+1)),Vn(od,l),Vn(Xs,o);const c=G();return dt(()=>[c.value,l.value,e.name],([u,f,h],[p,m,v])=>{f&&(f.instances[h]=u,m&&m!==f&&u&&u===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),u&&f&&(!m||!on(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=o.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return Nr(n.default,{Component:p,route:u});const m=h.props[f],v=m?m===!0?u.params:typeof m=="function"?m(u):m:null,A=ko(p,me({},v,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Nr(n.default,{Component:A,route:u})||A}}});function Nr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const eo=cd;function ud(e){const t=Yu(e.routes,e),n=e.parseQuery||nd,s=e.stringifyQuery||Ir,o=e.history,r=dn(),i=dn(),l=dn(),c=ea(_t);let u=_t;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=As.bind(null,x=>""+x),h=As.bind(null,ku),p=As.bind(null,Sn);function m(x,H){let B,W;return fl(x)?(B=t.getRecordMatcher(x),W=H):W=x,t.addRoute(W,B)}function v(x){const H=t.getRecordMatcher(x);H&&t.removeRoute(H)}function y(){return t.getRoutes().map(x=>x.record)}function A(x){return!!t.getRecordMatcher(x)}function S(x,H){if(H=me({},H||c.value),typeof x=="string"){const g=Ms(n,x,H.path),_=t.resolve({path:g.path},H),C=o.createHref(g.fullPath);return me(g,_,{params:p(_.params),hash:Sn(g.hash),redirectedFrom:void 0,href:C})}let B;if(x.path!=null)B=me({},x,{path:Ms(n,x.path,H.path).path});else{const g=me({},x.params);for(const _ in g)g[_]==null&&delete g[_];B=me({},x,{params:h(g)}),H.params=h(H.params)}const W=t.resolve(B,H),pe=x.hash||"";W.params=f(p(W.params));const we=Pu(s,me({},x,{hash:xu(pe),path:W.path})),d=o.createHref(we);return me({fullPath:we,hash:pe,query:s===Ir?sd(x.query):x.query||{}},W,{redirectedFrom:void 0,href:d})}function O(x){return typeof x=="string"?Ms(n,x,c.value.path):me({},x)}function b(x,H){if(u!==x)return rn(8,{from:H,to:x})}function q(x){return k(x)}function K(x){return q(me(O(x),{replace:!0}))}function $(x){const H=x.matched[x.matched.length-1];if(H&&H.redirect){const{redirect:B}=H;let W=typeof B=="function"?B(x):B;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=O(W):{path:W},W.params={}),me({query:x.query,hash:x.hash,params:W.path!=null?{}:x.params},W)}}function k(x,H){const B=u=S(x),W=c.value,pe=x.state,we=x.force,d=x.replace===!0,g=$(B);if(g)return k(me(O(g),{state:typeof g=="object"?me({},pe,g.state):pe,force:we,replace:d}),H||B);const _=B;_.redirectedFrom=H;let C;return!we&&Su(s,W,B)&&(C=rn(16,{to:_,from:W}),We(W,W,!0,!1)),(C?Promise.resolve(C):D(_,W)).catch(w=>lt(w)?lt(w,2)?w:tt(w):oe(w,_,W)).then(w=>{if(w){if(lt(w,2))return k(me({replace:d},O(w.to),{state:typeof w.to=="object"?me({},pe,w.to.state):pe,force:we}),H||_)}else w=V(_,W,!0,d,pe);return Z(_,W,w),w})}function M(x,H){const B=b(x,H);return B?Promise.reject(B):Promise.resolve()}function I(x){const H=Y.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(x):x()}function D(x,H){let B;const[W,pe,we]=dd(x,H);B=Is(W.reverse(),"beforeRouteLeave",x,H);for(const g of W)g.leaveGuards.forEach(_=>{B.push(kt(_,x,H))});const d=M.bind(null,x,H);return B.push(d),ve(B).then(()=>{B=[];for(const g of r.list())B.push(kt(g,x,H));return B.push(d),ve(B)}).then(()=>{B=Is(pe,"beforeRouteUpdate",x,H);for(const g of pe)g.updateGuards.forEach(_=>{B.push(kt(_,x,H))});return B.push(d),ve(B)}).then(()=>{B=[];for(const g of we)if(g.beforeEnter)if(et(g.beforeEnter))for(const _ of g.beforeEnter)B.push(kt(_,x,H));else B.push(kt(g.beforeEnter,x,H));return B.push(d),ve(B)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),B=Is(we,"beforeRouteEnter",x,H,I),B.push(d),ve(B))).then(()=>{B=[];for(const g of i.list())B.push(kt(g,x,H));return B.push(d),ve(B)}).catch(g=>lt(g,8)?g:Promise.reject(g))}function Z(x,H,B){l.list().forEach(W=>I(()=>W(x,H,B)))}function V(x,H,B,W,pe){const we=b(x,H);if(we)return we;const d=H===_t,g=Xt?history.state:{};B&&(W||d?o.replace(x.fullPath,me({scroll:d&&g&&g.scroll},pe)):o.push(x.fullPath,pe)),c.value=x,We(x,H,B,d),tt()}let ne;function be(){ne||(ne=o.listen((x,H,B)=>{if(!le.listening)return;const W=S(x),pe=$(W);if(pe){k(me(pe,{replace:!0}),W).catch(xn);return}u=W;const we=c.value;Xt&&Lu(Cr(we.fullPath,B.delta),ps()),D(W,we).catch(d=>lt(d,12)?d:lt(d,2)?(k(d.to,W).then(g=>{lt(g,20)&&!B.delta&&B.type===En.pop&&o.go(-1,!1)}).catch(xn),Promise.reject()):(B.delta&&o.go(-B.delta,!1),oe(d,W,we))).then(d=>{d=d||V(W,we,!1),d&&(B.delta&&!lt(d,8)?o.go(-B.delta,!1):B.type===En.pop&<(d,20)&&o.go(-1,!1)),Z(W,we,d)}).catch(xn)}))}let je=dn(),ge=dn(),ee;function oe(x,H,B){tt(x);const W=ge.list();return W.length?W.forEach(pe=>pe(x,H,B)):console.error(x),Promise.reject(x)}function Je(){return ee&&c.value!==_t?Promise.resolve():new Promise((x,H)=>{je.add([x,H])})}function tt(x){return ee||(ee=!x,be(),je.list().forEach(([H,B])=>x?B(x):H()),je.reset()),x}function We(x,H,B,W){const{scrollBehavior:pe}=e;if(!Xt||!pe)return Promise.resolve();const we=!B&&Fu(Cr(x.fullPath,0))||(W||!B)&&history.state&&history.state.scroll||null;return rs().then(()=>pe(x,H,we)).then(d=>d&&Ou(d)).catch(d=>oe(d,x,H))}const Le=x=>o.go(x);let it;const Y=new Set,le={currentRoute:c,listening:!0,addRoute:m,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:y,resolve:S,options:e,push:q,replace:K,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:r.add,beforeResolve:i.add,afterEach:l.add,onError:ge.add,isReady:Je,install(x){const H=this;x.component("RouterLink",De),x.component("RouterView",eo),x.config.globalProperties.$router=H,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>ie(c)}),Xt&&!it&&c.value===_t&&(it=!0,q(o.location).catch(pe=>{}));const B={};for(const pe in _t)Object.defineProperty(B,pe,{get:()=>c.value[pe],enumerable:!0});x.provide(ms,H),x.provide(Po,di(B)),x.provide(Xs,c);const W=x.unmount;Y.add(x),x.unmount=function(){Y.delete(x),Y.size<1&&(u=_t,ne&&ne(),ne=null,c.value=_t,it=!1,ee=!1),W()}}};function ve(x){return x.reduce((H,B)=>H.then(()=>I(B)),Promise.resolve())}return le}function dd(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;ion(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>on(u,c))||o.push(c))}return[n,s,o]}function ml(){return Ye(ms)}function So(e){return Ye(Po)}const fd=gs("theme",{state:()=>({isDarkMode:!0}),actions:{toggleDarkMode(){this.isDarkMode=!this.isDarkMode,localStorage.setItem("darkMode",this.isDarkMode?"true":"false"),document.documentElement.classList.toggle("dark",this.isDarkMode)},initDarkMode(){const e=localStorage.getItem("darkMode");e!==null?this.isDarkMode=e==="true":this.isDarkMode=!0,document.documentElement.classList.toggle("dark",this.isDarkMode)}}}),an=gs("cart",()=>{const e=G([]),t=v=>v.price*(1-v.discountPercentage/100),n=(v,y=1)=>{const A=e.value.find(S=>S.id===v.id);A?A.quantity+=y:e.value.push({...v,quantity:y,discountedPrice:t(v)})},s=v=>{const y=e.value.findIndex(A=>A.id===v);y!==-1&&e.value.splice(y,1)},o=v=>{const y=e.value.find(A=>A.id===v);y&&(y.quantity--,y.quantity===0&&s(v))},r=(v,y)=>{const A=e.value.find(S=>S.id===v);A&&(A.quantity=y,A.quantity<=0&&s(v))},i=v=>{const y=e.value.find(A=>A.id===v);return y?y.quantity:0},l=v=>e.value.find(y=>y.id===v),c=ae(()=>e.value.reduce((v,y)=>v+y.price*y.quantity,0)),u=ae(()=>e.value.reduce((v,y)=>v+y.discountedPrice*y.quantity,0)),f=ae(()=>c.value),h=ae(()=>u.value),p=ae(()=>e.value.reduce((v,y)=>v+y.quantity,0)),m=ae(()=>c.value-u.value);return{cartItems:e,addToCart:n,removeFromCart:s,removeOneFromCart:o,updateQuantity:r,getItemQuantity:i,getCartItem:l,total:f,discountedTotal:h,totalSavings:m,itemCount:p,subtotal:c,discountedSubtotal:u}}),vs=gs("product",()=>{const e=G([]);return{products:e,fetchProducts:async()=>{try{const s=await fetch("https://dummyjson.com/products?limit=100");if(!s.ok)throw new Error("Failed to fetch products");const o=await s.json();e.value=o.products}catch(s){console.error("Error fetching products:",s),e.value=[]}},getProductById:s=>e.value.find(o=>o.id===s)}});var hd=typeof global=="object"&&global&&global.Object===Object&&global,gd=typeof self=="object"&&self&&self.Object===Object&&self,vl=hd||gd||Function("return this")(),Zn=vl.Symbol,_l=Object.prototype,pd=_l.hasOwnProperty,md=_l.toString,fn=Zn?Zn.toStringTag:void 0;function vd(e){var t=pd.call(e,fn),n=e[fn];try{e[fn]=void 0;var s=!0}catch{}var o=md.call(e);return s&&(t?e[fn]=n:delete e[fn]),o}var _d=Object.prototype,yd=_d.toString;function xd(e){return yd.call(e)}var bd="[object Null]",wd="[object Undefined]",Br=Zn?Zn.toStringTag:void 0;function kd(e){return e==null?e===void 0?wd:bd:Br&&Br in Object(e)?vd(e):xd(e)}function $d(e){return e!=null&&typeof e=="object"}var Cd="[object Symbol]";function Pd(e){return typeof e=="symbol"||$d(e)&&kd(e)==Cd}var Sd=/\s/;function Ed(e){for(var t=e.length;t--&&Sd.test(e.charAt(t)););return t}var Rd=/^\s+/;function Td(e){return e&&e.slice(0,Ed(e)+1).replace(Rd,"")}function to(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Hr=NaN,Ad=/^[-+]0x[0-9a-f]+$/i,Md=/^0b[01]+$/i,Id=/^0o[0-7]+$/i,Od=parseInt;function Dr(e){if(typeof e=="number")return e;if(Pd(e))return Hr;if(to(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=to(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Td(e);var n=Md.test(e);return n||Id.test(e)?Od(e.slice(2),n?2:8):Ad.test(e)?Hr:+e}var Os=function(){return vl.Date.now()},Ld="Expected a function",Fd=Math.max,jd=Math.min;function Nd(e,t,n){var s,o,r,i,l,c,u=0,f=!1,h=!1,p=!0;if(typeof e!="function")throw new TypeError(Ld);t=Dr(t)||0,to(n)&&(f=!!n.leading,h="maxWait"in n,r=h?Fd(Dr(n.maxWait)||0,t):r,p="trailing"in n?!!n.trailing:p);function m($){var k=s,M=o;return s=o=void 0,u=$,i=e.apply(M,k),i}function v($){return u=$,l=setTimeout(S,t),f?m($):i}function y($){var k=$-c,M=$-u,I=t-k;return h?jd(I,r-M):I}function A($){var k=$-c,M=$-u;return c===void 0||k>=t||k<0||h&&M>=r}function S(){var $=Os();if(A($))return O($);l=setTimeout(S,y($))}function O($){return l=void 0,p&&s?m($):(s=o=void 0,i)}function b(){l!==void 0&&clearTimeout(l),u=0,s=c=o=l=void 0}function q(){return l===void 0?i:O(Os())}function K(){var $=Os(),k=A($);if(s=arguments,o=this,c=$,k){if(l===void 0)return v(c);if(h)return clearTimeout(l),l=setTimeout(S,t),m(c)}return l===void 0&&(l=setTimeout(S,t)),i}return K.cancel=b,K.flush=q,K}const Bd={class:"relative w-full"},Hd=["onKeydown"],Dd=a("div",{class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},[a("svg",{class:"h-5 w-5 text-gray-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[a("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),Vd={key:0,class:"absolute z-10 mt-1 w-full bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-md shadow-lg max-h-60 overflow-auto"},Ud=["onClick"],Kd=Me({__name:"GlobalSearch",setup(e){const t=ml(),n=vs(),s=G(""),o=G(-1),r=G(!1),i=ae(()=>{if(!s.value)return[];const m=s.value.toLowerCase();return n.products.filter(v=>v.title.toLowerCase().includes(m)).map(v=>v.title).slice(0,5)}),l=Nd(()=>{o.value=-1,r.value=!0},300),c=m=>{m==="down"?o.value=(o.value+1)%i.value.length:o.value=(o.value-1+i.value.length)%i.value.length},u=()=>{o.value!==-1?f(i.value[o.value]):h()},f=m=>{s.value=m,h()},h=()=>{t.push({name:"products",query:{search:s.value}}),p()},p=()=>{o.value=-1,r.value=!1};return(m,v)=>(T(),F("div",Bd,[ut(a("input",{"onUpdate:modelValue":v[0]||(v[0]=y=>s.value=y),onInput:v[1]||(v[1]=(...y)=>ie(l)&&ie(l)(...y)),onKeydown:[v[2]||(v[2]=Rs(qt(y=>c("down"),["prevent"]),["down"])),v[3]||(v[3]=Rs(qt(y=>c("up"),["prevent"]),["up"])),Rs(qt(u,["prevent"]),["enter"])],onBlur:p,type:"text",placeholder:"Search products...",class:"w-full bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-md pl-10 pr-4 py-1.5 text-base focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition-all duration-200"},null,40,Hd),[[ft,s.value]]),Dd,r.value&&i.value.length>0?(T(),F("ul",Vd,[(T(!0),F(ue,null,Pe(i.value,(y,A)=>(T(),F("li",{key:y,onClick:S=>f(y),class:Oe([{"bg-indigo-100 dark:bg-indigo-700":A===o.value},"px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700 cursor-pointer"])},R(y),11,Ud))),128))])):Ie("",!0)]))}}),qd={class:"min-h-screen bg-gray-900 text-white"},Wd={class:"bg-gray-800 shadow"},zd={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},Gd={class:"flex items-center justify-between h-16"},Qd={class:"flex items-center"},Yd={class:"flex-1 max-w-xl mx-4"},Jd={class:"flex items-center space-x-4"},Zd=a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})],-1),Xd={key:0,class:"absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-100 transform translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full"},ef={class:"flex-grow"},tf={class:"max-w-full mx-auto"},nf=Me({__name:"Layout",setup(e){const t=fd(),n=an();return G(!1),ln(()=>{t.initDarkMode()}),(s,o)=>(T(),F("div",qd,[a("nav",Wd,[a("div",zd,[a("div",Gd,[a("div",Qd,[re(ie(De),{to:"/",class:"flex-shrink-0 flex items-center text-xl font-bold text-indigo-600 dark:text-indigo-400"},{default:Te(()=>[fe(" E-Commerce ")]),_:1})]),a("div",Yd,[re(Kd)]),a("div",Jd,[re(ie(De),{to:"/login",class:"text-gray-700 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 px-3 py-2 rounded-md text-sm font-medium transition duration-150 ease-in-out"},{default:Te(()=>[fe(" Sign in ")]),_:1}),re(ie(De),{to:"/cart",class:"text-gray-700 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 p-2 rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative"},{default:Te(()=>[Zd,ie(n).itemCount>0?(T(),F("span",Xd,R(ie(n).itemCount),1)):Ie("",!0)]),_:1})])])])]),a("main",ef,[a("div",tf,[Pa(s.$slots,"default")])])]))}}),sf=Me({__name:"App",setup(e){return So(),(t,n)=>t.$route.meta.withoutLayout?(T(),ht(ie(eo),{key:1})):(T(),ht(nf,{key:0},{default:Te(()=>[re(ie(eo))]),_:1}))}});function of(e,t){return T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"})])}function rf(e,t){return T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function lf(e,t){return T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"})])}const An=e=>(zt("data-v-e76a5f74"),e=e(),Gt(),e),af={class:"home min-h-screen flex flex-col justify-center items-center p-4 sm:p-8"},cf={class:"max-w-6xl mx-auto text-center mb-12"},uf=An(()=>a("h1",{class:"text-5xl sm:text-6xl font-extrabold text-white mb-4 sm:mb-8 animate-fade-in-down"}," Welcome to Our E-Commerce Store ",-1)),df=An(()=>a("p",{class:"text-xl sm:text-2xl text-gray-200 mb-8 sm:mb-12 animate-fade-in-up"}," Discover amazing products at great prices! ",-1)),ff={class:"flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4"},hf={key:0,class:"w-full max-w-6xl mx-auto text-center"},gf=An(()=>a("div",{class:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-indigo-500 mx-auto"},null,-1)),pf=An(()=>a("p",{class:"mt-4 text-gray-600 dark:text-gray-400"},"Loading amazing products...",-1)),mf=[gf,pf],vf={key:1,class:"w-full max-w-6xl mx-auto"},_f=An(()=>a("h2",{class:"text-3xl font-bold text-gray-900 dark:text-white mb-6 text-center"},"Featured Categories",-1)),yf={class:"space-y-12"},xf={class:"text-2xl font-semibold mb-4 text-gray-900 dark:text-white"},bf={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},wf=["onClick"],kf=["src","alt"],$f={class:"text-lg font-semibold mb-2 text-gray-900 dark:text-white"},Cf={class:"text-sm text-gray-600 dark:text-gray-300 mb-2"},Pf={class:"text-xl font-bold text-indigo-600 dark:text-indigo-400"},Sf={class:"mt-12 sm:mt-16 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 max-w-4xl mx-auto"},Ef={class:"text-xl font-semibold mb-2 text-gray-900 dark:text-white"},Rf={class:"text-gray-600 dark:text-gray-300"},Tf=Me({__name:"HomeView",setup(e){const t=ml(),n=vs(),s=G([]),o=G(!0),r=G([]),i=G("");G(!1),G(-1),ln(async()=>{await n.fetchProducts();const p=Array.from(new Set(n.products.map(m=>m.category)));s.value=p.slice(0,3),o.value=!1,setTimeout(()=>{r.value=[0,1,2]},100)});const l=p=>n.products.filter(m=>m.category===p).slice(0,3),c=(p,m=60)=>p.length>m?p.substring(0,m)+"...":p,u=p=>r.value.includes(p),f=p=>{t.push({name:"ProductDetail",params:{id:p.toString()}})},h=[{icon:rf,title:"Wide Selection",description:"Browse through our extensive collection of high-quality products."},{icon:lf,title:"Fast Delivery",description:"Enjoy quick and reliable shipping on all your purchases."},{icon:of,title:"Secure Shopping",description:"Shop with confidence knowing your data is protected."}];return ae(()=>{if(!i.value)return[];const p=i.value.toLowerCase();return n.products.filter(m=>m.title.toLowerCase().includes(p)).map(m=>m.title).slice(0,5)}),(p,m)=>(T(),F("div",af,[a("div",cf,[uf,df,a("div",ff,[re(ie(De),{to:"/products",class:"inline-block px-6 py-3 bg-gradient-to-r from-indigo-500 to-purple-600 text-white font-bold rounded-lg hover:from-indigo-600 hover:to-purple-700 transition duration-300 transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:Te(()=>[fe(" Browse All Products ")]),_:1}),re(ie(De),{to:"/register",class:"inline-block px-6 py-3 bg-white text-indigo-600 font-bold rounded-lg border-2 border-indigo-600 hover:bg-indigo-50 transition duration-300 transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:Te(()=>[fe(" Sign Up ")]),_:1})])]),o.value?(T(),F("div",hf,mf)):(T(),F("div",vf,[_f,a("div",yf,[(T(!0),F(ue,null,Pe(s.value,(v,y)=>(T(),F("div",{key:v,class:Oe(["bg-white dark:bg-gray-800 rounded-xl p-6 shadow-lg transform transition-all duration-500 ease-in-out",{"opacity-0 translate-y-10":!u(y),"opacity-100 translate-y-0":u(y)}])},[a("h3",xf,R(v),1),a("div",bf,[(T(!0),F(ue,null,Pe(l(v),A=>(T(),F("div",{key:A.id,onClick:S=>f(A.id),class:"bg-gray-100 dark:bg-gray-700 rounded-lg p-4 text-center transform transition duration-300 hover:scale-105 cursor-pointer"},[a("img",{src:A.thumbnail,alt:A.title,class:"w-full h-40 object-cover mb-3 rounded"},null,8,kf),a("h4",$f,R(A.title),1),a("p",Cf,R(c(A.description)),1),a("p",Pf,"$"+R(A.price.toFixed(2)),1)],8,wf))),128))])],2))),128))])])),a("div",Sf,[(T(),F(ue,null,Pe(h,(v,y)=>a("div",{key:y,class:"bg-white dark:bg-gray-800 rounded-xl p-6 shadow-lg text-center transform transition duration-500 hover:scale-105"},[(T(),ht(Ca(v.icon),{class:"h-12 w-12 mx-auto mb-4 text-indigo-600 dark:text-indigo-400"})),a("h3",Ef,R(v.title),1),a("p",Rf,R(v.description),1)])),64))])]))}}),Qt=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Af=Qt(Tf,[["__scopeId","data-v-e76a5f74"]]),Eo=gs("user",()=>{const e=G(null);return{user:e,register:(r,i)=>{console.log("Register:",r,i)},login:(r,i)=>{console.log("Login:",r,i)},logout:()=>{e.value=null},forgotPassword:r=>{console.log(`Password reset requested for email: ${r}`)}}}),Mf={class:"min-h-screen flex items-center justify-center p-4 bg-gray-900"},If={class:"max-w-md w-full space-y-8 bg-gray-800 p-6 sm:p-10 rounded-3xl shadow-2xl transform transition-all hover:scale-102 hover:shadow-3xl"},Of={class:"absolute top-4 left-4"},Lf=a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 inline-block mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),Ff=a("div",{class:"text-center"},[a("h2",{class:"mt-6 text-4xl font-extrabold text-gray-900 dark:text-white"},"Create Account"),a("p",{class:"mt-2 text-sm text-gray-600 dark:text-gray-400"},"Join today")],-1),jf={class:"space-y-4"},Nf=a("label",{for:"email",class:"sr-only"},"Email",-1),Bf=a("label",{for:"password",class:"sr-only"},"Password",-1),Hf=a("label",{for:"confirmPassword",class:"sr-only"},"Confirm Password",-1),Df={key:0,class:"text-red-500 text-sm text-center"},Vf=a("div",null,[a("button",{type:"submit",class:"group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-lg text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 transition duration-200 ease-in-out transform hover:-translate-y-1 hover:shadow-lg"},[a("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},[a("svg",{class:"h-5 w-5 text-green-500 group-hover:text-green-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[a("path",{d:"M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z"})])]),fe(" Sign up ")])],-1),Uf={class:"text-center mt-4"},Kf={class:"text-sm text-gray-600 dark:text-gray-400"},qf=Me({__name:"RegisterView",setup(e){const t=G(""),n=G(""),s=G(""),o=G(""),r=Eo(),i=()=>{if(n.value!==s.value){o.value="Passwords do not match";return}o.value="",r.register(t.value,n.value)};return(l,c)=>(T(),F("div",Mf,[a("div",If,[a("div",Of,[re(ie(De),{to:"/",class:"text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300 font-medium"},{default:Te(()=>[Lf,fe(" Home ")]),_:1})]),Ff,a("form",{onSubmit:qt(i,["prevent"]),class:"mt-8 space-y-6"},[a("div",jf,[a("div",null,[Nf,ut(a("input",{"onUpdate:modelValue":c[0]||(c[0]=u=>t.value=u),type:"email",id:"email",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Email address"},null,512),[[ft,t.value]])]),a("div",null,[Bf,ut(a("input",{"onUpdate:modelValue":c[1]||(c[1]=u=>n.value=u),type:"password",id:"password",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Password"},null,512),[[ft,n.value]])]),a("div",null,[Hf,ut(a("input",{"onUpdate:modelValue":c[2]||(c[2]=u=>s.value=u),type:"password",id:"confirmPassword",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Confirm Password"},null,512),[[ft,s.value]])])]),o.value?(T(),F("div",Df,R(o.value),1)):Ie("",!0),Vf],32),a("div",Uf,[a("p",Kf,[fe(" Already have an account? "),re(ie(De),{to:"/login",class:"font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300"},{default:Te(()=>[fe("Sign in")]),_:1})])])])]))}}),Wf={class:"min-h-screen flex items-center justify-center p-4 bg-gray-900"},zf={class:"max-w-md w-full space-y-8 bg-gray-800 p-6 sm:p-10 rounded-3xl shadow-2xl transform transition-all hover:scale-102 hover:shadow-3xl"},Gf={class:"absolute top-4 left-4"},Qf=a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 inline-block mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),Yf=a("div",{class:"text-center"},[a("h2",{class:"mt-6 text-4xl font-extrabold text-gray-900 dark:text-white"},"Forgot Password"),a("p",{class:"mt-2 text-sm text-gray-600 dark:text-gray-400"},"Enter your email to reset your password")],-1),Jf=a("label",{for:"email",class:"sr-only"},"Email",-1),Zf=dc('
',1),Xf={class:"text-center mt-4"},e0={class:"text-sm text-gray-600 dark:text-gray-400"},t0=Me({__name:"ForgotPasswordView",setup(e){const t=G(""),n=Eo(),s=()=>{n.forgotPassword(t.value)};return(o,r)=>(T(),F("div",Wf,[a("div",zf,[a("div",Gf,[re(ie(De),{to:"/",class:"text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300 font-medium"},{default:Te(()=>[Qf,fe(" Home ")]),_:1})]),Yf,a("form",{onSubmit:qt(s,["prevent"]),class:"mt-8 space-y-6"},[a("div",null,[Jf,ut(a("input",{"onUpdate:modelValue":r[0]||(r[0]=i=>t.value=i),type:"email",id:"email",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Email address"},null,512),[[ft,t.value]])]),Zf],32),a("div",Xf,[a("p",e0,[fe(" Remember your password? "),re(ie(De),{to:"/login",class:"font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300"},{default:Te(()=>[fe("Sign in")]),_:1})])])])]))}}),n0={key:0,class:"fixed bottom-4 right-4 z-50 max-w-sm w-full bg-white dark:bg-gray-800 shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"},s0={class:"p-4"},o0={class:"flex items-center"},r0=a("div",{class:"flex-shrink-0"},[a("svg",{class:"h-6 w-6 text-green-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),i0={class:"ml-3 w-0 flex-1"},l0=a("p",{class:"text-sm font-medium text-gray-900 dark:text-gray-100"}," Added to cart! ",-1),a0={class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},c0={class:"ml-4 flex-shrink-0 flex"},u0=a("span",{class:"sr-only"},"Close",-1),d0=a("svg",{class:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),f0=[u0,d0],h0=Me({__name:"ToastNotification",props:{show:{type:Boolean},productName:{}},emits:["close"],setup(e){return(t,n)=>(T(),ht($o,{"enter-active-class":"transform ease-out duration-300 transition","enter-from-class":"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2","enter-to-class":"translate-y-0 opacity-100 sm:translate-x-0","leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:Te(()=>[t.show?(T(),F("div",n0,[a("div",s0,[a("div",o0,[r0,a("div",i0,[l0,a("p",a0,R(t.productName),1)]),a("div",c0,[a("button",{onClick:n[0]||(n[0]=s=>t.$emit("close")),class:"rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},f0)])])])])):Ie("",!0)]),_:1}))}}),It=e=>(zt("data-v-f32baca0"),e=e(),Gt(),e),g0={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4"},p0={class:"bg-white dark:bg-gray-800 rounded-lg p-4 sm:p-6 md:p-8 max-w-4xl w-full mx-auto relative overflow-y-auto max-h-[90vh] product-details-modal"},m0=It(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)),v0=[m0],_0={class:"flex flex-col md:flex-row"},y0={class:"md:w-1/2 mb-4 md:mb-0 md:mr-6 relative"},x0={class:"relative overflow-hidden rounded-lg shadow-md",style:{"padding-top":"100%"}},b0=["src","alt"],w0=It(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-gray-600 dark:text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)),k0=[w0],$0=It(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-gray-600 dark:text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),C0=[$0],P0=["onClick"],S0=["src","alt"],E0={class:"flex-1 flex flex-col h-full"},R0={class:"flex-grow"},T0={class:"text-2xl font-semibold text-gray-800 dark:text-white mb-2"},A0={class:"text-sm text-gray-600 dark:text-gray-400 mb-4"},M0={class:"flex items-center mb-4"},I0={class:"text-3xl font-bold text-indigo-600 dark:text-indigo-400"},O0={class:"ml-2 text-lg text-gray-500 line-through"},L0={class:"ml-2 text-lg text-green-500"},F0={class:"grid grid-cols-2 gap-4 mb-4"},j0=It(()=>a("h3",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Rating:",-1)),N0={class:"flex items-center"},B0={class:"flex items-center"},H0=It(()=>a("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"},null,-1)),D0=[H0],V0={class:"ml-2 text-sm text-gray-600 dark:text-gray-400"},U0=It(()=>a("h3",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Stock:",-1)),K0={class:"text-sm text-gray-600 dark:text-gray-400"},q0={class:"mb-4"},W0=It(()=>a("h3",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300 mb-1"},"Shipping Information:",-1)),z0={class:"text-sm text-gray-600 dark:text-gray-400"},G0={class:"mt-auto"},Q0={key:0,class:"mb-4"},Y0={class:"flex items-center mb-4"},J0={class:"flex items-center border border-gray-300 dark:border-gray-600 rounded-md"},Z0={class:"px-3 py-1 text-gray-800 dark:text-gray-200"},X0=["disabled"],eh={class:"p-4 bg-gray-100 dark:bg-gray-700 rounded-lg mb-4"},th={class:"flex items-center justify-between mb-2"},nh=It(()=>a("span",{class:"text-lg font-semibold text-gray-700 dark:text-gray-300"},"Subtotal:",-1)),sh={class:"text-2xl font-bold text-indigo-600 dark:text-indigo-400"},oh={class:"flex items-center justify-between text-sm text-gray-600 dark:text-gray-400"},rh={key:1,class:"flex space-x-4"},ih=["disabled"],lh=Me({__name:"ProductDetailModal",props:{product:{}},emits:["close","add-to-cart"],setup(e,{emit:t}){const n=e,s=t,o=an(),r=G(0),i=G(null),l=G([]),c=ae(()=>{if(!n.product)return 0;const b=o.cartItems.find(q=>{var K;return q.id===((K=n.product)==null?void 0:K.id)});return b?b.quantity:0}),u=ae(()=>n.product?n.product.price*(1-n.product.discountPercentage/100):0),f=()=>{n.product&&p((r.value-1+n.product.images.length)%n.product.images.length)},h=()=>{n.product&&p((r.value+1)%n.product.images.length)},p=b=>{r.value=b,m(b)},m=b=>{if(l.value[b]&&i.value){const q=l.value[b],K=i.value,$=q.offsetLeft-K.offsetWidth/2+q.offsetWidth/2;K.scrollTo({left:$,behavior:"smooth"})}},v=()=>{s("close")},y=b=>{s("add-to-cart",b)},A=b=>{o.addToCart(b)},S=b=>{o.removeOneFromCart(b.id)},O=b=>{o.removeFromCart(b.id)};return(b,q)=>{const K=$a("router-link");return b.product?(T(),F("div",g0,[a("div",p0,[a("button",{onClick:v,class:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200"},v0),a("div",_0,[a("div",y0,[a("div",x0,[a("img",{src:b.product.images[r.value],alt:b.product.title,class:"absolute top-0 left-0 w-full h-full object-contain rounded-lg border border-gray-200 dark:border-gray-700"},null,8,b0)]),a("button",{onClick:f,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full p-2 shadow-md hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200"},k0),a("button",{onClick:h,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full p-2 shadow-md hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200"},C0),a("div",{class:"flex space-x-2 overflow-x-auto mt-4 pb-2",ref_key:"thumbnailContainer",ref:i},[(T(!0),F(ue,null,Pe(b.product.images,($,k)=>(T(),F("button",{key:k,onClick:M=>p(k),class:Oe(["flex-shrink-0 w-20 h-20 rounded-md overflow-hidden focus:outline-none border-2 transition-colors duration-200",r.value===k?"border-purple-500":"border-gray-200 dark:border-gray-700 hover:border-indigo-300"]),ref_for:!0,ref:M=>{M&&(l.value[k]=M)}},[a("img",{src:$,alt:`${b.product.title} - Image ${k+1}`,class:"w-full h-full object-cover"},null,8,S0)],10,P0))),128))],512)]),a("div",E0,[a("div",R0,[a("h2",T0,R(b.product.title),1),a("p",A0,R(b.product.description),1),a("div",M0,[a("span",I0,"$"+R(u.value.toFixed(2)),1),a("span",O0,"$"+R(b.product.price.toFixed(2)),1),a("span",L0,R(b.product.discountPercentage.toFixed(0))+"% off",1)]),a("div",F0,[a("div",null,[j0,a("div",N0,[a("div",B0,[(T(),F(ue,null,Pe(5,$=>a("svg",{key:$,class:Oe([{"text-yellow-400":$<=Math.round(b.product.rating),"text-gray-300 dark:text-gray-600":$>Math.round(b.product.rating)},"w-5 h-5"]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},D0,2)),64))]),a("span",V0,R(b.product.rating.toFixed(1))+" / 5 ",1)])]),a("div",null,[U0,a("p",K0,R(b.product.stock)+" available",1)])]),a("div",q0,[W0,a("p",z0,R(b.product.shippingInformation),1)])]),a("div",G0,[c.value>0?(T(),F("div",Q0,[a("div",Y0,[a("div",J0,[a("button",{onClick:q[0]||(q[0]=$=>S(b.product)),class:"px-3 py-1 text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700"},"-"),a("span",Z0,R(c.value),1),a("button",{onClick:q[1]||(q[1]=$=>A(b.product)),class:"px-3 py-1 text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700",disabled:c.value>=b.product.stock},"+",8,X0)]),a("button",{onClick:q[2]||(q[2]=$=>O(b.product)),class:"ml-2 px-3 py-1 bg-red-500 text-white rounded-md hover:bg-red-600 transition duration-300"}," Remove ")]),a("div",eh,[a("div",th,[nh,a("span",sh," $"+R((u.value*c.value).toFixed(2)),1)]),a("div",oh,[a("span",null,"$"+R(u.value.toFixed(2))+" each",1),a("span",null,R(c.value)+" item"+R(c.value!==1?"s":"")+" in cart",1)])]),re(K,{to:{name:"ProductDetail",params:{id:b.product.id}},class:"block w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 text-center font-semibold"},{default:Te(()=>[fe(" View Full Details ")]),_:1},8,["to"])])):(T(),F("div",rh,[a("button",{onClick:q[3]||(q[3]=$=>y(b.product)),class:"flex-1 bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-semibold",disabled:b.product.stock===0},R(b.product.stock===0?"Out of Stock":"Add to Cart"),9,ih),re(K,{to:{name:"ProductDetail",params:{id:b.product.id}},class:"flex-1 bg-gray-200 text-gray-800 py-2 px-4 rounded-md hover:bg-gray-300 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 text-center font-semibold"},{default:Te(()=>[fe(" View Full Details ")]),_:1},8,["to"])]))])])])])])):Ie("",!0)}}}),ah=Qt(lh,[["__scopeId","data-v-f32baca0"]]),ch={class:"md:w-1/4"},uh={class:"bg-white dark:bg-gray-800 p-4 rounded-xl shadow-lg transition-all duration-300 hover:shadow-2xl"},dh=a("div",{class:"mb-6"},[a("h2",{class:"text-2xl font-bold text-gray-800 dark:text-white"},"Filters")],-1),fh={class:"space-y-6"},hh={class:"flex flex-wrap gap-2 mb-4"},gh=["onClick"],ph={key:0},mh=a("h3",{class:"text-lg font-semibold text-gray-800 dark:text-white mb-3"},"Categories",-1),vh={class:"flex flex-wrap gap-2"},_h=["onClick"],yh={key:1},xh=a("h3",{class:"text-lg font-semibold text-gray-800 dark:text-white mb-3"},"Price Range",-1),bh={class:"flex items-center space-x-4"},wh={class:"text-sm text-gray-600 dark:text-gray-400"},kh=["max"],$h={class:"text-sm text-gray-600 dark:text-gray-400"},Ch={key:2},Ph=a("h3",{class:"text-lg font-semibold text-gray-800 dark:text-white mb-3"},"Minimum Rating",-1),Sh={class:"flex items-center"},Eh={class:"flex items-center space-x-1"},Rh=["onClick"],Th=a("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"},null,-1),Ah=[Th],Mh={class:"text-sm text-gray-600 dark:text-gray-400 ml-3"},Ih={key:3},Oh=a("h3",{class:"text-lg font-semibold text-gray-800 dark:text-white mb-3"},"Sort By",-1),Lh={class:"flex flex-wrap gap-2"},Fh=["onClick"],jh={class:"mr-1"},Nh=a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 mr-2",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z","clip-rule":"evenodd"})],-1),Bh=Me({__name:"FilterSection",props:{categories:{},maxProductPrice:{},selectedCategories:{},minRating:{}},emits:["update:selectedCategories","update:minPrice","update:maxPrice","update:minRating","update:sortBy","resetFilters"],setup(e,{emit:t}){const n=e,s=t,o=G(n.selectedCategories),r=G(0),i=G(n.maxProductPrice),l=G(n.minRating),c=G("default"),u=G([{id:"category",label:"Category",active:!0},{id:"price",label:"Price Range",active:!0},{id:"rating",label:"Minimum Rating",active:!0},{id:"sort",label:"Sort By",active:!0}]),f=G([{value:"default",label:"Default",icon:"⇅"},{value:"priceLowToHigh",label:"Price: Low to High",icon:"↑"},{value:"priceHighToLow",label:"Price: High to Low",icon:"↓"},{value:"rating",label:"Rating",icon:"⭐"}]),h=S=>{const O=u.value.find(b=>b.id===S);O&&(O.active=!O.active)},p=S=>{const O=o.value.indexOf(S);O>-1?o.value.splice(O,1):o.value.push(S),s("update:selectedCategories",o.value)},m=()=>{s("update:minPrice",r.value),s("update:maxPrice",i.value)},v=S=>{l.value=l.value===S?0:S,s("update:minRating",l.value)},y=S=>{c.value=S,s("update:sortBy",S)},A=()=>{o.value=[],r.value=0,i.value=n.maxProductPrice,l.value=0,c.value="default",u.value.forEach(S=>S.active=!0),s("update:selectedCategories",o.value),s("update:minPrice",r.value),s("update:maxPrice",i.value),s("update:minRating",l.value),s("update:sortBy",c.value),s("resetFilters")};return(S,O)=>{var b,q,K,$;return T(),F("div",ch,[a("div",uh,[dh,a("div",fh,[a("div",hh,[(T(!0),F(ue,null,Pe(u.value,k=>(T(),F("button",{key:k.id,onClick:M=>h(k.id),class:Oe([{"bg-indigo-600 text-white":k.active,"bg-gray-200 text-gray-700":!k.active},"px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200"])},R(k.label),11,gh))),128))]),(b=u.value.find(k=>k.id==="category"))!=null&&b.active?(T(),F("div",ph,[mh,a("div",vh,[(T(!0),F(ue,null,Pe(S.categories,k=>(T(),F("button",{key:k,onClick:M=>p(k),class:Oe([{"bg-indigo-600 text-white":o.value.includes(k),"bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-300":!o.value.includes(k)},"px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200 hover:bg-indigo-500 hover:text-white"])},R(k),11,_h))),128))])])):Ie("",!0),(q=u.value.find(k=>k.id==="price"))!=null&&q.active?(T(),F("div",yh,[xh,a("div",bh,[a("span",wh,"$"+R(r.value),1),ut(a("input",{type:"range",id:"priceRange","onUpdate:modelValue":O[0]||(O[0]=k=>i.value=k),min:0,max:S.maxProductPrice,step:1,class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700",onInput:m},null,40,kh),[[ft,i.value]]),a("span",$h,"$"+R(i.value),1)])])):Ie("",!0),(K=u.value.find(k=>k.id==="rating"))!=null&&K.active?(T(),F("div",Ch,[Ph,a("div",Sh,[a("div",Eh,[(T(),F(ue,null,Pe(5,k=>a("button",{key:k,onClick:M=>v(k),class:"focus:outline-none"},[(T(),F("svg",{class:Oe([{"text-yellow-400":k<=l.value,"text-gray-300 dark:text-gray-600":k>l.value},"w-8 h-8 transition-colors duration-200"]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Ah,2))],8,Rh)),64))]),a("p",Mh,R(l.value===0?"Any rating":`${l.value}+ stars`),1)])])):Ie("",!0),($=u.value.find(k=>k.id==="sort"))!=null&&$.active?(T(),F("div",Ih,[Oh,a("div",Lh,[(T(!0),F(ue,null,Pe(f.value,k=>(T(),F("button",{key:k.value,onClick:M=>y(k.value),class:Oe([{"bg-indigo-600 text-white":c.value===k.value,"bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-300":c.value!==k.value},"px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200 hover:bg-indigo-500 hover:text-white flex items-center"])},[a("span",jh,R(k.icon),1),fe(" "+R(k.label),1)],10,Fh))),128))])])):Ie("",!0),a("div",{class:"mt-8"},[a("button",{onClick:A,class:"flex items-center bg-indigo-700 text-white px-4 py-2 rounded-md hover:bg-indigo-800 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 text-sm w-full justify-center"},[Nh,fe(" Reset Filters ")])])])])])}}}),Ro=e=>(zt("data-v-0af70e76"),e=e(),Gt(),e),Hh={class:"flex justify-between items-center mb-6"},Dh={class:"text-gray-600 dark:text-gray-400"},Vh={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"},Uh={class:"relative"},Kh=["src","alt"],qh={class:"absolute top-0 left-0 bg-green-500 text-white px-3 py-1 m-2 rounded-full text-sm font-semibold"},Wh={class:"absolute top-0 right-0 bg-indigo-500 text-white px-3 py-1 m-2 rounded-full text-sm font-semibold"},zh={class:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300"},Gh=["onClick"],Qh={class:"p-6 flex flex-col flex-grow"},Yh={class:"text-xl font-semibold text-gray-800 dark:text-white mb-2"},Jh={class:"text-gray-600 dark:text-gray-400 mb-4 line-clamp-2 flex-grow"},Zh={class:"flex items-center mb-4"},Xh=Ro(()=>a("span",{class:"text-yellow-400 mr-1"},"★",-1)),eg={class:"text-gray-600 dark:text-gray-400"},tg=["onClick","disabled"],ng={key:0,class:"mt-8 flex justify-center items-center space-x-2"},sg=["disabled"],og=Ro(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"})],-1)),rg=[og],ig={class:"flex space-x-2"},lg=["onClick"],ag=["disabled"],cg=Ro(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})],-1)),ug=[cg],dg=Me({__name:"ProductGrid",props:{products:{},currentPage:{},itemsPerPage:{},totalProducts:{},totalPages:{}},emits:["open-product-details","add-to-cart","prev-page","next-page","go-to-page"],setup(e){const t=e,n=ae(()=>{const o=[],r=[];let i;if(o.push(1),t.totalPages<=1)return o;for(let l=t.currentPage-2;l<=t.currentPage+2;l++)l1&&o.push(l);o.push(t.totalPages);for(let l of o)i&&(l-i===2?r.push(i+1):l-i!==1&&r.push("...")),r.push(l),i=l;return r});return(s,o)=>(T(),F("div",null,[a("div",Hh,[a("p",Dh," Showing "+R(s.totalProducts>0?(s.currentPage-1)*s.itemsPerPage+1:0)+" - "+R(Math.min(s.currentPage*s.itemsPerPage,s.totalProducts))+" of "+R(s.totalProducts)+" product"+R(s.totalProducts!==1?"s":""),1)]),a("div",Vh,[(T(!0),F(ue,null,Pe(s.products,r=>(T(),F("div",{key:r.id,class:"bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden transform transition duration-300 hover:scale-105 flex flex-col group"},[a("div",Uh,[a("img",{src:r.thumbnail,alt:r.title,class:"w-full h-48 object-cover"},null,8,Kh),a("div",qh,R(r.discountPercentage.toFixed(0))+"% off ",1),a("div",Wh," $"+R(r.price.toFixed(2)),1),a("div",zh,[a("button",{onClick:i=>s.$emit("open-product-details",r),class:"bg-white text-gray-800 px-4 py-2 rounded-md hover:bg-gray-100 transition duration-300"}," View Details ",8,Gh)])]),a("div",Qh,[a("h2",Yh,R(r.title),1),a("p",Jh,R(r.description),1),a("div",Zh,[Xh,a("span",eg,R(r.rating.toFixed(1))+" ("+R(r.reviews.length)+")",1)]),a("button",{onClick:i=>s.$emit("add-to-cart",r),class:"w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-2 px-4 rounded-md hover:from-indigo-600 hover:to-purple-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-semibold",disabled:r.stock===0},R(r.stock===0?"Out of Stock":"Add to Cart"),9,tg)])]))),128))]),s.totalProducts>0?(T(),F("div",ng,[a("button",{onClick:o[0]||(o[0]=r=>s.$emit("prev-page")),disabled:s.currentPage===1,class:"px-4 py-2 bg-indigo-600 text-white rounded-md disabled:opacity-50 hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},rg,8,sg),a("div",ig,[(T(!0),F(ue,null,Pe(n.value,r=>(T(),F("button",{key:r,onClick:i=>s.$emit("go-to-page",Number(r)),class:Oe([{"bg-indigo-600 text-white":s.currentPage===r,"bg-gray-200 text-gray-700 hover:bg-gray-300":s.currentPage!==r},"px-4 py-2 rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"])},R(r),11,lg))),128))]),a("button",{onClick:o[1]||(o[1]=r=>s.$emit("next-page")),disabled:s.currentPage===s.totalPages,class:"px-4 py-2 bg-indigo-600 text-white rounded-md disabled:opacity-50 hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},ug,8,ag)])):Ie("",!0)]))}}),fg=Qt(dg,[["__scopeId","data-v-0af70e76"]]),_s=e=>(zt("data-v-afb2a038"),e=e(),Gt(),e),hg={key:0,class:"fixed bottom-0 right-0 m-6"},gg={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 w-80 transform transition-all duration-300 hover:scale-105"},pg=_s(()=>a("h2",{class:"text-xl font-semibold text-gray-800 dark:text-white"},"Shopping Cart",-1)),mg=_s(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)),vg=[mg],_g={key:0,class:"space-y-2 max-h-60 overflow-y-auto"},yg={class:"text-gray-700 dark:text-gray-300"},xg={class:"text-gray-600 dark:text-gray-400"},bg={key:1,class:"text-gray-600 dark:text-gray-400 text-center"},wg={class:"mt-4 pt-4 border-t border-gray-200 dark:border-gray-700"},kg={class:"flex justify-between items-center"},$g=_s(()=>a("span",{class:"font-semibold text-gray-800 dark:text-white"},"Total:",-1)),Cg={class:"font-bold text-2xl text-transparent bg-clip-text bg-gradient-to-r from-indigo-500 to-purple-600"},Pg=["disabled"],Sg=_s(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})],-1)),Eg=[Sg],Rg=Me({__name:"ShoppingCartPreview",props:{isCartOpen:{type:Boolean},lastAddedProductId:{}},emits:["update:isCartOpen"],setup(e,{emit:t}){const n=e,s=t,o=an(),r=()=>{s("update:isCartOpen",!n.isCartOpen)};return dt(()=>n.lastAddedProductId,i=>{i!==null&&setTimeout(()=>{s("update:isCartOpen",!0)},0)}),(i,l)=>i.isCartOpen?(T(),F("div",hg,[a("div",gg,[a("div",{class:"flex justify-between items-center mb-4"},[pg,a("button",{onClick:r,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200"},vg)]),ie(o).cartItems.length>0?(T(),F("ul",_g,[(T(!0),F(ue,null,Pe(ie(o).cartItems,c=>(T(),F("li",{key:c.id,class:Oe([{"bg-indigo-100 dark:bg-indigo-900":c.id===i.lastAddedProductId},"flex justify-between items-center p-2 rounded transition-colors duration-500"])},[a("span",yg,R(c.title)+" (x"+R(c.quantity)+")",1),a("span",xg,"$"+R((c.price*c.quantity).toFixed(2)),1)],2))),128))])):(T(),F("p",bg,"Your cart is empty")),a("div",wg,[a("div",kg,[$g,a("span",Cg,"$"+R(ie(o).total.toFixed(2)),1)]),a("button",{disabled:ie(o).cartItems.length===0,class:Oe([{"opacity-50 cursor-not-allowed":ie(o).cartItems.length===0},"mt-4 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-2 px-4 rounded-md hover:from-indigo-600 hover:to-purple-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transform hover:scale-105"])}," Checkout ",10,Pg)])])])):(T(),F("button",{key:1,onClick:r,class:"fixed bottom-0 right-0 m-6 bg-indigo-600 text-white p-3 rounded-full shadow-lg hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},Eg))}}),Tg=Qt(Rg,[["__scopeId","data-v-afb2a038"]]),Ag=e=>(zt("data-v-187c3b28"),e=e(),Gt(),e),Mg={class:"products min-h-screen p-8"},Ig={class:"max-w-7xl mx-auto"},Og={class:"flex flex-col md:flex-row gap-8"},Lg={class:"md:w-3/4"},Fg={key:0,class:"text-center py-16"},jg=Ag(()=>a("p",{class:"text-2xl text-gray-600 dark:text-gray-400 mb-4"},"No products found matching your criteria.",-1)),Ng=[jg],Bg=Me({__name:"ProductsView",setup(e){const t=So(),n=vs(),s=an(),o=ae(()=>t.query.search||""),r=G([]),i=G(0),l=G(1e3),c=G(0),u=G("default"),f=G(!1),h=G(null),p=G(1),m=G(12),v=G(null),y=G(0),A=G(null),S=G([]),O=G(null),b=G(!1);ln(async()=>{await n.fetchProducts(),be(),n.products.forEach(Y=>{it(Y.images)})});const q=ae(()=>[...new Set(n.products.map(Y=>Y.category))]),K=ae(()=>n.products.filter(Y=>{const le=Y.title.toLowerCase().includes(o.value.toLowerCase())||Y.description.toLowerCase().includes(o.value.toLowerCase()),ve=r.value.length===0||r.value.includes(Y.category),x=Y.price>=i.value&&Y.price<=l.value;let H;return c.value===5?H=Y.rating>=4.95:H=Y.rating>=c.value,le&&ve&&x&&H})),$=ae(()=>{let Y=[...K.value];switch(u.value){case"priceLowToHigh":Y.sort((le,ve)=>le.price-ve.price);break;case"priceHighToLow":Y.sort((le,ve)=>ve.price-le.price);break;case"rating":Y.sort((le,ve)=>ve.rating-le.rating);break}return Y}),k=ae(()=>{const Y=(p.value-1)*m.value,le=Y+m.value;return $.value.slice(Y,le)}),M=ae(()=>Math.ceil($.value.length/m.value)),I=ae(()=>Math.max(...n.products.map(Y=>Y.price),1e3)),D=()=>{p.value{p.value>1&&(p.value--,oe())},V=Y=>{p.value=Y,oe()},ne=()=>{p.value=1,oe(),console.log("Filters applied")},be=()=>{p.value=1,oe(),r.value=[],i.value=0,l.value=I.value,c.value=0,u.value="default"},je=Y=>{s.addToCart(Y),h.value=Y.id,f.value=!0,setTimeout(()=>{h.value=null},3e3)},ge=Y=>{s.addToCart(Y),O.value=Y,b.value=!0,setTimeout(()=>{O.value=null,b.value=!1},3e3)},ee=()=>{b.value=!1},oe=()=>{window.scrollTo({top:0,behavior:"smooth"})},Je=Y=>{if(S.value[Y]&&A.value){const le=S.value[Y],ve=A.value,x=le.offsetLeft-ve.offsetWidth/2+le.offsetWidth/2;ve.scrollTo({left:x,behavior:"smooth"})}},tt=Y=>{v.value=Y,y.value=0,S.value=[],it(Y.images),rs(()=>{Je(0)})},We=()=>{v.value=null},Le=Y=>{"requestIdleCallback"in window?window.requestIdleCallback(Y):setTimeout(Y,1)},it=Y=>{Le(()=>{Y.forEach(le=>{const ve=new Image;ve.src=le})})};return Za(()=>{o.value,r.value,i.value,l.value,c.value,u.value,ne()}),dt(()=>n.products,()=>{const Y=Math.max(...n.products.map(le=>le.price),1e3);i.value=0,l.value=Y},{immediate:!0}),dt(()=>s.cartItems,()=>{},{deep:!0}),dt(()=>c.value,Y=>{console.log("minRating changed:",Y),ne()}),(Y,le)=>{var ve;return T(),F(ue,null,[a("div",Mg,[a("div",Ig,[a("div",Og,[re(Bh,{categories:q.value,maxProductPrice:I.value,selectedCategories:r.value,"onUpdate:selectedCategories":le[0]||(le[0]=x=>r.value=x),minPrice:i.value,"onUpdate:minPrice":le[1]||(le[1]=x=>i.value=x),maxPrice:l.value,"onUpdate:maxPrice":le[2]||(le[2]=x=>l.value=x),minRating:c.value,"onUpdate:minRating":le[3]||(le[3]=x=>c.value=x),sortBy:u.value,"onUpdate:sortBy":le[4]||(le[4]=x=>u.value=x),onApplyFilters:ne,onResetFilters:be},null,8,["categories","maxProductPrice","selectedCategories","minPrice","maxPrice","minRating","sortBy"]),a("div",Lg,[re(fg,{products:k.value,currentPage:p.value,itemsPerPage:m.value,totalProducts:$.value.length,totalPages:M.value,onOpenProductDetails:tt,onAddToCart:je,onPrevPage:Z,onNextPage:D,onGoToPage:V},null,8,["products","currentPage","itemsPerPage","totalProducts","totalPages"]),$.value.length===0?(T(),F("div",Fg,Ng)):Ie("",!0)])])])]),re(Tg,{isCartOpen:f.value,"onUpdate:isCartOpen":le[5]||(le[5]=x=>f.value=x),lastAddedProductId:h.value},null,8,["isCartOpen","lastAddedProductId"]),v.value?(T(),ht(ah,{key:0,product:v.value,onClose:We,onAddToCart:ge},null,8,["product"])):Ie("",!0),re(h0,{show:b.value,"product-name":((ve=O.value)==null?void 0:ve.title)||"",onClose:ee},null,8,["show","product-name"])],64)}}}),Hg=Qt(Bg,[["__scopeId","data-v-187c3b28"]]),Ot=e=>(zt("data-v-0e01e2db"),e=e(),Gt(),e),Dg={class:"cart min-h-screen p-4 sm:p-8 bg-gray-900 text-white"},Vg={class:"max-w-4xl mx-auto"},Ug=Ot(()=>a("h1",{class:"text-4xl font-bold mb-8"},"Your Cart",-1)),Kg={key:0},qg={class:"space-y-4"},Wg={class:"flex items-center justify-between"},zg={class:"flex items-center space-x-4"},Gg=["src","alt"],Qg={class:"text-xl font-semibold"},Yg={class:"flex items-baseline space-x-2 mt-1"},Jg={class:"text-lg font-semibold text-green-400"},Zg={class:"text-sm text-gray-500 line-through"},Xg={class:"text-sm text-green-400"},ep={class:"flex items-center space-x-2"},tp=["onClick"],np={class:"text-xl font-semibold px-2"},sp=["onClick"],op=["onClick"],rp={class:"mt-4 text-right"},ip={class:"text-sm text-gray-400"},lp={class:"text-sm text-green-400"},ap={class:"text-sm text-white"},cp={class:"mt-8 bg-gray-800 p-6 rounded-lg shadow-md"},up={class:"flex justify-between items-center mb-4"},dp=Ot(()=>a("span",{class:"text-xl"},"Subtotal",-1)),fp={class:"text-xl font-semibold"},hp={class:"flex justify-between items-center mb-4"},gp=Ot(()=>a("span",{class:"text-xl"},"Discounted Subtotal",-1)),pp={class:"text-xl font-semibold text-white"},mp={class:"flex justify-between items-center mb-6 text-green-400 font-semibold"},vp=Ot(()=>a("span",{class:"text-xl"},"Total Savings",-1)),_p={class:"text-xl"},yp=Ot(()=>a("button",{class:"w-full bg-indigo-600 text-white py-3 px-4 rounded-md hover:bg-indigo-700 transition duration-300 flex items-center justify-center"},[a("span",{class:"text-lg font-semibold"},"Proceed to Checkout"),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 ml-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})])],-1)),xp={key:1,class:"text-center text-gray-400 bg-gray-800 p-8 rounded-lg shadow-md"},bp=Ot(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-16 w-16 mx-auto mb-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})],-1)),wp=Ot(()=>a("p",{class:"text-xl font-semibold mb-2"},"Your cart is empty",-1)),kp=Ot(()=>a("p",{class:"mb-4"},"Looks like you haven't added any items to your cart yet.",-1)),$p=Me({__name:"CartView",setup(e){const t=an(),n=r=>{t.updateQuantity(r,t.getItemQuantity(r)+1)},s=r=>{const i=t.getItemQuantity(r);i>1?t.updateQuantity(r,i-1):o(r)},o=r=>{t.removeFromCart(r)};return(r,i)=>(T(),F("div",Dg,[a("div",Vg,[Ug,ie(t).cartItems.length>0?(T(),F("div",Kg,[a("ul",qg,[(T(!0),F(ue,null,Pe(ie(t).cartItems,l=>(T(),F("li",{key:l.id,class:"bg-gray-800 p-6 rounded-lg shadow-md"},[a("div",Wg,[a("div",zg,[a("img",{src:l.thumbnail,alt:l.title,class:"w-20 h-20 object-cover rounded-md"},null,8,Gg),a("div",null,[a("h3",Qg,R(l.title),1),a("div",Yg,[a("span",Jg,"$"+R(l.discountedPrice.toFixed(2)),1),a("span",Zg,"$"+R(l.price.toFixed(2)),1),a("span",Xg,R(((l.price-l.discountedPrice)/l.price*100).toFixed(0))+"% off ",1)])])]),a("div",ep,[a("button",{onClick:c=>s(l.id),class:"bg-gray-700 text-white px-3 py-1 rounded-md hover:bg-gray-600 transition duration-300"},"-",8,tp),a("span",np,R(l.quantity),1),a("button",{onClick:c=>n(l.id),class:"bg-gray-700 text-white px-3 py-1 rounded-md hover:bg-gray-600 transition duration-300"},"+",8,sp),a("button",{onClick:c=>o(l.id),class:"text-red-400 hover:text-red-300 transition duration-300 ml-4"}," Remove ",8,op)])]),a("div",rp,[a("p",ip,"Total: $"+R((l.price*l.quantity).toFixed(2)),1),a("p",lp," Savings: $"+R(((l.price-l.discountedPrice)*l.quantity).toFixed(2)),1),a("p",ap,"Discounted Total: $"+R((l.discountedPrice*l.quantity).toFixed(2)),1)])]))),128))]),a("div",cp,[a("div",up,[dp,a("span",fp,"$"+R(ie(t).subtotal.toFixed(2)),1)]),a("div",hp,[gp,a("span",pp,"$"+R(ie(t).discountedSubtotal.toFixed(2)),1)]),a("div",mp,[vp,a("span",_p,"$"+R(ie(t).totalSavings.toFixed(2)),1)]),yp])])):(T(),F("div",xp,[bp,wp,kp,re(ie(De),{to:"/products",class:"inline-block bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-300"},{default:Te(()=>[fe(" Start Shopping ")]),_:1})]))])]))}}),Cp=Qt($p,[["__scopeId","data-v-0e01e2db"]]),Pp={class:"min-h-screen flex items-center justify-center bg-gray-900"},Sp={class:"max-w-md w-full space-y-8 bg-gray-800 p-6 sm:p-10 rounded-3xl shadow-2xl transform transition-all hover:scale-102 hover:shadow-3xl"},Ep={class:"absolute top-4 left-4"},Rp=a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 inline-block mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),Tp=a("div",{class:"text-center"},[a("h2",{class:"mt-6 text-4xl font-extrabold text-gray-900 dark:text-white"},"Welcome Back"),a("p",{class:"mt-2 text-sm text-gray-600 dark:text-gray-400"},"Sign in to your account")],-1),Ap={class:"space-y-4"},Mp=a("label",{for:"email",class:"sr-only"},"Email",-1),Ip=a("label",{for:"password",class:"sr-only"},"Password",-1),Op=a("div",null,[a("button",{type:"submit",class:"group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-lg text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-200 ease-in-out transform hover:-translate-y-1 hover:shadow-lg"},[a("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},[a("svg",{class:"h-5 w-5 text-indigo-500 group-hover:text-indigo-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[a("path",{"fill-rule":"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z","clip-rule":"evenodd"})])]),fe(" Sign in ")])],-1),Lp={class:"text-center mt-4 space-y-2"},Fp={class:"text-sm text-gray-600 dark:text-gray-400"},jp=Me({__name:"LoginView",setup(e){const t=G(""),n=G(""),s=Eo(),o=()=>{s.login(t.value,n.value)};return(r,i)=>(T(),F("div",Pp,[a("div",Sp,[a("div",Ep,[re(ie(De),{to:"/",class:"text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300 font-medium"},{default:Te(()=>[Rp,fe(" Home ")]),_:1})]),Tp,a("form",{onSubmit:qt(o,["prevent"]),class:"mt-8 space-y-6"},[a("div",Ap,[a("div",null,[Mp,ut(a("input",{"onUpdate:modelValue":i[0]||(i[0]=l=>t.value=l),type:"email",id:"email",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Email address"},null,512),[[ft,t.value]])]),a("div",null,[Ip,ut(a("input",{"onUpdate:modelValue":i[1]||(i[1]=l=>n.value=l),type:"password",id:"password",required:"",class:"appearance-none rounded-lg relative block w-full px-4 py-3 border border-gray-300 dark:border-gray-600 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent dark:bg-gray-700 transition duration-200",placeholder:"Password"},null,512),[[ft,n.value]])])]),Op],32),a("div",Lp,[re(ie(De),{to:"/forgot-password",class:"block font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300"},{default:Te(()=>[fe("Forgot your password?")]),_:1}),a("p",Fp,[fe(" Don't have an account? "),re(ie(De),{to:"/register",class:"font-medium text-green-600 hover:text-green-500 dark:text-green-400 dark:hover:text-green-300"},{default:Te(()=>[fe("Sign up")]),_:1})])])])]))}}),Np={class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},Bp={class:"bg-gray-800 rounded-lg p-6 max-w-md w-full mx-4 relative"},Hp=a("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),Dp=[Hp],Vp={class:"text-2xl font-bold text-white mb-6"},Up={class:"mb-4"},Kp=a("label",{class:"block text-gray-300 mb-2"},"Rating",-1),qp={class:"flex space-x-1"},Wp=["onClick"],zp={class:"mb-4"},Gp=a("label",{for:"review",class:"block text-gray-300 mb-2"},"Your Review",-1),Qp=a("button",{type:"submit",class:"w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 mb-2"}," Submit Review ",-1),Yp=Me({__name:"ReviewModal",props:{productTitle:{}},emits:["close","submit-review"],setup(e,{emit:t}){const n=t,s=G(0),o=G(""),r=()=>{s.value===0||o.value.trim()===""||(n("submit-review",{rating:s.value,comment:o.value}),s.value=0,o.value="")};return(i,l)=>(T(),ht(qa,{to:"body"},[a("div",Np,[a("div",Bp,[a("button",{onClick:l[0]||(l[0]=c=>i.$emit("close")),class:"absolute top-2 right-2 text-gray-400 hover:text-white"},Dp),a("h2",Vp,"Write a Review for "+R(i.productTitle),1),a("form",{onSubmit:qt(r,["prevent"])},[a("div",Up,[Kp,a("div",qp,[(T(),F(ue,null,Pe(5,c=>a("button",{key:c,type:"button",onClick:u=>s.value=c,class:Oe(["text-3xl focus:outline-none",c<=s.value?"text-yellow-400":"text-gray-500"])}," ★ ",10,Wp)),64))])]),a("div",zp,[Gp,ut(a("textarea",{id:"review","onUpdate:modelValue":l[1]||(l[1]=c=>o.value=c),rows:"4",class:"w-full px-3 py-2 text-gray-200 bg-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500",placeholder:"Write your review here..."},null,512),[[ft,o.value]])]),Qp,a("button",{onClick:l[2]||(l[2]=c=>i.$emit("close")),type:"button",class:"w-full bg-gray-600 text-white py-2 px-4 rounded-md hover:bg-gray-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"}," Cancel ")],32)])])]))}}),$e=e=>(zt("data-v-070f966c"),e=e(),Gt(),e),Jp={class:"product-detail min-h-screen p-4 sm:p-8 bg-gray-100 dark:bg-gray-900"},Zp={key:0,class:"w-full max-w-6xl mx-auto text-center"},Xp=$e(()=>a("div",{class:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-indigo-500 mx-auto"},null,-1)),em=$e(()=>a("p",{class:"mt-4 text-gray-600 dark:text-gray-400"},"Loading product details...",-1)),tm=[Xp,em],nm={key:1,class:"max-w-6xl mx-auto bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden animate-fade-in-down"},sm={class:"flex flex-col md:flex-row"},om={class:"md:w-1/2 p-4 md:pl-8"},rm={class:"relative overflow-hidden rounded-lg shadow-md border border-gray-200 dark:border-gray-700",style:{"padding-top":"100%"}},im={class:"absolute inset-0 flex items-center justify-center"},lm=["src","alt"],am=$e(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-gray-600 dark:text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)),cm=[am],um=$e(()=>a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-gray-600 dark:text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),dm=[um],fm={class:"flex space-x-2 overflow-x-auto mt-4 pb-2"},hm=["onClick"],gm=["src","alt"],pm={class:"md:w-1/2 p-4 md:p-6 flex flex-col"},mm={class:"text-3xl font-bold text-gray-900 dark:text-white mb-4"},vm={class:"flex items-center mb-4"},_m={class:"flex items-center"},ym=$e(()=>a("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"},null,-1)),xm=[ym],bm={class:"ml-2 text-sm text-gray-600 dark:text-gray-400"},wm={class:"text-gray-600 dark:text-gray-400 mb-6"},km={class:"flex items-center mb-6"},$m={class:"text-3xl font-bold text-indigo-600 dark:text-indigo-400"},Cm={class:"ml-2 text-lg text-gray-500 dark:text-gray-400 line-through"},Pm={class:"ml-2 text-lg text-green-500"},Sm={class:"text-gray-600 dark:text-gray-400 mb-6"},Em={class:"flex items-center mb-6"},Rm={key:0,class:"flex items-center border border-gray-300 dark:border-gray-600 rounded-md"},Tm={class:"px-3 py-1 text-gray-800 dark:text-gray-200"},Am=["disabled"],Mm=["disabled"],Im={key:0,class:"mb-6 p-4 bg-gray-100 dark:bg-gray-700 rounded-lg"},Om={class:"flex justify-between items-center"},Lm=$e(()=>a("span",{class:"text-lg font-semibold text-gray-900 dark:text-white"},"Subtotal:",-1)),Fm={class:"text-sm text-gray-600 dark:text-gray-400"},jm={class:"text-right"},Nm={class:"text-xl font-bold text-indigo-600 dark:text-indigo-400"},Bm={class:"text-sm text-gray-600 dark:text-gray-400"},Hm={class:"border-t border-gray-200 dark:border-gray-700 pt-4 mt-6"},Dm=$e(()=>a("h2",{class:"text-xl font-semibold text-gray-900 dark:text-white mb-4"},"Product Details",-1)),Vm={class:"grid grid-cols-2 gap-4"},Um={class:"text-sm text-gray-600 dark:text-gray-400"},Km=$e(()=>a("span",{class:"font-semibold"},"Category:",-1)),qm={class:"text-sm text-gray-600 dark:text-gray-400"},Wm=$e(()=>a("span",{class:"font-semibold"},"Brand:",-1)),zm={class:"text-sm text-gray-600 dark:text-gray-400"},Gm=$e(()=>a("span",{class:"font-semibold"},"SKU:",-1)),Qm={class:"text-sm text-gray-600 dark:text-gray-400"},Ym=$e(()=>a("span",{class:"font-semibold"},"Weight:",-1)),Jm={class:"text-sm text-gray-600 dark:text-gray-400"},Zm=$e(()=>a("span",{class:"font-semibold"},"Dimensions:",-1)),Xm={class:"text-sm text-gray-600 dark:text-gray-400"},e1=$e(()=>a("span",{class:"font-semibold"},"Minimum Order:",-1)),t1={class:"border-t border-gray-200 dark:border-gray-700 pt-4 mt-6"},n1=$e(()=>a("h2",{class:"text-xl font-semibold text-gray-900 dark:text-white mb-4"},"Shipping & Warranty",-1)),s1={class:"text-sm text-gray-600 dark:text-gray-400 mb-2"},o1=$e(()=>a("span",{class:"font-semibold"},"Shipping:",-1)),r1={class:"text-sm text-gray-600 dark:text-gray-400 mb-2"},i1=$e(()=>a("span",{class:"font-semibold"},"Warranty:",-1)),l1={class:"text-sm text-gray-600 dark:text-gray-400"},a1=$e(()=>a("span",{class:"font-semibold"},"Return Policy:",-1)),c1={class:"mt-6"},u1=$e(()=>a("h2",{class:"text-xl font-semibold text-gray-900 dark:text-white mb-4"},"Tags",-1)),d1={class:"flex flex-wrap gap-2"},f1={class:"mt-8 p-4 md:p-6 bg-white dark:bg-gray-800 rounded-xl shadow-lg"},h1=$e(()=>a("h2",{class:"text-2xl font-bold text-gray-900 dark:text-white mb-4"},"Customer Reviews",-1)),g1={key:0,class:"space-y-4 mb-6"},p1={class:"flex items-center mb-2"},m1=$e(()=>a("span",{class:"text-yellow-400 mr-1"},"★",-1)),v1={class:"font-semibold text-gray-900 dark:text-white"},_1={class:"text-gray-600 dark:text-gray-300 mb-2"},y1={class:"text-sm text-gray-500 dark:text-gray-400"},x1={key:1,class:"text-gray-600 dark:text-gray-400 mb-4"},b1={key:2,class:"flex justify-center mt-6"},w1=["disabled"],k1={class:"px-4 py-2 text-gray-900 dark:text-white"},$1=["disabled"],Ls=10,C1=Me({__name:"ProductDetailView",setup(e){const t=So(),n=vs(),s=an(),o=G(null),r=G(0),i=G(!0),l=ae(()=>{if(!o.value)return 0;const k=s.getCartItem(o.value.id);return k?k.quantity:0});ln(async()=>{const k=Number(t.params.id);await n.fetchProducts();const M=n.getProductById(k);o.value=M||null,i.value=!1,window.scrollTo({top:0,behavior:"smooth"})});const c=ae(()=>o.value?o.value.price*(1-o.value.discountPercentage/100):0),u=()=>{r.value>0?r.value--:r.value=o.value.images.length-1},f=()=>{r.value{r.value=k},p=()=>{o.value&&o.value.stock>0&&s.addToCart(o.value,1)},m=k=>{if(o.value){const M=l.value+k;M>0&&M<=o.value.stock?s.updateQuantity(o.value.id,M):M===0&&s.removeFromCart(o.value.id)}},v=()=>{o.value&&s.removeFromCart(o.value.id)},y=G(1),A=ae(()=>{if(!o.value)return[];const k=(y.value-1)*Ls,M=k+Ls;return o.value.reviews.slice(k,M)}),S=ae(()=>o.value?Math.ceil(o.value.reviews.length/Ls):0),O=()=>{y.value{y.value>1&&y.value--},q=k=>new Date(k).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),K=G(!1),$=k=>{o.value&&(o.value.reviews.push({...k,reviewerName:"Anonymous User",reviewerEmail:"anonymous@example.com",date:new Date().toISOString()}),K.value=!1)};return(k,M)=>{var I;return T(),F(ue,null,[a("div",Jp,[i.value?(T(),F("div",Zp,tm)):o.value?(T(),F("div",nm,[a("div",sm,[a("div",om,[a("div",rm,[a("div",im,[a("img",{src:o.value.images[r.value],alt:o.value.title,class:"max-w-full max-h-full object-contain"},null,8,lm)])]),a("div",{class:"flex justify-between mt-4"},[a("button",{onClick:u,class:"bg-gray-200 dark:bg-gray-700 rounded-full p-2 hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors duration-200"},cm),a("button",{onClick:f,class:"bg-gray-200 dark:bg-gray-700 rounded-full p-2 hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors duration-200"},dm)]),a("div",fm,[(T(!0),F(ue,null,Pe(o.value.images,(D,Z)=>(T(),F("button",{key:Z,onClick:V=>h(Z),class:Oe(["flex-shrink-0 w-20 h-20 rounded-md overflow-hidden focus:outline-none border-2 transition-colors duration-200",r.value===Z?"border-indigo-500":"border-gray-200 dark:border-gray-700 hover:border-indigo-300"])},[a("img",{src:D,alt:`${o.value.title} - Image ${Z+1}`,class:"w-full h-full object-cover"},null,8,gm)],10,hm))),128))])]),a("div",pm,[a("h1",mm,R(o.value.title),1),a("div",vm,[a("div",_m,[(T(),F(ue,null,Pe(5,D=>a("svg",{key:D,class:Oe([{"text-yellow-400":D<=Math.round(o.value.rating),"text-gray-300 dark:text-gray-600":D>Math.round(o.value.rating)},"w-5 h-5"]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},xm,2)),64)),a("span",bm,R(o.value.rating.toFixed(1))+" / 5 ",1)])]),a("p",wm,R(o.value.description),1),a("div",km,[a("p",$m,"$"+R(c.value.toFixed(2)),1),a("p",Cm,"$"+R(o.value.price.toFixed(2)),1),a("p",Pm,R(o.value.discountPercentage.toFixed(0))+"% off",1)]),a("p",Sm," Stock: "+R(o.value.stock)+" available ",1),a("div",Em,[l.value>0?(T(),F("div",Rm,[a("button",{onClick:M[0]||(M[0]=D=>m(-1)),class:"px-3 py-1 text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700"},"-"),a("span",Tm,R(l.value),1),a("button",{onClick:M[1]||(M[1]=D=>m(1)),class:"px-3 py-1 text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700",disabled:l.value>=o.value.stock},"+",8,Am)])):Ie("",!0),l.value>0?(T(),F("button",{key:1,onClick:v,class:"ml-2 px-3 py-1 bg-red-500 text-white rounded-md hover:bg-red-600 transition duration-300"}," Remove ")):(T(),F("button",{key:2,onClick:p,class:"w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-3 px-6 rounded-lg font-bold text-lg hover:from-indigo-600 hover:to-purple-700 transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",disabled:o.value.stock===0},R(o.value.stock===0?"Out of Stock":"Add to Cart"),9,Mm))]),l.value>0?(T(),F("div",Im,[a("div",Om,[a("div",null,[Lm,a("div",Fm,"$"+R(c.value.toFixed(2))+" each",1)]),a("div",jm,[a("span",Nm,"$"+R((c.value*l.value).toFixed(2)),1),a("div",Bm,R(l.value)+" "+R(l.value===1?"item":"items")+" in cart",1)])])])):Ie("",!0),a("div",Hm,[Dm,a("div",Vm,[a("p",Um,[Km,fe(" "+R(o.value.category),1)]),a("p",qm,[Wm,fe(" "+R(o.value.brand),1)]),a("p",zm,[Gm,fe(" "+R(o.value.sku),1)]),a("p",Qm,[Ym,fe(" "+R(o.value.weight)+" kg ",1)]),a("p",Jm,[Zm,fe(" "+R(o.value.dimensions.width)+"x"+R(o.value.dimensions.height)+"x"+R(o.value.dimensions.depth)+" cm ",1)]),a("p",Xm,[e1,fe(" "+R(o.value.minimumOrderQuantity),1)])])]),a("div",t1,[n1,a("p",s1,[o1,fe(" "+R(o.value.shippingInformation),1)]),a("p",r1,[i1,fe(" "+R(o.value.warrantyInformation),1)]),a("p",l1,[a1,fe(" "+R(o.value.returnPolicy),1)])]),a("div",c1,[u1,a("div",d1,[(T(!0),F(ue,null,Pe(o.value.tags,D=>(T(),F("span",{key:D,class:"px-2 py-1 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-full text-sm"},R(D),1))),128))])])])]),a("div",f1,[h1,A.value.length>0?(T(),F("div",g1,[(T(!0),F(ue,null,Pe(A.value,D=>(T(),F("div",{key:D.reviewerEmail,class:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg"},[a("div",p1,[m1,a("span",v1,R(D.rating.toFixed(1)),1)]),a("p",_1,R(D.comment),1),a("p",y1,"By "+R(D.reviewerName)+" on "+R(q(D.date)),1)]))),128))])):(T(),F("p",x1,"No reviews yet. Be the first to review this product!")),S.value>1?(T(),F("div",b1,[a("button",{onClick:b,disabled:y.value===1,class:"px-4 py-2 mr-2 bg-gray-200 dark:bg-gray-700 rounded-md disabled:opacity-50"}," Previous ",8,w1),a("span",k1,"Page "+R(y.value)+" of "+R(S.value),1),a("button",{onClick:O,disabled:y.value===S.value,class:"px-4 py-2 ml-2 bg-gray-200 dark:bg-gray-700 rounded-md disabled:opacity-50"}," Next ",8,$1)])):Ie("",!0)])])):Ie("",!0)]),K.value?(T(),ht(Yp,{key:0,"product-title":((I=o.value)==null?void 0:I.title)||"",onClose:M[2]||(M[2]=D=>K.value=!1),onSubmitReview:$},null,8,["product-title"])):Ie("",!0)],64)}}}),P1=Qt(C1,[["__scopeId","data-v-070f966c"]]),S1=ud({history:Hu("/vue-project/"),routes:[{path:"/",name:"home",component:Af},{path:"/login",name:"login",component:jp,meta:{withoutLayout:!0}},{path:"/register",name:"register",component:qf,meta:{withoutLayout:!0}},{path:"/forgot-password",name:"forgot-password",component:t0,meta:{withoutLayout:!0}},{path:"/products",name:"products",component:Hg,props:e=>({category:e.query.category})},{path:"/cart",name:"cart",component:Cp},{path:"/product/:id",name:"ProductDetail",component:P1,props:!0}]}),To=eu(sf);To.use(ou());To.use(S1);To.mount("#app"); diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..aff7a2d --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite App + + + + +
+ +