diff --git a/API/AcheiUnB/static/dist/.vite/manifest.json b/API/AcheiUnB/static/dist/.vite/manifest.json index 152a4e10..dd02dba1 100644 --- a/API/AcheiUnB/static/dist/.vite/manifest.json +++ b/API/AcheiUnB/static/dist/.vite/manifest.json @@ -1,15 +1,13 @@ { "index.html": { - "file": "js/index-D96LntmE.js", + "file": "js/index-DagMRiY7.js", "name": "index", "src": "index.html", "isEntry": true, - "css": [ - "assets/index-k303jj23.css" - ], + "css": ["assets/index-CZ44oVY3.css"], "assets": [ "assets/Favicon-DZaE_dAz.png", - "assets/found-and-lost-box-BB3OpleO.jpg", + "assets/found-and-lost-box-BIV9dkbR.jpg", "assets/default-avatar-BpcudYYH.png" ] }, @@ -18,11 +16,11 @@ "src": "src/assets/icons/Favicon.png" }, "src/assets/icons/found-and-lost-box.jpg": { - "file": "assets/found-and-lost-box-BB3OpleO.jpg", + "file": "assets/found-and-lost-box-BIV9dkbR.jpg", "src": "src/assets/icons/found-and-lost-box.jpg" }, "src/assets/images/default-avatar.png": { "file": "assets/default-avatar-BpcudYYH.png", "src": "src/assets/images/default-avatar.png" } -} \ No newline at end of file +} diff --git a/API/AcheiUnB/static/dist/assets/found-and-lost-box-BB3OpleO.jpg b/API/AcheiUnB/static/dist/assets/found-and-lost-box-BB3OpleO.jpg deleted file mode 100644 index db5a7250..00000000 Binary files a/API/AcheiUnB/static/dist/assets/found-and-lost-box-BB3OpleO.jpg and /dev/null differ diff --git a/API/AcheiUnB/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg b/API/AcheiUnB/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg new file mode 100644 index 00000000..c31590a5 Binary files /dev/null and b/API/AcheiUnB/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg differ diff --git a/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css b/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css new file mode 100644 index 00000000..d2b42255 --- /dev/null +++ b/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css @@ -0,0 +1 @@ +body{font-family:Inter,sans-serif}*,: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: }*,: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]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.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-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-2{margin-left:.5rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-\[60px\]{height:60px}.h-\[90px\]{height:90px}.h-full{height:100%}.h-screen{height:100vh}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-\[60px\]{width:60px}.w-\[90px\]{width:90px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-\[120px\]{max-width:120px}.max-w-\[70\%\]{max-width:70%}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-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-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))}.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 pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.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))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.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-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-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * 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))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-t{border-top-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-cinza3{--tw-bg-opacity: 1;background-color:rgb(136 153 168 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-32{padding-top:8rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.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-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 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-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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.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-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;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\:cursor-pointer:hover{cursor:pointer}.hover\:bg-cinza1:hover{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.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-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\: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))}@media (min-width: 640px){.sm\:h-\[80px\]{height:80px}.sm\:w-\[190px\]{width:190px}.sm\:w-\[80px\]{width:80px}.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:left-1\/2{left:50%}.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-12{height:3rem}.md\:h-20{height:5rem}.md\:h-8{height:2rem}.md\:w-1\/2{width:50%}.md\:w-12{width:3rem}.md\:w-20{width:5rem}.md\:w-64{width:16rem}.md\:w-8{width:2rem}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-\[200px\]{max-width:200px}.md\:max-w-none{max-width:none}.md\:-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))}.md\: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))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-80{width:20rem}.lg\:w-\[40\%\]{width:40%}.lg\:max-w-lg{max-width:32rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\: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))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}}@keyframes pulse-73de17b8{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.animate-pulse[data-v-73de17b8]{animation:pulse-73de17b8 1.5s infinite} diff --git a/API/AcheiUnB/static/dist/index.html b/API/AcheiUnB/static/dist/index.html index 29f470f0..01cbaedc 100644 --- a/API/AcheiUnB/static/dist/index.html +++ b/API/AcheiUnB/static/dist/index.html @@ -1,12 +1,24 @@ - - - + + + AcheiUnB - - + +
diff --git a/API/AcheiUnB/static/dist/js/index-DagMRiY7.js b/API/AcheiUnB/static/dist/js/index-DagMRiY7.js new file mode 100644 index 00000000..3f1a6a05 --- /dev/null +++ b/API/AcheiUnB/static/dist/js/index-DagMRiY7.js @@ -0,0 +1,26 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function kr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const fe={},tn=[],pt=()=>{},ya=()=>!1,xs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tr=e=>e.startsWith("onUpdate:"),ke=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,se=(e,t)=>xa.call(e,t),H=Array.isArray,nn=e=>Bn(e)==="[object Map]",vs=e=>Bn(e)==="[object Set]",ro=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",Ee=e=>typeof e=="string",ht=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",yi=e=>(he(e)||K(e))&&K(e.then)&&K(e.catch),xi=Object.prototype.toString,Bn=e=>xi.call(e),va=e=>Bn(e).slice(8,-1),vi=e=>Bn(e)==="[object Object]",Ir=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=kr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_a=/-(\w)/g,Ye=_s(e=>e.replace(_a,(t,n)=>n?n.toUpperCase():"")),wa=/\B([A-Z])/g,Mt=_s(e=>e.replace(wa,"-$1").toLowerCase()),ws=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=_s(e=>e?`on${ws(e)}`:""),$t=(e,t)=>!Object.is(e,t),Yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},is=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oo;const Es=()=>oo||(oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(Sa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ee(e){let t="";if(Ee(e))t=e;else if(H(e))for(let n=0;nSs(n,t))}const Ei=e=>!!(e&&e.__v_isRef===!0),J=e=>Ee(e)?e:e==null?"":H(e)||he(e)&&(e.toString===xi||!K(e.toString))?Ei(e)?J(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>Ei(t)?Si(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[qs(s,o)+" =>"]=r,n),{})}:vs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qs(n))}:ht(t)?qs(t):he(t)&&!H(t)&&!vi(t)?String(t):t,qs=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ve;class Ia{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Sn){let t=Sn;for(Sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Mr(s),$a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In))return;e.globalVersion=In;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!lr(e)){e.flags&=-3;return}const n=pe,s=tt;pe=e,tt=!0;try{ki(e);const r=e.fn(e._value);(t.version===0||$t(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pe=n,tt=s,Ti(e),e.flags&=-3}}function Mr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Mr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const Ii=[];function jt(){Ii.push(tt),tt=!1}function Lt(){const e=Ii.pop();tt=e===void 0?!0:e}function io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let In=0;class Ma{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!pe||!tt||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Ma(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Pi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Pr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$r()}}}function Pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Pi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ls=new WeakMap,Ht=Symbol(""),ar=Symbol(""),Pn=Symbol("");function $e(e,t,n){if(tt&&pe){let s=ls.get(e);s||ls.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new jr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=ls.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Pr(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Ir(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,m)=>{(m==="length"||m===Pn||!ht(m)&&m>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Pn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"delete":c||(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"set":nn(e)&&l(i.get(Ht));break}}$r()}function ja(e,t){const n=ls.get(e);return n&&n.get(t)}function Yt(e){const t=te(e);return t===e?t:($e(t,"iterate",Pn),Ze(e)?t:t.map(Me))}function Cs(e){return $e(e=te(e),"iterate",Pn),e}const La={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,Me)},concat(...e){return Yt(this).concat(...e.map(t=>H(t)?Yt(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=Me(e[1]),e))},every(e,t){return vt(this,"every",e,t,void 0,arguments)},filter(e,t){return vt(this,"filter",e,t,n=>n.map(Me),arguments)},find(e,t){return vt(this,"find",e,t,Me,arguments)},findIndex(e,t){return vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vt(this,"findLast",e,t,Me,arguments)},findLastIndex(e,t){return vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ws(this,"includes",e)},indexOf(...e){return Ws(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return Ws(this,"lastIndexOf",e)},map(e,t){return vt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return lo(this,"reduce",e,t)},reduceRight(e,...t){return lo(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return vt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return Ks(this,"values",Me)}};function Ks(e,t,n){const s=Cs(e),r=s[t]();return s!==e&&!Ze(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Da=Array.prototype;function vt(e,t,n,s,r,o){const i=Cs(e),l=i!==e&&!Ze(e),c=i[t];if(c!==Da[t]){const d=c.apply(e,o);return l?Me(d):d}let a=n;i!==e&&(l?a=function(d,m){return n.call(this,Me(d),m,e)}:n.length>2&&(a=function(d,m){return n.call(this,d,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function lo(e,t,n,s){const r=Cs(e);let o=n;return r!==e&&(Ze(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Me(l),c,e)}),r[t](o,...s)}function Ws(e,t,n){const s=te(e);$e(s,"iterate",Pn);const r=s[t](...n);return(r===-1||r===!1)&&Fr(n[0])?(n[0]=te(n[0]),s[t](...n)):r}function bn(e,t,n=[]){jt(),Pr();const s=te(e)[t].apply(e,n);return $r(),Lt(),s}const Fa=kr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Ba(e){ht(e)||(e=String(e));const t=te(this);return $e(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ga:Fi:o?Di:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=La[n]))return c;if(n==="hasOwnProperty")return Ba}const l=Reflect.get(t,n,Oe(t)?t:s);return(ht(n)?$i.has(n):Fa(n))||(r||$e(t,"get",n),o)?l:Oe(l)?i&&Ir(n)?l:l.value:he(l)?r?Ni(l):Un(l):l}}class ji extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Ze(s)&&!Vt(s)&&(o=te(o),s=te(s)),!H(t)&&Oe(o)&&!Oe(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Ir(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function qa(e,t,n){return function(...s){const r=this.__v_raw,o=te(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?cr:t?ur:Me;return!t&&$e(o,"iterate",c?ar:Ht),{next(){const{value:d,done:m}=a.next();return m?{value:d,done:m}:{value:l?[u(d[0]),u(d[1])]:u(d),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Va(e,t){const n={get(r){const o=this.__v_raw,i=te(o),l=te(r);e||($t(r,l)&&$e(i,"get",r),$e(i,"get",l));const{has:c}=Qn(i),a=t?cr:e?ur:Me;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&$e(te(r),"iterate",Ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=te(o),l=te(r);return e||($t(r,l)&&$e(i,"has",r),$e(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=te(l),a=t?cr:e?ur:Me;return!e&&$e(c,"iterate",Ht),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return ke(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Ze(r)&&!Vt(r)&&(r=te(r));const o=te(this);return Qn(o).has.call(o,r)||(o.add(r),Et(o,"add",r,r)),this},set(r,o){!t&&!Ze(o)&&!Vt(o)&&(o=te(o));const i=te(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=te(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?$t(o,u)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=te(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=te(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Et(o,"delete",r,void 0),a},clear(){const r=te(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=qa(r,e,t)}),n}function Lr(e,t){const n=Va(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Ka={get:Lr(!1,!1)},Wa={get:Lr(!1,!0)},Qa={get:Lr(!0,!1)};const Li=new WeakMap,Di=new WeakMap,Fi=new WeakMap,Ga=new WeakMap;function Ja(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Za(e){return e.__v_skip||!Object.isExtensible(e)?0:Ja(va(e))}function Un(e){return Vt(e)?e:Dr(e,!1,Ua,Ka,Li)}function Bi(e){return Dr(e,!1,Ha,Wa,Di)}function Ni(e){return Dr(e,!0,za,Qa,Fi)}function Dr(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Za(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function Fr(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function Ya(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const Me=e=>he(e)?Un(e):e,ur=e=>he(e)?Ni(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function Q(e){return Ui(e,!1)}function Xa(e){return Ui(e,!0)}function Ui(e,t){return Oe(e)?e:new ec(e,t)}class ec{constructor(t,n){this.dep=new jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:Me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ze(t)||Vt(t);t=s?t:te(t),$t(t,n)&&(this._rawValue=t,this._value=s?t:Me(t),this.dep.trigger())}}function Se(e){return Oe(e)?e.value:e}const tc={get:(e,t,n)=>t==="__v_raw"?e:Se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Oe(r)&&!Oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function zi(e){return sn(e)?e:new Proxy(e,tc)}function nc(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=rc(e,n);return t}class sc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ja(te(this._object),this._key)}}function rc(e,t,n){const s=e[t];return Oe(s)?s:new sc(e,t,n)}class oc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return Ri(this,!0),!0}get value(){const t=this.dep.track();return Oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ic(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new oc(s,r,n)}const Jn={},as=new WeakMap;let Nt;function lc(e,t=!1,n=Nt){if(n){let s=as.get(n);s||as.set(n,s=[]),s.push(e)}}function ac(e,t,n=fe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=M=>r?M:Ze(M)||r===!1||r===0?St(M,1):St(M);let u,d,m,g,y=!1,x=!1;if(Oe(e)?(d=()=>e.value,y=Ze(e)):sn(e)?(d=()=>a(e),y=!0):H(e)?(x=!0,y=e.some(M=>sn(M)||Ze(M)),d=()=>e.map(M=>{if(Oe(M))return M.value;if(sn(M))return a(M);if(K(M))return c?c(M,2):M()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){jt();try{m()}finally{Lt()}}const M=Nt;Nt=u;try{return c?c(e,3,[g]):e(g)}finally{Nt=M}}:d=pt,t&&r){const M=d,q=r===!0?1/0:r;d=()=>St(M(),q)}const v=Pa(),A=()=>{u.stop(),v&&v.active&&Or(v.effects,u)};if(o&&t){const M=t;t=(...q)=>{M(...q),A()}}let T=x?new Array(e.length).fill(Jn):Jn;const I=M=>{if(!(!(u.flags&1)||!u.dirty&&!M))if(t){const q=u.run();if(r||y||(x?q.some((Y,Z)=>$t(Y,T[Z])):$t(q,T))){m&&m();const Y=Nt;Nt=u;try{const Z=[q,T===Jn?void 0:x&&T[0]===Jn?[]:T,g];c?c(t,3,Z):t(...Z),T=q}finally{Nt=Y}}}else u.run()};return l&&l(I),u=new Ci(d),u.scheduler=i?()=>i(I,!1):I,g=M=>lc(M,!1,u),m=u.onStop=()=>{const M=as.get(u);if(M){if(c)c(M,4);else for(const q of M)q();as.delete(u)}},t?s?I(!0):T=u.run():i?i(I.bind(null,!0),!0):u.run(),A.pause=u.pause.bind(u),A.resume=u.resume.bind(u),A.stop=A,A}function St(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Oe(e))St(e.value,t,n);else if(H(e))for(let s=0;s{St(s,t,n)});else if(vi(e)){for(const s in e)St(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&St(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function zn(e,t,n,s){try{return s?e(...s):e()}catch(r){As(r,t,n)}}function mt(e,t,n,s){if(K(e)){const r=zn(e,t,n,s);return r&&yi(r)&&r.catch(o=>{As(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=Be[s],o=$n(r);o=$n(n)?Be.push(e):Be.splice(uc(t),0,e),e.flags|=1,qi()}}function qi(){cs||(cs=Hi.then(Ki))}function fc(e){H(e)?rn.push(...e):kt&&e.id===-1?kt.splice(Xt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),qi()}function ao(e,t,n=ut+1){for(;n$n(n)-$n(s));if(rn.length=0,kt){kt.push(...t);return}for(kt=t,Xt=0;Xte.id==null?e.flags&2?-1:1/0:e.id;function Ki(e){try{for(ut=0;ut{s._d&&_o(-1);const o=us(t);let i;try{i=e(...r)}finally{us(o),s._d&&_o(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Re(e,t){if(Ke===null)return e;const n=Os(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Cn=e=>e&&(e.disabled||e.disabled===""),co=e=>e&&(e.defer||e.defer===""),uo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fr=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Gi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:u,pc:d,pbc:m,o:{insert:g,querySelector:y,createText:x,createComment:v}}=a,A=Cn(t.props);let{shapeFlag:T,children:I,dynamicChildren:M}=t;if(e==null){const q=t.el=x(""),Y=t.anchor=x("");g(q,n,s),g(Y,n,s);const Z=(ye,Ie)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=ye),u(I,ye,Ie,r,o,i,l,c))},ue=()=>{const ye=t.target=fr(t.props,y),Ie=Ji(ye,t,x,g);ye&&(i!=="svg"&&uo(ye)?i="svg":i!=="mathml"&&fo(ye)&&(i="mathml"),A||(Z(ye,Ie),Xn(t,!1)))};A&&(Z(n,Y),Xn(t,!0)),co(t.props)?Fe(()=>{ue(),t.el.__isMounted=!0},o):ue()}else{if(co(t.props)&&!e.el.__isMounted){Fe(()=>{Gi.process(e,t,n,s,r,o,i,l,c,a),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const q=t.anchor=e.anchor,Y=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ue=Cn(e.props),ye=ue?n:Y,Ie=ue?q:Z;if(i==="svg"||uo(Y)?i="svg":(i==="mathml"||fo(Y))&&(i="mathml"),M?(m(e.dynamicChildren,M,ye,r,o,i,l),qr(e,t,!0)):c||d(e,t,ye,Ie,r,o,i,l,!1),A)ue?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zn(t,n,q,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Xe=t.target=fr(t.props,y);Xe&&Zn(t,Xe,null,a,0)}else ue&&Zn(t,Y,Z,a,1);Xn(t,A)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:m}=e;if(d&&(r(a),r(u)),o&&r(c),i&16){const g=o||!Cn(m);for(let y=0;yfs(y,t&&(H(t)?t[x]:t),n,s,r));return}if(An(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&fs(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Os(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===fe?l.refs={}:l.refs,d=l.setupState,m=te(d),g=d===fe?()=>!1:y=>se(m,y);if(a!=null&&a!==c&&(Ee(a)?(u[a]=null,g(a)&&(d[a]=null)):Oe(a)&&(a.value=null)),K(c))zn(c,l,12,[i,u]);else{const y=Ee(c),x=Oe(c);if(y||x){const v=()=>{if(e.f){const A=y?g(c)?d[c]:u[c]:c.value;r?H(A)&&Or(A,o):H(A)?A.includes(o)||A.push(o):y?(u[c]=[o],g(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,g(c)&&(d[c]=i)):x&&(c.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Fe(v,n)):v()}}}Es().requestIdleCallback;Es().cancelIdleCallback;const An=e=>!!e.type.__asyncLoader,Xi=e=>e.type.__isKeepAlive;function mc(e,t){el(e,"a",t)}function gc(e,t){el(e,"da",t)}function el(e,t,n=je){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xi(r.parent.vnode)&&bc(s,t,n,r),r=r.parent}}function bc(e,t,n,s){const r=Rs(t,e,s,!0);nl(()=>{Or(s[t],r)},n)}function Rs(e,t,n=je,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{jt();const l=Hn(n),c=mt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const Ct=e=>(t,n=je)=>{(!jn||e==="sp")&&Rs(e,(...s)=>t(...s),n)},yc=Ct("bm"),bt=Ct("m"),xc=Ct("bu"),vc=Ct("u"),tl=Ct("bum"),nl=Ct("um"),_c=Ct("sp"),wc=Ct("rtg"),Ec=Ct("rtc");function Sc(e,t=je){Rs("ec",e,t)}const Cc="components";function me(e,t){return Rc(Cc,e,!0,t)||e}const Ac=Symbol.for("v-ndc");function Rc(e,t,n=!0,s=!1){const r=Ke||je;if(r){const o=r.type;{const l=hu(o,!1);if(l&&(l===t||l===Ye(t)||l===ws(Ye(t))))return o}const i=po(r[e]||o[e],t)||po(r.appContext[e],t);return!i&&s?o:i}}function po(e,t){return e&&(e[t]||e[Ye(t)]||e[ws(Ye(t))])}function ve(e,t,n,s){let r;const o=n,i=H(e);if(i||Ee(e)){const l=i&&sn(e);let c=!1;l&&(c=!Ze(e),e=Cs(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?vl(e)?Os(e):dr(e.parent):null,Rn=ke(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=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zr(e),$forceUpdate:e=>e.f||(e.f=()=>{Nr(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Gc.bind(e)}),Qs=(e,t)=>e!==fe&&!e.__isScriptSetup&&se(e,t),kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Qs(s,t))return i[t]=1,s[t];if(r!==fe&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==fe&&se(n,t))return i[t]=4,n[t];pr&&(i[t]=0)}}const u=Rn[t];let d,m;if(u)return t==="$attrs"&&$e(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==fe&&se(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Qs(r,t)?(r[t]=n,!0):s!==fe&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==fe&&se(e,i)||Qs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Rn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ho(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let pr=!0;function Tc(e){const t=zr(e),n=e.proxy,s=e.ctx;pr=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:m,beforeUpdate:g,updated:y,activated:x,deactivated:v,beforeDestroy:A,beforeUnmount:T,destroyed:I,unmounted:M,render:q,renderTracked:Y,renderTriggered:Z,errorCaptured:ue,serverPrefetch:ye,expose:Ie,inheritAttrs:Xe,components:Dt,directives:ot,filters:mn}=t;if(a&&Oc(a,s,null),i)for(const ce in i){const ne=i[ce];K(ne)&&(s[ce]=ne.bind(n))}if(r){const ce=r.call(n,n);he(ce)&&(e.data=Un(ce))}if(pr=!0,o)for(const ce in o){const ne=o[ce],xt=K(ne)?ne.bind(n,n):K(ne.get)?ne.get.bind(n,n):pt,At=!K(ne)&&K(ne.set)?ne.set.bind(n):pt,it=Je({get:xt,set:At});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ne=>it.value=Ne})}if(l)for(const ce in l)sl(l[ce],s,n,ce);if(c){const ce=K(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(ne=>{es(ne,ce[ne])})}u&&mo(u,e,"c");function Ae(ce,ne){H(ne)?ne.forEach(xt=>ce(xt.bind(n))):ne&&ce(ne.bind(n))}if(Ae(yc,d),Ae(bt,m),Ae(xc,g),Ae(vc,y),Ae(mc,x),Ae(gc,v),Ae(Sc,ue),Ae(Ec,Y),Ae(wc,Z),Ae(tl,T),Ae(nl,M),Ae(_c,ye),H(Ie))if(Ie.length){const ce=e.exposed||(e.exposed={});Ie.forEach(ne=>{Object.defineProperty(ce,ne,{get:()=>n[ne],set:xt=>n[ne]=xt})})}else e.exposed||(e.exposed={});q&&e.render===pt&&(e.render=q),Xe!=null&&(e.inheritAttrs=Xe),Dt&&(e.components=Dt),ot&&(e.directives=ot),ye&&Yi(e)}function Oc(e,t,n=pt){H(e)&&(e=hr(e));for(const s in e){const r=e[s];let o;he(r)?"default"in r?o=nt(r.from||s,r.default,!0):o=nt(r.from||s):o=nt(r),Oe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function mo(e,t,n){mt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,s){let r=s.includes(".")?ml(n,s):()=>n[s];if(Ee(e)){const o=t[e];K(o)&&ln(r,o)}else if(K(e))ln(r,e.bind(n));else if(he(e))if(H(e))e.forEach(o=>sl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&ln(r,o,e)}}function zr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>ds(c,a,i,!0)),ds(c,t,i)),he(t)&&o.set(t,c),c}function ds(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ds(e,o,n,!0),r&&r.forEach(i=>ds(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ic[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ic={data:go,props:bo,emits:bo,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:$c,provide:go,inject:Pc};function go(e,t){return t?e?function(){return ke(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Pc(e,t){return _n(hr(e),hr(t))}function hr(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const ol={},il=()=>Object.create(ol),ll=e=>Object.getPrototypeOf(e)===ol;function Lc(e,t,n,s=!1){const r={},o=il();e.propsDefaults=Object.create(null),al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Dc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=te(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,g]=cl(d,t,!0);ke(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return he(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",Hr=e=>H(e)?e.map(ft):[ft(e)],Bc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Hr(t(...r)),n);return s._c=!1,s},fl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ul(r))continue;const o=e[r];if(K(o))t[r]=Bc(r,o,s);else if(o!=null){const i=Hr(o);t[r]=()=>i}}},dl=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},pl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Nc=(e,t,n)=>{const s=e.slots=il();if(e.vnode.shapeFlag&32){const r=t._;r?(pl(s,t,n),n&&_i(s,"_",r,!0)):fl(t,s)}else t&&dl(e,t)},Uc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:pl(r,t,n):(o=!t.$stable,fl(t,r)),i=t}else t&&(dl(e,t),i={default:1});if(o)for(const l in r)!ul(l)&&i[l]==null&&delete r[l]},Fe=nu;function zc(e){return Hc(e)}function Hc(e,t){const n=Es();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:m,setScopeId:g=pt,insertStaticContent:y}=e,x=(p,h,b,R=null,E=null,k=null,j=void 0,$=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!yn(p,h)&&(R=S(p),Ne(p,E,k,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:O,ref:z,shapeFlag:F}=h;switch(O){case Ts:v(p,h,b,R);break;case Kt:A(p,h,b,R);break;case Zs:p==null&&T(h,b,R,j);break;case G:Dt(p,h,b,R,E,k,j,$,P);break;default:F&1?q(p,h,b,R,E,k,j,$,P):F&6?ot(p,h,b,R,E,k,j,$,P):(F&64||F&128)&&O.process(p,h,b,R,E,k,j,$,P,N)}z!=null&&E&&fs(z,p&&p.ref,k,h||p,!h)},v=(p,h,b,R)=>{if(p==null)s(h.el=l(h.children),b,R);else{const E=h.el=p.el;h.children!==p.children&&a(E,h.children)}},A=(p,h,b,R)=>{p==null?s(h.el=c(h.children||""),b,R):h.el=p.el},T=(p,h,b,R)=>{[p.el,p.anchor]=y(p.children,h,b,R,p.el,p.anchor)},I=({el:p,anchor:h},b,R)=>{let E;for(;p&&p!==h;)E=m(p),s(p,b,R),p=E;s(h,b,R)},M=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},q=(p,h,b,R,E,k,j,$,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,R,E,k,j,$,P):ye(p,h,E,k,j,$,P)},Y=(p,h,b,R,E,k,j,$)=>{let P,O;const{props:z,shapeFlag:F,transition:U,dirs:V}=p;if(P=p.el=i(p.type,k,z&&z.is,z),F&8?u(P,p.children):F&16&&ue(p.children,P,null,R,E,Gs(p,k),j,$),V&&Ft(p,null,R,"created"),Z(P,p,p.scopeId,j,R),z){for(const de in z)de!=="value"&&!wn(de)&&o(P,de,null,z[de],k,R);"value"in z&&o(P,"value",null,z.value,k),(O=z.onVnodeBeforeMount)&&at(O,R,p)}V&&Ft(p,null,R,"beforeMount");const X=qc(E,U);X&&U.beforeEnter(P),s(P,h,b),((O=z&&z.onVnodeMounted)||X||V)&&Fe(()=>{O&&at(O,R,p),X&&U.enter(P),V&&Ft(p,null,R,"mounted")},E)},Z=(p,h,b,R,E)=>{if(b&&g(p,b),R)for(let k=0;k{for(let O=P;O{const $=h.el=p.el;let{patchFlag:P,dynamicChildren:O,dirs:z}=h;P|=p.patchFlag&16;const F=p.props||fe,U=h.props||fe;let V;if(b&&Bt(b,!1),(V=U.onVnodeBeforeUpdate)&&at(V,b,h,p),z&&Ft(h,p,b,"beforeUpdate"),b&&Bt(b,!0),(F.innerHTML&&U.innerHTML==null||F.textContent&&U.textContent==null)&&u($,""),O?Ie(p.dynamicChildren,O,$,b,R,Gs(h,E),k):j||ne(p,h,$,null,b,R,Gs(h,E),k,!1),P>0){if(P&16)Xe($,F,U,b,E);else if(P&2&&F.class!==U.class&&o($,"class",null,U.class,E),P&4&&o($,"style",F.style,U.style,E),P&8){const X=h.dynamicProps;for(let de=0;de{V&&at(V,b,h,p),z&&Ft(h,p,b,"updated")},R)},Ie=(p,h,b,R,E,k,j)=>{for(let $=0;${if(h!==b){if(h!==fe)for(const k in h)!wn(k)&&!(k in b)&&o(p,k,h[k],null,E,R);for(const k in b){if(wn(k))continue;const j=b[k],$=h[k];j!==$&&k!=="value"&&o(p,k,$,j,E,R)}"value"in b&&o(p,"value",h.value,b.value,E)}},Dt=(p,h,b,R,E,k,j,$,P)=>{const O=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:U,slotScopeIds:V}=h;V&&($=$?$.concat(V):V),p==null?(s(O,b,R),s(z,b,R),ue(h.children||[],b,z,E,k,j,$,P)):F>0&&F&64&&U&&p.dynamicChildren?(Ie(p.dynamicChildren,U,b,E,k,j,$),(h.key!=null||E&&h===E.subTree)&&qr(p,h,!0)):ne(p,h,b,z,E,k,j,$,P)},ot=(p,h,b,R,E,k,j,$,P)=>{h.slotScopeIds=$,p==null?h.shapeFlag&512?E.ctx.activate(h,b,R,j,P):mn(h,b,R,E,k,j,P):Gt(p,h,P)},mn=(p,h,b,R,E,k,j)=>{const $=p.component=cu(p,R,E);if(Xi(p)&&($.ctx.renderer=N),uu($,!1,j),$.asyncDep){if(E&&E.registerDep($,Ae,j),!p.el){const P=$.subTree=L(Kt);A(null,P,h,b)}}else Ae($,p,h,b,E,k,j)},Gt=(p,h,b)=>{const R=h.component=p.component;if(eu(p,h,b))if(R.asyncDep&&!R.asyncResolved){ce(R,h,b);return}else R.next=h,R.update();else h.el=p.el,R.vnode=h},Ae=(p,h,b,R,E,k,j)=>{const $=()=>{if(p.isMounted){let{next:F,bu:U,u:V,parent:X,vnode:de}=p;{const He=hl(p);if(He){F&&(F.el=de.el,ce(p,F,j)),He.asyncDep.then(()=>{p.isUnmounted||$()});return}}let oe=F,ze;Bt(p,!1),F?(F.el=de.el,ce(p,F,j)):F=de,U&&Yn(U),(ze=F.props&&F.props.onVnodeBeforeUpdate)&&at(ze,X,F,de),Bt(p,!0);const Pe=Js(p),et=p.subTree;p.subTree=Pe,x(et,Pe,d(et.el),S(et),p,E,k),F.el=Pe.el,oe===null&&tu(p,Pe.el),V&&Fe(V,E),(ze=F.props&&F.props.onVnodeUpdated)&&Fe(()=>at(ze,X,F,de),E)}else{let F;const{el:U,props:V}=h,{bm:X,m:de,parent:oe,root:ze,type:Pe}=p,et=An(h);if(Bt(p,!1),X&&Yn(X),!et&&(F=V&&V.onVnodeBeforeMount)&&at(F,oe,h),Bt(p,!0),U&&xe){const He=()=>{p.subTree=Js(p),xe(U,p.subTree,p,E,null)};et&&Pe.__asyncHydrate?Pe.__asyncHydrate(U,p,He):He()}else{ze.ce&&ze.ce._injectChildStyle(Pe);const He=p.subTree=Js(p);x(null,He,b,R,p,E,k),h.el=He.el}if(de&&Fe(de,E),!et&&(F=V&&V.onVnodeMounted)){const He=h;Fe(()=>at(F,oe,He),E)}(h.shapeFlag&256||oe&&An(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&Fe(p.a,E),p.isMounted=!0,h=b=R=null}};p.scope.on();const P=p.effect=new Ci($);p.scope.off();const O=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Nr(z),Bt(p,!0),O()},ce=(p,h,b)=>{h.component=p;const R=p.vnode.props;p.vnode=h,p.next=null,Dc(p,h.props,R,b),Uc(p,h.children,b),jt(),ao(p),Lt()},ne=(p,h,b,R,E,k,j,$,P=!1)=>{const O=p&&p.children,z=p?p.shapeFlag:0,F=h.children,{patchFlag:U,shapeFlag:V}=h;if(U>0){if(U&128){At(O,F,b,R,E,k,j,$,P);return}else if(U&256){xt(O,F,b,R,E,k,j,$,P);return}}V&8?(z&16&&Ge(O,E,k),F!==O&&u(b,F)):z&16?V&16?At(O,F,b,R,E,k,j,$,P):Ge(O,E,k,!0):(z&8&&u(b,""),V&16&&ue(F,b,R,E,k,j,$,P))},xt=(p,h,b,R,E,k,j,$,P)=>{p=p||tn,h=h||tn;const O=p.length,z=h.length,F=Math.min(O,z);let U;for(U=0;Uz?Ge(p,E,k,!0,!1,F):ue(h,b,R,E,k,j,$,P,F)},At=(p,h,b,R,E,k,j,$,P)=>{let O=0;const z=h.length;let F=p.length-1,U=z-1;for(;O<=F&&O<=U;){const V=p[O],X=h[O]=P?Tt(h[O]):ft(h[O]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;O++}for(;O<=F&&O<=U;){const V=p[F],X=h[U]=P?Tt(h[U]):ft(h[U]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;F--,U--}if(O>F){if(O<=U){const V=U+1,X=VU)for(;O<=F;)Ne(p[O],E,k,!0),O++;else{const V=O,X=O,de=new Map;for(O=X;O<=U;O++){const qe=h[O]=P?Tt(h[O]):ft(h[O]);qe.key!=null&&de.set(qe.key,O)}let oe,ze=0;const Pe=U-X+1;let et=!1,He=0;const gn=new Array(Pe);for(O=0;O=Pe){Ne(qe,E,k,!0);continue}let lt;if(qe.key!=null)lt=de.get(qe.key);else for(oe=X;oe<=U;oe++)if(gn[oe-X]===0&&yn(qe,h[oe])){lt=oe;break}lt===void 0?Ne(qe,E,k,!0):(gn[lt-X]=O+1,lt>=He?He=lt:et=!0,x(qe,h[lt],b,null,E,k,j,$,P),ze++)}const no=et?Vc(gn):tn;for(oe=no.length-1,O=Pe-1;O>=0;O--){const qe=X+O,lt=h[qe],so=qe+1{const{el:k,type:j,transition:$,children:P,shapeFlag:O}=p;if(O&6){it(p.component.subTree,h,b,R);return}if(O&128){p.suspense.move(h,b,R);return}if(O&64){j.move(p,h,b,N);return}if(j===G){s(k,h,b);for(let F=0;F$.enter(k),E);else{const{leave:F,delayLeave:U,afterLeave:V}=$,X=()=>s(k,h,b),de=()=>{F(k,()=>{X(),V&&V()})};U?U(k,X,de):de()}else s(k,h,b)},Ne=(p,h,b,R=!1,E=!1)=>{const{type:k,props:j,ref:$,children:P,dynamicChildren:O,shapeFlag:z,patchFlag:F,dirs:U,cacheIndex:V}=p;if(F===-2&&(E=!1),$!=null&&fs($,null,b,p,!0),V!=null&&(h.renderCache[V]=void 0),z&256){h.ctx.deactivate(p);return}const X=z&1&&U,de=!An(p);let oe;if(de&&(oe=j&&j.onVnodeBeforeUnmount)&&at(oe,h,p),z&6)Wn(p.component,b,R);else{if(z&128){p.suspense.unmount(b,R);return}X&&Ft(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,R):O&&!O.hasOnce&&(k!==G||F>0&&F&64)?Ge(O,h,b,!1,!0):(k===G&&F&384||!E&&z&16)&&Ge(P,h,b),R&&Jt(p)}(de&&(oe=j&&j.onVnodeUnmounted)||X)&&Fe(()=>{oe&&at(oe,h,p),X&&Ft(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:R,transition:E}=p;if(h===G){Zt(b,R);return}if(h===Zs){M(p);return}const k=()=>{r(b),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(p.shapeFlag&1&&E&&!E.persisted){const{leave:j,delayLeave:$}=E,P=()=>j(b,k);$?$(p.el,k,P):P()}else k()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:R,scope:E,job:k,subTree:j,um:$,m:P,a:O}=p;xo(P),xo(O),R&&Yn(R),E.stop(),k&&(k.flags|=8,Ne(j,p,h,b)),$&&Fe($,h),Fe(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ge=(p,h,b,R=!1,E=!1,k=0)=>{for(let j=k;j{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Qi];return b?m(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&Ne(h._vnode,null,null,!0):x(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,ao(),Vi(),B=!1)},N={p:x,um:Ne,m:it,r:Jt,mt:mn,mc:ue,pc:ne,pbc:Ie,n:S,o:e};let re,xe;return{render:D,hydrate:re,createApp:jc(D,re)}}function Gs({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 Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function hl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hl(t)}function xo(e){if(e)for(let t=0;tnt(Kc);function Qc(e,t){return Vr(e,null,t)}function ln(e,t,n){return Vr(e,t,n)}function Vr(e,t,n=fe){const{immediate:s,deep:r,flush:o,once:i}=n,l=ke({},n),c=t&&s||!t&&o!=="post";let a;if(jn){if(o==="sync"){const g=Wc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=pt,g.resume=pt,g.pause=pt,g}}const u=je;l.call=(g,y,x)=>mt(g,u,y,x);let d=!1;o==="post"?l.scheduler=g=>{Fe(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,y)=>{y?g():Nr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=ac(e,t,l);return jn&&(a?a.push(m):c&&m()),m}function Gc(e,t,n){const s=this.proxy,r=Ee(e)?e.includes(".")?ml(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Hn(this),l=Vr(r,o.bind(s),n);return i(),l}function ml(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function Zc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||fe;let r=n;const o=t.startsWith("update:"),i=o&&Jc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>Ee(u)?u.trim():u)),i.number&&(r=n.map(is)));let l,c=s[l=Hs(t)]||s[l=Hs(Ye(t))];!c&&o&&(c=s[l=Hs(Mt(t))]),c&&mt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mt(a,e,6,r)}}function gl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=gl(a,t,!0);u&&(l=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(he(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):ke(i,o),he(e)&&s.set(e,i),i)}function ks(e,t){return!e||!xs(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Mt(t))||se(e,t))}function Js(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:m,setupState:g,ctx:y,inheritAttrs:x}=e,v=us(e);let A,T;try{if(n.shapeFlag&4){const M=r||s,q=M;A=ft(a.call(q,M,u,d,g,m,y)),T=l}else{const M=t;A=ft(M.length>1?M(d,{attrs:l,slots:i,emit:c}):M(d,null)),T=t.props?l:Yc(l)}}catch(M){kn.length=0,As(M,e,1),A=L(Kt)}let I=A;if(T&&x!==!1){const M=Object.keys(T),{shapeFlag:q}=I;M.length&&q&7&&(o&&M.some(Tr)&&(T=Xc(T,o)),I=cn(I,T,!1,!0))}return n.dirs&&(I=cn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Ur(I,n.transition),A=I,us(v),A}const Yc=e=>{let t;for(const n in e)(n==="class"||n==="style"||xs(n))&&((t||(t={}))[n]=e[n]);return t},Xc=(e,t)=>{const n={};for(const s in e)(!Tr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function eu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?vo(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function nu(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):fc(e)}const G=Symbol.for("v-fgt"),Ts=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Zs=Symbol.for("v-stc"),kn=[];let We=null;function w(e=!1){kn.push(We=e?null:[])}function su(){kn.pop(),We=kn[kn.length-1]||null}let Mn=1;function _o(e,t=!1){Mn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function yl(e){return e.dynamicChildren=Mn>0?We||tn:null,su(),Mn>0&&We&&We.push(e),e}function C(e,t,n,s,r,o){return yl(f(e,t,n,s,r,o,!0))}function Te(e,t,n,s,r){return yl(L(e,t,n,s,r,!0))}function ps(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Oe(e)||K(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===G?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&ts(t),scopeId:Wi,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Ee(n)?8:16),Mn>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const L=ru;function ru(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ac)&&(e=Kt),ps(e)){const l=cn(e,t,!0);return n&&Kr(l,n),Mn>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(mu(e)&&(e=e.__vccOpts),t){t=ou(t);let{class:l,style:c}=t;l&&!Ee(l)&&(t.class=ee(l)),he(c)&&(Fr(c)&&!H(c)&&(c=ke({},c)),t.style=Nn(c))}const i=Ee(e)?1:bl(e)?128:dc(e)?64:he(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function ou(e){return e?Fr(e)||ll(e)?ke({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?iu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xl(a),ref:t&&t.ref?n&&o?H(o)?o.concat(ts(t)):[o,ts(t)]:ts(t):o,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!==G?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&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ur(u,c.clone(u)),u}function we(e=" ",t=0){return L(Ts,null,e,t)}function _e(e="",t=!1){return t?(w(),Te(Kt,null,e)):L(Kt,null,e)}function ft(e){return e==null||typeof e=="boolean"?L(Kt):H(e)?L(G,null,e.slice()):ps(e)?Tt(e):L(Ts,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Kr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ll(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function iu(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};hs=t("__VUE_INSTANCE_SETTERS__",n=>je=n),gr=t("__VUE_SSR_SETTERS__",n=>jn=n)}const Hn=e=>{const t=je;return hs(e),e.scope.on(),()=>{e.scope.off(),hs(t)}},wo=()=>{je&&je.scope.off(),hs(null)};function vl(e){return e.vnode.shapeFlag&4}let jn=!1;function uu(e,t=!1,n=!1){t&&gr(t);const{props:s,children:r}=e.vnode,o=vl(e);Lc(e,s,o,t),Nc(e,r,n);const i=o?fu(e,t):void 0;return t&&gr(!1),i}function fu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kc);const{setup:s}=n;if(s){jt();const r=e.setupContext=s.length>1?pu(e):null,o=Hn(e),i=zn(s,e,0,[e.props,r]),l=yi(i);if(Lt(),o(),(l||e.sp)&&!An(e)&&Yi(e),l){if(i.then(wo,wo),t)return i.then(c=>{Eo(e,c,t)}).catch(c=>{As(c,e,0)});e.asyncDep=i}else Eo(e,i,t)}else _l(e,t)}function Eo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=zi(t)),_l(e,n)}let So;function _l(e,t,n){const s=e.type;if(!e.render){if(!t&&So&&!s.render){const r=s.template||zr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ke(ke({isCustomElement:o,delimiters:l},i),c);s.render=So(r,a)}}e.render=s.render||pt}{const r=Hn(e);jt();try{Tc(e)}finally{Lt(),r()}}}const du={get(e,t){return $e(e,"get",""),e[t]}};function pu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,du),slots:e.slots,emit:e.emit,expose:t}}function Os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zi(Ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function hu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function mu(e){return K(e)&&"__vccOpts"in e}const Je=(e,t)=>ic(e,t,jn);function wl(e,t,n){const s=arguments.length;return s===2?he(t)&&!H(t)?ps(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ps(n)&&(n=[n]),L(e,t,n))}const gu="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let br;const Co=typeof window<"u"&&window.trustedTypes;if(Co)try{br=Co.createPolicy("vue",{createHTML:e=>e})}catch{}const El=br?e=>br.createHTML(e):e=>e,bu="http://www.w3.org/2000/svg",yu="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Ao=wt&&wt.createElement("template"),xu={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 r=t==="svg"?wt.createElementNS(bu,e):t==="mathml"?wt.createElementNS(yu,e):n?wt.createElement(e,{is:n}):wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ao.innerHTML=El(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ao.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]}},vu=Symbol("_vtc");function _u(e,t,n){const s=e[vu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),wu=Symbol("_vsh"),Eu=Symbol(""),Su=/(^|;)\s*display\s*:/;function Cu(e,t,n){const s=e.style,r=Ee(n);let o=!1;if(n&&!r){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ns(s,l,"")}else for(const i in t)n[i]==null&&ns(s,i,"");for(const i in n)i==="display"&&(o=!0),ns(s,i,n[i])}else if(r){if(t!==n){const i=s[Eu];i&&(n+=";"+i),s.cssText=n,o=Su.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=o?s.display:"",e[wu]&&(s.display="none"))}const ko=/\s*!important$/;function ns(e,t,n){if(H(n))n.forEach(s=>ns(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Au(e,t);ko.test(n)?e.setProperty(Mt(s),n.replace(ko,""),"important"):e[s]=n}}const To=["Webkit","Moz","ms"],Ys={};function Au(e,t){const n=Ys[t];if(n)return n;let s=Ye(t);if(s!=="filter"&&s in e)return Ys[t]=s;s=ws(s);for(let r=0;rXs||(Ou.then(()=>Xs=0),Xs=Date.now());function Pu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;mt($u(s,n.value),t,5,[s])};return n.value=e,n.attached=Iu(),n}function $u(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?_u(e,s,i):t==="style"?Cu(e,n,s):xs(t)?Tr(t)||ku(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ju(e,t,s,i))?(Po(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(s))?Po(e,Ye(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function ju(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&K(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return jo(t)&&Ee(n)?!1:t in e}const ms=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Yn(t,n):t};function Lu(e){e.target.composing=!0}function Lo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),dt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[an]=ms(r);const o=s||r.props&&r.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=is(l)),e[an](l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",Lu),Ut(e,"compositionend",Lo),Ut(e,"change",Lo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[an]=ms(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?is(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},It={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=vs(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?is(gs(i)):gs(i));e[an](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Br(()=>{e._assigning=!1})}),e[an]=ms(s)},mounted(e,{value:t}){Do(e,t)},beforeUpdate(e,t,n){e[an]=ms(n)},updated(e,{value:t}){e._assigning||Do(e,t)}};function Do(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!vs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=Oa(t,l)>-1}else i.selected=t.has(l);else if(Ss(gs(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gs(e){return"_value"in e?e._value:e.value}const Du=["ctrl","shift","alt","meta"],Fu={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)=>Du.some(n=>e[`${n}Key`]&&!t.includes(n))},Fo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Mt(r.key);if(t.some(i=>i===o||Bu[i]===o))return e(r)})},Uu=ke({patchProp:Mu},xu);let Bo;function zu(){return Bo||(Bo=zc(Uu))}const Hu=(...e)=>{const t=zu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Vu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,qu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function qu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vu(e){return Ee(e)?document.querySelector(e):e}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const en=typeof document<"u";function Sl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ku(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sl(e.default)}const ie=Object.assign;function er(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Tn=()=>{},st=Array.isArray,Cl=/#/g,Wu=/&/g,Qu=/\//g,Gu=/=/g,Ju=/\?/g,Al=/\+/g,Zu=/%5B/g,Yu=/%5D/g,Rl=/%5E/g,Xu=/%60/g,kl=/%7B/g,ef=/%7C/g,Tl=/%7D/g,tf=/%20/g;function Wr(e){return encodeURI(""+e).replace(ef,"|").replace(Zu,"[").replace(Yu,"]")}function nf(e){return Wr(e).replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function yr(e){return Wr(e).replace(Al,"%2B").replace(tf,"+").replace(Cl,"%23").replace(Wu,"%26").replace(Xu,"`").replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function sf(e){return yr(e).replace(Gu,"%3D")}function rf(e){return Wr(e).replace(Cl,"%23").replace(Ju,"%3F")}function of(e){return e==null?"":rf(e).replace(Qu,"%2F")}function Ln(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const lf=/\/$/,af=e=>e.replace(lf,"");function tr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=df(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Ln(i)}}function cf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function No(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&un(t.matched[s],n.matched[r])&&Ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ff(e[n],t[n]))return!1;return!0}function ff(e,t){return st(e)?Uo(e,t):st(t)?Uo(t,e):e===t}function Uo(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function df(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dn;(function(e){e.pop="pop",e.push="push"})(Dn||(Dn={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function pf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),af(e)}const hf=/^[^#]+#/;function mf(e,t){return e.replace(hf,"#")+t}function gf(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 Is=()=>({left:window.scrollX,top:window.scrollY});function bf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=gf(r,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 zo(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function yf(e,t){xr.set(e,t)}function xf(e){const t=xr.get(e);return xr.delete(e),t}let vf=()=>location.protocol+"//"+location.host;function Il(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),No(c,"")}return No(n,e)+s+r}function _f(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=Il(e,location),y=n.value,x=t.value;let v=0;if(m){if(n.value=g,t.value=m,i&&i===y){i=null;return}v=x?m.position-x.position:0}else s(g);r.forEach(A=>{A(n.value,y,{delta:v,type:Dn.pop,direction:v?v>0?On.forward:On.back:On.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const y=r.indexOf(m);y>-1&&r.splice(y,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(ie({},m.state,{scroll:Is()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Ho(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Is():null}}function wf(e){const{history:t,location:n}=window,s={value:Il(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:vf()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=ie({},t.state,Ho(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:Is()});o(u.current,u,!0);const d=ie({},Ho(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Ef(e){e=pf(e);const t=wf(e),n=_f(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:mf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Sf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ef(e)}function Cf(e){return typeof e=="string"||e&&typeof e=="object"}function Pl(e){return typeof e=="string"||typeof e=="symbol"}const $l=Symbol("");var qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qo||(qo={}));function fn(e,t){return ie(new Error,{type:e,[$l]:!0},t)}function _t(e,t){return e instanceof Error&&$l in e&&(t==null||!!(e.type&t))}const Vo="[^/]+?",Af={sensitive:!1,strict:!1,start:!0,end:!0},Rf=/[.+*?^${}()[\]/\\]/g;function kf(e,t){const n=ie({},Af,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Ml(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Of={type:0,value:""},If=/[a-zA-Z0-9_]/;function Pf(e){if(!e)return[[]];if(e==="/")return[[Of]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(I)}:Tn}function i(d){if(Pl(d)){const m=s.get(d);m&&(s.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const m=Df(d,n);n.splice(m,0,d),d.record.name&&!Go(d)&&s.set(d.record.name,d)}function a(d,m){let g,y={},x,v;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw fn(1,{location:d});v=g.record.name,y=ie(Wo(m.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Wo(d.params,g.keys.map(I=>I.name))),x=g.stringify(y)}else if(d.path!=null)x=d.path,g=n.find(I=>I.re.test(x)),g&&(y=g.parse(x),v=g.record.name);else{if(g=m.name?s.get(m.name):n.find(I=>I.re.test(m.path)),!g)throw fn(1,{location:d,currentLocation:m});v=g.record.name,y=ie({},m.params,d.params),x=g.stringify(y)}const A=[];let T=g;for(;T;)A.unshift(T.record),T=T.parent;return{name:v,path:x,params:y,matched:A,meta:Lf(A)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Wo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:jf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function jf(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 Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Lf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Df(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ml(e,t[o])<0?s=o:n=o+1}const r=Ff(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ff(e){let t=e;for(;t=t.parent;)if(jl(t)&&Ml(e,t)===0)return t}function jl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Bf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&yr(o)):[s&&yr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Uf=Symbol(""),Yo=Symbol(""),Ps=Symbol(""),Qr=Symbol(""),vr=Symbol("");function xn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(fn(4,{from:n,to:t})):m instanceof Error?c(m):Cf(m)?c(fn(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(m=>c(m))})}function nr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Sl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Ku(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&Ot(g,n,s,i,l,r)()}))}}return o}function Xo(e){const t=nt(Ps),n=nt(Qr),s=Je(()=>{const c=Se(e.to);return t.resolve(c)}),r=Je(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(un.bind(null,u));if(m>-1)return m;const g=ei(c[a-2]);return a>1&&ei(u)===g&&d[d.length-1].path!==g?d.findIndex(un.bind(null,c[a-2])):m}),o=Je(()=>r.value>-1&&Vf(n.params,s.value.params)),i=Je(()=>r.value>-1&&r.value===n.matched.length-1&&Ol(n.params,s.value.params));function l(c={}){return qf(c)?t[Se(e.replace)?"replace":"push"](Se(e.to)).catch(Tn):Promise.resolve()}return{route:s,href:Je(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const zf=Zi({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:Xo,setup(e,{slots:t}){const n=Un(Xo(e)),{options:s}=nt(Ps),r=Je(()=>({[ti(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ti(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Hf=zf;function qf(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 Vf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!st(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function ei(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ti=(e,t,n)=>e??t??n,Kf=Zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(vr),r=Je(()=>e.route||s.value),o=nt(Yo,0),i=Je(()=>{let a=Se(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Je(()=>r.value.matched[i.value]);es(Yo,Je(()=>i.value+1)),es(Uf,l),es(vr,r);const c=Q();return ln(()=>[c.value,l.value,e.name],([a,u,d],[m,g,y])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!un(u,g)||!m)&&(u.enterCallbacks[d]||[]).forEach(x=>x(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,m=d&&d.components[u];if(!m)return ni(n.default,{Component:m,route:a});const g=d.props[u],y=g?g===!0?a.params:typeof g=="function"?g(a):g:null,v=wl(m,ie({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return ni(n.default,{Component:v,route:a})||v}}});function ni(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ll=Kf;function Wf(e){const t=Mf(e.routes,e),n=e.parseQuery||Bf,s=e.stringifyQuery||Zo,r=e.history,o=xn(),i=xn(),l=xn(),c=Xa(Rt);let a=Rt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=er.bind(null,S=>""+S),d=er.bind(null,of),m=er.bind(null,Ln);function g(S,B){let D,N;return Pl(S)?(D=t.getRecordMatcher(S),N=B):N=S,t.addRoute(N,D)}function y(S){const B=t.getRecordMatcher(S);B&&t.removeRoute(B)}function x(){return t.getRoutes().map(S=>S.record)}function v(S){return!!t.getRecordMatcher(S)}function A(S,B){if(B=ie({},B||c.value),typeof S=="string"){const h=tr(n,S,B.path),b=t.resolve({path:h.path},B),R=r.createHref(h.fullPath);return ie(h,b,{params:m(b.params),hash:Ln(h.hash),redirectedFrom:void 0,href:R})}let D;if(S.path!=null)D=ie({},S,{path:tr(n,S.path,B.path).path});else{const h=ie({},S.params);for(const b in h)h[b]==null&&delete h[b];D=ie({},S,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),re=S.hash||"";N.params=u(m(N.params));const xe=cf(s,ie({},S,{hash:nf(re),path:N.path})),p=r.createHref(xe);return ie({fullPath:xe,hash:re,query:s===Zo?Nf(S.query):S.query||{}},N,{redirectedFrom:void 0,href:p})}function T(S){return typeof S=="string"?tr(n,S,c.value.path):ie({},S)}function I(S,B){if(a!==S)return fn(8,{from:B,to:S})}function M(S){return Z(S)}function q(S){return M(ie(T(S),{replace:!0}))}function Y(S){const B=S.matched[S.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(S):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:S.query,hash:S.hash,params:N.path!=null?{}:S.params},N)}}function Z(S,B){const D=a=A(S),N=c.value,re=S.state,xe=S.force,p=S.replace===!0,h=Y(D);if(h)return Z(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:xe,replace:p}),B||D);const b=D;b.redirectedFrom=B;let R;return!xe&&uf(s,N,D)&&(R=fn(16,{to:b,from:N}),it(N,N,!0,!1)),(R?Promise.resolve(R):Ie(b,N)).catch(E=>_t(E)?_t(E,2)?E:At(E):ne(E,b,N)).then(E=>{if(E){if(_t(E,2))return Z(ie({replace:p},T(E.to),{state:typeof E.to=="object"?ie({},re,E.to.state):re,force:xe}),B||b)}else E=Dt(b,N,!0,p,re);return Xe(b,N,E),E})}function ue(S,B){const D=I(S,B);return D?Promise.reject(D):Promise.resolve()}function ye(S){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(S):S()}function Ie(S,B){let D;const[N,re,xe]=Qf(S,B);D=nr(N.reverse(),"beforeRouteLeave",S,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Ot(b,S,B))});const p=ue.bind(null,S,B);return D.push(p),Ge(D).then(()=>{D=[];for(const h of o.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).then(()=>{D=nr(re,"beforeRouteUpdate",S,B);for(const h of re)h.updateGuards.forEach(b=>{D.push(Ot(b,S,B))});return D.push(p),Ge(D)}).then(()=>{D=[];for(const h of xe)if(h.beforeEnter)if(st(h.beforeEnter))for(const b of h.beforeEnter)D.push(Ot(b,S,B));else D.push(Ot(h.beforeEnter,S,B));return D.push(p),Ge(D)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),D=nr(xe,"beforeRouteEnter",S,B,ye),D.push(p),Ge(D))).then(()=>{D=[];for(const h of i.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).catch(h=>_t(h,8)?h:Promise.reject(h))}function Xe(S,B,D){l.list().forEach(N=>ye(()=>N(S,B,D)))}function Dt(S,B,D,N,re){const xe=I(S,B);if(xe)return xe;const p=B===Rt,h=en?history.state:{};D&&(N||p?r.replace(S.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(S.fullPath,re)),c.value=S,it(S,B,D,p),At()}let ot;function mn(){ot||(ot=r.listen((S,B,D)=>{if(!Wn.listening)return;const N=A(S),re=Y(N);if(re){Z(ie(re,{replace:!0}),N).catch(Tn);return}a=N;const xe=c.value;en&&yf(zo(xe.fullPath,D.delta),Is()),Ie(N,xe).catch(p=>_t(p,12)?p:_t(p,2)?(Z(p.to,N).then(h=>{_t(h,20)&&!D.delta&&D.type===Dn.pop&&r.go(-1,!1)}).catch(Tn),Promise.reject()):(D.delta&&r.go(-D.delta,!1),ne(p,N,xe))).then(p=>{p=p||Dt(N,xe,!1),p&&(D.delta&&!_t(p,8)?r.go(-D.delta,!1):D.type===Dn.pop&&_t(p,20)&&r.go(-1,!1)),Xe(N,xe,p)}).catch(Tn)}))}let Gt=xn(),Ae=xn(),ce;function ne(S,B,D){At(S);const N=Ae.list();return N.length?N.forEach(re=>re(S,B,D)):console.error(S),Promise.reject(S)}function xt(){return ce&&c.value!==Rt?Promise.resolve():new Promise((S,B)=>{Gt.add([S,B])})}function At(S){return ce||(ce=!S,mn(),Gt.list().forEach(([B,D])=>S?D(S):B()),Gt.reset()),S}function it(S,B,D,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const xe=!D&&xf(zo(S.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Br().then(()=>re(S,B,xe)).then(p=>p&&bf(p)).catch(p=>ne(p,S,B))}const Ne=S=>r.go(S);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:x,resolve:A,options:e,push:M,replace:q,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ae.add,isReady:xt,install(S){const B=this;S.component("RouterLink",Hf),S.component("RouterView",Ll),S.config.globalProperties.$router=B,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Se(c)}),en&&!Jt&&c.value===Rt&&(Jt=!0,M(r.location).catch(re=>{}));const D={};for(const re in Rt)Object.defineProperty(D,re,{get:()=>c.value[re],enumerable:!0});S.provide(Ps,B),S.provide(Qr,Bi(D)),S.provide(vr,c);const N=S.unmount;Zt.add(S),S.unmount=function(){Zt.delete(S),Zt.size<1&&(a=Rt,ot&&ot(),ot=null,c.value=Rt,Jt=!1,ce=!1),N()}}};function Ge(S){return S.reduce((B,D)=>B.then(()=>ye(D)),Promise.resolve())}return Wn}function Qf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iun(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>un(a,c))||r.push(c))}return[n,s,r]}function $s(){return nt(Ps)}function Gr(e){return nt(Qr)}const Gf={__name:"App",setup(e){return(t,n)=>(w(),Te(Se(Ll)))}},Jf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Zf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Yf={class:"flex space-x-1"};function Xf(e,t,n,s,r,o){return w(),C("div",Yf,[f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["font-bold",n.sizeClass])},"UnB",2)],2)])}const gt=Ce(Zf,[["render",Xf]]),ed={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},td={class:"fixed inset-0 flex items-center justify-center z-50"},nd={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},sd={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},rd={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(w(),C(G,null,[f("div",ed,[f("div",td,[L(gt,{customClass:"text-azul"})])]),f("div",nd,[f("div",sd,[L(gt)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Jf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),we(" Entre com a conta da Microsoft ")]))])])],64))}},od=Ce(rd,[["__scopeId","data-v-cdb7a9e0"]]),id={name:"AboutHeader",props:{text:String}},ld={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},ad={class:"font-inter font-semibold text-2xl"};function cd(e,t,n,s,r,o){return w(),C("div",ld,[f("div",null,[f("span",ad,J(n.text?n.text:"Sobre o projeto"),1)])])}const ud=Ce(id,[["render",cd]]),fd={name:"MainMenu",props:{activeIcon:String}},dd={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function pd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",dd,[L(i,{to:"/found",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),L(i,{to:"/user",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),L(i,{to:"/about",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),L(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const yt=Ce(fd,[["render",pd]]),Dl="/static/dist/assets/Favicon-DZaE_dAz.png",hd={class:"relative min-h-screen"},md={class:"fixed w-full top-0",style:{"z-index":"1"}},gd={class:"pt-[120px] flex justify-center my-6 text-azul"},bd={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},yd={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},xd=["href"],vd=["src","alt"],_d={class:"text-center mt-2"},wd={class:"font-inter font-medium"},Ed={class:"fixed bottom-0 w-full"},Sd={__name:"About",setup(e){const t=Q(Dl),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=me("ButtonAdd");return w(),C("div",hd,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Nn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",md,[L(ud)]),f("div",gd,[L(gt)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[we(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),we(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),we(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",bd,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",yd,[(w(),C(G,null,ve(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,vd)],8,xd),f("div",_d,[f("p",wd,J(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),L(o),f("div",Ed,[L(yt,{activeIcon:"info"})])])}}},Jr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",Cd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",Ad={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},Rd=["src"],kd={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},Td={class:"text-azul font-bold font-inter mt-1 truncate"},Od={class:"flex items-start"},Id={class:"text-azul font-inter text-sm"},Pd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},Ms={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=$s(),o=Q(!1),i=Q(null),l=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},c=()=>{o.value=!1,i.value=null,document.body.style.overflow=""},a=()=>{s("delete",n.id),o.value=!1};return(u,d)=>(w(),C("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:d[2]||(d[2]=m=>l())},[f("div",Ad,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,Rd)]),e.isMyItem?(w(),C("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d[0]||(d[0]=Fo(m=>o.value=!0,["stop"]))},d[3]||(d[3]=[f("img",{src:Jr,alt:"Excluir"},null,-1)]))):_e("",!0),(w(),Te(hc,{to:"body"},[o.value?(w(),C("div",kd,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center relative",onClick:d[1]||(d[1]=Fo(()=>{},["stop"]))},[d[4]||(d[4]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",{class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:a}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:c}," Cancelar ")])])])):_e("",!0)])),d[6]||(d[6]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",Td,J(e.name),1),f("div",Od,[d[5]||(d[5]=f("img",{src:Cd,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",Id,J(e.location),1)]),f("span",Pd,[e.isMyItem?_e("",!0):(w(),C(G,{key:0},[we(J(e.time),1)],64))])]))}},Fl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",$d={props:{customClass:{name:"ButtonAdd",type:String}}};function Md(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const jd=Ce($d,[["render",Md]]),le=Un({searchQuery:"",activeCategory:null,activeLocation:null}),Ld=e=>{le.searchQuery=e},Dd=e=>{le.activeCategory==e?le.activeCategory=null:le.activeCategory=e},Fd=e=>{le.activeLocation==e?le.activeLocation=null:le.activeLocation=e},Bd={name:"SearchBar",setup(){return{filtersState:le,setSearchQuery:Ld,setActiveCategory:Dd,setActiveLocation:Fd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},Nd={class:"flex gap-2 flex-wrap mt-4"},Ud=["onClick"],zd={class:"flex gap-2 flex-wrap mt-4"},Hd=["onClick"];function qd(e,t,n,s,r,o){return w(),C("form",{class:ee(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Re(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[dt,s.filtersState.searchQuery]]),f("button",{class:ee(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(w(),C("div",{key:0,class:ee(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",Nd,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(w(!0),C(G,null,ve(r.categories,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Ud))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",zd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(w(!0),C(G,null,ve(r.locations,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Hd))),128))])],2)):_e("",!0)],2)}const Vd=Ce(Bd,[["render",qd]]),Kd={name:"SearchHeader",components:{SearchBar:Vd,Logo:gt}},Wd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Qd={class:"flex-1"};function Gd(e,t,n,s,r,o){const i=me("SearchBar"),l=me("Logo"),c=me("router-link");return w(),C("div",Wd,[f("div",Qd,[L(i)]),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Zr=Ce(Kd,[["render",Gd]]),Jd={name:"SubMenu"},Zd={class:"flex pt-8 space-x-8 justify-center"};function Yd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Zd,[L(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Xd=Ce(Jd,[["render",Yd]]);function Bl(e,t){return function(){return e.apply(t,arguments)}}const{toString:ep}=Object.prototype,{getPrototypeOf:Yr}=Object,js=(e=>t=>{const n=ep.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>js(t)===e),Ls=e=>t=>typeof t===e,{isArray:dn}=Array,Fn=Ls("undefined");function tp(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nl=rt("ArrayBuffer");function np(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nl(e.buffer),t}const sp=Ls("string"),Qe=Ls("function"),Ul=Ls("number"),Ds=e=>e!==null&&typeof e=="object",rp=e=>e===!0||e===!1,ss=e=>{if(js(e)!=="object")return!1;const t=Yr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},op=rt("Date"),ip=rt("File"),lp=rt("Blob"),ap=rt("FileList"),cp=e=>Ds(e)&&Qe(e.pipe),up=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=js(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},fp=rt("URLSearchParams"),[dp,pp,hp,mp]=["ReadableStream","Request","Response","Headers"].map(rt),gp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=e=>!Fn(e)&&e!==zt;function _r(){const{caseless:e}=Hl(this)&&this||{},t={},n=(s,r)=>{const o=e&&zl(t,r)||r;ss(t[o])&&ss(s)?t[o]=_r(t[o],s):ss(s)?t[o]=_r({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(qn(t,(r,o)=>{n&&Qe(r)?e[o]=Bl(r,n):e[o]=r},{allOwnKeys:s}),e),yp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vp=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Yr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},_p=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},wp=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Ul(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ep=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yr(Uint8Array)),Sp=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Cp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Ap=rt("HTMLFormElement"),Rp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),si=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kp=rt("RegExp"),ql=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};qn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Tp=e=>{ql(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Qe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Op=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},Ip=()=>{},Pp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,sr="abcdefghijklmnopqrstuvwxyz",ri="0123456789",Vl={DIGIT:ri,ALPHA:sr,ALPHA_DIGIT:sr+sr.toUpperCase()+ri},$p=(e=16,t=Vl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Mp(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jp=e=>{const t=new Array(10),n=(s,r)=>{if(Ds(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return qn(s,(i,l)=>{const c=n(i,r+1);!Fn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Lp=rt("AsyncFunction"),Dp=e=>e&&(Ds(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Kl=((e,t)=>e?setImmediate:t?((n,s)=>(zt.addEventListener("message",({source:r,data:o})=>{r===zt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(zt.postMessage)),Fp=typeof queueMicrotask<"u"?queueMicrotask.bind(zt):typeof process<"u"&&process.nextTick||Kl,_={isArray:dn,isArrayBuffer:Nl,isBuffer:tp,isFormData:up,isArrayBufferView:np,isString:sp,isNumber:Ul,isBoolean:rp,isObject:Ds,isPlainObject:ss,isReadableStream:dp,isRequest:pp,isResponse:hp,isHeaders:mp,isUndefined:Fn,isDate:op,isFile:ip,isBlob:lp,isRegExp:kp,isFunction:Qe,isStream:cp,isURLSearchParams:fp,isTypedArray:Ep,isFileList:ap,forEach:qn,merge:_r,extend:bp,trim:gp,stripBOM:yp,inherits:xp,toFlatObject:vp,kindOf:js,kindOfTest:rt,endsWith:_p,toArray:wp,forEachEntry:Sp,matchAll:Cp,isHTMLForm:Ap,hasOwnProperty:si,hasOwnProp:si,reduceDescriptors:ql,freezeMethods:Tp,toObjectSet:Op,toCamelCase:Rp,noop:Ip,toFiniteNumber:Pp,findKey:zl,global:zt,isContextDefined:Hl,ALPHABET:Vl,generateString:$p,isSpecCompliantForm:Mp,toJSONObject:jp,isAsyncFn:Lp,isThenable:Dp,setImmediate:Kl,asap:Fp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}_.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const Wl=W.prototype,Ql={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ql[e]={value:e}});Object.defineProperties(W,Ql);Object.defineProperty(Wl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Wl);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Bp=null;function wr(e){return _.isPlainObject(e)||_.isArray(e)}function Gl(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Np(e){return _.isArray(e)&&!e.some(wr)}const Up=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Fs(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!_.isUndefined(v[x])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(!c&&_.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,x,v){let A=y;if(y&&!v&&typeof y=="object"){if(_.endsWith(x,"{}"))x=s?x:x.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Np(y)||(_.isFileList(y)||_.endsWith(x,"[]"))&&(A=_.toArray(y)))return x=Gl(x),A.forEach(function(I,M){!(_.isUndefined(I)||I===null)&&t.append(i===!0?oi([x],M,o):i===null?x:x+"[]",a(I))}),!1}return wr(y)?!0:(t.append(oi(v,x,o),a(y)),!1)}const d=[],m=Object.assign(Up,{defaultVisitor:u,convertValue:a,isVisitable:wr});function g(y,x){if(!_.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+x.join("."));d.push(y),_.forEach(y,function(A,T){(!(_.isUndefined(A)||A===null)&&r.call(t,A,_.isString(T)?T.trim():T,x,m))===!0&&g(A,x?x.concat(T):[T])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return g(e),t}function ii(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xr(e,t){this._pairs=[],e&&Fs(e,this,t)}const Jl=Xr.prototype;Jl.append=function(t,n){this._pairs.push([t,n])};Jl.toString=function(t){const n=t?function(s){return t.call(this,s,ii)}:ii;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function zp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zl(e,t,n){if(!t)return e;const s=n&&n.encode||zp;_.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new Xr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class li{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hp=typeof URLSearchParams<"u"?URLSearchParams:Xr,qp=typeof FormData<"u"?FormData:null,Vp=typeof Blob<"u"?Blob:null,Kp={isBrowser:!0,classes:{URLSearchParams:Hp,FormData:qp,Blob:Vp},protocols:["http","https","file","blob","url","data"]},eo=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,Wp=eo&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),Qp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gp=eo&&window.location.href||"http://localhost",Jp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eo,hasStandardBrowserEnv:Wp,hasStandardBrowserWebWorkerEnv:Qp,navigator:Er,origin:Gp},Symbol.toStringTag,{value:"Module"})),Le={...Jp,...Kp};function Zp(e,t){return Fs(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Le.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Yp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Xp(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Yp(s),r,n,0)}),n}return null}function eh(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Vn={transitional:Yl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Xl(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Zp(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Fs(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),eh(t)):t}],transformResponse:[function(t){const n=this.transitional||Vn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Vn.headers[e]={}});const th=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nh=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&th[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ai=Symbol("internals");function vn(e){return e&&String(e).trim().toLowerCase()}function rs(e){return e===!1||e==null?e:_.isArray(e)?e.map(rs):String(e)}function sh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const rh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rr(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function oh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function ih(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=vn(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=rs(l))}const i=(l,c)=>_.forEach(l,(a,u)=>o(a,u,c));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!rh(t))i(nh(t),n);else if(_.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=vn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return sh(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||rr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=vn(i),i){const l=_.findKey(s,i);l&&(!n||rr(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||rr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=rs(r),delete n[o];return}const l=t?oh(o):String(o).trim();l!==o&&delete n[o],n[l]=rs(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ai]=this[ai]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=vn(i);s[l]||(ih(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Ue.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Ue);function or(e,t){const n=this||Vn,s=t||n,r=Ue.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ea(e){return!!(e&&e.__CANCEL__)}function pn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(pn,W,{__CANCEL__:!0});function ta(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function lh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ah(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,m=0;for(;d!==r;)m+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const bs=(e,t,n=3)=>{let s=0;const r=ah(50,250);return ch(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},ci=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ui=e=>(...t)=>_.asap(()=>e(...t)),uh=Le.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Le.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>!0,fh=Le.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ph(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function na(e,t){return e&&!dh(t)?ph(e,t):t}const fi=e=>e instanceof Ue?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,m){return _.isPlainObject(a)&&_.isPlainObject(u)?_.merge.call({caseless:m},a,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(a,u,d,m){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a,d,m)}else return s(a,u,d,m)}function o(a,u){if(!_.isUndefined(u))return s(void 0,u)}function i(a,u){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(fi(a),fi(u),d,!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,m=d(e[u],t[u],u);_.isUndefined(m)&&d!==l||(n[u]=m)}),n}const sa=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ue.from(i),t.url=Zl(na(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(_.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Le.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(t)),s||s!==!1&&uh(t.url))){const a=r&&o&&fh.read(o);a&&i.set(r,a)}return t},hh=typeof XMLHttpRequest<"u",mh=hh&&function(e){return new Promise(function(n,s){const r=sa(e);let o=r.data;const i=Ue.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,m,g,y;function x(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function A(){if(!v)return;const I=Ue.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),q={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:I,config:e,request:v};ta(function(Z){n(Z),x()},function(Z){s(Z),x()},q),v=null}"onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(A)},v.onabort=function(){v&&(s(new W("Request aborted",W.ECONNABORTED,e,v)),v=null)},v.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let M=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const q=r.transitional||Yl;r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),s(new W(M,q.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(i.toJSON(),function(M,q){v.setRequestHeader(q,M)}),_.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),a&&([m,y]=bs(a,!0),v.addEventListener("progress",m)),c&&v.upload&&([d,g]=bs(c),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=I=>{v&&(s(!I||I.type?new pn(null,e,v):I),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=lh(r.url);if(T&&Le.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}v.send(o||null)})},gh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new pn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>_.asap(l),c}},bh=function*(e,t){let n=e.byteLength;if(n{const r=yh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let m=o+=d;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Bs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ra=Bs&&typeof ReadableStream=="function",vh=Bs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_h=ra&&oa(()=>{let e=!1;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),pi=64*1024,Sr=ra&&oa(()=>_.isReadableStream(new Response("").body)),ys={stream:Sr&&(e=>e.body)};Bs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ys[t]&&(ys[t]=_.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const wh=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(Le.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await vh(e)).byteLength},Eh=async(e,t)=>{const n=_.toFiniteNumber(e.getContentLength());return n??wh(t)},Sh=Bs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:m}=sa(e);a=a?(a+"").toLowerCase():"text";let g=gh([r,o&&o.toAbortSignal()],i),y;const x=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let v;try{if(c&&_h&&n!=="get"&&n!=="head"&&(v=await Eh(u,s))!==0){let q=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(_.isFormData(s)&&(Y=q.headers.get("content-type"))&&u.setContentType(Y),q.body){const[Z,ue]=ci(v,bs(ui(c)));s=di(q.body,pi,Z,ue)}}_.isString(d)||(d=d?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:A?d:void 0});let T=await fetch(y);const I=Sr&&(a==="stream"||a==="response");if(Sr&&(l||I&&x)){const q={};["status","statusText","headers"].forEach(ye=>{q[ye]=T[ye]});const Y=_.toFiniteNumber(T.headers.get("content-length")),[Z,ue]=l&&ci(Y,bs(ui(l),!0))||[];T=new Response(di(T.body,pi,Z,()=>{ue&&ue(),x&&x()}),q)}a=a||"text";let M=await ys[_.findKey(ys,a)||"text"](T,e);return!I&&x&&x(),await new Promise((q,Y)=>{ta(q,Y,{data:M,headers:Ue.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(A){throw x&&x(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:A.cause||A}):W.from(A,A&&A.code,e,y)}}),Cr={http:Bp,xhr:mh,fetch:Sh};_.forEach(Cr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hi=e=>`- ${e}`,Ch=e=>_.isFunction(e)||e===null||e===!1,ia={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(hi).join(` +`):" "+hi(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Cr};function ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pn(null,e)}function mi(e){return ir(e),e.headers=Ue.from(e.headers),e.data=or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ia.getAdapter(e.adapter||Vn.adapter)(e).then(function(s){return ir(e),s.data=or.call(e,e.transformResponse,s),s.headers=Ue.from(s.headers),s},function(s){return ea(s)||(ir(e),s&&s.response&&(s.response.data=or.call(e,e.transformResponse,s.response),s.response.headers=Ue.from(s.response.headers))),Promise.reject(s)})}const la="1.7.8",Ns={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ns[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gi={};Ns.transitional=function(t,n,s){function r(o,i){return"[Axios v"+la+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!gi[i]&&(gi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Ns.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Ah(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const os={assertOptions:Ah,validators:Ns},ct=os.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new li,response:new li}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&os.assertOptions(s,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:os.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),os.assertOptions(n,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ue.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const a=[];this.interceptors.response.forEach(function(x){a.push(x.fulfilled,x.rejected)});let u,d=0,m;if(!c){const y=[mi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),m=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new pn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new to(function(r){t=r}),cancel:t}}}function Rh(e){return function(n){return e.apply(null,n)}}function kh(e){return _.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function aa(e){const t=new qt(e),n=Bl(qt.prototype.request,t);return _.extend(n,qt.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return aa(Wt(e,r))},n}const ge=aa(Vn);ge.Axios=qt;ge.CanceledError=pn;ge.CancelToken=to;ge.isCancel=ea;ge.VERSION=la;ge.toFormData=Fs;ge.AxiosError=W;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Rh;ge.isAxiosError=kh;ge.mergeConfig=Wt;ge.AxiosHeaders=Ue;ge.formToJSON=e=>Xl(_.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=ia.getAdapter;ge.HttpStatusCode=Ar;ge.default=ge;const Kn="http://localhost:8000/api/items",Th=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...le.searchQuery&&{search:le.searchQuery},...le.activeCategory&&{category_name:le.activeCategory},...le.activeLocation&&{location_name:le.activeLocation}};return(await ge.get(`${Kn}/lost/`,{params:r})).data},Oh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...le.searchQuery&&{search:le.searchQuery},...le.activeCategory&&{category_name:le.activeCategory},...le.activeLocation&&{location_name:le.activeLocation}};return(await ge.get(`${Kn}/found/`,{params:r})).data},Ih=async()=>{try{return(await ge.get(`${Kn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Ph=async()=>{try{return(await ge.get(`${Kn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},ca=async e=>{try{await ge.delete(`${Kn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Us=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",ua="/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg",$h={class:"flex flex-col items-center justify-center h-64 text-center"},Mh=["src"],jh={class:"text-cinza3 font-inter text-lg"},fa={__name:"Empty-State",props:{type:{type:String,required:!0}},setup(e){const t=e,{searchQuery:n,activeCategory:s,activeLocation:r}=nc(le),o=Je(()=>{const i=t.type==="achado"?"achado":"perdido";return n.value!=""?`não encontrou resultados para "${n.value}" nos itens ${i}s.`:s.value!=null?`não encontrou itens ${i}s da categoria "${s.value}".`:r.value!=null?`não encontrou itens ${i}s no local "${r.value}".`:`está sem itens ${i}s... Você pode adicionar um!`});return(i,l)=>(w(),C("div",$h,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,Mh),f("p",jh,[l[0]||(l[0]=we(" Parece que o ")),l[1]||(l[1]=f("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),we(" "+J(o.value),1)])]))}},Lh={class:"min-h-screen"},Dh={class:"fixed w-full top-0 z-10"},Fh={class:"pt-24 pb-8"},Bh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Nh={class:"flex w-full justify-start sm:justify-center"},Uh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},zh={class:"fixed bottom-0 w-full"},Hh={__name:"Lost",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=le,d=await Th({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[le.searchQuery,le.activeCategory,le.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Lh,[f("div",Dh,[L(Zr)]),f("div",Fh,[L(Xd)]),t.value.length===0?(w(),Te(fa,{key:0,type:"perdido"})):(w(),C("div",Bh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te(Ms,{key:a.id,name:a.name,location:a.location_name,time:Se(Us)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Nh,[f("div",Uh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(jd),f("div",zh,[L(yt,{activeIcon:"search"})])]))}},qh={props:{customClass:{name:"ButtonAdd",type:String}}};function Vh(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const Kh=Ce(qh,[["render",Vh]]),Wh={name:"SubMenu"},Qh={class:"flex pt-8 space-x-8 justify-center"};function Gh(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Qh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const Jh=Ce(Wh,[["render",Gh]]),Zh={class:"min-h-screen"},Yh={class:"fixed w-full top-0 z-10"},Xh={class:"pt-24 pb-8"},em={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},tm={class:"flex w-full justify-start sm:justify-center"},nm={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},sm={class:"fixed bottom-0 w-full"},rm={__name:"Found",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=le,d=await Oh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[le.searchQuery,le.activeCategory,le.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Zh,[f("div",Yh,[L(Zr)]),f("div",Xh,[L(Jh)]),t.value.length===0?(w(),Te(fa,{key:0,type:"achado"})):(w(),C("div",em,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te(Ms,{key:a.id,name:a.name,location:a.location_name,time:Se(Us)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",tm,[f("div",nm,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(Kh),f("div",sm,[L(yt,{activeIcon:"search"})])]))}};class da{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class pa{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=m}}const om={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function im(e,t,n,s,r,o){return r.visible?(w(),C("div",{key:0,class:ee(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,J(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:ee(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):_e("",!0)}const lm=Ce(om,[["render",im]]),ae=ge.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ae.interceptors.response.use(e=>e,e=>(e.response.status===401&&ba.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ha="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",am={name:"FormComponent",data(){return{item:new pa,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},cm={class:"grid md:grid-cols-4 gap-4"},um={class:"mb-4 col-span-2"},fm={class:"block relative mb-4 col-span-2"},dm=["value"],pm={class:"block relative mb-4 col-span-2"},hm=["value"],mm={class:"block relative mb-4 col-span-2"},gm=["value"],bm={class:"block relative mb-4 col-span-2"},ym=["value"],xm={class:"mb-4 col-span-2"},vm={class:"mb-4 col-span-2"},_m={class:"mb-4 col-span-2"},wm=["disabled"],Em={class:"flex flex-wrap gap-4 col-span-3"},Sm=["src"],Cm=["onClick"],Am={class:"col-span-4"};function Rm(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",cm,[f("div",um,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",fm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,dm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",pm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,hm))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",mm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,gm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",bm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,ym))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",xm,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Re(f("input",{id:"foundLostDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[dt,r.item.foundLostDate]])]),f("div",vm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",_m,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,wm)],2)]),f("div",Em,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Sm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,Cm)]))),128))]),f("div",Am,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const km=Ce(am,[["render",Rm]]),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",Tm={name:"LostHeader",components:{Logo:gt},props:{text:String}},Om={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Im={class:"font-inter font-semibold text-2xl"},Pm={class:"ml-auto"};function $m(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",Om,[L(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",Im,J(n.text??"Cadastro de item perdido"),1)]),f("button",Pm,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Mm=Ce(Tm,[["render",$m]]),jm={class:"fixed w-full top-0",style:{"z-index":"1"}},Lm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Dm={class:"fixed bottom-0 w-full"},Fm={__name:"Register-Lost",setup(e){return(t,n)=>(w(),C(G,null,[f("div",jm,[L(Mm)]),f("div",Lm,[L(km)]),f("div",Dm,[L(yt,{activeIcon:"search"})])],64))}},Bm={name:"FormComponent",data(){return{item:new pa,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Nm={class:"grid md:grid-cols-4 gap-4"},Um={class:"mb-4 col-span-2"},zm={class:"block relative mb-4 col-span-2"},Hm=["value"],qm={class:"block relative mb-4 col-span-2"},Vm=["value"],Km={class:"block relative mb-4 col-span-2"},Wm=["value"],Qm={class:"block relative mb-4 col-span-2"},Gm=["value"],Jm={class:"mb-4 col-span-2"},Zm={class:"mb-4 col-span-2"},Ym={class:"mb-4 col-span-2"},Xm=["disabled"],eg={class:"flex flex-wrap gap-4 col-span-3"},tg=["src"],ng=["onClick"],sg={class:"col-span-4"};function rg(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Nm,[f("div",Um,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",zm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Hm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",qm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Vm))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Km,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Wm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Qm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Gm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Jm,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Re(f("input",{id:"foundDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[dt,r.item.foundDate]])]),f("div",Zm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",Ym,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Xm)],2)]),f("div",eg,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,tg),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,ng)]))),128))]),f("div",sg,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const og=Ce(Bm,[["render",rg]]),ig={name:"FoundHeader",components:{Logo:gt},props:{text:String}},lg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},ag={class:"font-inter font-semibold text-2xl"},cg={class:"ml-auto"};function ug(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",lg,[L(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",ag,J(n.text??"Cadastro de item achado"),1)]),f("button",cg,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const fg=Ce(ig,[["render",ug]]),dg={class:"fixed w-full top-0",style:{"z-index":"1"}},pg={class:"px-6 py-[120px]",style:{"z-index":"2"}},hg={class:"fixed bottom-0 w-full"},mg={__name:"Register-Found",setup(e){return(t,n)=>(w(),C(G,null,[f("div",dg,[L(fg)]),f("div",pg,[L(og)]),f("div",hg,[L(yt,{activeIcon:"search"})])],64))}},gg={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},bg={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},yg=["src"],xg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},vg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},_g={class:"text-sm lg:text-lg text-cinza3"},wg={key:0,class:"text-sm lg:text-lg text-cinza3"},Eg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},Sg={class:"fixed bottom-0 w-full"},Cg={__name:"User",setup(e){const t=Q({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ae.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return bt(n),(s,r)=>{const o=me("router-link");return w(),C("div",gg,[f("div",bg,[t.value.foto?(w(),C("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,yg)):(w(),C("div",xg,r[0]||(r[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"white",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#FFFFFF",class:"w-10 h-10"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})],-1)])))]),f("h1",vg,J(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",_g,J(t.value.email||"Email não disponível"),1),t.value.matricula?(w(),C("p",wg," Matrícula: "+J(t.value.matricula),1)):_e("",!0),f("div",Eg,[L(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[3]||(r[3]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),L(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[2]||(r[2]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[4]||(r[4]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",Sg,[L(yt,{activeIcon:"user"})])])}}},Ag={name:"ItemHeader",components:{Logo:gt},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},Rg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},kg={class:"flex items-center w-1/4"},Tg={class:"flex-grow flex justify-center"},Og={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},Ig={class:"flex items-center w-1/4 justify-end"};function Pg(e,t,n,s,r,o){const i=me("Logo"),l=me("router-link");return w(),C("div",Rg,[f("div",kg,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",Tg,[f("span",Og,J(n.title),1)]),f("div",Ig,[L(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const ma=Ce(Ag,[["render",Pg]]),Rr="/static/dist/assets/default-avatar-BpcudYYH.png",$g={class:"fixed w-full top-0 z-[1]"},Mg={key:0,class:"pt-32 pb-24 space-y-4"},jg={key:1,class:"pt-32 pb-24"},Lg=["onClick"],Dg=["src"],Fg={class:"ml-5"},Bg={class:"text-xl font-semibold text-gray-800"},Ng={class:"text-md text-gray-500"},Ug={key:2,class:"flex flex-col items-center justify-center h-96"},zg={class:"fixed bottom-0 w-full bg-white shadow-md"},Hg={__name:"Chats",setup(e){const t=$s(),n=Q(null),s=Q([]),r=Q(!0),o=c=>{!c.id||!c.recipient||!c.item_id||t.push({path:`/chat/${c.id}`,query:{userId:c.recipient.id,itemId:c.item_id}})};async function i(){try{const c=await ae.get("/auth/user/");n.value=c.data,await l()}catch(c){console.error("Erro ao buscar usuário:",c)}}async function l(){var c;if((c=n.value)!=null&&c.id)try{const a=await ae.get("/chat/chatrooms/");let u=[];for(const d of a.data.results)if(d.participant_1===n.value.id||d.participant_2===n.value.id){let m,g,y;d.participant_1===n.value.id?(m=d.participant_2,g=d.participant_2_username):(m=d.participant_1,g=d.participant_1_username);const x=await ae.get(`/users/${m}/`);y=x.data.foto?x.data.foto:Rr,u.push({...d,recipient:{id:m,name:g,foto:y}})}s.value=u}catch(a){console.error("Erro ao buscar conversas:",a)}finally{r.value=!1}}return bt(()=>{i()}),(c,a)=>(w(),C(G,null,[f("div",$g,[L(ma,{title:"Mensagens"})]),r.value?(w(),C("div",Mg,[(w(),C(G,null,ve(3,u=>f("div",{key:u,class:"flex items-center px-6"},a[0]||(a[0]=[f("div",{class:"w-[90px] h-[90px] rounded-full bg-cinza2 animate-pulse"},null,-1),f("div",{class:"flex-1 px-4 space-y-2"},[f("div",{class:"h-7 bg-cinza2 rounded-md animate-pulse"}),f("div",{class:"h-5 bg-cinza2 rounded-md animate-pulse"})],-1)]))),64))])):s.value.length?(w(),C("div",jg,[(w(!0),C(G,null,ve(s.value,u=>(w(),C("div",{key:u.id,class:"flex items-center px-6 py-5 cursor-pointer transition-all duration-200 hover:bg-gray-200",onClick:d=>o(u)},[f("img",{src:u.recipient.foto,alt:"Foto do usuário",class:"w-16 h-16 md:w-20 md:h-20 rounded-full object-cover border-2 border-white"},null,8,Dg),f("div",Fg,[f("p",Bg,J(u.recipient.name),1),f("p",Ng,"Sobre o item: "+J(u.item_name),1)])],8,Lg))),128))])):(w(),C("div",Ug,a[1]||(a[1]=[f("p",{class:"text-xl text-cinza4"},"Nenhuma conversa encontrada.",-1)]))),f("div",zg,[L(yt,{activeIcon:"chat"})])],64))}},qg=Ce(Hg,[["__scopeId","data-v-73de17b8"]]),Vg={key:0,class:"fixed w-full top-0 z-[1]"},Kg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},Wg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},Qg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},Gg={key:0,class:"w-full h-64"},Jg=["src"],Zg=["src","alt"],Yg={key:2,class:"md:hidden overflow-hidden relative"},Xg=["src","alt"],e0={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},t0={class:"w-full md:w-1/2 mt-6 md:mt-0"},n0={class:"text-lg md:text-2xl font-bold text-left"},s0={class:"text-sm md:text-base text-gray-500 text-left mt-2"},r0={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},o0={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},i0={class:"flex flex-wrap gap-2 justify-start mt-4"},l0={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},a0={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},c0={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},u0={class:"text-sm md:text-base text-gray-700 text-left mt-4"},f0={class:"fixed bottom-0 w-full"},d0={__name:"ListItem",setup(e){const t=Gr(),n=$s(),s=Q(null),r=Q(""),o=Q(null),i=Q(0),l=Q(window.innerWidth<768),c=Q(!1),a=v=>{const A=new Date(v);return`${A.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${A.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const v=await ae.get(`/items/${t.query.idItem}/`);s.value=v.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(v){console.error("Erro ao carregar item:",v)}}async function y(){try{const v=await ae.get("/auth/user/");o.value=v.data,console.log("Usuário atual:",o.value)}catch(v){console.error("Erro ao buscar usuário:",v)}}const x=async()=>{var v,A,T,I;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((v=o.value)!=null&&v.id)||!((A=s.value)!=null&&A.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const M={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",M);const Y=(await ae.get("/chat/chatrooms/",{params:M})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const Z={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",Z);const ue=await ae.post("/chat/chatrooms/",Z);if(console.log("Resposta da criação de chat:",ue.data),(T=ue.data)!=null&&T.id)n.push(`/chat/${ue.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(M){console.error("Erro ao criar/aceder chat:",((I=M.response)==null?void 0:I.data)||M.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return bt(async()=>{await y(),await g(),window.addEventListener("resize",m)}),tl(()=>{window.removeEventListener("resize",m)}),(v,A)=>(w(),C(G,null,[c.value?(w(),C("div",Vg,[L(ma,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):_e("",!0),s.value?(w(),C("div",Kg,[f("div",Wg,[f("div",Qg,[!s.value.image_urls||s.value.image_urls.length===0?(w(),C("div",Gg,[f("img",{src:Se(Qt),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Jg)])):(w(),C("div",{key:1,class:ee(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(w(!0),C(G,null,ve(s.value.image_urls.slice(0,2),(T,I)=>(w(),C("img",{key:I,src:T,alt:`Imagem ${I+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Zg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(w(),C("div",Yg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Nn({transform:`translateX(-${i.value*100}%)`})},[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${I+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Xg)]))),128))],4),s.value.image_urls.length>1?(w(),C("div",e0,[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:ee(["w-2 h-2 rounded-full transition-colors duration-300",i.value===I?"bg-white":"bg-gray-300"])},null,2))),128))])):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):_e("",!0)])):_e("",!0)]),f("div",t0,[f("h1",n0,J(s.value.name),1),f("p",s0," Achado em: "+J(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(w(),C("p",r0," Data do achado: "+J(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(w(),C("p",o0," Data da perda: "+J(a(s.value.found_lost_date)),1)):_e("",!0),f("div",i0,[s.value.category_name?(w(),C("span",l0," Categoria: "+J(s.value.category_name),1)):_e("",!0),s.value.brand_name?(w(),C("span",a0," Marca: "+J(s.value.brand_name),1)):_e("",!0),s.value.color_name?(w(),C("span",c0," Cor: "+J(s.value.color_name),1)):_e("",!0)]),f("p",u0,J(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:x}," É meu item ")])):_e("",!0),f("div",f0,[L(yt,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},p0={name:"SubMenu"},h0={class:"flex pt-8 space-x-8 justify-center"};function m0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",h0,[L(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const g0=Ce(p0,[["render",m0]]),b0={class:"flex flex-col items-center justify-center h-64 text-center"},y0=["src"],x0={class:"text-cinza3 font-inter text-lg"},v0={class:"text-azul font-bold"},ga={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(w(),C("div",b0,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,y0),f("p",x0,[we(" Parece que você não tem itens "+J(e.message)+" ",1),f("span",v0,J(e.highlightText),1)])]))}},_0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},w0={class:"pb-8 pt-24"},E0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},S0={class:"fixed bottom-0 w-full"},C0={__name:"UserItems-Lost",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Ph();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await ca(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",_0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",w0,[L(g0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",E0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te(Ms,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Us)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",S0,[L(yt,{activeIcon:"search"})])],64)}}},A0={name:"SubMenu"},R0={class:"flex pt-8 space-x-8 justify-center"};function k0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",R0,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const T0=Ce(A0,[["render",k0]]),O0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},I0={class:"pb-8 pt-24"},P0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},$0={class:"fixed bottom-0 w-full"},M0={__name:"UserItems-Found",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Ih();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await ca(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",O0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",I0,[L(T0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",P0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te(Ms,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Us)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",$0,[L(yt,{activeIcon:"search"})])],64)}}},j0={class:"fixed top-0 left-0 w-full bg-verde shadow-md py-3 px-4 flex items-center z-10"},L0=["src"],D0={class:"flex items-center space-x-4 ml-2"},F0=["src"],B0={class:"text-white font-semibold text-sm md:text-base truncate max-w-[120px] md:max-w-[200px]"},N0=["src"],U0={class:"ml-auto md:absolute md:left-1/2 md:transform md:-translate-x-1/2"},z0={__name:"Header-Message",setup(e){const t=Gr(),n=$s(),s=Q(t.params.chatroomId||t.query.chatroomId),r=Q("Usuário"),o=Q(Rr),i=Q(Qt),l=Q(null),c=Q(null),a=Q(null),u=async()=>{try{const x=await ae.get("/auth/user/");a.value=x.data}catch{}},d=async()=>{var x;if(!(!s.value||!((x=a.value)!=null&&x.id)))try{const A=(await ae.get(`/chat/chatrooms/${s.value}/`)).data;l.value=A.participant_1===a.value.id?A.participant_2:A.participant_1,c.value=A.item_id,m(),g()}catch{}},m=async()=>{if(l.value)try{const x=await ae.get(`/users/${l.value}/`);r.value=x.data.first_name||"Usuário",o.value=x.data.foto||Rr}catch{}},g=async()=>{var x;if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=((x=v.data.image_urls)==null?void 0:x[0])||Qt}catch{}},y=()=>{n.back()};return Qc(()=>{a.value?d():u()}),bt(()=>{u()}),(x,v)=>{const A=me("router-link");return w(),C("div",j0,[f("img",{onClick:y,src:Se(hn),alt:"Voltar",class:"w-6 h-6 md:w-8 md:h-8 cursor-pointer"},null,8,L0),f("div",D0,[f("img",{src:o.value,alt:"Foto do usuário",class:"w-10 h-10 md:w-12 md:h-12 rounded-full object-cover border-2 border-white"},null,8,F0),f("span",B0,J(r.value||"Usuário"),1),f("img",{src:i.value,alt:"Imagem do item",class:"w-10 h-10 md:w-12 md:h-12 rounded-lg object-cover border-2 border-white"},null,8,N0)]),f("div",U0,[L(A,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}}},H0={class:"relative flex flex-col h-screen bg-gray-100"},q0={ref:"messagesContainer",class:"relative flex-1 pt-32 pb-24 px-4 overflow-y-auto z-10"},V0={key:0,class:"flex w-full justify-end"},K0={class:"bg-laranja text-white p-3 rounded-2xl max-w-[70%] break-words shadow-md"},W0={class:"text-sm"},Q0={class:"text-xs opacity-75 mt-1 block text-right"},G0={key:1,class:"flex w-full justify-start"},J0={class:"bg-gray-300 text-gray-800 p-3 rounded-2xl max-w-[70%] break-words shadow-md"},Z0={class:"text-sm"},Y0={class:"text-xs opacity-75 mt-1 block text-left"},X0={class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 z-20"},eb={class:"flex"},tb=["disabled"],bi={__name:"Message",setup(e){const t=Gr(),n=Q([]),s=Q(""),r=Q(null),o=Q(null),i=Q(null),l=Q(t.params.chatroomId||t.query.chatroomId),c=Q(t.params.itemId||t.query.itemId);l.value?console.log("chatroomId:",l.value):console.error("ID do chat não encontrado na rota");const a=async()=>{var v;if(!l.value){console.error("ID do chat não encontrado, não é possível enviar mensagem");return}if(!s.value.trim()){console.warn("Mensagem vazia, nada a enviar");return}try{console.log("Enviando mensagem para room:",l.value,"Conteúdo:",s.value),await ae.post("/chat/messages/",{room:l.value,content:s.value}),s.value="",await u()}catch(A){console.error("Erro ao enviar mensagem:",((v=A.response)==null?void 0:v.data)||A.message)}},u=async()=>{if(l.value)try{const v=await ae.get("/chat/messages/",{params:{room:l.value}});n.value=v.data.results||v.data}catch(v){console.error("Erro ao buscar mensagens:",v)}},d=async()=>{try{const v=await ae.get("/auth/user/");r.value=v.data}catch(v){console.error("Erro ao buscar usuário:",v)}},m=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);o.value=v.data}catch(v){console.error("Erro ao buscar item:",v)}},g=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=v.data.user_id}catch(v){console.error("Erro ao buscar dono do item:",v)}},y=v=>new Date(v).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"}),x=async()=>{if(l.value)try{await ae.get(`/chat/chatrooms/${l.value}/`)}catch(v){console.error("Erro ao buscar dados do chatroom:",v)}};return bt(async()=>{await d(),await m(),await g(),await x(),await u()}),(v,A)=>(w(),C("div",H0,[A[1]||(A[1]=f("div",{class:"flex absolute inset-0 justify-center items-center pointer-events-none z-0"},[f("img",{src:Dl,alt:"Watermark",class:"w-48 md:w-64 lg:w-80 opacity-20"})],-1)),i.value&&c.value?(w(),Te(z0,{key:0,itemId:String(c.value),userId:String(i.value),class:"fixed top-0 left-0 w-full z-20"},null,8,["itemId","userId"])):_e("",!0),f("div",q0,[(w(!0),C(G,null,ve(n.value,T=>{var I;return w(),C("div",{key:T.id,class:"mb-2 flex"},[T.sender===((I=r.value)==null?void 0:I.id)?(w(),C("div",V0,[f("div",K0,[f("p",W0,J(T.content),1),f("span",Q0,J(y(T.timestamp)),1)])])):(w(),C("div",G0,[f("div",J0,[f("p",Z0,J(T.content),1),f("span",Y0,J(y(T.timestamp)),1)])]))])}),128))],512),f("div",X0,[f("div",eb,[Re(f("input",{"onUpdate:modelValue":A[0]||(A[0]=T=>s.value=T),onKeyup:Nu(a,["enter"]),type:"text",maxlength:"80",placeholder:"Digite uma mensagem (máx. 80 caracteres)...",class:"flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:border-laranja"},null,544),[[dt,s.value]]),f("button",{onClick:a,disabled:!s.value.trim(),class:"ml-2 bg-laranja text-white px-4 py-2 rounded-full hover:bg-laranja-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors"}," Enviar ",8,tb)])])]))}},nb=[{path:"/",name:"Login",component:od},{path:"/about",name:"About",component:Sd,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Hh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:rm,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:Fm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:mg,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:Cg,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:qg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:d0,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:C0},{path:"/user-items-found",name:"UserItemsFound",component:M0},{path:"/chat/new",name:"NewChat",component:bi,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:bi,meta:{requiresAuth:!0},props:e=>({chatroomId:e.params.chatroomId||e.query.chatroomId,itemId:e.params.itemId||e.query.itemId})}],ba=Wf({history:Sf(),routes:nb}),zs=Hu(Gf);zs.use(ba);zs.component("Header",Zr);zs.component("Alert",lm);zs.mount("#app"); diff --git a/API/celerybeat-schedule b/API/celerybeat-schedule index b21383bd..daeee0d4 100644 Binary files a/API/celerybeat-schedule and b/API/celerybeat-schedule differ diff --git a/web/src/assets/icons/box.svg b/web/src/assets/icons/box.svg new file mode 100644 index 00000000..b5227949 --- /dev/null +++ b/web/src/assets/icons/box.svg @@ -0,0 +1,3 @@ + + + diff --git a/web/src/assets/icons/found-and-lost-box.jpg b/web/src/assets/icons/found-and-lost-box.jpg deleted file mode 100644 index db5a7250..00000000 Binary files a/web/src/assets/icons/found-and-lost-box.jpg and /dev/null differ diff --git a/web/src/components/Empty-State-User.vue b/web/src/components/Empty-State-User.vue index 42d4bab4..c19a0919 100644 --- a/web/src/components/Empty-State-User.vue +++ b/web/src/components/Empty-State-User.vue @@ -1,17 +1,18 @@ \ No newline at end of file + diff --git a/web/src/components/Empty-State.vue b/web/src/components/Empty-State.vue index c3f65041..d2d74753 100644 --- a/web/src/components/Empty-State.vue +++ b/web/src/components/Empty-State.vue @@ -1,16 +1,43 @@ \ No newline at end of file + +const { searchQuery, activeCategory, activeLocation } = toRefs(filtersState); + +// Computed Property para modificar a mensagem dinamicamente +const computedMessage = computed(() => { + // Define a palavra correta com base no tipo de item + const itemType = props.type === "achado" ? "achado" : "perdido"; + + // Verifica os filtros e retorna a mensagem correspondente + if (searchQuery.value != "") { + return `não encontrou resultados para "${searchQuery.value}" nos itens ${itemType}s.`; + } + if (activeCategory.value != null) { + return `não encontrou itens ${itemType}s da categoria "${activeCategory.value}".`; + } + if (activeLocation.value != null) { + return `não encontrou itens ${itemType}s no local "${activeLocation.value}".`; + } + + return `está sem itens ${itemType}s... Você pode adicionar um!`; +}); + diff --git a/web/src/components/Item-Card.vue b/web/src/components/Item-Card.vue index 6db0408c..8c008ebe 100644 --- a/web/src/components/Item-Card.vue +++ b/web/src/components/Item-Card.vue @@ -18,31 +18,37 @@ -
-
+ +
-

- Você realmente deseja excluir este item do AcheiUnB? -

- -
- - +
+

+ Você realmente deseja excluir este item do AcheiUnB? +

+ +
+ + +
-
+
@@ -66,7 +72,7 @@