commit 13d0b7169a130e1cea38fde3006b0b3ef8337c68 Author: Sarfaraz Date: Sat Dec 27 15:37:18 2025 +0000 Initial commit - build.valuecurve.co static site diff --git a/_app/env.js b/_app/env.js new file mode 100644 index 0000000..f5427da --- /dev/null +++ b/_app/env.js @@ -0,0 +1 @@ +export const env={} \ No newline at end of file diff --git a/_app/immutable/assets/0.Bj4WkHXk.css b/_app/immutable/assets/0.Bj4WkHXk.css new file mode 100644 index 0000000..fa8c40f --- /dev/null +++ b/_app/immutable/assets/0.Bj4WkHXk.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";*,: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:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;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}html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.card-hover:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.gradient-text{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e88e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 136 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1565c0 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-20{bottom:5rem}.left-0{left:0}.left-10{left:2.5rem}.right-0{right:0}.right-10{right:2.5rem}.top-0{top:0}.top-20{top:5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-72{height:18rem}.h-8{height:2rem}.max-h-\[300px\]{max-height:300px}.min-h-\[150px\]{min-height:150px}.min-h-\[80vh\]{min-height:80vh}.min-h-screen{min-height:100vh}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-72{width:18rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-8{--tw-translate-y: 2rem;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-pointer{cursor:pointer}.resize-none{resize: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-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * 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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.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-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / 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-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-primary-600{--tw-border-opacity: 1;border-color:rgb(30 136 229 / var(--tw-border-opacity, 1))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / 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-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(144 202 249 / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(30 136 229 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/90{background-color:#ffffffe6}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from: #f8fafc var(--tw-gradient-from-position);--tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-blue-50{--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eff6ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-50{--tw-gradient-to: #f9fafb var(--tw-gradient-to-position)}.to-indigo-50{--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.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-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-16{padding-bottom:4rem}.pt-2\.5{padding-top:.625rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / 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-600{--tw-text-opacity: 1;color:rgb(75 85 99 / 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-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-30{opacity:.3}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-\[0\.03\]{opacity:.03}.mix-blend-multiply{mix-blend-mode:multiply}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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-primary-500\/25{--tw-shadow-color: rgb(33 150 243 / .25);--tw-shadow: var(--tw-shadow-colored)}.blur-3xl{--tw-blur: blur(64px);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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.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-md{--tw-backdrop-blur: blur(12px);-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-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-shadow{transition-property:box-shadow;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-1000{transition-duration:1s}.duration-300{transition-duration:.3s}.hover\:border-primary-400:hover{--tw-border-opacity: 1;border-color:rgb(66 165 245 / var(--tw-border-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / 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-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(25 118 210 / var(--tw-bg-opacity, 1))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-primary-700:hover{--tw-text-opacity: 1;color:rgb(25 118 210 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-primary-500\/30:hover{--tw-shadow-color: rgb(33 150 243 / .3);--tw-shadow: var(--tw-shadow-colored)}.focus\:border-primary-500:focus{--tw-border-opacity: 1;border-color:rgb(33 150 243 / var(--tw-border-opacity, 1))}.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-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(33 150 243 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-110{--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))}.group:hover .group-hover\:text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:inline{display:inline}.sm\:flex-row{flex-direction:row}}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-7xl{font-size:4.5rem;line-height:1}}@media(min-width:1024px){.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}} diff --git a/_app/immutable/assets/0.CisfWgN0.css b/_app/immutable/assets/0.CisfWgN0.css new file mode 100644 index 0000000..a987306 --- /dev/null +++ b/_app/immutable/assets/0.CisfWgN0.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";*,: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:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;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}html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.card-hover:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.gradient-text{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e88e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 136 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1565c0 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-20{bottom:5rem}.left-0{left:0}.left-10{left:2.5rem}.right-0{right:0}.right-10{right:2.5rem}.top-0{top:0}.top-20{top:5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-72{height:18rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[500px\]{height:500px}.h-full{height:100%}.max-h-\[300px\]{max-height:300px}.min-h-\[150px\]{min-height:150px}.min-h-\[80vh\]{min-height:80vh}.min-h-screen{min-height:100vh}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-72{width:18rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-8{--tw-translate-y: 2rem;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}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.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-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.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-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * 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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.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-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / 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-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-primary-600{--tw-border-opacity: 1;border-color:rgb(30 136 229 / var(--tw-border-opacity, 1))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / 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-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(144 202 249 / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(30 136 229 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/90{background-color:#ffffffe6}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from: #f8fafc var(--tw-gradient-from-position);--tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-blue-50{--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eff6ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-50{--tw-gradient-to: #f9fafb var(--tw-gradient-to-position)}.to-indigo-50{--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.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-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-16{padding-bottom:4rem}.pt-2\.5{padding-top:.625rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / 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-600{--tw-text-opacity: 1;color:rgb(75 85 99 / 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-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}.text-primary-700{--tw-text-opacity: 1;color:rgb(25 118 210 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.accent-primary-600{accent-color:#1e88e5}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-\[0\.03\]{opacity:.03}.mix-blend-multiply{mix-blend-mode:multiply}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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-primary-500\/25{--tw-shadow-color: rgb(33 150 243 / .25);--tw-shadow: var(--tw-shadow-colored)}.blur-3xl{--tw-blur: blur(64px);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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.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-md{--tw-backdrop-blur: blur(12px);-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-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-shadow{transition-property:box-shadow;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-1000{transition-duration:1s}.duration-300{transition-duration:.3s}.hover\:border-primary-400:hover{--tw-border-opacity: 1;border-color:rgb(66 165 245 / var(--tw-border-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / 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-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-200:hover{--tw-bg-opacity: 1;background-color:rgb(144 202 249 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(25 118 210 / var(--tw-bg-opacity, 1))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-primary-700:hover{--tw-text-opacity: 1;color:rgb(25 118 210 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-primary-500\/30:hover{--tw-shadow-color: rgb(33 150 243 / .3);--tw-shadow: var(--tw-shadow-colored)}.focus\:border-primary-500:focus{--tw-border-opacity: 1;border-color:rgb(33 150 243 / var(--tw-border-opacity, 1))}.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-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(33 150 243 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-110{--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))}.group:hover .group-hover\:text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:inline{display:inline}.sm\:flex-row{flex-direction:row}}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-7xl{font-size:4.5rem;line-height:1}}@media(min-width:1024px){.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}} diff --git a/_app/immutable/assets/0.DxgpWi6j.css b/_app/immutable/assets/0.DxgpWi6j.css new file mode 100644 index 0000000..c9876be --- /dev/null +++ b/_app/immutable/assets/0.DxgpWi6j.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";*,: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:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;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}html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.card-hover{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.card-hover:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.gradient-text{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e88e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 136 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1565c0 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-20{bottom:5rem}.left-0{left:0}.left-10{left:2.5rem}.right-0{right:0}.right-10{right:2.5rem}.top-0{top:0}.top-20{top:5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[500px\]{height:500px}.h-full{height:100%}.max-h-\[300px\]{max-height:300px}.min-h-\[150px\]{min-height:150px}.min-h-\[80vh\]{min-height:80vh}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-72{width:18rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-8{--tw-translate-y: 2rem;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}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.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-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * 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-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * 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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.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-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / 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-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-primary-600{--tw-border-opacity: 1;border-color:rgb(30 136 229 / var(--tw-border-opacity, 1))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / 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-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(144 202 249 / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(30 136 229 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/90{background-color:#ffffffe6}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from: #f8fafc var(--tw-gradient-from-position);--tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-blue-50{--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eff6ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-50{--tw-gradient-to: #f9fafb var(--tw-gradient-to-position)}.to-indigo-50{--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.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-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-16{padding-bottom:4rem}.pt-2{padding-top:.5rem}.pt-2\.5{padding-top:.625rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / 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-600{--tw-text-opacity: 1;color:rgb(75 85 99 / 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-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}.text-primary-700{--tw-text-opacity: 1;color:rgb(25 118 210 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.accent-primary-600{accent-color:#1e88e5}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-\[0\.03\]{opacity:.03}.mix-blend-multiply{mix-blend-mode:multiply}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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-primary-500\/25{--tw-shadow-color: rgb(33 150 243 / .25);--tw-shadow: var(--tw-shadow-colored)}.blur-3xl{--tw-blur: blur(64px);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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.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-md{--tw-backdrop-blur: blur(12px);-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-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-shadow{transition-property:box-shadow;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-1000{transition-duration:1s}.duration-300{transition-duration:.3s}.hover\:border-primary-400:hover{--tw-border-opacity: 1;border-color:rgb(66 165 245 / var(--tw-border-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / 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-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-200:hover{--tw-bg-opacity: 1;background-color:rgb(144 202 249 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(25 118 210 / var(--tw-bg-opacity, 1))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-primary-700:hover{--tw-text-opacity: 1;color:rgb(25 118 210 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-primary-500\/30:hover{--tw-shadow-color: rgb(33 150 243 / .3);--tw-shadow: var(--tw-shadow-colored)}.focus\:border-primary-500:focus{--tw-border-opacity: 1;border-color:rgb(33 150 243 / var(--tw-border-opacity, 1))}.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-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(33 150 243 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-110{--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))}.group:hover .group-hover\:text-primary-600{--tw-text-opacity: 1;color:rgb(30 136 229 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:inline{display:inline}.sm\:flex-row{flex-direction:row}}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-7xl{font-size:4.5rem;line-height:1}}@media(min-width:1024px){.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:col-span-4{grid-column:span 4 / span 4}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}} diff --git a/_app/immutable/chunks/-GZLqLPj.js b/_app/immutable/chunks/-GZLqLPj.js new file mode 100644 index 0000000..317eb5e --- /dev/null +++ b/_app/immutable/chunks/-GZLqLPj.js @@ -0,0 +1 @@ +import{c as N,a as p,f as I}from"./Bh-96fzJ.js";import{k as U,d as e,r as t,n as w,s as x,t as k}from"./mO2F3zLa.js";import{s as n}from"./eH5yZvH4.js";import{i as V}from"./tuD4s8Oc.js";import{a as b,s as B}from"./3CBxeiL8.js";import{p as C}from"./ECMuNRdJ.js";var D=I('
Coming Soon

'),Z=I('

');function K(T,r){let j=C(r,"status",3,"live"),c=C(r,"external",3,!1);function A(s){switch(s.toUpperCase()){case"INTERACTIVE":return"bg-purple-100 text-purple-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"VISUALIZATION":return"bg-green-100 text-green-700";case"ML":return"bg-orange-100 text-orange-700";case"EDA":return"bg-teal-100 text-teal-700";case"TOOL":return"bg-indigo-100 text-indigo-700";default:return"bg-gray-100 text-gray-700"}}var _=N(),S=U(_);{var E=s=>{var a=D(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l),w(2),t(i);var o=x(i,2),g=e(o,!0);t(o);var d=x(o,2),m=e(d,!0);t(d),t(a),k(()=>{n(u,r.icon),n(g,r.title),n(m,r.description)}),p(s,a)},O=s=>{var a=Z(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l);var o=x(l,2),g=e(o,!0);t(o),t(i);var d=x(i,2),m=e(d,!0);t(d);var f=x(d,2),L=e(f,!0);t(f);var y=x(f,2),h=e(y),R=e(h,!0);t(h),w(2),t(y),t(a),k(M=>{b(a,"href",r.href),b(a,"target",c()?"_blank":void 0),b(a,"rel",c()?"noopener noreferrer":void 0),n(u,r.icon),B(o,1,`text-xs font-medium px-2 py-1 rounded-full ${M??""}`),n(g,r.category),n(m,r.title),n(L,r.description),n(R,c()?"Open":"Explore")},[()=>A(r.category)]),p(s,a)};V(S,s=>{j()==="coming-soon"?s(E):s(O,!1)})}p(T,_)}export{K as R}; diff --git a/_app/immutable/chunks/-tUHYaTb.js b/_app/immutable/chunks/-tUHYaTb.js new file mode 100644 index 0000000..e8de7a1 --- /dev/null +++ b/_app/immutable/chunks/-tUHYaTb.js @@ -0,0 +1 @@ +import{F as S,G as T,P as D,g as P,H as m,I as B,J as M,i as N,K as U,L as Y,M as j,N as x,b as G,a as K,O as $,Q as q,R as z,S as R,T as w,U as d}from"./s1dcSIVc.js";let p=!1;function C(r){var n=p;try{return p=!1,[r(),p]}finally{p=n}}const F={get(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e)return e[n]}},set(r,n,t){let e=r.props.length;for(;e--;){let i=r.props[e];d(i)&&(i=i());const f=S(i,n);if(f&&f.set)return f.set(t),!0}return!1},getOwnPropertyDescriptor(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e){const i=S(e,n);return i&&!i.configurable&&(i.configurable=!0),i}}},has(r,n){if(n===R||n===w)return!1;for(let t of r.props)if(d(t)&&(t=t()),t!=null&&n in t)return!0;return!1},ownKeys(r){const n=[];for(let t of r.props)if(d(t)&&(t=t()),!!t){for(const e in t)n.includes(e)||n.push(e);for(const e of Object.getOwnPropertySymbols(t))n.includes(e)||n.push(e)}return n}};function J(...r){return new Proxy({props:r},F)}function Q(r,n,t,e){var O;var i=!K||(t&$)!==0,f=(t&x)!==0,y=(t&z)!==0,a=e,v=!0,b=()=>(v&&(v=!1,a=y?G(e):e),a),l;if(f){var E=R in r||w in r;l=((O=S(r,n))==null?void 0:O.set)??(E&&n in r?s=>r[n]=s:void 0)}var o,h=!1;f?[o,h]=C(()=>r[n]):o=r[n],o===void 0&&e!==void 0&&(o=b(),l&&(i&&T(),l(o)));var u;if(i?u=()=>{var s=r[n];return s===void 0?b():(v=!0,s)}:u=()=>{var s=r[n];return s!==void 0&&(a=void 0),s===void 0?a:s},i&&(t&D)===0)return u;if(l){var A=r.$$legacy;return(function(s,c){return arguments.length>0?((!i||!c||A||h)&&l(c?u():s),s):u()})}var g=!1,_=((t&q)!==0?m:B)(()=>(g=!1,u()));f&&P(_);var L=Y;return(function(s,c){if(arguments.length>0){const I=c?P(_):i&&f?M(s):s;return N(_,I),g=!0,a!==void 0&&(a=I),s}return U&&g||(L.f&j)!==0?_.v:P(_)})}export{Q as p,J as s}; diff --git a/_app/immutable/chunks/2Jbz9SS3.js b/_app/immutable/chunks/2Jbz9SS3.js new file mode 100644 index 0000000..9176519 --- /dev/null +++ b/_app/immutable/chunks/2Jbz9SS3.js @@ -0,0 +1 @@ +import{m as s,f as o,o as c,q as b,v as m,w as h,x as v,y}from"./s1dcSIVc.js";function _(e,r,f=!1){if(e.multiple){if(r==null)return;if(!b(r))return m();for(var a of e.options)a.selected=r.includes(i(a));return}for(a of e.options){var t=i(a);if(h(t,r)){a.selected=!0;return}}(!f||r!==void 0)&&(e.selectedIndex=-1)}function q(e){var r=new MutationObserver(()=>{_(e,e.__value)});r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),c(()=>{r.disconnect()})}function p(e,r,f=r){var a=new WeakSet,t=!0;s(e,"change",u=>{var l=u?"[selected]":":checked",n;if(e.multiple)n=[].map.call(e.querySelectorAll(l),i);else{var d=e.querySelector(l)??e.querySelector("option:not([disabled])");n=d&&i(d)}f(n),v!==null&&a.add(v)}),o(()=>{var u=r();if(e===document.activeElement){var l=y??v;if(a.has(l))return}if(_(e,u,t),t&&u===void 0){var n=e.querySelector(":checked");n!==null&&(u=i(n),f(u))}e.__value=u,t=!1}),q(e)}function i(e){return"__value"in e?e.__value:e.value}export{p as b}; diff --git a/_app/immutable/chunks/3CBxeiL8.js b/_app/immutable/chunks/3CBxeiL8.js new file mode 100644 index 0000000..5609cf0 --- /dev/null +++ b/_app/immutable/chunks/3CBxeiL8.js @@ -0,0 +1 @@ +import{Z as H,a3 as ie,aP as te,a9 as y,F as m,af as ne,a4 as pe,g as z,K as ge,a6 as he,a7 as me,a8 as Q,aa as R,a0 as L,ao as le,aL as _e,av as j,A as Ee,aQ as b,_ as B,a2 as xe,am as ee,aO as we,aJ as X,x as Ae,aR as be,aS as Ne,aT as Te,W as oe,Y as ue,aU as V,q as ve,aF as U,aV as Se,aI as Ce,X as Ie,aW as ke,aX as Me,aY as Le,aZ as Oe,a_ as ye,a$ as Re,p as De,u as Fe,i as He,t as Ve,e as Ye,j as ze}from"./mO2F3zLa.js";import{f as ce,a as de}from"./Bh-96fzJ.js";import"./EiYUD4Mm.js";function rr(e,r){return r}function Be(e,r,a){for(var i=[],t=r.length,f,l=r.length,c=0;c{if(f){if(f.pending.delete(d),f.done.add(d),f.pending.size===0){var u=e.outrogroups;q(X(f.done)),u.delete(f),u.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=i.length===0&&a!==null;if(o){var p=a,n=p.parentNode;Ce(n),n.append(p),e.items.clear()}q(r,!o)}else f={pending:new Set(r),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(f)}function q(e,r=!0){for(var a=0;a{var v=a();return Ae(v)?v:v==null?[]:X(v)}),u,g=!0;function x(){s.fallback=n,Ue(s,u,l,r,i),n!==null&&(u.length===0?(n.f&b)===0?oe(n):(n.f^=b,O(n,null,l)):ue(n,()=>{n=null}))}var w=ie(()=>{u=z(d);var v=u.length;let C=!1;if(m){var I=he(l)===me;I!==(v===0)&&(l=Q(),y(l),R(!1),C=!0)}for(var E=new Set,T=Ee,k=xe(),h=0;hf(l)):(n=B(()=>f(re??(re=H()))),n.f|=b)),m&&v>0&&y(Q()),!g)if(k){for(const[D,F]of c)E.has(D)||T.skipped_effects.add(F.e);T.oncommit(x),T.ondiscard(()=>{})}else x();C&&R(!0),z(d)}),s={effect:w,items:c,outrogroups:null,fallback:n};g=!1,m&&(l=L)}function Ue(e,r,a,i,t){var _,D,F,$,G,K,P,W,Z;var f=(i&Se)!==0,l=r.length,c=e.items,o=e.effect.first,p,n=null,d,u=[],g=[],x,w,s,v;if(f)for(v=0;v0){var M=(i&te)!==0&&l===0?a:null;if(f){for(v=0;v{var A,J;if(d!==void 0)for(s of d)(J=(A=s.nodes)==null?void 0:A.a)==null||J.apply()})}function qe(e,r,a,i,t,f,l,c){var o=(l&be)!==0?(l&Ne)===0?we(a,!1,!1):ee(a):null,p=(l&Te)!==0?ee(t):null;return{v:o,i:p,e:B(()=>(f(r,o??a,p??t,c),()=>{e.delete(i)}))}}function O(e,r,a){if(e.nodes)for(var i=e.nodes.start,t=e.nodes.end,f=r&&(r.f&b)===0?r.nodes.start:a;i!==null;){var l=U(i);if(f.before(i),i===t)return;i=l}}function N(e,r,a){r===null?e.effect.first=a:r.next=a,a===null?e.effect.last=r:a.prev=r}function sr(e,r){let a=null,i=m;var t;if(m){a=L;for(var f=ne(document.head);f!==null&&(f.nodeType!==le||f.data!==e);)f=U(f);if(f===null)R(!1);else{var l=U(f);f.remove(),y(l)}}m||(t=document.head.appendChild(H()));try{ie(()=>r(t),ke)}finally{i&&(R(!0),y(a))}}function Xe(e,r,a){var i=e==null?"":""+e;return i===""?null:i}function ae(e,r=!1){var a=r?" !important;":";",i="";for(var t in e){var f=e[t];f!=null&&f!==""&&(i+=" "+t+": "+f+a)}return i}function Y(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function fr(e,r){if(r){var a="",i,t;if(Array.isArray(r)?(i=r[0],t=r[1]):i=r,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var f=!1,l=0,c=!1,o=[];i&&o.push(...Object.keys(i).map(Y)),t&&o.push(...Object.keys(t).map(Y));var p=0,n=-1;const w=e.length;for(var d=0;d{if(!r){if(r=!0,e.hasAttribute("value")){var i=e.value;se(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var t=e.checked;se(e,"checked",null),e.checked=t}}};e.__on_r=a,ve(a),Me()}}function se(e,r,a,i){var t=Pe(e);m&&(t[r]=e.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&e.nodeName==="LINK")||t[r]!==(t[r]=a)&&(r==="loading"&&(e[Le]=a),a==null?e.removeAttribute(r):typeof a!="string"&&We(e).includes(r)?e[r]=a:e.setAttribute(r,a))}function Pe(e){return e.__attributes??(e.__attributes={[Ge]:e.nodeName.includes("-"),[Ke]:e.namespaceURI===Oe})}var fe=new Map;function We(e){var r=e.getAttribute("is")||e.nodeName,a=fe.get(r);if(a)return a;fe.set(r,a=[]);for(var i,t=e,f=Element.prototype;f!==t;){i=Re(t);for(var l in i)i[l].set&&a.push(l);t=ye(t)}return a}var Ze=ce('
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
');function tr(e,r){De(r,!0);let a=ze(!1);Fe(()=>{const t=()=>{He(a,window.scrollY>20)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)});var i=Ze();Ve(()=>$e(i,1,`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${z(a)?"bg-white/90 backdrop-blur-md shadow-sm":"bg-transparent"}`)),de(e,i),Ye()}var Je=ce('
ValueCurve Build ValueCurve

Data science guides and tools for builders.

');function nr(e){var r=Je();de(e,r)}export{nr as F,tr as N,se as a,ar as e,sr as h,rr as i,ir as r,$e as s,fr as t}; diff --git a/_app/immutable/chunks/B1OWdr8I.js b/_app/immutable/chunks/B1OWdr8I.js new file mode 100644 index 0000000..9248219 --- /dev/null +++ b/_app/immutable/chunks/B1OWdr8I.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_1vo6pkn)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_1vo6pkn)==null?void 0:fe.assets)??L??"",Ze="1766775361612",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_1vo6pkn)!=null&&s.data&&globalThis.__sveltekit_1vo6pkn.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/B6leOVDb.js b/_app/immutable/chunks/B6leOVDb.js new file mode 100644 index 0000000..6b6970b --- /dev/null +++ b/_app/immutable/chunks/B6leOVDb.js @@ -0,0 +1 @@ +var M=Object.defineProperty;var y=a=>{throw TypeError(a)};var R=(a,e,t)=>e in a?M(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var A=(a,e,t)=>R(a,typeof e!="symbol"?e+"":e,t),T=(a,e,t)=>e.has(a)||y("Cannot "+t);var s=(a,e,t)=>(T(a,e,"read from private field"),t?t.call(a):e.get(a)),u=(a,e,t)=>e.has(a)?y("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,t),w=(a,e,t,i)=>(T(a,e,"write to private field"),i?i.call(a,t):e.set(a,t),t);import{x as E,V as S,W as k,X as N,Y as x,Z as D,D as g,_ as B,a0 as C,a1 as Y,a2 as H,a3 as I,a4 as L,a5 as O,a6 as P,a7 as V,a8 as W,a9 as F}from"./s1dcSIVc.js";var d,l,c,_,v,m,b;class X{constructor(e,t=!0){A(this,"anchor");u(this,d,new Map);u(this,l,new Map);u(this,c,new Map);u(this,_,new Set);u(this,v,!0);u(this,m,()=>{var e=E;if(s(this,d).has(e)){var t=s(this,d).get(e),i=s(this,l).get(t);if(i)S(i),s(this,_).delete(t);else{var n=s(this,c).get(t);n&&(s(this,l).set(t,n.effect),s(this,c).delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[f,r]of s(this,d)){if(s(this,d).delete(f),f===e)break;const h=s(this,c).get(r);h&&(k(h.effect),s(this,c).delete(r))}for(const[f,r]of s(this,l)){if(f===t||s(this,_).has(f))continue;const h=()=>{if(Array.from(s(this,d).values()).includes(f)){var p=document.createDocumentFragment();C(r,p),p.append(x()),s(this,c).set(f,{effect:r,fragment:p})}else k(r);s(this,_).delete(f),s(this,l).delete(f)};s(this,v)||!i?(s(this,_).add(f),N(r,h,!1)):h()}}});u(this,b,e=>{s(this,d).delete(e);const t=Array.from(s(this,d).values());for(const[i,n]of s(this,c))t.includes(i)||(k(n.effect),s(this,c).delete(i))});this.anchor=e,w(this,v,t)}ensure(e,t){var i=E,n=Y();if(t&&!s(this,l).has(e)&&!s(this,c).has(e))if(n){var f=document.createDocumentFragment(),r=x();f.append(r),s(this,c).set(e,{effect:D(()=>t(r)),fragment:f})}else s(this,l).set(e,D(()=>t(this.anchor)));if(s(this,d).set(i,e),n){for(const[h,o]of s(this,l))h===e?i.skipped_effects.delete(o):i.skipped_effects.add(o);for(const[h,o]of s(this,c))h===e?i.skipped_effects.delete(o.effect):i.skipped_effects.add(o.effect);i.oncommit(s(this,m)),i.ondiscard(s(this,b))}else g&&(this.anchor=B),s(this,m).call(this)}}d=new WeakMap,l=new WeakMap,c=new WeakMap,_=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;function q(a,e,t=!1){g&&I();var i=new X(a),n=t?L:0;function f(r,h){if(g){const p=O(a)===P;if(r===p){var o=V();W(o),i.anchor=o,F(!1),i.ensure(r,h),F(!0);return}}i.ensure(r,h)}H(()=>{var r=!1;e((h,o=!0)=>{r=!0,f(o,h)}),r||f(!1,null)},n)}export{X as B,q as i}; diff --git a/_app/immutable/chunks/BGpwVgpP.js b/_app/immutable/chunks/BGpwVgpP.js new file mode 100644 index 0000000..6d1c2e6 --- /dev/null +++ b/_app/immutable/chunks/BGpwVgpP.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_tbamu2)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_tbamu2)==null?void 0:fe.assets)??L??"",Ze="1766779742256",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_tbamu2)!=null&&s.data&&globalThis.__sveltekit_tbamu2.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/BNtt_8Z9.js b/_app/immutable/chunks/BNtt_8Z9.js new file mode 100644 index 0000000..cf75f61 --- /dev/null +++ b/_app/immutable/chunks/BNtt_8Z9.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_1fk3rat)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_1fk3rat)==null?void 0:fe.assets)??L??"",Ze="1766775587810",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_1fk3rat)!=null&&s.data&&globalThis.__sveltekit_1fk3rat.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/Bh-96fzJ.js b/_app/immutable/chunks/Bh-96fzJ.js new file mode 100644 index 0000000..a603881 --- /dev/null +++ b/_app/immutable/chunks/Bh-96fzJ.js @@ -0,0 +1 @@ +import{Z as c,af as d,ag as g,M as v,ah as T,ai as N,F as f,a0 as o,aj as w,a4 as y,ak as C,a9 as F}from"./mO2F3zLa.js";function p(r){var a=document.createElement("template");return a.innerHTML=r.replaceAll("",""),a.content}function n(r,a){var e=v;e.nodes===null&&(e.nodes={start:r,end:a,a:null,t:null})}function D(r,a){var e=(a&T)!==0,_=(a&N)!==0,t,i=!r.startsWith("");return()=>{if(f)return n(o,null),o;t===void 0&&(t=p(i?r:""+r),e||(t=d(t)));var s=_||g?document.importNode(t,!0):t.cloneNode(!0);if(e){var l=d(s),u=s.lastChild;n(l,u)}else n(s,s);return s}}function M(r,a,e="svg"){var _=!r.startsWith(""),t=`<${e}>${_?r:""+r}`,i;return()=>{if(f)return n(o,null),o;if(!i){var s=p(t),l=d(s);for(i=document.createDocumentFragment();d(l);)i.appendChild(d(l))}var u=i.cloneNode(!0);{var h=d(u),E=u.lastChild;n(h,E)}return u}}function L(r,a){return M(r,a,"svg")}function O(r=""){if(!f){var a=c(r+"");return n(a,a),a}var e=o;return e.nodeType!==C&&(e.before(e=c()),F(e)),n(e,e),e}function P(){if(f)return n(o,null),o;var r=document.createDocumentFragment(),a=document.createComment(""),e=c();return r.append(a,e),n(a,e),r}function R(r,a){if(f){var e=v;((e.f&w)===0||e.nodes.end===null)&&(e.nodes.end=o),y();return}r!==null&&r.before(a)}const x="5";var m;typeof window<"u"&&((m=window.__svelte??(window.__svelte={})).v??(m.v=new Set)).add(x);export{R as a,L as b,P as c,n as d,D as f,O as t}; diff --git a/_app/immutable/chunks/BnDRwiy7.js b/_app/immutable/chunks/BnDRwiy7.js new file mode 100644 index 0000000..8dc46e7 --- /dev/null +++ b/_app/immutable/chunks/BnDRwiy7.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_p7c124)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_p7c124)==null?void 0:fe.assets)??L??"",Ze="1766779006505",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_p7c124)!=null&&s.data&&globalThis.__sveltekit_p7c124.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/BtxxubAD.js b/_app/immutable/chunks/BtxxubAD.js new file mode 100644 index 0000000..3ccb3ad --- /dev/null +++ b/_app/immutable/chunks/BtxxubAD.js @@ -0,0 +1 @@ +import{c as N,a as p,f as I}from"./CkL4Pxt3.js";import{k as U,d as e,r as t,n as w,s as x,t as k}from"./s1dcSIVc.js";import{s as n}from"./CPMpaYR7.js";import{i as V}from"./B6leOVDb.js";import{a as b,s as B}from"./DQsFLTCT.js";import{p as C}from"./-tUHYaTb.js";var D=I('
Coming Soon

'),Z=I('

');function K(T,r){let j=C(r,"status",3,"live"),c=C(r,"external",3,!1);function A(s){switch(s.toUpperCase()){case"INTERACTIVE":return"bg-purple-100 text-purple-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"VISUALIZATION":return"bg-green-100 text-green-700";case"ML":return"bg-orange-100 text-orange-700";case"EDA":return"bg-teal-100 text-teal-700";case"TOOL":return"bg-indigo-100 text-indigo-700";default:return"bg-gray-100 text-gray-700"}}var _=N(),S=U(_);{var E=s=>{var a=D(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l),w(2),t(i);var o=x(i,2),g=e(o,!0);t(o);var d=x(o,2),m=e(d,!0);t(d),t(a),k(()=>{n(u,r.icon),n(g,r.title),n(m,r.description)}),p(s,a)},O=s=>{var a=Z(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l);var o=x(l,2),g=e(o,!0);t(o),t(i);var d=x(i,2),m=e(d,!0);t(d);var f=x(d,2),L=e(f,!0);t(f);var y=x(f,2),h=e(y),R=e(h,!0);t(h),w(2),t(y),t(a),k(M=>{b(a,"href",r.href),b(a,"target",c()?"_blank":void 0),b(a,"rel",c()?"noopener noreferrer":void 0),n(u,r.icon),B(o,1,`text-xs font-medium px-2 py-1 rounded-full ${M??""}`),n(g,r.category),n(m,r.title),n(L,r.description),n(R,c()?"Open":"Explore")},[()=>A(r.category)]),p(s,a)};V(S,s=>{j()==="coming-soon"?s(E):s(O,!1)})}p(T,_)}export{K as R}; diff --git a/_app/immutable/chunks/C0eu8ep9.js b/_app/immutable/chunks/C0eu8ep9.js new file mode 100644 index 0000000..2ccd275 --- /dev/null +++ b/_app/immutable/chunks/C0eu8ep9.js @@ -0,0 +1 @@ +import{l as o,u as a,c as t,a as c,b as u}from"./s1dcSIVc.js";function f(e){t===null&&o(),c&&t.l!==null?l(t).m.push(e):a(()=>{const n=u(e);if(typeof n=="function")return n})}function l(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{f as o}; diff --git a/_app/immutable/chunks/CJrErHKE.js b/_app/immutable/chunks/CJrErHKE.js new file mode 100644 index 0000000..6e2d26a --- /dev/null +++ b/_app/immutable/chunks/CJrErHKE.js @@ -0,0 +1 @@ +import{v as s,f as o,w as c,x as b,y as m,z as h,A as v,B as y}from"./mO2F3zLa.js";function _(e,r,f=!1){if(e.multiple){if(r==null)return;if(!b(r))return m();for(var a of e.options)a.selected=r.includes(i(a));return}for(a of e.options){var t=i(a);if(h(t,r)){a.selected=!0;return}}(!f||r!==void 0)&&(e.selectedIndex=-1)}function q(e){var r=new MutationObserver(()=>{_(e,e.__value)});r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),c(()=>{r.disconnect()})}function p(e,r,f=r){var a=new WeakSet,t=!0;s(e,"change",u=>{var l=u?"[selected]":":checked",n;if(e.multiple)n=[].map.call(e.querySelectorAll(l),i);else{var d=e.querySelector(l)??e.querySelector("option:not([disabled])");n=d&&i(d)}f(n),v!==null&&a.add(v)}),o(()=>{var u=r();if(e===document.activeElement){var l=y??v;if(a.has(l))return}if(_(e,u,t),t&&u===void 0){var n=e.querySelector(":checked");n!==null&&(u=i(n),f(u))}e.__value=u,t=!1}),q(e)}function i(e){return"__value"in e?e.__value:e.value}export{p as b}; diff --git a/_app/immutable/chunks/CPMpaYR7.js b/_app/immutable/chunks/CPMpaYR7.js new file mode 100644 index 0000000..9eb4edc --- /dev/null +++ b/_app/immutable/chunks/CPMpaYR7.js @@ -0,0 +1,2 @@ +var Rt=Object.defineProperty;var ft=e=>{throw TypeError(e)};var Nt=(e,t,i)=>t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var ut=(e,t,i)=>Nt(e,typeof t!="symbol"?t+"":t,i),X=(e,t,i)=>t.has(e)||ft("Cannot "+i);var s=(e,t,i)=>(X(e,t,"read from private field"),i?i.call(e):t.get(e)),l=(e,t,i)=>t.has(e)?ft("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),a=(e,t,i,n)=>(X(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),_=(e,t,i)=>(X(e,t,"access private method"),i);import{ak as St,g as gt,al as vt,C as Dt,b as kt,am as ct,an as ht,_ as L,D as O,L as V,a2 as At,a3 as Lt,ao as ot,a6 as Ot,Z as A,ap as x,X as Z,Y as yt,aq as G,ar as I,as as dt,at as Ft,au as tt,c as Et,a0 as Ct,av as Mt,W as Q,a8 as J,n as Bt,a7 as Ht,aw as _t,ax as It,a4 as Yt,ay as Pt,az as Vt,aA as Wt,aB as qt,o as xt,aC as $t,aD as et,ae as jt,aE as zt,aF as Gt,aG as st,a9 as $,aH as Jt,aI as Kt,aJ as Ut,aK as Xt,p as Zt,aL as Qt,aM as te,e as ee}from"./s1dcSIVc.js";import{d as se}from"./CkL4Pxt3.js";function ie(e){let t=0,i=vt(0),n;return()=>{St()&&(gt(i),Dt(()=>(t===0&&(n=kt(()=>e(()=>ct(i)))),t+=1,()=>{ht(()=>{t-=1,t===0&&(n==null||n(),n=void 0,ct(i))})})))}}var re=Yt|Pt|Vt;function ae(e,t,i){new ne(e,t,i)}var g,p,W,b,F,w,v,d,m,N,S,C,D,M,k,K,o,bt,wt,it,j,z,rt;class ne{constructor(t,i,n){l(this,o);ut(this,"parent");l(this,g,!1);l(this,p);l(this,W,O?L:null);l(this,b);l(this,F);l(this,w);l(this,v,null);l(this,d,null);l(this,m,null);l(this,N,null);l(this,S,null);l(this,C,0);l(this,D,0);l(this,M,!1);l(this,k,null);l(this,K,ie(()=>(a(this,k,vt(s(this,C))),()=>{a(this,k,null)})));a(this,p,t),a(this,b,i),a(this,F,n),this.parent=V.b,a(this,g,!!s(this,b).pending),a(this,w,At(()=>{if(V.b=this,O){const r=s(this,W);Lt(),r.nodeType===ot&&r.data===Ot?_(this,o,wt).call(this):_(this,o,bt).call(this)}else{var h=_(this,o,it).call(this);try{a(this,v,A(()=>n(h)))}catch(r){this.error(r)}s(this,D)>0?_(this,o,z).call(this):a(this,g,!1)}return()=>{var r;(r=s(this,S))==null||r.remove()}},re)),O&&a(this,p,L)}is_pending(){return s(this,g)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!s(this,b).pending}update_pending_count(t){_(this,o,rt).call(this,t),a(this,C,s(this,C)+t),s(this,k)&&Mt(s(this,k),s(this,C))}get_effect_pending(){return s(this,K).call(this),gt(s(this,k))}error(t){var i=s(this,b).onerror;let n=s(this,b).failed;if(s(this,M)||!i&&!n)throw t;s(this,v)&&(Q(s(this,v)),a(this,v,null)),s(this,d)&&(Q(s(this,d)),a(this,d,null)),s(this,m)&&(Q(s(this,m)),a(this,m,null)),O&&(J(s(this,W)),Bt(),J(Ht()));var h=!1,r=!1;const f=()=>{if(h){Wt();return}h=!0,r&&It(),x.ensure(),a(this,C,0),s(this,m)!==null&&Z(s(this,m),()=>{a(this,m,null)}),a(this,g,this.has_pending_snippet()),a(this,v,_(this,o,j).call(this,()=>(a(this,M,!1),A(()=>s(this,F).call(this,s(this,p)))))),s(this,D)>0?_(this,o,z).call(this):a(this,g,!1)};var E=tt;try{I(null),r=!0,i==null||i(t,f),r=!1}catch(y){_t(y,s(this,w)&&s(this,w).parent)}finally{I(E)}n&&ht(()=>{a(this,m,_(this,o,j).call(this,()=>{x.ensure(),a(this,M,!0);try{return A(()=>{n(s(this,p),()=>t,()=>f)})}catch(y){return _t(y,s(this,w).parent),null}finally{a(this,M,!1)}}))})}}g=new WeakMap,p=new WeakMap,W=new WeakMap,b=new WeakMap,F=new WeakMap,w=new WeakMap,v=new WeakMap,d=new WeakMap,m=new WeakMap,N=new WeakMap,S=new WeakMap,C=new WeakMap,D=new WeakMap,M=new WeakMap,k=new WeakMap,K=new WeakMap,o=new WeakSet,bt=function(){try{a(this,v,A(()=>s(this,F).call(this,s(this,p))))}catch(t){this.error(t)}a(this,g,!1)},wt=function(){const t=s(this,b).pending;t&&(a(this,d,A(()=>t(s(this,p)))),x.enqueue(()=>{var i=_(this,o,it).call(this);a(this,v,_(this,o,j).call(this,()=>(x.ensure(),A(()=>s(this,F).call(this,i))))),s(this,D)>0?_(this,o,z).call(this):(Z(s(this,d),()=>{a(this,d,null)}),a(this,g,!1))}))},it=function(){var t=s(this,p);return s(this,g)&&(a(this,S,yt()),s(this,p).before(s(this,S)),t=s(this,S)),t},j=function(t){var i=V,n=tt,h=Et;G(s(this,w)),I(s(this,w)),dt(s(this,w).ctx);try{return t()}catch(r){return Ft(r),null}finally{G(i),I(n),dt(h)}},z=function(){const t=s(this,b).pending;s(this,v)!==null&&(a(this,N,document.createDocumentFragment()),s(this,N).append(s(this,S)),Ct(s(this,v),s(this,N))),s(this,d)===null&&a(this,d,A(()=>t(s(this,p))))},rt=function(t){var i;if(!this.has_pending_snippet()){this.parent&&_(i=this.parent,o,rt).call(i,t);return}a(this,D,s(this,D)+t),s(this,D)===0&&(a(this,g,!1),s(this,d)&&Z(s(this,d),()=>{a(this,d,null)}),s(this,N)&&(s(this,p).before(s(this,N)),a(this,N,null)))};const he=["touchstart","touchmove"];function oe(e){return he.includes(e)}const mt=new Set,at=new Set;function le(e,t,i,n={}){function h(r){if(n.capture||P.call(t,r),!r.cancelBubble)return $t(()=>i==null?void 0:i.call(this,r))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?ht(()=>{t.addEventListener(e,h,n)}):t.addEventListener(e,h,n),h}function _e(e,t,i,n,h){var r={capture:n,passive:h},f=le(e,t,i,r);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&xt(()=>{t.removeEventListener(e,f,r)})}function pe(e){for(var t=0;t{throw q});throw u}}finally{e.__root=t,delete e.currentTarget,I(U),G(T)}}}function ge(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=i,e.nodeValue=i+"")}function fe(e,t){return Tt(e,t)}function ve(e,t){et(),t.intro=t.intro??!1;const i=t.target,n=O,h=L;try{for(var r=jt(i);r&&(r.nodeType!==ot||r.data!==zt);)r=Gt(r);if(!r)throw st;$(!0),J(r);const f=Tt(e,{...t,anchor:r});return $(!1),f}catch(f){if(f instanceof Error&&f.message.split(` +`).some(E=>E.startsWith("https://svelte.dev/e/")))throw f;return f!==st&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Jt(),et(),Kt(i),$(!1),fe(e,t)}finally{$(n),J(h)}}const H=new Map;function Tt(e,{target:t,anchor:i,props:n={},events:h,context:r,intro:f=!0}){et();var E=new Set,y=T=>{for(var u=0;u{var T=i??t.appendChild(yt());return ae(T,{pending:()=>{}},u=>{if(r){Zt({});var c=Et;c.c=r}if(h&&(n.$$events=h),O&&se(u,null),B=e(u,n)||{},O&&(V.nodes.end=L,L===null||L.nodeType!==ot||L.data!==Qt))throw te(),st;r&&ee()}),()=>{var R;for(var u of E){t.removeEventListener(u,P);var c=H.get(u);--c===0?(document.removeEventListener(u,P),H.delete(u)):H.set(u,c)}at.delete(y),T!==i&&((R=T.parentNode)==null||R.removeChild(T))}});return nt.set(B,U),B}let nt=new WeakMap;function ye(e,t){const i=nt.get(e);return i?(nt.delete(e),i(t)):Promise.resolve()}export{pe as d,_e as e,ve as h,fe as m,ge as s,ye as u}; diff --git a/_app/immutable/chunks/CkL4Pxt3.js b/_app/immutable/chunks/CkL4Pxt3.js new file mode 100644 index 0000000..6b6219e --- /dev/null +++ b/_app/immutable/chunks/CkL4Pxt3.js @@ -0,0 +1 @@ +import{Y as c,ae as d,af as g,L as v,ag as T,ah as N,D as f,_ as o,ai as w,a3 as y,aj as C,a8 as x}from"./s1dcSIVc.js";function p(r){var a=document.createElement("template");return a.innerHTML=r.replaceAll("",""),a.content}function n(r,a){var e=v;e.nodes===null&&(e.nodes={start:r,end:a,a:null,t:null})}function L(r,a){var e=(a&T)!==0,_=(a&N)!==0,t,i=!r.startsWith("");return()=>{if(f)return n(o,null),o;t===void 0&&(t=p(i?r:""+r),e||(t=d(t)));var s=_||g?document.importNode(t,!0):t.cloneNode(!0);if(e){var l=d(s),u=s.lastChild;n(l,u)}else n(s,s);return s}}function A(r,a,e="svg"){var _=!r.startsWith(""),t=`<${e}>${_?r:""+r}`,i;return()=>{if(f)return n(o,null),o;if(!i){var s=p(t),l=d(s);for(i=document.createDocumentFragment();d(l);)i.appendChild(d(l))}var u=i.cloneNode(!0);{var h=d(u),E=u.lastChild;n(h,E)}return u}}function M(r,a){return A(r,a,"svg")}function O(r=""){if(!f){var a=c(r+"");return n(a,a),a}var e=o;return e.nodeType!==C&&(e.before(e=c()),x(e)),n(e,e),e}function P(){if(f)return n(o,null),o;var r=document.createDocumentFragment(),a=document.createComment(""),e=c();return r.append(a,e),n(a,e),r}function R(r,a){if(f){var e=v;((e.f&w)===0||e.nodes.end===null)&&(e.nodes.end=o),y();return}r!==null&&r.before(a)}const D="5";var m;typeof window<"u"&&((m=window.__svelte??(window.__svelte={})).v??(m.v=new Set)).add(D);export{R as a,M as b,P as c,n as d,L as f,O as t}; diff --git a/_app/immutable/chunks/D2CFGra1.js b/_app/immutable/chunks/D2CFGra1.js new file mode 100644 index 0000000..ad20a03 --- /dev/null +++ b/_app/immutable/chunks/D2CFGra1.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_lh973k)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_lh973k)==null?void 0:fe.assets)??L??"",Ze="1766779597771",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_lh973k)!=null&&s.data&&globalThis.__sveltekit_lh973k.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/DBQEMQMg.js b/_app/immutable/chunks/DBQEMQMg.js new file mode 100644 index 0000000..ad697cb --- /dev/null +++ b/_app/immutable/chunks/DBQEMQMg.js @@ -0,0 +1 @@ +import{f as S,o as h,b as k,q,S as T}from"./mO2F3zLa.js";function t(r,f){return r===f||(r==null?void 0:r[T])===f}function A(r={},f,a,c){return S(()=>{var i,s;return h(()=>{i=s,s=[],k(()=>{r!==a(...s)&&(f(r,...s),i&&t(a(...i),r)&&f(null,...i))})}),()=>{q(()=>{s&&t(a(...s),r)&&f(null,...s)})}}),r}export{A as b}; diff --git a/_app/immutable/chunks/DNoroI56.js b/_app/immutable/chunks/DNoroI56.js new file mode 100644 index 0000000..24c37d8 --- /dev/null +++ b/_app/immutable/chunks/DNoroI56.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_1bcyu1r)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_1bcyu1r)==null?void 0:fe.assets)??L??"",Ze="1766775776834",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_1bcyu1r)!=null&&s.data&&globalThis.__sveltekit_1bcyu1r.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/DQsFLTCT.js b/_app/immutable/chunks/DQsFLTCT.js new file mode 100644 index 0000000..10ca85e --- /dev/null +++ b/_app/immutable/chunks/DQsFLTCT.js @@ -0,0 +1 @@ +import{Y as F,a2 as ie,aN as te,a8 as y,D as _,ae as ne,a3 as pe,g as z,I as ge,a5 as he,a6 as _e,a7 as Q,a9 as D,_ as L,ao as le,aL as me,av as j,x as Ee,aO as b,Z as B,a1 as xe,al as ee,aP as we,aJ as X,q as Ae,aQ as be,aR as Ne,aS as Te,V as oe,X as ue,aT as V,an as ve,aF as U,aU as Se,aI as Ce,W as Ie,aV as ke,aW as Me,aX as Le,aY as Oe,aZ as ye,a_ as De,p as Re,u as He,i as Fe,t as Ve,e as Ye,j as ze}from"./s1dcSIVc.js";import{f as ce,a as de}from"./CkL4Pxt3.js";import"./ZgnPtkD2.js";function rr(e,r){return r}function Be(e,r,a){for(var i=[],t=r.length,f,l=r.length,c=0;c{if(f){if(f.pending.delete(d),f.done.add(d),f.pending.size===0){var u=e.outrogroups;q(X(f.done)),u.delete(f),u.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=i.length===0&&a!==null;if(o){var p=a,n=p.parentNode;Ce(n),n.append(p),e.items.clear()}q(r,!o)}else f={pending:new Set(r),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(f)}function q(e,r=!0){for(var a=0;a{var v=a();return Ae(v)?v:v==null?[]:X(v)}),u,g=!0;function x(){s.fallback=n,Ue(s,u,l,r,i),n!==null&&(u.length===0?(n.f&b)===0?oe(n):(n.f^=b,O(n,null,l)):ue(n,()=>{n=null}))}var w=ie(()=>{u=z(d);var v=u.length;let C=!1;if(_){var I=he(l)===_e;I!==(v===0)&&(l=Q(),y(l),D(!1),C=!0)}for(var E=new Set,T=Ee,k=xe(),h=0;hf(l)):(n=B(()=>f(re??(re=F()))),n.f|=b)),_&&v>0&&y(Q()),!g)if(k){for(const[R,H]of c)E.has(R)||T.skipped_effects.add(H.e);T.oncommit(x),T.ondiscard(()=>{})}else x();C&&D(!0),z(d)}),s={effect:w,items:c,outrogroups:null,fallback:n};g=!1,_&&(l=L)}function Ue(e,r,a,i,t){var m,R,H,G,P,W,Z,$,J;var f=(i&Se)!==0,l=r.length,c=e.items,o=e.effect.first,p,n=null,d,u=[],g=[],x,w,s,v;if(f)for(v=0;v0){var M=(i&te)!==0&&l===0?a:null;if(f){for(v=0;v{var A,K;if(d!==void 0)for(s of d)(K=(A=s.nodes)==null?void 0:A.a)==null||K.apply()})}function qe(e,r,a,i,t,f,l,c){var o=(l&be)!==0?(l&Ne)===0?we(a,!1,!1):ee(a):null,p=(l&Te)!==0?ee(t):null;return{v:o,i:p,e:B(()=>(f(r,o??a,p??t,c),()=>{e.delete(i)}))}}function O(e,r,a){if(e.nodes)for(var i=e.nodes.start,t=e.nodes.end,f=r&&(r.f&b)===0?r.nodes.start:a;i!==null;){var l=U(i);if(f.before(i),i===t)return;i=l}}function N(e,r,a){r===null?e.effect.first=a:r.next=a,a===null?e.effect.last=r:a.prev=r}function sr(e,r){let a=null,i=_;var t;if(_){a=L;for(var f=ne(document.head);f!==null&&(f.nodeType!==le||f.data!==e);)f=U(f);if(f===null)D(!1);else{var l=U(f);f.remove(),y(l)}}_||(t=document.head.appendChild(F()));try{ie(()=>r(t),ke)}finally{i&&(D(!0),y(a))}}function Xe(e,r,a){var i=e==null?"":""+e;return i===""?null:i}function ae(e,r=!1){var a=r?" !important;":";",i="";for(var t in e){var f=e[t];f!=null&&f!==""&&(i+=" "+t+": "+f+a)}return i}function Y(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function fr(e,r){if(r){var a="",i,t;if(Array.isArray(r)?(i=r[0],t=r[1]):i=r,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var f=!1,l=0,c=!1,o=[];i&&o.push(...Object.keys(i).map(Y)),t&&o.push(...Object.keys(t).map(Y));var p=0,n=-1;const w=e.length;for(var d=0;d{if(!r){if(r=!0,e.hasAttribute("value")){var i=e.value;se(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var t=e.checked;se(e,"checked",null),e.checked=t}}};e.__on_r=a,ve(a),Me()}}function se(e,r,a,i){var t=Ze(e);_&&(t[r]=e.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&e.nodeName==="LINK")||t[r]!==(t[r]=a)&&(r==="loading"&&(e[Le]=a),a==null?e.removeAttribute(r):typeof a!="string"&&$e(e).includes(r)?e[r]=a:e.setAttribute(r,a))}function Ze(e){return e.__attributes??(e.__attributes={[Pe]:e.nodeName.includes("-"),[We]:e.namespaceURI===Oe})}var fe=new Map;function $e(e){var r=e.getAttribute("is")||e.nodeName,a=fe.get(r);if(a)return a;fe.set(r,a=[]);for(var i,t=e,f=Element.prototype;f!==t;){i=De(t);for(var l in i)i[l].set&&a.push(l);t=ye(t)}return a}var Je=ce('
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
');function tr(e,r){Re(r,!0);let a=ze(!1);He(()=>{const t=()=>{Fe(a,window.scrollY>20)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)});var i=Je();Ve(()=>Ge(i,1,`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${z(a)?"bg-white/90 backdrop-blur-md shadow-sm":"bg-transparent"}`)),de(e,i),Ye()}var Ke=ce('
ValueCurve Build ValueCurve

Data science guides and tools for builders.

');function nr(e){var r=Ke();de(e,r)}export{nr as F,tr as N,se as a,ar as e,sr as h,rr as i,ir as r,Ge as s,fr as t}; diff --git a/_app/immutable/chunks/DToPcL1w.js b/_app/immutable/chunks/DToPcL1w.js new file mode 100644 index 0000000..a039544 --- /dev/null +++ b/_app/immutable/chunks/DToPcL1w.js @@ -0,0 +1 @@ +import{c as N,a as p,f as I}from"./Bh-96fzJ.js";import{k as U,d as e,r as t,n as w,s as x,t as k}from"./mO2F3zLa.js";import{s as n}from"./eH5yZvH4.js";import{i as V}from"./tuD4s8Oc.js";import{a as b,s as B}from"./DhvLCtu-.js";import{p as C}from"./ECMuNRdJ.js";var D=I('
Coming Soon

'),Z=I('

');function K(T,r){let j=C(r,"status",3,"live"),c=C(r,"external",3,!1);function A(s){switch(s.toUpperCase()){case"INTERACTIVE":return"bg-purple-100 text-purple-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"VISUALIZATION":return"bg-green-100 text-green-700";case"ML":return"bg-orange-100 text-orange-700";case"EDA":return"bg-teal-100 text-teal-700";case"TOOL":return"bg-indigo-100 text-indigo-700";default:return"bg-gray-100 text-gray-700"}}var _=N(),S=U(_);{var E=s=>{var a=D(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l),w(2),t(i);var o=x(i,2),g=e(o,!0);t(o);var d=x(o,2),m=e(d,!0);t(d),t(a),k(()=>{n(u,r.icon),n(g,r.title),n(m,r.description)}),p(s,a)},O=s=>{var a=Z(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l);var o=x(l,2),g=e(o,!0);t(o),t(i);var d=x(i,2),m=e(d,!0);t(d);var f=x(d,2),L=e(f,!0);t(f);var y=x(f,2),h=e(y),R=e(h,!0);t(h),w(2),t(y),t(a),k(M=>{b(a,"href",r.href),b(a,"target",c()?"_blank":void 0),b(a,"rel",c()?"noopener noreferrer":void 0),n(u,r.icon),B(o,1,`text-xs font-medium px-2 py-1 rounded-full ${M??""}`),n(g,r.category),n(m,r.title),n(L,r.description),n(R,c()?"Open":"Explore")},[()=>A(r.category)]),p(s,a)};V(S,s=>{j()==="coming-soon"?s(E):s(O,!1)})}p(T,_)}export{K as R}; diff --git a/_app/immutable/chunks/Da-hDQCT.js b/_app/immutable/chunks/Da-hDQCT.js new file mode 100644 index 0000000..6ad3404 --- /dev/null +++ b/_app/immutable/chunks/Da-hDQCT.js @@ -0,0 +1 @@ +import{v as k,E as m,b as t,o as b,F as _,A as f,B as i}from"./mO2F3zLa.js";function E(e,a,v=a){var c=new WeakSet;k(e,"input",async r=>{var l=r?e.defaultValue:e.value;if(l=s(e)?u(l):l,v(l),f!==null&&c.add(f),await m(),l!==(l=a())){var h=e.selectionStart,d=e.selectionEnd,n=e.value.length;if(e.value=l??"",d!==null){var o=e.value.length;h===d&&d===n&&o>n?(e.selectionStart=o,e.selectionEnd=o):(e.selectionStart=h,e.selectionEnd=Math.min(d,o))}}}),(_&&e.defaultValue!==e.value||t(a)==null&&e.value)&&(v(s(e)?u(e.value):e.value),f!==null&&c.add(f)),b(()=>{var r=a();if(e===document.activeElement){var l=i??f;if(c.has(l))return}s(e)&&r===u(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function S(e,a,v=a){k(e,"change",c=>{var r=c?e.defaultChecked:e.checked;v(r)}),(_&&e.defaultChecked!==e.checked||t(a)==null)&&v(e.checked),b(()=>{var c=a();e.checked=!!c})}function s(e){var a=e.type;return a==="number"||a==="range"}function u(e){return e===""?null:+e}export{S as a,E as b}; diff --git a/_app/immutable/chunks/DhvLCtu-.js b/_app/immutable/chunks/DhvLCtu-.js new file mode 100644 index 0000000..06369f5 --- /dev/null +++ b/_app/immutable/chunks/DhvLCtu-.js @@ -0,0 +1,2 @@ +import{Z as V,a3 as ne,aP as te,a9 as D,F as m,af as le,a4 as pe,g as z,K as he,a6 as me,a7 as Ee,a8 as Q,aa as F,a0 as O,ao as oe,aL as _e,av as j,A as we,aQ as b,_ as B,a2 as xe,am as ee,aO as Ae,aJ as X,x as be,aR as Ne,aS as Te,aT as Se,W as ue,Y as ve,aU as Y,q as ce,aF as U,aV as Ce,aI as Ie,X as Le,aW as Me,aX as Oe,aY as Re,aZ as De,a_ as Fe,a$ as He,p as ke,u as Ve,i as Ye,t as ye,e as ze,j as Be}from"./mO2F3zLa.js";import{f as de,a as ge}from"./Bh-96fzJ.js";import"./EiYUD4Mm.js";function ar(e,r){return r}function Ue(e,r,a){for(var f=[],n=r.length,s,t=r.length,c=0;c{if(s){if(s.pending.delete(g),s.done.add(g),s.pending.size===0){var u=e.outrogroups;q(X(s.done)),u.delete(s),u.size===0&&(e.outrogroups=null)}}else t-=1},!1)}if(t===0){var l=f.length===0&&a!==null;if(l){var d=a,o=d.parentNode;Ie(o),o.append(d),e.items.clear()}q(r,!l)}else s={pending:new Set(r),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(s)}function q(e,r=!0){for(var a=0;a{var v=a();return be(v)?v:v==null?[]:X(v)}),u,p=!0;function w(){i.fallback=o,qe(i,u,t,r,f),o!==null&&(u.length===0?(o.f&b)===0?ue(o):(o.f^=b,R(o,null,t)):ve(o,()=>{o=null}))}var x=ne(()=>{u=z(g);var v=u.length;let C=!1;if(m){var I=me(t)===Ee;I!==(v===0)&&(t=Q(),D(t),F(!1),C=!0)}for(var _=new Set,T=we,L=xe(),h=0;hs(t)):(o=B(()=>s(re??(re=V()))),o.f|=b)),m&&v>0&&D(Q()),!p)if(L){for(const[H,k]of c)_.has(H)||T.skipped_effects.add(k.e);T.oncommit(w),T.ondiscard(()=>{})}else w();C&&F(!0),z(g)}),i={effect:x,items:c,outrogroups:null,fallback:o};p=!1,m&&(t=O)}function qe(e,r,a,f,n){var E,H,k,$,G,K,P,W,Z;var s=(f&Ce)!==0,t=r.length,c=e.items,l=e.effect.first,d,o=null,g,u=[],p=[],w,x,i,v;if(s)for(v=0;v0){var M=(f&te)!==0&&t===0?a:null;if(s){for(v=0;v{var A,J;if(g!==void 0)for(i of g)(J=(A=i.nodes)==null?void 0:A.a)==null||J.apply()})}function Xe(e,r,a,f,n,s,t,c){var l=(t&Ne)!==0?(t&Te)===0?Ae(a,!1,!1):ee(a):null,d=(t&Se)!==0?ee(n):null;return{v:l,i:d,e:B(()=>(s(r,l??a,d??n,c),()=>{e.delete(f)}))}}function R(e,r,a){if(e.nodes)for(var f=e.nodes.start,n=e.nodes.end,s=r&&(r.f&b)===0?r.nodes.start:a;f!==null;){var t=U(f);if(s.before(f),f===n)return;f=t}}function N(e,r,a){r===null?e.effect.first=a:r.next=a,a===null?e.effect.last=r:a.prev=r}function sr(e,r){let a=null,f=m;var n;if(m){a=O;for(var s=le(document.head);s!==null&&(s.nodeType!==oe||s.data!==e);)s=U(s);if(s===null)F(!1);else{var t=U(s);s.remove(),D(t)}}m||(n=document.head.appendChild(V()));try{ne(()=>r(n),Me)}finally{f&&(F(!0),D(a))}}const ae=[...` +\r\f \v\uFEFF`];function $e(e,r,a){var f=e==null?"":""+e;if(r&&(f=f?f+" "+r:r),a){for(var n in a)if(a[n])f=f?f+" "+n:n;else if(f.length)for(var s=n.length,t=0;(t=f.indexOf(n,t))>=0;){var c=t+s;(t===0||ae.includes(f[t-1]))&&(c===f.length||ae.includes(f[c]))?f=(t===0?"":f.substring(0,t))+f.substring(c+1):t=c}}return f===""?null:f}function fe(e,r=!1){var a=r?" !important;":";",f="";for(var n in e){var s=e[n];s!=null&&s!==""&&(f+=" "+n+": "+s+a)}return f}function y(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function ir(e,r){if(r){var a="",f,n;if(Array.isArray(r)?(f=r[0],n=r[1]):f=r,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,t=0,c=!1,l=[];f&&l.push(...Object.keys(f).map(y)),n&&l.push(...Object.keys(n).map(y));var d=0,o=-1;const x=e.length;for(var g=0;g{if(!r){if(r=!0,e.hasAttribute("value")){var f=e.value;se(e,"value",null),e.value=f}if(e.hasAttribute("checked")){var n=e.checked;se(e,"checked",null),e.checked=n}}};e.__on_r=a,ce(a),Oe()}}function se(e,r,a,f){var n=We(e);m&&(n[r]=e.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&e.nodeName==="LINK")||n[r]!==(n[r]=a)&&(r==="loading"&&(e[Re]=a),a==null?e.removeAttribute(r):typeof a!="string"&&Ze(e).includes(r)?e[r]=a:e.setAttribute(r,a))}function We(e){return e.__attributes??(e.__attributes={[Ke]:e.nodeName.includes("-"),[Pe]:e.namespaceURI===De})}var ie=new Map;function Ze(e){var r=e.getAttribute("is")||e.nodeName,a=ie.get(r);if(a)return a;ie.set(r,a=[]);for(var f,n=e,s=Element.prototype;s!==n;){f=He(n);for(var t in f)f[t].set&&a.push(t);n=Fe(n)}return a}var Je=de('
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
');function tr(e,r){ke(r,!0);let a=Be(!1);Ve(()=>{const n=()=>{Ye(a,window.scrollY>20)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)});var f=Je();ye(()=>Ge(f,1,`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${z(a)?"bg-white/90 backdrop-blur-md shadow-sm":"bg-transparent"}`)),ge(e,f),ze()}var Qe=de('
ValueCurve Build ValueCurve

Data science guides and tools for builders.

');function lr(e){var r=Qe();ge(e,r)}export{lr as F,tr as N,se as a,fr as e,sr as h,ar as i,nr as r,Ge as s,ir as t}; diff --git a/_app/immutable/chunks/ECMuNRdJ.js b/_app/immutable/chunks/ECMuNRdJ.js new file mode 100644 index 0000000..f300661 --- /dev/null +++ b/_app/immutable/chunks/ECMuNRdJ.js @@ -0,0 +1 @@ +import{H as S,I as T,P as m,g as P,J as D,K as B,m as M,i as N,L as U,M as Y,N as j,O as x,b as K,a as $,Q as q,R as z,T as C,S as R,U as w,V as d}from"./mO2F3zLa.js";let p=!1;function G(r){var n=p;try{return p=!1,[r(),p]}finally{p=n}}const H={get(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e)return e[n]}},set(r,n,t){let e=r.props.length;for(;e--;){let i=r.props[e];d(i)&&(i=i());const f=S(i,n);if(f&&f.set)return f.set(t),!0}return!1},getOwnPropertyDescriptor(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e){const i=S(e,n);return i&&!i.configurable&&(i.configurable=!0),i}}},has(r,n){if(n===R||n===w)return!1;for(let t of r.props)if(d(t)&&(t=t()),t!=null&&n in t)return!0;return!1},ownKeys(r){const n=[];for(let t of r.props)if(d(t)&&(t=t()),!!t){for(const e in t)n.includes(e)||n.push(e);for(const e of Object.getOwnPropertySymbols(t))n.includes(e)||n.push(e)}return n}};function Q(...r){return new Proxy({props:r},H)}function V(r,n,t,e){var O;var i=!$||(t&q)!==0,f=(t&x)!==0,y=(t&C)!==0,a=e,v=!0,b=()=>(v&&(v=!1,a=y?K(e):e),a),l;if(f){var E=R in r||w in r;l=((O=S(r,n))==null?void 0:O.set)??(E&&n in r?s=>r[n]=s:void 0)}var o,h=!1;f?[o,h]=G(()=>r[n]):o=r[n],o===void 0&&e!==void 0&&(o=b(),l&&(i&&T(),l(o)));var u;if(i?u=()=>{var s=r[n];return s===void 0?b():(v=!0,s)}:u=()=>{var s=r[n];return s!==void 0&&(a=void 0),s===void 0?a:s},i&&(t&m)===0)return u;if(l){var A=r.$$legacy;return(function(s,c){return arguments.length>0?((!i||!c||A||h)&&l(c?u():s),s):u()})}var g=!1,_=((t&z)!==0?D:B)(()=>(g=!1,u()));f&&P(_);var L=Y;return(function(s,c){if(arguments.length>0){const I=c?P(_):i&&f?M(s):s;return N(_,I),g=!0,a!==void 0&&(a=I),s}return U&&g||(L.f&j)!==0?_.v:P(_)})}export{V as p,Q as s}; diff --git a/_app/immutable/chunks/EiYUD4Mm.js b/_app/immutable/chunks/EiYUD4Mm.js new file mode 100644 index 0000000..b8064e8 --- /dev/null +++ b/_app/immutable/chunks/EiYUD4Mm.js @@ -0,0 +1 @@ +import{G as a}from"./mO2F3zLa.js";a(); diff --git a/_app/immutable/chunks/Lgy_oHYA.js b/_app/immutable/chunks/Lgy_oHYA.js new file mode 100644 index 0000000..5ae1e1c --- /dev/null +++ b/_app/immutable/chunks/Lgy_oHYA.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var je=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(je(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as Ce,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(Ce(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_1x1mjx4)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_1x1mjx4)==null?void 0:fe.assets)??L??"",Ze="1766775085113",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let x,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(x=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(x,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function jt(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,xe=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},Re=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_1x1mjx4)!=null&&s.data&&globalThis.__sveltekit_1x1mjx4.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?Rn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&jt(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){jt();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&jt(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await xt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(x,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(x)}};o!==void 0&&(c.props.form=o);let l={},d=!x,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(x),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var j;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(j=k.universal)==null?void 0:j.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function xt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||xe.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await xt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let R;if(yt){const E=(await Promise.all(Array.from(ln,C=>C(h.navigation)))).filter(C=>typeof C=="function");if(E.length>0){let C=function(){E.forEach(Rt=>{H.delete(Rt)})};E.push(C),E.forEach(Rt=>{H.add(Rt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?R=K.commit():(Wt.$set(p.props),Se(p.props.page),R=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:j}=document;await R,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:C}=E.getBoundingClientRect();$={x:pageXOffset+C,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==j&&document.activeElement!==document.body;!r&&!dt&&xn(e,$),se=!0,p.props.page&&Object.assign(x,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!Re?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await xt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};xe.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!Ct){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==x.state&&(x.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=x.url=n,N.page.set(Qt(x)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){Re=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await xt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let R=0;R{const i=history.state;Ct=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),Ct=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Rn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,x as p,N as s}; diff --git a/_app/immutable/chunks/OXvvA7WZ.js b/_app/immutable/chunks/OXvvA7WZ.js new file mode 100644 index 0000000..0578ff0 --- /dev/null +++ b/_app/immutable/chunks/OXvvA7WZ.js @@ -0,0 +1 @@ +import{l as o,u as a,c as t,a as c,b as u}from"./mO2F3zLa.js";function f(e){t===null&&o(),c&&t.l!==null?l(t).m.push(e):a(()=>{const n=u(e);if(typeof n=="function")return n})}function l(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{f as o}; diff --git a/_app/immutable/chunks/SaFGkI3k.js b/_app/immutable/chunks/SaFGkI3k.js new file mode 100644 index 0000000..666e905 --- /dev/null +++ b/_app/immutable/chunks/SaFGkI3k.js @@ -0,0 +1 @@ +import{m as k,B as m,b as t,C as b,D as _,x as f,y}from"./s1dcSIVc.js";function E(e,a,v=a){var c=new WeakSet;k(e,"input",async r=>{var l=r?e.defaultValue:e.value;if(l=o(e)?u(l):l,v(l),f!==null&&c.add(f),await m(),l!==(l=a())){var h=e.selectionStart,d=e.selectionEnd,n=e.value.length;if(e.value=l??"",d!==null){var s=e.value.length;h===d&&d===n&&s>n?(e.selectionStart=s,e.selectionEnd=s):(e.selectionStart=h,e.selectionEnd=Math.min(d,s))}}}),(_&&e.defaultValue!==e.value||t(a)==null&&e.value)&&(v(o(e)?u(e.value):e.value),f!==null&&c.add(f)),b(()=>{var r=a();if(e===document.activeElement){var l=y??f;if(c.has(l))return}o(e)&&r===u(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function S(e,a,v=a){k(e,"change",c=>{var r=c?e.defaultChecked:e.checked;v(r)}),(_&&e.defaultChecked!==e.checked||t(a)==null)&&v(e.checked),b(()=>{var c=a();e.checked=!!c})}function o(e){var a=e.type;return a==="number"||a==="range"}function u(e){return e===""?null:+e}export{S as a,E as b}; diff --git a/_app/immutable/chunks/WSjfo0Ud.js b/_app/immutable/chunks/WSjfo0Ud.js new file mode 100644 index 0000000..e1dbcb6 --- /dev/null +++ b/_app/immutable/chunks/WSjfo0Ud.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,E as pt,b2 as te,b3 as Ne}from"./mO2F3zLa.js";import{o as ee}from"./OXvvA7WZ.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_m4hdb0)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_m4hdb0)==null?void 0:fe.assets)??L??"",Ze="1766779997742",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_m4hdb0)!=null&&s.data&&globalThis.__sveltekit_m4hdb0.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/chunks/ZgnPtkD2.js b/_app/immutable/chunks/ZgnPtkD2.js new file mode 100644 index 0000000..c122934 --- /dev/null +++ b/_app/immutable/chunks/ZgnPtkD2.js @@ -0,0 +1 @@ +import{E as a}from"./s1dcSIVc.js";a(); diff --git a/_app/immutable/chunks/eH5yZvH4.js b/_app/immutable/chunks/eH5yZvH4.js new file mode 100644 index 0000000..07ad309 --- /dev/null +++ b/_app/immutable/chunks/eH5yZvH4.js @@ -0,0 +1,2 @@ +var Rt=Object.defineProperty;var ft=e=>{throw TypeError(e)};var Nt=(e,t,i)=>t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var ut=(e,t,i)=>Nt(e,typeof t!="symbol"?t+"":t,i),X=(e,t,i)=>t.has(e)||ft("Cannot "+i);var s=(e,t,i)=>(X(e,t,"read from private field"),i?i.call(e):t.get(e)),l=(e,t,i)=>t.has(e)?ft("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),a=(e,t,i,n)=>(X(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),_=(e,t,i)=>(X(e,t,"access private method"),i);import{al as St,g as gt,am as vt,o as At,b as Dt,an as ct,q as ht,a0 as F,F as L,M as P,a3 as kt,a4 as Ft,ao as ot,a7 as Lt,_ as k,ap as W,Y as Z,Z as yt,aq as G,ar as I,as as dt,at as Ot,au as tt,c as Et,a1 as Mt,av as Ct,X as Q,a9 as J,n as Bt,a8 as Ht,aw as _t,ax as It,a5 as Yt,ay as qt,az as Pt,aA as Vt,aB as xt,w as Wt,aC as $t,aD as et,af as jt,aE as zt,aF as Gt,aG as st,aa as $,aH as Jt,aI as Kt,aJ as Ut,aK as Xt,p as Zt,aL as Qt,aM as te,e as ee}from"./mO2F3zLa.js";import{d as se}from"./Bh-96fzJ.js";function ie(e){let t=0,i=vt(0),n;return()=>{St()&&(gt(i),At(()=>(t===0&&(n=Dt(()=>e(()=>ct(i)))),t+=1,()=>{ht(()=>{t-=1,t===0&&(n==null||n(),n=void 0,ct(i))})})))}}var re=Yt|qt|Pt;function ae(e,t,i){new ne(e,t,i)}var g,p,V,b,O,w,v,d,m,N,S,M,A,C,D,K,o,bt,wt,it,j,z,rt;class ne{constructor(t,i,n){l(this,o);ut(this,"parent");l(this,g,!1);l(this,p);l(this,V,L?F:null);l(this,b);l(this,O);l(this,w);l(this,v,null);l(this,d,null);l(this,m,null);l(this,N,null);l(this,S,null);l(this,M,0);l(this,A,0);l(this,C,!1);l(this,D,null);l(this,K,ie(()=>(a(this,D,vt(s(this,M))),()=>{a(this,D,null)})));a(this,p,t),a(this,b,i),a(this,O,n),this.parent=P.b,a(this,g,!!s(this,b).pending),a(this,w,kt(()=>{if(P.b=this,L){const r=s(this,V);Ft(),r.nodeType===ot&&r.data===Lt?_(this,o,wt).call(this):_(this,o,bt).call(this)}else{var h=_(this,o,it).call(this);try{a(this,v,k(()=>n(h)))}catch(r){this.error(r)}s(this,A)>0?_(this,o,z).call(this):a(this,g,!1)}return()=>{var r;(r=s(this,S))==null||r.remove()}},re)),L&&a(this,p,F)}is_pending(){return s(this,g)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!s(this,b).pending}update_pending_count(t){_(this,o,rt).call(this,t),a(this,M,s(this,M)+t),s(this,D)&&Ct(s(this,D),s(this,M))}get_effect_pending(){return s(this,K).call(this),gt(s(this,D))}error(t){var i=s(this,b).onerror;let n=s(this,b).failed;if(s(this,C)||!i&&!n)throw t;s(this,v)&&(Q(s(this,v)),a(this,v,null)),s(this,d)&&(Q(s(this,d)),a(this,d,null)),s(this,m)&&(Q(s(this,m)),a(this,m,null)),L&&(J(s(this,V)),Bt(),J(Ht()));var h=!1,r=!1;const f=()=>{if(h){Vt();return}h=!0,r&&It(),W.ensure(),a(this,M,0),s(this,m)!==null&&Z(s(this,m),()=>{a(this,m,null)}),a(this,g,this.has_pending_snippet()),a(this,v,_(this,o,j).call(this,()=>(a(this,C,!1),k(()=>s(this,O).call(this,s(this,p)))))),s(this,A)>0?_(this,o,z).call(this):a(this,g,!1)};var E=tt;try{I(null),r=!0,i==null||i(t,f),r=!1}catch(y){_t(y,s(this,w)&&s(this,w).parent)}finally{I(E)}n&&ht(()=>{a(this,m,_(this,o,j).call(this,()=>{W.ensure(),a(this,C,!0);try{return k(()=>{n(s(this,p),()=>t,()=>f)})}catch(y){return _t(y,s(this,w).parent),null}finally{a(this,C,!1)}}))})}}g=new WeakMap,p=new WeakMap,V=new WeakMap,b=new WeakMap,O=new WeakMap,w=new WeakMap,v=new WeakMap,d=new WeakMap,m=new WeakMap,N=new WeakMap,S=new WeakMap,M=new WeakMap,A=new WeakMap,C=new WeakMap,D=new WeakMap,K=new WeakMap,o=new WeakSet,bt=function(){try{a(this,v,k(()=>s(this,O).call(this,s(this,p))))}catch(t){this.error(t)}a(this,g,!1)},wt=function(){const t=s(this,b).pending;t&&(a(this,d,k(()=>t(s(this,p)))),W.enqueue(()=>{var i=_(this,o,it).call(this);a(this,v,_(this,o,j).call(this,()=>(W.ensure(),k(()=>s(this,O).call(this,i))))),s(this,A)>0?_(this,o,z).call(this):(Z(s(this,d),()=>{a(this,d,null)}),a(this,g,!1))}))},it=function(){var t=s(this,p);return s(this,g)&&(a(this,S,yt()),s(this,p).before(s(this,S)),t=s(this,S)),t},j=function(t){var i=P,n=tt,h=Et;G(s(this,w)),I(s(this,w)),dt(s(this,w).ctx);try{return t()}catch(r){return Ot(r),null}finally{G(i),I(n),dt(h)}},z=function(){const t=s(this,b).pending;s(this,v)!==null&&(a(this,N,document.createDocumentFragment()),s(this,N).append(s(this,S)),Mt(s(this,v),s(this,N))),s(this,d)===null&&a(this,d,k(()=>t(s(this,p))))},rt=function(t){var i;if(!this.has_pending_snippet()){this.parent&&_(i=this.parent,o,rt).call(i,t);return}a(this,A,s(this,A)+t),s(this,A)===0&&(a(this,g,!1),s(this,d)&&Z(s(this,d),()=>{a(this,d,null)}),s(this,N)&&(s(this,p).before(s(this,N)),a(this,N,null)))};const he=["touchstart","touchmove"];function oe(e){return he.includes(e)}const mt=new Set,at=new Set;function le(e,t,i,n={}){function h(r){if(n.capture||q.call(t,r),!r.cancelBubble)return $t(()=>i==null?void 0:i.call(this,r))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?ht(()=>{t.addEventListener(e,h,n)}):t.addEventListener(e,h,n),h}function _e(e,t,i,n,h){var r={capture:n,passive:h},f=le(e,t,i,r);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Wt(()=>{t.removeEventListener(e,f,r)})}function pe(e){for(var t=0;t{throw x});throw u}}finally{e.__root=t,delete e.currentTarget,I(U),G(T)}}}function ge(e,t){var i=t==null?"":typeof t=="object"?t+"":t;i!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=i,e.nodeValue=i+"")}function fe(e,t){return Tt(e,t)}function ve(e,t){et(),t.intro=t.intro??!1;const i=t.target,n=L,h=F;try{for(var r=jt(i);r&&(r.nodeType!==ot||r.data!==zt);)r=Gt(r);if(!r)throw st;$(!0),J(r);const f=Tt(e,{...t,anchor:r});return $(!1),f}catch(f){if(f instanceof Error&&f.message.split(` +`).some(E=>E.startsWith("https://svelte.dev/e/")))throw f;return f!==st&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Jt(),et(),Kt(i),$(!1),fe(e,t)}finally{$(n),J(h)}}const H=new Map;function Tt(e,{target:t,anchor:i,props:n={},events:h,context:r,intro:f=!0}){et();var E=new Set,y=T=>{for(var u=0;u{var T=i??t.appendChild(yt());return ae(T,{pending:()=>{}},u=>{if(r){Zt({});var c=Et;c.c=r}if(h&&(n.$$events=h),L&&se(u,null),B=e(u,n)||{},L&&(P.nodes.end=F,F===null||F.nodeType!==ot||F.data!==Qt))throw te(),st;r&&ee()}),()=>{var R;for(var u of E){t.removeEventListener(u,q);var c=H.get(u);--c===0?(document.removeEventListener(u,q),H.delete(u)):H.set(u,c)}at.delete(y),T!==i&&((R=T.parentNode)==null||R.removeChild(T))}});return nt.set(B,U),B}let nt=new WeakMap;function ye(e,t){const i=nt.get(e);return i?(nt.delete(e),i(t)):Promise.resolve()}export{pe as d,_e as e,ve as h,fe as m,ge as s,ye as u}; diff --git a/_app/immutable/chunks/mO2F3zLa.js b/_app/immutable/chunks/mO2F3zLa.js new file mode 100644 index 0000000..7dab69d --- /dev/null +++ b/_app/immutable/chunks/mO2F3zLa.js @@ -0,0 +1 @@ +var an=Object.defineProperty;var yt=e=>{throw TypeError(e)};var ln=(e,t,n)=>t in e?an(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>ln(e,typeof t!="symbol"?t+"":t,n),$e=(e,t,n)=>t.has(e)||yt("Cannot "+n);var w=(e,t,n)=>($e(e,t,"read from private field"),n?n.call(e):t.get(e)),Y=(e,t,n)=>t.has(e)?yt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_e=(e,t,n,r)=>($e(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),I=(e,t,n)=>($e(e,t,"access private method"),n);var on=Array.isArray,un=Array.prototype.indexOf,tr=Array.from,nr=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyDescriptors,_n=Object.prototype,vn=Array.prototype,bt=Object.getPrototypeOf,Et=Object.isExtensible;function rr(e){return typeof e=="function"}const sr=()=>{};function fr(e){return e()}function dn(e){for(var t=0;t{e=r,t=s});return{promise:n,resolve:e,reject:t}}function ir(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const E=2,ft=4,Be=8,pn=1<<24,H=16,U=32,ue=64,it=128,F=512,S=1024,O=2048,L=4096,j=8192,K=16384,at=32768,Pe=65536,Ze=1<<17,xt=1<<18,Oe=1<<19,Ot=1<<20,ar=1<<25,ie=32768,We=1<<21,lt=1<<22,$=1<<23,re=Symbol("$state"),lr=Symbol("legacy props"),or=Symbol(""),ve=new class extends Error{constructor(){super(...arguments);V(this,"name","StaleReactionError");V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},ot=3,Dt=8;function hn(e){throw new Error("https://svelte.dev/e/experimental_async_required")}function cr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function wn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function yn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function En(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function mn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Tn(){throw new Error("https://svelte.dev/e/fork_discarded")}function An(){throw new Error("https://svelte.dev/e/fork_timing")}function _r(){throw new Error("https://svelte.dev/e/hydration_failed")}function vr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const pr=1,hr=2,wr=4,yr=8,Er=16,mr=1,gr=2,Tr=4,Ar=8,Sr=16,Rr=1,br=2,kn="[",xn="[!",On="]",ut={},A=Symbol(),kr="http://www.w3.org/1999/xhtml";function ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function xr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Or(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let X=!1;function Dr(e){X=e}let m;function ye(e){if(e===null)throw ct(),ut;return m=e}function Nr(){return ye(W(m))}function Pr(e){if(X){if(W(m)!==null)throw ct(),ut;m=e}}function Ir(e=1){if(X){for(var t=e,n=m;t--;)n=W(n);m=n}}function Cr(e=!0){for(var t=0,n=m;;){if(n.nodeType===Dt){var r=n.data;if(r===On){if(t===0)return n;t-=1}else(r===kn||r===xn)&&(t+=1)}var s=W(n);e&&n.remove(),n=s}}function Fr(e){if(!e||e.nodeType!==Dt)throw ct(),ut;return e.data}function Nt(e){return e===this.v}function Dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pt(e){return!Dn(e,this.v)}let Ve=!1;function Mr(){Ve=!0}let k=null;function Ie(e){k=e}function jr(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,l:Ve&&!t?{s:null,u:null,$:[]}:null}}function Lr(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)$t(r)}return t.i=!0,k=t.p,{}}function De(){return!Ve||k!==null&&k.l===null}let Q=[];function It(){var e=Q;Q=[],dn(e)}function Nn(e){if(Q.length===0&&!Re){var t=Q;queueMicrotask(()=>{t===Q&&It()})}Q.push(e)}function Pn(){for(;Q.length>0;)It()}function In(e){var t=h;if(t===null)return _.f|=$,e;if((t.f&at)===0){if((t.f&it)===0)throw e;t.b.error(e)}else Ce(e,t)}function Ce(e,t){for(;t!==null;){if((t.f&it)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const ee=new Set;let v=null,ze=null,y=null,P=[],Ge=null,Je=!1,Re=!1;var de,pe,te,ne,xe,he,we,g,Qe,ge,et,Ct,Ft;const Ue=class Ue{constructor(){Y(this,g);V(this,"committed",!1);V(this,"current",new Map);V(this,"previous",new Map);Y(this,de,new Set);Y(this,pe,new Set);Y(this,te,0);Y(this,ne,0);Y(this,xe,null);Y(this,he,new Set);Y(this,we,new Set);V(this,"skipped_effects",new Set);V(this,"is_fork",!1)}is_deferred(){return this.is_fork||w(this,ne)>0}process(t){var r;P=[],ze=null,this.apply();var n={parent:null,effect:null,effects:[],render_effects:[]};for(const s of t)I(this,g,Qe).call(this,s,n);this.is_fork||I(this,g,Ct).call(this),this.is_deferred()?(I(this,g,ge).call(this,n.effects),I(this,g,ge).call(this,n.render_effects)):(ze=this,v=null,mt(n.render_effects),mt(n.effects),ze=null,(r=w(this,xe))==null||r.resolve()),y=null}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&$)===0&&(this.current.set(t,t.v),y==null||y.set(t,t.v))}activate(){v=this,this.apply()}deactivate(){v===this&&(v=null,y=null)}flush(){if(this.activate(),P.length>0){if(nt(),v!==null&&v!==this)return}else w(this,te)===0&&this.process([]);this.deactivate()}discard(){for(const t of w(this,pe))t(this);w(this,pe).clear()}increment(t){_e(this,te,w(this,te)+1),t&&_e(this,ne,w(this,ne)+1)}decrement(t){_e(this,te,w(this,te)-1),t&&_e(this,ne,w(this,ne)-1),this.revive()}revive(){for(const t of w(this,he))w(this,we).delete(t),T(t,O),le(t);for(const t of w(this,we))T(t,L),le(t);this.flush()}oncommit(t){w(this,de).add(t)}ondiscard(t){w(this,pe).add(t)}settled(){return(w(this,xe)??_e(this,xe,kt())).promise}static ensure(){if(v===null){const t=v=new Ue;ee.add(v),Re||Ue.enqueue(()=>{v===t&&t.flush()})}return v}static enqueue(t){Nn(t)}apply(){}};de=new WeakMap,pe=new WeakMap,te=new WeakMap,ne=new WeakMap,xe=new WeakMap,he=new WeakMap,we=new WeakMap,g=new WeakSet,Qe=function(t,n){var u;t.f^=S;for(var r=t.first;r!==null;){var s=r.f,f=(s&(U|ue))!==0,l=f&&(s&S)!==0,o=l||(s&j)!==0||this.skipped_effects.has(r);if((r.f&it)!==0&&((u=r.b)!=null&&u.is_pending())&&(n={parent:n,effect:r,effects:[],render_effects:[]}),!o&&r.fn!==null){f?r.f^=S:(s&ft)!==0?n.effects.push(r):Ne(r)&&((r.f&H)!==0&&w(this,he).add(r),ke(r));var a=r.first;if(a!==null){r=a;continue}}var i=r.parent;for(r=r.next;r===null&&i!==null;)i===n.effect&&(I(this,g,ge).call(this,n.effects),I(this,g,ge).call(this,n.render_effects),n=n.parent),r=i.next,i=i.parent}},ge=function(t){for(const n of t)(n.f&O)!==0?w(this,he).add(n):(n.f&L)!==0&&w(this,we).add(n),I(this,g,et).call(this,n.deps),T(n,S)},et=function(t){if(t!==null)for(const n of t)(n.f&E)===0||(n.f&ie)===0||(n.f^=ie,I(this,g,et).call(this,n.deps))},Ct=function(){if(w(this,ne)===0){for(const t of w(this,de))t();w(this,de).clear()}w(this,te)===0&&I(this,g,Ft).call(this)},Ft=function(){var f;if(ee.size>1){this.previous.clear();var t=y,n=!0,r={parent:null,effect:null,effects:[],render_effects:[]};for(const l of ee){if(l===this){n=!1;continue}const o=[];for(const[i,u]of this.current){if(l.current.has(i))if(n&&u!==l.current.get(i))l.current.set(i,u);else continue;o.push(i)}if(o.length===0)continue;const a=[...l.current.keys()].filter(i=>!this.current.has(i));if(a.length>0){var s=P;P=[];const i=new Set,u=new Map;for(const c of o)Mt(c,a,i,u);if(P.length>0){v=l,l.apply();for(const c of P)I(f=l,g,Qe).call(f,c,r);l.deactivate()}P=s}}v=null,y=t}this.committed=!0,ee.delete(this)};let ae=Ue;function tt(e){var t=Re;Re=!0;try{var n;for(e&&(v!==null&&nt(),n=e());;){if(Pn(),P.length===0&&(v==null||v.flush(),P.length===0))return Ge=null,n;nt()}}finally{Re=t}}function nt(){var e=se;Je=!0;var t=null;try{var n=0;for(Ye(!0);P.length>0;){var r=ae.ensure();if(n++>1e3){var s,f;Cn()}r.process(P),z.clear()}}finally{Je=!1,Ye(e),Ge=null}}function Cn(){try{gn()}catch(e){Ce(e,Ge)}}let C=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n0)){z.clear();for(const s of C){if((s.f&(K|j))!==0)continue;const f=[s];let l=s.parent;for(;l!==null;)C.has(l)&&(C.delete(l),f.push(l)),l=l.parent;for(let o=f.length-1;o>=0;o--){const a=f[o];(a.f&(K|j))===0&&ke(a)}}C.clear()}}C=null}}function Mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const f=s.f;(f&E)!==0?Mt(s,t,n,r):(f&(lt|H))!==0&&(f&O)===0&&Lt(s,t,r)&&(T(s,O),le(s))}}function jt(e,t){if(e.reactions!==null)for(const n of e.reactions){const r=n.f;(r&E)!==0?jt(n,t):(r&Ze)!==0&&(T(n,O),t.add(n))}}function Lt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&E)!==0&&Lt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function le(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var n=t.f;if(Je&&t===h&&(n&H)!==0&&(n&xt)===0)return;if((n&(ue|U))!==0){if((n&S)===0)return;t.f^=S}}P.push(t)}function qr(e){hn(),v!==null&&An();var t=ae.ensure();t.is_fork=!0,y=new Map;var n=!1,r=t.settled();tt(e),y=null;for(var[s,f]of t.previous)s.v=f;return{commit:async()=>{if(n){await r;return}ee.has(t)||Tn(),n=!0,t.is_fork=!1;for(var[l,o]of t.current)l.v=o;tt(()=>{var a=new Set;for(var i of t.current.keys())jt(i,a);Yn(a),Ut()}),t.revive(),await r},discard:()=>{!n&&ee.has(t)&&(ee.delete(t),t.discard())}}}function Fn(e,t,n,r){const s=De()?_t:Ln;if(n.length===0&&e.length===0){r(t.map(s));return}var f=v,l=h,o=Mn();function a(){Promise.all(n.map(i=>jn(i))).then(i=>{o();try{r([...t.map(s),...i])}catch(u){(l.f&K)===0&&Ce(u,l)}f==null||f.deactivate(),Fe()}).catch(i=>{Ce(i,l)})}e.length>0?Promise.all(e).then(()=>{o();try{return a()}finally{f==null||f.deactivate(),Fe()}}):a()}function Mn(){var e=h,t=_,n=k,r=v;return function(f=!0){Ee(e),Z(t),Ie(n),f&&(r==null||r.activate())}}function Fe(){Ee(null),Z(null),Ie(null)}function _t(e){var t=E|O,n=_!==null&&(_.f&E)!==0?_:null;return h!==null&&(h.f|=Oe),{ctx:k,deps:null,effects:null,equals:Nt,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??h,ac:null}}function jn(e,t){let n=h;n===null&&wn();var r=n.b,s=void 0,f=dt(A),l=!_,o=new Map;return $n(()=>{var p;var a=kt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{i===v&&i.committed&&i.deactivate(),Fe()})}catch(d){a.reject(d),Fe()}var i=v;if(l){var u=!r.is_pending();r.update_pending_count(1),i.increment(u),(p=o.get(i))==null||p.reject(ve),o.delete(i),o.set(i,a)}const c=(d,R=void 0)=>{if(i.activate(),R)R!==ve&&(f.f|=$,rt(f,R));else{(f.f&$)!==0&&(f.f^=$),rt(f,d);for(const[B,ce]of o){if(o.delete(B),B===i)break;ce.reject(ve)}}l&&(r.update_pending_count(-1),i.decrement(u))};a.promise.then(c,d=>c(null,d||"unknown"))}),Kn(()=>{for(const a of o.values())a.reject(ve)}),new Promise(a=>{function i(u){function c(){u===s?a(f):i(s)}u.then(c,c)}i(s)})}function Yr(e){const t=_t(e);return Qt(t),t}function Ln(e){const t=_t(e);return t.equals=Pt,t}function qt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n0&&!Ht&&Ut()}return t}function Ut(){Ht=!1;var e=se;Ye(!0);const t=Array.from(Me);try{for(const n of t)(n.f&S)!==0&&T(n,L),Ne(n)&&ke(n)}finally{Ye(e)}Me.clear()}function Xe(e){J(e,e.v+1)}function Bt(e,t){var n=e.reactions;if(n!==null)for(var r=De(),s=n.length,f=0;f{if(fe===f)return o();var a=_,i=fe;Z(null),Rt(f);var u=o();return Z(a),Rt(i),u};return r&&n.set("length",G(e.length)),new Proxy(e,{defineProperty(o,a,i){(!("value"in i)||i.configurable===!1||i.enumerable===!1||i.writable===!1)&&Sn();var u=n.get(a);return u===void 0?u=l(()=>{var c=G(i.value);return n.set(a,c),c}):J(u,i.value,!0),!0},deleteProperty(o,a){var i=n.get(a);if(i===void 0){if(a in o){const u=l(()=>G(A));n.set(a,u),Xe(s)}}else J(i,A),Xe(s);return!0},get(o,a,i){var d;if(a===re)return e;var u=n.get(a),c=a in o;if(u===void 0&&(!c||(d=Se(o,a))!=null&&d.writable)&&(u=l(()=>{var R=Te(c?o[a]:A),B=G(R);return B}),n.set(a,u)),u!==void 0){var p=Ae(u);return p===A?void 0:p}return Reflect.get(o,a,i)},getOwnPropertyDescriptor(o,a){var i=Reflect.getOwnPropertyDescriptor(o,a);if(i&&"value"in i){var u=n.get(a);u&&(i.value=Ae(u))}else if(i===void 0){var c=n.get(a),p=c==null?void 0:c.v;if(c!==void 0&&p!==A)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return i},has(o,a){var p;if(a===re)return!0;var i=n.get(a),u=i!==void 0&&i.v!==A||Reflect.has(o,a);if(i!==void 0||h!==null&&(!u||(p=Se(o,a))!=null&&p.writable)){i===void 0&&(i=l(()=>{var d=u?Te(o[a]):A,R=G(d);return R}),n.set(a,i));var c=Ae(i);if(c===A)return!1}return u},set(o,a,i,u){var wt;var c=n.get(a),p=a in o;if(r&&a==="length")for(var d=i;dG(A)),n.set(d+"",R))}if(c===void 0)(!p||(wt=Se(o,a))!=null&&wt.writable)&&(c=l(()=>G(void 0)),J(c,Te(i)),n.set(a,c));else{p=c.v!==A;var B=l(()=>Te(i));J(c,B)}var ce=Reflect.getOwnPropertyDescriptor(o,a);if(ce!=null&&ce.set&&ce.set.call(u,i),!p){if(r&&typeof a=="string"){var ht=n.get("length"),Ke=Number(a);Number.isInteger(Ke)&&Ke>=ht.v&&J(ht,Ke+1)}Xe(s)}return!0},ownKeys(o){Ae(s);var a=Reflect.ownKeys(o).filter(c=>{var p=n.get(c);return p===void 0||p.v!==A});for(var[i,u]of n)u.v!==A&&!(i in o)&&a.push(i);return a},setPrototypeOf(){Rn()}})}function gt(e){try{if(e!==null&&typeof e=="object"&&re in e)return e[re]}catch{}return e}function Ur(e,t){return Object.is(gt(e),gt(t))}var Tt,Hn,Un,Vt,Gt;function Br(){if(Tt===void 0){Tt=window,Hn=document,Un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vt=Se(t,"firstChild").get,Gt=Se(t,"nextSibling").get,Et(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Et(n)&&(n.__t=void 0)}}function je(e=""){return document.createTextNode(e)}function Le(e){return Vt.call(e)}function W(e){return Gt.call(e)}function Vr(e,t){if(!X)return Le(e);var n=Le(m);if(n===null)n=m.appendChild(je());else if(t&&n.nodeType!==ot){var r=je();return n==null||n.before(r),ye(r),r}return ye(n),n}function Gr(e,t=!1){if(!X){var n=Le(e);return n instanceof Comment&&n.data===""?W(n):n}if(t&&(m==null?void 0:m.nodeType)!==ot){var r=je();return m==null||m.before(r),ye(r),r}return m}function Kr(e,t=1,n=!1){let r=X?m:e;for(var s;t--;)s=r,r=W(r);if(!X)return r;if(n&&(r==null?void 0:r.nodeType)!==ot){var f=je();return r===null?s==null||s.after(f):r.before(f),ye(f),f}return ye(r),r}function Bn(e){e.textContent=""}function $r(){return!1}function zr(e){X&&Le(e)!==null&&Bn(e)}let At=!1;function Vn(){At||(At=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function pt(e){var t=_,n=h;Z(null),Ee(null);try{return e()}finally{Z(t),Ee(n)}}function Xr(e,t,n,r=n){e.addEventListener(t,()=>pt(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Vn()}function Kt(e){h===null&&(_===null&&mn(),En()),me&&yn()}function Gn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function q(e,t,n){var r=h;r!==null&&(r.f&j)!==0&&(e|=j);var s={ctx:k,deps:null,nodes:null,f:e|O|F,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{ke(s),s.f|=at}catch(o){throw oe(s),o}else t!==null&&le(s);var f=s;if(n&&f.deps===null&&f.teardown===null&&f.nodes===null&&f.first===f.last&&(f.f&Oe)===0&&(f=f.first,(e&H)!==0&&(e&Pe)!==0&&f!==null&&(f.f|=Pe)),f!==null&&(f.parent=r,r!==null&&Gn(f,r),_!==null&&(_.f&E)!==0&&(e&ue)===0)){var l=_;(l.effects??(l.effects=[])).push(f)}return s}function qe(){return _!==null&&!M}function Kn(e){const t=q(Be,null,!1);return T(t,S),t.teardown=e,t}function Zr(e){Kt();var t=h.f,n=!_&&(t&U)!==0&&(t&at)===0;if(n){var r=k;(r.e??(r.e=[])).push(e)}else return $t(e)}function $t(e){return q(ft|Ot,e,!1)}function Wr(e){return Kt(),q(Be|Ot,e,!0)}function Jr(e){ae.ensure();const t=q(ue|Oe,e,!0);return(n={})=>new Promise(r=>{n.outro?Zn(t,()=>{oe(t),r(void 0)}):(oe(t),r(void 0))})}function Qr(e){return q(ft,e,!1)}function $n(e){return q(lt|Oe,e,!0)}function es(e,t=0){return q(Be|t,e,!0)}function ts(e,t=[],n=[],r=[]){Fn(r,t,n,s=>{q(Be,()=>e(...s.map(Ae)),!0)})}function ns(e,t=0){var n=q(H|t,e,!0);return n}function rs(e){return q(U|Oe,e,!0)}function zt(e){var t=e.teardown;if(t!==null){const n=me,r=_;St(!0),Z(null);try{t.call(null)}finally{St(n),Z(r)}}}function Xt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&pt(()=>{s.abort(ve)});var r=n.next;(n.f&ue)!==0?n.parent=null:oe(n,t),n=r}}function zn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&U)===0&&oe(t),t=n}}function oe(e,t=!0){var n=!1;(t||(e.f&xt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Xn(e.nodes.start,e.nodes.end),n=!0),Xt(e,t&&!n),He(e,0),T(e,K);var r=e.nodes&&e.nodes.t;if(r!==null)for(const f of r)f.stop();zt(e);var s=e.parent;s!==null&&s.first!==null&&Zt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Xn(e,t){for(;e!==null;){var n=e===t?null:W(e);e.remove(),e=n}}function Zt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Zn(e,t,n=!0){var r=[];Wt(e,r,!0);var s=()=>{n&&oe(e),t&&t()},f=r.length;if(f>0){var l=()=>--f||s();for(var o of r)o.out(l)}else s()}function Wt(e,t,n){if((e.f&j)===0){e.f^=j;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var s=e.first;s!==null;){var f=s.next,l=(s.f&Pe)!==0||(s.f&U)!==0&&(e.f&H)!==0;Wt(s,t,l?n:!1),s=f}}}function ss(e){Jt(e,!0)}function Jt(e,t){if((e.f&j)!==0){e.f^=j,(e.f&S)===0&&(T(e,O),le(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Pe)!==0||(n.f&U)!==0;Jt(n,s?t:!1),n=r}var f=e.nodes&&e.nodes.t;if(f!==null)for(const l of f)(l.is_global||t)&&l.in()}}function fs(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:W(n);t.append(n),n=s}}let se=!1;function Ye(e){se=e}let me=!1;function St(e){me=e}let _=null,M=!1;function Z(e){_=e}let h=null;function Ee(e){h=e}let x=null;function Qt(e){_!==null&&(x===null?x=[e]:x.push(e))}let b=null,D=0,N=null;function Wn(e){N=e}let en=1,be=0,fe=be;function Rt(e){fe=e}function tn(){return++en}function Ne(e){var t=e.f;if((t&O)!==0)return!0;if(t&E&&(e.f&=~ie),(t&L)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;se.wv)return!0}(t&F)!==0&&y===null&&T(e,S)}return!1}function nn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(x!=null&&x.includes(e)))for(var s=0;s{e.ac.abort(ve)}),e.ac=null);try{e.f|=We;var u=e.fn,c=u(),p=e.deps;if(b!==null){var d;if(He(e,D),p!==null&&D>0)for(p.length=D+b.length,d=0;d{throw TypeError(e)};var ln=(e,t,n)=>t in e?an(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>ln(e,typeof t!="symbol"?t+"":t,n),$e=(e,t,n)=>t.has(e)||yt("Cannot "+n);var w=(e,t,n)=>($e(e,t,"read from private field"),n?n.call(e):t.get(e)),Y=(e,t,n)=>t.has(e)?yt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_e=(e,t,n,r)=>($e(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),I=(e,t,n)=>($e(e,t,"access private method"),n);var on=Array.isArray,un=Array.prototype.indexOf,tr=Array.from,nr=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyDescriptors,_n=Object.prototype,vn=Array.prototype,bt=Object.getPrototypeOf,Et=Object.isExtensible;function rr(e){return typeof e=="function"}const sr=()=>{};function fr(e){return e()}function dn(e){for(var t=0;t{e=r,t=s});return{promise:n,resolve:e,reject:t}}function ir(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const E=2,ft=4,Be=8,pn=1<<24,H=16,U=32,ue=64,it=128,F=512,S=1024,O=2048,L=4096,j=8192,K=16384,at=32768,Pe=65536,Ze=1<<17,xt=1<<18,Oe=1<<19,Ot=1<<20,ar=1<<25,ie=32768,We=1<<21,lt=1<<22,$=1<<23,re=Symbol("$state"),lr=Symbol("legacy props"),or=Symbol(""),ve=new class extends Error{constructor(){super(...arguments);V(this,"name","StaleReactionError");V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},ot=3,Dt=8;function hn(e){throw new Error("https://svelte.dev/e/experimental_async_required")}function cr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function wn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function yn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function En(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function mn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Tn(){throw new Error("https://svelte.dev/e/fork_discarded")}function An(){throw new Error("https://svelte.dev/e/fork_timing")}function _r(){throw new Error("https://svelte.dev/e/hydration_failed")}function vr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const pr=1,hr=2,wr=4,yr=8,Er=16,mr=1,gr=2,Tr=4,Ar=8,Sr=16,Rr=1,br=2,kn="[",xn="[!",On="]",ut={},A=Symbol(),kr="http://www.w3.org/1999/xhtml";function ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function xr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Or(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let X=!1;function Dr(e){X=e}let m;function ye(e){if(e===null)throw ct(),ut;return m=e}function Nr(){return ye(W(m))}function Pr(e){if(X){if(W(m)!==null)throw ct(),ut;m=e}}function Ir(e=1){if(X){for(var t=e,n=m;t--;)n=W(n);m=n}}function Cr(e=!0){for(var t=0,n=m;;){if(n.nodeType===Dt){var r=n.data;if(r===On){if(t===0)return n;t-=1}else(r===kn||r===xn)&&(t+=1)}var s=W(n);e&&n.remove(),n=s}}function Fr(e){if(!e||e.nodeType!==Dt)throw ct(),ut;return e.data}function Nt(e){return e===this.v}function Dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pt(e){return!Dn(e,this.v)}let Ve=!1;function Mr(){Ve=!0}let k=null;function Ie(e){k=e}function jr(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,l:Ve&&!t?{s:null,u:null,$:[]}:null}}function Lr(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)$t(r)}return t.i=!0,k=t.p,{}}function De(){return!Ve||k!==null&&k.l===null}let Q=[];function It(){var e=Q;Q=[],dn(e)}function Nn(e){if(Q.length===0&&!Re){var t=Q;queueMicrotask(()=>{t===Q&&It()})}Q.push(e)}function Pn(){for(;Q.length>0;)It()}function In(e){var t=h;if(t===null)return _.f|=$,e;if((t.f&at)===0){if((t.f&it)===0)throw e;t.b.error(e)}else Ce(e,t)}function Ce(e,t){for(;t!==null;){if((t.f&it)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const ee=new Set;let v=null,ze=null,y=null,P=[],Ge=null,Je=!1,Re=!1;var de,pe,te,ne,xe,he,we,g,Qe,ge,et,Ct,Ft;const Ue=class Ue{constructor(){Y(this,g);V(this,"committed",!1);V(this,"current",new Map);V(this,"previous",new Map);Y(this,de,new Set);Y(this,pe,new Set);Y(this,te,0);Y(this,ne,0);Y(this,xe,null);Y(this,he,new Set);Y(this,we,new Set);V(this,"skipped_effects",new Set);V(this,"is_fork",!1)}is_deferred(){return this.is_fork||w(this,ne)>0}process(t){var r;P=[],ze=null,this.apply();var n={parent:null,effect:null,effects:[],render_effects:[]};for(const s of t)I(this,g,Qe).call(this,s,n);this.is_fork||I(this,g,Ct).call(this),this.is_deferred()?(I(this,g,ge).call(this,n.effects),I(this,g,ge).call(this,n.render_effects)):(ze=this,v=null,mt(n.render_effects),mt(n.effects),ze=null,(r=w(this,xe))==null||r.resolve()),y=null}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&$)===0&&(this.current.set(t,t.v),y==null||y.set(t,t.v))}activate(){v=this,this.apply()}deactivate(){v===this&&(v=null,y=null)}flush(){if(this.activate(),P.length>0){if(nt(),v!==null&&v!==this)return}else w(this,te)===0&&this.process([]);this.deactivate()}discard(){for(const t of w(this,pe))t(this);w(this,pe).clear()}increment(t){_e(this,te,w(this,te)+1),t&&_e(this,ne,w(this,ne)+1)}decrement(t){_e(this,te,w(this,te)-1),t&&_e(this,ne,w(this,ne)-1),this.revive()}revive(){for(const t of w(this,he))w(this,we).delete(t),T(t,O),le(t);for(const t of w(this,we))T(t,L),le(t);this.flush()}oncommit(t){w(this,de).add(t)}ondiscard(t){w(this,pe).add(t)}settled(){return(w(this,xe)??_e(this,xe,kt())).promise}static ensure(){if(v===null){const t=v=new Ue;ee.add(v),Re||Ue.enqueue(()=>{v===t&&t.flush()})}return v}static enqueue(t){Nn(t)}apply(){}};de=new WeakMap,pe=new WeakMap,te=new WeakMap,ne=new WeakMap,xe=new WeakMap,he=new WeakMap,we=new WeakMap,g=new WeakSet,Qe=function(t,n){var u;t.f^=S;for(var r=t.first;r!==null;){var s=r.f,f=(s&(U|ue))!==0,l=f&&(s&S)!==0,o=l||(s&j)!==0||this.skipped_effects.has(r);if((r.f&it)!==0&&((u=r.b)!=null&&u.is_pending())&&(n={parent:n,effect:r,effects:[],render_effects:[]}),!o&&r.fn!==null){f?r.f^=S:(s&ft)!==0?n.effects.push(r):Ne(r)&&((r.f&H)!==0&&w(this,he).add(r),ke(r));var a=r.first;if(a!==null){r=a;continue}}var i=r.parent;for(r=r.next;r===null&&i!==null;)i===n.effect&&(I(this,g,ge).call(this,n.effects),I(this,g,ge).call(this,n.render_effects),n=n.parent),r=i.next,i=i.parent}},ge=function(t){for(const n of t)(n.f&O)!==0?w(this,he).add(n):(n.f&L)!==0&&w(this,we).add(n),I(this,g,et).call(this,n.deps),T(n,S)},et=function(t){if(t!==null)for(const n of t)(n.f&E)===0||(n.f&ie)===0||(n.f^=ie,I(this,g,et).call(this,n.deps))},Ct=function(){if(w(this,ne)===0){for(const t of w(this,de))t();w(this,de).clear()}w(this,te)===0&&I(this,g,Ft).call(this)},Ft=function(){var f;if(ee.size>1){this.previous.clear();var t=y,n=!0,r={parent:null,effect:null,effects:[],render_effects:[]};for(const l of ee){if(l===this){n=!1;continue}const o=[];for(const[i,u]of this.current){if(l.current.has(i))if(n&&u!==l.current.get(i))l.current.set(i,u);else continue;o.push(i)}if(o.length===0)continue;const a=[...l.current.keys()].filter(i=>!this.current.has(i));if(a.length>0){var s=P;P=[];const i=new Set,u=new Map;for(const c of o)Mt(c,a,i,u);if(P.length>0){v=l,l.apply();for(const c of P)I(f=l,g,Qe).call(f,c,r);l.deactivate()}P=s}}v=null,y=t}this.committed=!0,ee.delete(this)};let ae=Ue;function tt(e){var t=Re;Re=!0;try{var n;for(e&&(v!==null&&nt(),n=e());;){if(Pn(),P.length===0&&(v==null||v.flush(),P.length===0))return Ge=null,n;nt()}}finally{Re=t}}function nt(){var e=se;Je=!0;var t=null;try{var n=0;for(Ye(!0);P.length>0;){var r=ae.ensure();if(n++>1e3){var s,f;Cn()}r.process(P),z.clear()}}finally{Je=!1,Ye(e),Ge=null}}function Cn(){try{gn()}catch(e){Ce(e,Ge)}}let C=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n0)){z.clear();for(const s of C){if((s.f&(K|j))!==0)continue;const f=[s];let l=s.parent;for(;l!==null;)C.has(l)&&(C.delete(l),f.push(l)),l=l.parent;for(let o=f.length-1;o>=0;o--){const a=f[o];(a.f&(K|j))===0&&ke(a)}}C.clear()}}C=null}}function Mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const f=s.f;(f&E)!==0?Mt(s,t,n,r):(f&(lt|H))!==0&&(f&O)===0&&Lt(s,t,r)&&(T(s,O),le(s))}}function jt(e,t){if(e.reactions!==null)for(const n of e.reactions){const r=n.f;(r&E)!==0?jt(n,t):(r&Ze)!==0&&(T(n,O),t.add(n))}}function Lt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&E)!==0&&Lt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function le(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var n=t.f;if(Je&&t===h&&(n&H)!==0&&(n&xt)===0)return;if((n&(ue|U))!==0){if((n&S)===0)return;t.f^=S}}P.push(t)}function qr(e){hn(),v!==null&&An();var t=ae.ensure();t.is_fork=!0,y=new Map;var n=!1,r=t.settled();tt(e),y=null;for(var[s,f]of t.previous)s.v=f;return{commit:async()=>{if(n){await r;return}ee.has(t)||Tn(),n=!0,t.is_fork=!1;for(var[l,o]of t.current)l.v=o;tt(()=>{var a=new Set;for(var i of t.current.keys())jt(i,a);Yn(a),Ut()}),t.revive(),await r},discard:()=>{!n&&ee.has(t)&&(ee.delete(t),t.discard())}}}function Fn(e,t,n,r){const s=De()?_t:Ln;if(n.length===0&&e.length===0){r(t.map(s));return}var f=v,l=h,o=Mn();function a(){Promise.all(n.map(i=>jn(i))).then(i=>{o();try{r([...t.map(s),...i])}catch(u){(l.f&K)===0&&Ce(u,l)}f==null||f.deactivate(),Fe()}).catch(i=>{Ce(i,l)})}e.length>0?Promise.all(e).then(()=>{o();try{return a()}finally{f==null||f.deactivate(),Fe()}}):a()}function Mn(){var e=h,t=_,n=k,r=v;return function(f=!0){Ee(e),Z(t),Ie(n),f&&(r==null||r.activate())}}function Fe(){Ee(null),Z(null),Ie(null)}function _t(e){var t=E|O,n=_!==null&&(_.f&E)!==0?_:null;return h!==null&&(h.f|=Oe),{ctx:k,deps:null,effects:null,equals:Nt,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??h,ac:null}}function jn(e,t){let n=h;n===null&&wn();var r=n.b,s=void 0,f=dt(A),l=!_,o=new Map;return $n(()=>{var p;var a=kt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{i===v&&i.committed&&i.deactivate(),Fe()})}catch(d){a.reject(d),Fe()}var i=v;if(l){var u=!r.is_pending();r.update_pending_count(1),i.increment(u),(p=o.get(i))==null||p.reject(ve),o.delete(i),o.set(i,a)}const c=(d,R=void 0)=>{if(i.activate(),R)R!==ve&&(f.f|=$,rt(f,R));else{(f.f&$)!==0&&(f.f^=$),rt(f,d);for(const[B,ce]of o){if(o.delete(B),B===i)break;ce.reject(ve)}}l&&(r.update_pending_count(-1),i.decrement(u))};a.promise.then(c,d=>c(null,d||"unknown"))}),Kn(()=>{for(const a of o.values())a.reject(ve)}),new Promise(a=>{function i(u){function c(){u===s?a(f):i(s)}u.then(c,c)}i(s)})}function Yr(e){const t=_t(e);return Qt(t),t}function Ln(e){const t=_t(e);return t.equals=Pt,t}function qt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n0&&!Ht&&Ut()}return t}function Ut(){Ht=!1;var e=se;Ye(!0);const t=Array.from(Me);try{for(const n of t)(n.f&S)!==0&&T(n,L),Ne(n)&&ke(n)}finally{Ye(e)}Me.clear()}function Xe(e){J(e,e.v+1)}function Bt(e,t){var n=e.reactions;if(n!==null)for(var r=De(),s=n.length,f=0;f{if(fe===f)return o();var a=_,i=fe;Z(null),Rt(f);var u=o();return Z(a),Rt(i),u};return r&&n.set("length",G(e.length)),new Proxy(e,{defineProperty(o,a,i){(!("value"in i)||i.configurable===!1||i.enumerable===!1||i.writable===!1)&&Sn();var u=n.get(a);return u===void 0?u=l(()=>{var c=G(i.value);return n.set(a,c),c}):J(u,i.value,!0),!0},deleteProperty(o,a){var i=n.get(a);if(i===void 0){if(a in o){const u=l(()=>G(A));n.set(a,u),Xe(s)}}else J(i,A),Xe(s);return!0},get(o,a,i){var d;if(a===re)return e;var u=n.get(a),c=a in o;if(u===void 0&&(!c||(d=Se(o,a))!=null&&d.writable)&&(u=l(()=>{var R=Te(c?o[a]:A),B=G(R);return B}),n.set(a,u)),u!==void 0){var p=Ae(u);return p===A?void 0:p}return Reflect.get(o,a,i)},getOwnPropertyDescriptor(o,a){var i=Reflect.getOwnPropertyDescriptor(o,a);if(i&&"value"in i){var u=n.get(a);u&&(i.value=Ae(u))}else if(i===void 0){var c=n.get(a),p=c==null?void 0:c.v;if(c!==void 0&&p!==A)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return i},has(o,a){var p;if(a===re)return!0;var i=n.get(a),u=i!==void 0&&i.v!==A||Reflect.has(o,a);if(i!==void 0||h!==null&&(!u||(p=Se(o,a))!=null&&p.writable)){i===void 0&&(i=l(()=>{var d=u?Te(o[a]):A,R=G(d);return R}),n.set(a,i));var c=Ae(i);if(c===A)return!1}return u},set(o,a,i,u){var wt;var c=n.get(a),p=a in o;if(r&&a==="length")for(var d=i;dG(A)),n.set(d+"",R))}if(c===void 0)(!p||(wt=Se(o,a))!=null&&wt.writable)&&(c=l(()=>G(void 0)),J(c,Te(i)),n.set(a,c));else{p=c.v!==A;var B=l(()=>Te(i));J(c,B)}var ce=Reflect.getOwnPropertyDescriptor(o,a);if(ce!=null&&ce.set&&ce.set.call(u,i),!p){if(r&&typeof a=="string"){var ht=n.get("length"),Ke=Number(a);Number.isInteger(Ke)&&Ke>=ht.v&&J(ht,Ke+1)}Xe(s)}return!0},ownKeys(o){Ae(s);var a=Reflect.ownKeys(o).filter(c=>{var p=n.get(c);return p===void 0||p.v!==A});for(var[i,u]of n)u.v!==A&&!(i in o)&&a.push(i);return a},setPrototypeOf(){Rn()}})}function gt(e){try{if(e!==null&&typeof e=="object"&&re in e)return e[re]}catch{}return e}function Ur(e,t){return Object.is(gt(e),gt(t))}var Tt,Hn,Un,Vt,Gt;function Br(){if(Tt===void 0){Tt=window,Hn=document,Un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vt=Se(t,"firstChild").get,Gt=Se(t,"nextSibling").get,Et(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Et(n)&&(n.__t=void 0)}}function je(e=""){return document.createTextNode(e)}function Le(e){return Vt.call(e)}function W(e){return Gt.call(e)}function Vr(e,t){if(!X)return Le(e);var n=Le(m);if(n===null)n=m.appendChild(je());else if(t&&n.nodeType!==ot){var r=je();return n==null||n.before(r),ye(r),r}return ye(n),n}function Gr(e,t=!1){if(!X){var n=Le(e);return n instanceof Comment&&n.data===""?W(n):n}if(t&&(m==null?void 0:m.nodeType)!==ot){var r=je();return m==null||m.before(r),ye(r),r}return m}function Kr(e,t=1,n=!1){let r=X?m:e;for(var s;t--;)s=r,r=W(r);if(!X)return r;if(n&&(r==null?void 0:r.nodeType)!==ot){var f=je();return r===null?s==null||s.after(f):r.before(f),ye(f),f}return ye(r),r}function Bn(e){e.textContent=""}function $r(){return!1}function zr(e){X&&Le(e)!==null&&Bn(e)}let At=!1;function Vn(){At||(At=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function pt(e){var t=_,n=h;Z(null),Ee(null);try{return e()}finally{Z(t),Ee(n)}}function Xr(e,t,n,r=n){e.addEventListener(t,()=>pt(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Vn()}function Kt(e){h===null&&(_===null&&mn(),En()),me&&yn()}function Gn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function q(e,t,n){var r=h;r!==null&&(r.f&j)!==0&&(e|=j);var s={ctx:k,deps:null,nodes:null,f:e|O|F,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{ke(s),s.f|=at}catch(o){throw oe(s),o}else t!==null&&le(s);var f=s;if(n&&f.deps===null&&f.teardown===null&&f.nodes===null&&f.first===f.last&&(f.f&Oe)===0&&(f=f.first,(e&H)!==0&&(e&Pe)!==0&&f!==null&&(f.f|=Pe)),f!==null&&(f.parent=r,r!==null&&Gn(f,r),_!==null&&(_.f&E)!==0&&(e&ue)===0)){var l=_;(l.effects??(l.effects=[])).push(f)}return s}function qe(){return _!==null&&!M}function Kn(e){const t=q(Be,null,!1);return T(t,S),t.teardown=e,t}function Zr(e){Kt();var t=h.f,n=!_&&(t&U)!==0&&(t&at)===0;if(n){var r=k;(r.e??(r.e=[])).push(e)}else return $t(e)}function $t(e){return q(ft|Ot,e,!1)}function Wr(e){return Kt(),q(Be|Ot,e,!0)}function Jr(e){ae.ensure();const t=q(ue|Oe,e,!0);return(n={})=>new Promise(r=>{n.outro?Zn(t,()=>{oe(t),r(void 0)}):(oe(t),r(void 0))})}function Qr(e){return q(ft,e,!1)}function $n(e){return q(lt|Oe,e,!0)}function es(e,t=0){return q(Be|t,e,!0)}function ts(e,t=[],n=[],r=[]){Fn(r,t,n,s=>{q(Be,()=>e(...s.map(Ae)),!0)})}function ns(e,t=0){var n=q(H|t,e,!0);return n}function rs(e){return q(U|Oe,e,!0)}function zt(e){var t=e.teardown;if(t!==null){const n=me,r=_;St(!0),Z(null);try{t.call(null)}finally{St(n),Z(r)}}}function Xt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&pt(()=>{s.abort(ve)});var r=n.next;(n.f&ue)!==0?n.parent=null:oe(n,t),n=r}}function zn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&U)===0&&oe(t),t=n}}function oe(e,t=!0){var n=!1;(t||(e.f&xt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Xn(e.nodes.start,e.nodes.end),n=!0),Xt(e,t&&!n),He(e,0),T(e,K);var r=e.nodes&&e.nodes.t;if(r!==null)for(const f of r)f.stop();zt(e);var s=e.parent;s!==null&&s.first!==null&&Zt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Xn(e,t){for(;e!==null;){var n=e===t?null:W(e);e.remove(),e=n}}function Zt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Zn(e,t,n=!0){var r=[];Wt(e,r,!0);var s=()=>{n&&oe(e),t&&t()},f=r.length;if(f>0){var l=()=>--f||s();for(var o of r)o.out(l)}else s()}function Wt(e,t,n){if((e.f&j)===0){e.f^=j;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var s=e.first;s!==null;){var f=s.next,l=(s.f&Pe)!==0||(s.f&U)!==0&&(e.f&H)!==0;Wt(s,t,l?n:!1),s=f}}}function ss(e){Jt(e,!0)}function Jt(e,t){if((e.f&j)!==0){e.f^=j,(e.f&S)===0&&(T(e,O),le(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Pe)!==0||(n.f&U)!==0;Jt(n,s?t:!1),n=r}var f=e.nodes&&e.nodes.t;if(f!==null)for(const l of f)(l.is_global||t)&&l.in()}}function fs(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:W(n);t.append(n),n=s}}let se=!1;function Ye(e){se=e}let me=!1;function St(e){me=e}let _=null,M=!1;function Z(e){_=e}let h=null;function Ee(e){h=e}let x=null;function Qt(e){_!==null&&(x===null?x=[e]:x.push(e))}let b=null,D=0,N=null;function Wn(e){N=e}let en=1,be=0,fe=be;function Rt(e){fe=e}function tn(){return++en}function Ne(e){var t=e.f;if((t&O)!==0)return!0;if(t&E&&(e.f&=~ie),(t&L)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;se.wv)return!0}(t&F)!==0&&y===null&&T(e,S)}return!1}function nn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(x!=null&&x.includes(e)))for(var s=0;s{e.ac.abort(ve)}),e.ac=null);try{e.f|=We;var u=e.fn,c=u(),p=e.deps;if(b!==null){var d;if(He(e,D),p!==null&&D>0)for(p.length=D+b.length,d=0;d{throw TypeError(a)};var x=(a,e,t)=>e in a?S(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var A=(a,e,t)=>x(a,typeof e!="symbol"?e+"":e,t),T=(a,e,t)=>e.has(a)||y("Cannot "+t);var s=(a,e,t)=>(T(a,e,"read from private field"),t?t.call(a):e.get(a)),u=(a,e,t)=>e.has(a)?y("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,t),w=(a,e,t,i)=>(T(a,e,"write to private field"),i?i.call(a,t):e.set(a,t),t);import{A as E,W as D,X as k,Y as N,Z as F,_ as M,F as g,a0 as B,a1 as C,a2 as Y,a3 as H,a4 as I,a5 as L,a6 as O,a7 as P,a8 as W,a9 as X,aa as R}from"./mO2F3zLa.js";var d,l,c,_,v,m,b;class Z{constructor(e,t=!0){A(this,"anchor");u(this,d,new Map);u(this,l,new Map);u(this,c,new Map);u(this,_,new Set);u(this,v,!0);u(this,m,()=>{var e=E;if(s(this,d).has(e)){var t=s(this,d).get(e),i=s(this,l).get(t);if(i)D(i),s(this,_).delete(t);else{var n=s(this,c).get(t);n&&(s(this,l).set(t,n.effect),s(this,c).delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[f,r]of s(this,d)){if(s(this,d).delete(f),f===e)break;const h=s(this,c).get(r);h&&(k(h.effect),s(this,c).delete(r))}for(const[f,r]of s(this,l)){if(f===t||s(this,_).has(f))continue;const h=()=>{if(Array.from(s(this,d).values()).includes(f)){var p=document.createDocumentFragment();C(r,p),p.append(F()),s(this,c).set(f,{effect:r,fragment:p})}else k(r);s(this,_).delete(f),s(this,l).delete(f)};s(this,v)||!i?(s(this,_).add(f),N(r,h,!1)):h()}}});u(this,b,e=>{s(this,d).delete(e);const t=Array.from(s(this,d).values());for(const[i,n]of s(this,c))t.includes(i)||(k(n.effect),s(this,c).delete(i))});this.anchor=e,w(this,v,t)}ensure(e,t){var i=E,n=Y();if(t&&!s(this,l).has(e)&&!s(this,c).has(e))if(n){var f=document.createDocumentFragment(),r=F();f.append(r),s(this,c).set(e,{effect:M(()=>t(r)),fragment:f})}else s(this,l).set(e,M(()=>t(this.anchor)));if(s(this,d).set(i,e),n){for(const[h,o]of s(this,l))h===e?i.skipped_effects.delete(o):i.skipped_effects.add(o);for(const[h,o]of s(this,c))h===e?i.skipped_effects.delete(o.effect):i.skipped_effects.add(o.effect);i.oncommit(s(this,m)),i.ondiscard(s(this,b))}else g&&(this.anchor=B),s(this,m).call(this)}}d=new WeakMap,l=new WeakMap,c=new WeakMap,_=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;function z(a,e,t=!1){g&&I();var i=new Z(a),n=t?L:0;function f(r,h){if(g){const p=O(a)===P;if(r===p){var o=W();X(o),i.anchor=o,R(!1),i.ensure(r,h),R(!0);return}}i.ensure(r,h)}H(()=>{var r=!1;e((h,o=!0)=>{r=!0,f(o,h)}),r||f(!1,null)},n)}export{Z as B,z as i}; diff --git a/_app/immutable/chunks/w0qlehmu.js b/_app/immutable/chunks/w0qlehmu.js new file mode 100644 index 0000000..9d13cc3 --- /dev/null +++ b/_app/immutable/chunks/w0qlehmu.js @@ -0,0 +1 @@ +var Zt=t=>{throw TypeError(t)};var Ce=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var w=(t,e,n)=>(Ce(t,e,"read from private field"),n?n.call(t):e.get(t)),U=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b0 as At,b1 as je,j as T,g as I,i as O,B as pt,b2 as te,b3 as Ne}from"./s1dcSIVc.js";import{o as ee}from"./C0eu8ep9.js";const M=[];function Nt(t,e=At){let n=null;const r=new Set;function a(i){if(je(t,i)&&(t=i,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:o}}class qt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}new URL("sveltekit-internal://");function qe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function De(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ke(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Me(t,e));const Y=new Map;function ze(t,e){const n=Bt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ke(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Fe(t,e,n){if(Y.size>0){const r=Bt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ut(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Ge.exec(c),[,u,v,f,h]=d;return e.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return Ut(c)}).join("")}).join("")}/?$`),params:e}}function Ye(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function He(t){return t.slice(1).split("/").filter(Ye)}function Je(t,e,n){const r={},a=t.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=e[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function Ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Xe({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=We(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Je(_,v,r)},errors:[1,...d||[]].map(h=>t[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,t[i]]}function o(i){return i===void 0?i:[a.has(i),t[i]]}}function pe(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ne(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var le;const L=((le=globalThis.__sveltekit_8ur6r8)==null?void 0:le.base)??"";var fe;const Qe=((fe=globalThis.__sveltekit_8ur6r8)==null?void 0:fe.assets)??L??"",Ze="1766767339822",ge="sveltekit:snapshot",me="sveltekit:scroll",_e="sveltekit:states",tn="sveltekit:pageurl",F="sveltekit:history",J="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Kt=location.origin;function we(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function St(){return{x:pageXOffset,y:pageYOffset}}function z(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ae={...q,"":q.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ve(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Ot(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||Et(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===Kt&&t.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function gt(t){let e=null,n=null,r=null,a=null,s=null,o=null,i=t;for(;i&&i!==document.documentElement;)r===null&&(r=z(i,"preload-code")),a===null&&(a=z(i,"preload-data")),e===null&&(e=z(i,"keepfocus")),n===null&&(n=z(i,"noscroll")),s===null&&(s=z(i,"reload")),o===null&&(o=z(i,"replacestate")),i=ye(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ae[r??"off"],preload_data:ae[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(o)}}function re(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(o=>o)}function a(o){n=!1,e.set(o)}function s(o){let i;return e.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const be={v:()=>{}};function en(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ze;return o&&(t(!0),be.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:r}}function Et(t,e,n){return t.origin!==Kt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Tn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const nn=new Set([...ke]);[...nn];function an(t){return t.filter(e=>e!=null)}function Mt(t){return t instanceof qt||t instanceof Vt?t.status:500}function rn(t){return t instanceof Vt?t.text:"Internal Error"}let R,X,Tt;const on=ee.toString().includes("$$")||/function \w+\(\) \{\}/.test(ee.toString());var nt,at,rt,ot,st,it,ct,lt,ue,ft,de,ut,he;on?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Tt={current:!1}):(R=new(ue=class{constructor(){U(this,nt,T({}));U(this,at,T(null));U(this,rt,T(null));U(this,ot,T({}));U(this,st,T({id:null}));U(this,it,T({}));U(this,ct,T(-1));U(this,lt,T(new URL("https://example.com")))}get data(){return I(w(this,nt))}set data(e){O(w(this,nt),e)}get form(){return I(w(this,at))}set form(e){O(w(this,at),e)}get error(){return I(w(this,rt))}set error(e){O(w(this,rt),e)}get params(){return I(w(this,ot))}set params(e){O(w(this,ot),e)}get route(){return I(w(this,st))}set route(e){O(w(this,st),e)}get state(){return I(w(this,it))}set state(e){O(w(this,it),e)}get status(){return I(w(this,ct))}set status(e){O(w(this,ct),e)}get url(){return I(w(this,lt))}set url(e){O(w(this,lt),e)}},nt=new WeakMap,at=new WeakMap,rt=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,ue),X=new(de=class{constructor(){U(this,ft,T(null))}get current(){return I(w(this,ft))}set current(e){O(w(this,ft),e)}},ft=new WeakMap,de),Tt=new(he=class{constructor(){U(this,ut,T(!1))}get current(){return I(w(this,ut))}set current(e){O(w(this,ut),e)}},ut=new WeakMap,he),be.v=()=>Tt.current=!0);function Se(t){Object.assign(R,t)}const sn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=pe(me)??{},Q=pe(ge)??{},N={url:re({}),page:re({}),navigating:Nt(null),updated:en()};function zt(t){V[t]=St()}function cn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function Z(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function oe(){}let Ft,$t,mt,P,Pt,b;const _t=[],wt=[];let y=null;function Ct(){var t;(t=y==null?void 0:y.fork)==null||t.then(e=>e==null?void 0:e.discard()),y=null}const ht=new Map,Re=new Set,ln=new Set,H=new Set;let m={branch:[],error:null,url:null},xe=!1,yt=!1,se=!0,tt=!1,W=!1,Ae=!1,Gt=!1,Wt,S,A,D;const vt=new Set,ie=new Map;async function Pn(t,e,n){var s,o,i,c,l;(s=globalThis.__sveltekit_8ur6r8)!=null&&s.data&&globalThis.__sveltekit_8ur6r8.data,document.URL!==location.href&&(location.href=location.href),b=t,await((i=(o=t.hooks).init)==null?void 0:i.call(o)),Ft=Xe(t),P=document.documentElement,Pt=e,$t=t.nodes[0],mt=t.nodes[1],$t(),mt(),S=(c=history.state)==null?void 0:c[F],A=(l=history.state)==null?void 0:l[J],S||(S=A=Date.now(),history.replaceState({...history.state,[F]:S,[J]:A},""));const r=V[S];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pt,n)):(await G({type:"enter",url:we(b.hash?xn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function fn(){_t.length=0,Gt=!1}function Le(t){wt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=wt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ue(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=wt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ce(){zt(S),ne(me,V),Le(A),ne(ge,Q)}async function un(t,e,n,r){let a;e.invalidateAll&&Ct(),await G({type:"goto",url:we(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0,a=[...ie.keys()]),e.invalidate&&e.invalidate.forEach(bn)}}),e.invalidateAll&&pt().then(pt).then(()=>{ie.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function dn(t){if(t.id!==(y==null?void 0:y.id)){Ct();const e={};if(vt.add(e),y={id:t.id,token:e,promise:Ie({...t,preload:e}).then(n=>(vt.delete(e),n.type==="loaded"&&n.state.error&&Ct(),n)),fork:null},te){const n=y;n.fork=n.promise.then(r=>{if(n===y&&r.type==="loaded")try{return te(()=>{Wt.$set(r.props),Se(r.props.page)})}catch{}return null})}}return y.promise}async function It(t){var n;const e=(n=await Rt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}async function Te(t,e,n){var a;m=t.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,t.props.page),Wt=new b.root({target:e,props:{...t.props,stores:N,components:wt},hydrate:n,sync:!1}),await Promise.resolve(),Ue(A),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(s))}yt=!0}function bt({url:t,params:e,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(L&&(t.pathname===L||t.pathname===L+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);t.pathname=qe(t.pathname,i),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:an(n).map(f=>f.node.component),page:Qt(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ht(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function gn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function mn({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Qt(R),constructors:[]}}}async function Ie({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((y==null?void 0:y.id)===t)return vt.delete(y.token),y.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?t!==kt(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=gn(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var C;if(!g)return;const k=m.branch[p];return g[1]===(k==null?void 0:k.loader)&&!pn(f,u,d,v,(C=k.universal)==null?void 0:C.uses,r)?k:(f=!0,Yt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var dt;const $={};for(let B=0;B{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ht(s)}),i={node:await mt(),loader:mt,universal:null,server:null,data:null};return bt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return un(new URL(o.location,location.href),{},0);throw o}}async function wn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>hn(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ht.set(e,r),n=await r}catch{ht.delete(e);return}return n}async function Rt(t,e){if(t&&!Et(t,L,b.hash)){const n=await wn(t);if(!n)return;const r=yn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:kt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function yn(t){return De(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function kt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Oe({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Xt(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return tt||Re.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=oe,block:d=oe,event:u}){var B;const v=D;D=c;const f=await Rt(e,!1),h=t==="enter"?Xt(m,f,e,t):Oe({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),D===c&&(D=v);return}const _=S,g=A;l(),tt=!0,yt&&h.navigation.type!=="enter"&&N.navigating.set(X.current=h.navigation);let p=f&&await Ie(f);if(!p){if(Et(e,L,b.hash))return await Z(e,s);p=await $e(e,{id:null},await et(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,D!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Jt({status:500,error:await et(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await Ee(),await Z(e,s));if(fn(),zt(_),Le(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const E=s?0:1,K={[F]:S+=E,[J]:A+=E,[_e]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||cn(S,A)}const k=f&&(y==null?void 0:y.id)===f.id?y.fork:null;y=null,p.props.page.state=o;let x;if(yt){const E=(await Promise.all(Array.from(ln,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(E.length>0){let j=function(){E.forEach(xt=>{H.delete(xt)})};E.push(j),E.forEach(xt=>{H.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Wt.$set(p.props),Se(p.props.page),x=(B=Ne)==null?void 0:B()),Ae=!0}else await Te(p,Pt,!1);const{activeElement:C}=document;await x,await pt(),await pt();let $=n?n.scroll:a?St():null;if(se){const E=e.hash&&document.getElementById(Pe(e));if($)scrollTo($.x,$.y);else if(E){E.scrollIntoView();const{top:K,left:j}=E.getBoundingClientRect();$={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const dt=document.activeElement!==C&&document.activeElement!==document.body;!r&&!dt&&Rn(e,$),se=!0,p.props.page&&Object.assign(R,p.props.page),tt=!1,t==="popstate"&&Ue(A),h.fulfil(void 0),H.forEach(E=>E(h.navigation)),N.navigating.set(X.current=null)}async function $e(t,e,n,r,a){return t.origin===Kt&&t.pathname===location.pathname&&!xe?await Jt({status:r,error:n,url:t,route:e}):await Z(t,a)}function vn(){let t,e,n;P.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,q.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],q.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(It(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=ve(i,P),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=Ot(l,L,b.hash);if(v||f)return;const h=gt(l),_=u&&kt(m.url)===kt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=q.tap;const g=await Rt(u,!1);if(!g)return;dn(g)}else c<=h.preload_code&&(e=l,n=c,It(u))}function o(){a.disconnect();for(const i of P.querySelectorAll("a")){const{url:c,external:l,download:d}=Ot(i,L,b.hash);if(l||d)continue;const u=gt(i);u.reload||(u.preload_code===q.viewport&&a.observe(i),u.preload_code===q.eager&&It(c))}}H.add(o),o()}function et(t,e){if(t instanceof qt)return t.body;const n=Mt(t),r=rn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function bn(t){if(typeof t=="function")_t.push(t);else{const{href:e}=new URL(t,location.href);_t.push(n=>n.href===e)}}function kn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ce(),!tt){const a=Xt(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Re.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||vn(),P.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=ve(n.composedPath()[0],P);if(!r)return;const{url:a,external:s,target:o,download:i}=Ot(r,L,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=gt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===Lt(location);if(s||c.reload&&(!v||!u)){Oe({url:a,type:"link",event:n})?tt=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,zt(S),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),P.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Et(i,L,!1))return;const c=n.target,l=gt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!jt){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(D={},a===S)return;const s=V[a],o=n.state[_e]??{},i=new URL(n.state[tn]??location.href),c=n.state[J],l=m.url?Lt(location)===Lt(m.url):!1;if(c===A&&(Ae||l)){o!==R.state&&(R.state=o),t(i),V[S]=St(),s&&scrollTo(s.x,s.y),S=a;return}const u=a-S;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{S=a,A=c},block:()=>{history.go(-u)},nav_token:D,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++S,[J]:A},"",location.href))});for(const n of document.querySelectorAll("link"))sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(X.current=null)});function t(n){m.url=R.url=n,N.page.set(Qt(R)),N.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=En(p.uses)),Yt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;jt=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),jt=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Pe(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Pn as a,Tn as l,R as p,N as s}; diff --git a/_app/immutable/entry/app.30in_-jf.js b/_app/immutable/entry/app.30in_-jf.js new file mode 100644 index 0000000..7e3af45 --- /dev/null +++ b/_app/immutable/entry/app.30in_-jf.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CnLgM3FL.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.CisfWgN0.css","../nodes/1.DhR-qFQt.js","../chunks/eH5yZvH4.js","../chunks/B1OWdr8I.js","../chunks/OXvvA7WZ.js","../nodes/2.DFA88LXm.js","../chunks/3CBxeiL8.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.D0bIWboi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/-GZLqLPj.js","../nodes/4.ZDG_vv2X.js","../nodes/5.Drz7TOWB.js","../nodes/6.iPfekCE9.js","../chunks/DBQEMQMg.js","../nodes/7.Br1T190m.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as C,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as D,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as I}from"../chunks/tuD4s8Oc.js";import{b as V}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var E,d;class be{constructor(e){x(this,E);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return g(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(g(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,E,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,E)[e]=u(this,E)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,E)[e].push(n),()=>{u(this,E)[e]=u(this,E)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}E=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},y=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ve={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{g(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=C(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=D(),H=L(q);F(H,()=>g(c),(J,K)=>{V(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};I(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,g(s))),O(R,p)};I(P,R=>{g(a)&&R(w)})}ue(m),O(o,m)};I(U,o=>{g(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>y(()=>import("../nodes/0.CnLgM3FL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>y(()=>import("../nodes/1.DhR-qFQt.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>y(()=>import("../nodes/2.DFA88LXm.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>y(()=>import("../nodes/3.D0bIWboi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/4.ZDG_vv2X.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>y(()=>import("../nodes/5.Drz7TOWB.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/6.iPfekCE9.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>y(()=>import("../nodes/7.Br1T190m.js"),__vite__mapDeps([21,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/privacy-scanner":[7]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ve as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.B4hGjeq8.js b/_app/immutable/entry/app.B4hGjeq8.js new file mode 100644 index 0000000..f1e3c15 --- /dev/null +++ b/_app/immutable/entry/app.B4hGjeq8.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CnLgM3FL.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.CisfWgN0.css","../nodes/1.DSOD4Gor.js","../chunks/eH5yZvH4.js","../chunks/DNoroI56.js","../chunks/OXvvA7WZ.js","../nodes/2.DFA88LXm.js","../chunks/3CBxeiL8.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.D0bIWboi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/-GZLqLPj.js","../nodes/4.ZDG_vv2X.js","../nodes/5.B8admk3O.js","../nodes/6.B-tAryQ5.js","../chunks/DBQEMQMg.js","../nodes/7.Br1T190m.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as C,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as D,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as I}from"../chunks/tuD4s8Oc.js";import{b as V}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var E,d;class be{constructor(e){x(this,E);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return g(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(g(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,E,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,E)[e]=u(this,E)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,E)[e].push(n),()=>{u(this,E)[e]=u(this,E)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}E=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},y=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ve={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{g(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=C(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=D(),H=L(q);F(H,()=>g(c),(J,K)=>{V(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};I(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,g(s))),O(R,p)};I(P,R=>{g(a)&&R(w)})}ue(m),O(o,m)};I(U,o=>{g(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>y(()=>import("../nodes/0.CnLgM3FL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>y(()=>import("../nodes/1.DSOD4Gor.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>y(()=>import("../nodes/2.DFA88LXm.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>y(()=>import("../nodes/3.D0bIWboi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/4.ZDG_vv2X.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>y(()=>import("../nodes/5.B8admk3O.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/6.B-tAryQ5.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>y(()=>import("../nodes/7.Br1T190m.js"),__vite__mapDeps([21,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/privacy-scanner":[7]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ve as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.CGFzOxYd.js b/_app/immutable/entry/app.CGFzOxYd.js new file mode 100644 index 0000000..a473e08 --- /dev/null +++ b/_app/immutable/entry/app.CGFzOxYd.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BOu9fROT.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.DxgpWi6j.css","../nodes/1.B4gqUiTX.js","../chunks/eH5yZvH4.js","../chunks/BnDRwiy7.js","../chunks/OXvvA7WZ.js","../nodes/2.BQVGUV5T.js","../chunks/DhvLCtu-.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.CaJF70Fi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/DToPcL1w.js","../nodes/4.ByyzaBUN.js","../nodes/5.BRynbaKU.js","../nodes/6.D0nSj-gu.js","../chunks/DBQEMQMg.js","../nodes/7.uv031Qn9.js","../nodes/8.CyYeH63o.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g as E,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as D,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as I,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as V}from"../chunks/tuD4s8Oc.js";import{b as C}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var y,d;class be{constructor(e){x(this,y);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return E(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(E(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,y,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,y)[e]=u(this,y)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,y)[e].push(n),()=>{u(this,y)[e]=u(this,y)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}y=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},g=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ce={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{E(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=D(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=I(),H=L(q);F(H,()=>E(c),(J,K)=>{C(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};V(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,E(s))),O(R,p)};V(P,R=>{E(a)&&R(w)})}ue(m),O(o,m)};V(U,o=>{E(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>g(()=>import("../nodes/0.BOu9fROT.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>g(()=>import("../nodes/1.B4gqUiTX.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>g(()=>import("../nodes/2.BQVGUV5T.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>g(()=>import("../nodes/3.CaJF70Fi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/4.ByyzaBUN.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>g(()=>import("../nodes/5.BRynbaKU.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/6.D0nSj-gu.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/7.uv031Qn9.js"),__vite__mapDeps([21,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/8.CyYeH63o.js"),__vite__mapDeps([22,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/house-predictor":[7],"/tools/privacy-scanner":[8]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ce as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.C_lEBm2n.js b/_app/immutable/entry/app.C_lEBm2n.js new file mode 100644 index 0000000..98fe017 --- /dev/null +++ b/_app/immutable/entry/app.C_lEBm2n.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BOu9fROT.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.DxgpWi6j.css","../nodes/1.BQnWjh95.js","../chunks/eH5yZvH4.js","../chunks/BGpwVgpP.js","../chunks/OXvvA7WZ.js","../nodes/2.BQVGUV5T.js","../chunks/DhvLCtu-.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.CaJF70Fi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/DToPcL1w.js","../nodes/4.ByyzaBUN.js","../nodes/5.DgeppOPM.js","../nodes/6.D0nSj-gu.js","../chunks/DBQEMQMg.js","../nodes/7.uv031Qn9.js","../nodes/8.CyYeH63o.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g as E,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as D,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as I,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as V}from"../chunks/tuD4s8Oc.js";import{b as C}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var y,d;class be{constructor(e){x(this,y);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return E(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(E(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,y,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,y)[e]=u(this,y)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,y)[e].push(n),()=>{u(this,y)[e]=u(this,y)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}y=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},g=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ce={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{E(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=D(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=I(),H=L(q);F(H,()=>E(c),(J,K)=>{C(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};V(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,E(s))),O(R,p)};V(P,R=>{E(a)&&R(w)})}ue(m),O(o,m)};V(U,o=>{E(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>g(()=>import("../nodes/0.BOu9fROT.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>g(()=>import("../nodes/1.BQnWjh95.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>g(()=>import("../nodes/2.BQVGUV5T.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>g(()=>import("../nodes/3.CaJF70Fi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/4.ByyzaBUN.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>g(()=>import("../nodes/5.DgeppOPM.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/6.D0nSj-gu.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/7.uv031Qn9.js"),__vite__mapDeps([21,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/8.CyYeH63o.js"),__vite__mapDeps([22,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/house-predictor":[7],"/tools/privacy-scanner":[8]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ce as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.CnBFdTHn.js b/_app/immutable/entry/app.CnBFdTHn.js new file mode 100644 index 0000000..f1bd660 --- /dev/null +++ b/_app/immutable/entry/app.CnBFdTHn.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CnLgM3FL.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.CisfWgN0.css","../nodes/1.DKjLj_Wj.js","../chunks/eH5yZvH4.js","../chunks/BNtt_8Z9.js","../chunks/OXvvA7WZ.js","../nodes/2.DFA88LXm.js","../chunks/3CBxeiL8.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.D0bIWboi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/-GZLqLPj.js","../nodes/4.ZDG_vv2X.js","../nodes/5.Drz7TOWB.js","../nodes/6.B-tAryQ5.js","../chunks/DBQEMQMg.js","../nodes/7.Br1T190m.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as C,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as D,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as I}from"../chunks/tuD4s8Oc.js";import{b as V}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var E,d;class be{constructor(e){x(this,E);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return g(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(g(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,E,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,E)[e]=u(this,E)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,E)[e].push(n),()=>{u(this,E)[e]=u(this,E)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}E=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},y=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ve={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{g(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=C(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=D(),H=L(q);F(H,()=>g(c),(J,K)=>{V(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};I(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,g(s))),O(R,p)};I(P,R=>{g(a)&&R(w)})}ue(m),O(o,m)};I(U,o=>{g(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>y(()=>import("../nodes/0.CnLgM3FL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>y(()=>import("../nodes/1.DKjLj_Wj.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>y(()=>import("../nodes/2.DFA88LXm.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>y(()=>import("../nodes/3.D0bIWboi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/4.ZDG_vv2X.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>y(()=>import("../nodes/5.Drz7TOWB.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/6.B-tAryQ5.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>y(()=>import("../nodes/7.Br1T190m.js"),__vite__mapDeps([21,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/privacy-scanner":[7]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ve as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.DYX3z1wZ.js b/_app/immutable/entry/app.DYX3z1wZ.js new file mode 100644 index 0000000..6212155 --- /dev/null +++ b/_app/immutable/entry/app.DYX3z1wZ.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DcCAWxrr.js","../chunks/CkL4Pxt3.js","../chunks/s1dcSIVc.js","../chunks/ZgnPtkD2.js","../assets/0.Bj4WkHXk.css","../nodes/1.DzZfnWFx.js","../chunks/CPMpaYR7.js","../chunks/w0qlehmu.js","../chunks/C0eu8ep9.js","../nodes/2.CXSe1A10.js","../chunks/DQsFLTCT.js","../chunks/-tUHYaTb.js","../chunks/B6leOVDb.js","../nodes/3.5hKfmfvo.js","../chunks/SaFGkI3k.js","../chunks/2Jbz9SS3.js","../chunks/BtxxubAD.js","../nodes/4.P_foqsYU.js","../nodes/5.CMaEtCD9.js","../nodes/6.DvrwyxR5.js"])))=>i.map(i=>d[i]); +var Y=e=>{throw TypeError(e)};var G=(e,t,r)=>t.has(e)||Y("Cannot "+r);var f=(e,t,r)=>(G(e,t,"read from private field"),r?r.call(e):t.get(e)),x=(e,t,r)=>t.has(e)?Y("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,o)=>(G(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r);import{D as Q,a3 as X,a2 as Z,a4 as $,f as tt,C as et,b as rt,an as st,S as at,i as S,T as nt,g,a$ as ot,aB as it,aP as ct,p as ut,aa as lt,u as ft,j as p,B as mt,k as L,s as dt,e as ht,d as _t,r as vt,h as C,t as gt}from"../chunks/s1dcSIVc.js";import{h as Et,m as yt,u as Pt,s as bt}from"../chunks/CPMpaYR7.js";import{f as W,a as O,c as B,t as Rt}from"../chunks/CkL4Pxt3.js";import{o as kt}from"../chunks/C0eu8ep9.js";import{B as Ot,i as D}from"../chunks/B6leOVDb.js";import{p as I}from"../chunks/-tUHYaTb.js";function V(e,t,r){Q&&X();var o=new Ot(e);Z(()=>{var n=t()??null;o.ensure(n,n&&(i=>r(i,n)))},$)}function M(e,t){return e===t||(e==null?void 0:e[at])===t}function q(e={},t,r,o){return tt(()=>{var n,i;return et(()=>{n=i,i=[],rt(()=>{e!==r(...i)&&(t(e,...i),n&&M(r(...n),e)&&t(null,...n))})}),()=>{st(()=>{i&&M(r(...i),e)&&t(null,...i)})}}),e}function wt(e){return class extends Tt{constructor(t){super({component:e,...t})}}}var E,d;class Tt{constructor(t){x(this,E);x(this,d);var i;var r=new Map,o=(a,s)=>{var u=ct(s,!1,!1);return r.set(a,u),u};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return g(r.get(s)??o(s,Reflect.get(a,s)))},has(a,s){return s===nt?!0:(g(r.get(s)??o(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,u){return S(r.get(s)??o(s,u),u),Reflect.set(a,s,u)}});j(this,d,(t.hydrate?Et:yt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((i=t==null?void 0:t.props)!=null&&i.$$host)||t.sync===!1)&&ot(),j(this,E,n.$$events);for(const a of Object.keys(f(this,d)))a==="$set"||a==="$destroy"||a==="$on"||it(this,a,{get(){return f(this,d)[a]},set(s){f(this,d)[a]=s},enumerable:!0});f(this,d).$set=a=>{Object.assign(n,a)},f(this,d).$destroy=()=>{Pt(f(this,d))}}$set(t){f(this,d).$set(t)}$on(t,r){f(this,E)[t]=f(this,E)[t]||[];const o=(...n)=>r.call(this,...n);return f(this,E)[t].push(o),()=>{f(this,E)[t]=f(this,E)[t].filter(n=>n!==o)}}$destroy(){f(this,d).$destroy()}}E=new WeakMap,d=new WeakMap;const At="modulepreload",Lt=function(e,t){return new URL(e,t).href},N={},R=function(t,r,o){let n=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),w=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));n=a(r.map(l=>{if(l=Lt(l,o),l in N)return;N[l]=!0;const v=l.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(!!o)for(let c=s.length-1;c>=0;c--){const m=s[c];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const _=document.createElement("link");if(_.rel=v?"stylesheet":At,v||(_.as="script"),_.crossOrigin="",_.href=l,w&&_.setAttribute("nonce",w),document.head.appendChild(_),v)return new Promise((c,m)=>{_.addEventListener("load",c),_.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Yt={};var St=W('
'),xt=W(" ",1);function jt(e,t){ut(t,!0);let r=I(t,"components",23,()=>[]),o=I(t,"data_0",3,null),n=I(t,"data_1",3,null);lt(()=>t.stores.page.set(t.page)),ft(()=>{t.stores,t.page,t.constructors,r(),t.form,o(),n(),t.stores.page.notify()});let i=p(!1),a=p(!1),s=p(null);kt(()=>{const c=t.stores.page.subscribe(()=>{g(i)&&(S(a,!0),mt().then(()=>{S(s,document.title||"untitled page",!0)}))});return S(i,!0),c});const u=C(()=>t.constructors[1]);var w=xt(),l=L(w);{var v=c=>{const m=C(()=>t.constructors[0]);var P=B(),T=L(P);V(T,()=>g(m),(b,k)=>{q(k(b,{get data(){return o()},get form(){return t.form},get params(){return t.page.params},children:(h,Ct)=>{var U=B(),H=L(U);V(H,()=>g(u),(J,K)=>{q(K(J,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(h,U)},$$slots:{default:!0}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),O(c,P)},y=c=>{const m=C(()=>t.constructors[0]);var P=B(),T=L(P);V(T,()=>g(m),(b,k)=>{q(k(b,{get data(){return o()},get form(){return t.form},get params(){return t.page.params}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),O(c,P)};D(l,c=>{t.constructors[1]?c(v):c(y,!1)})}var F=dt(l,2);{var _=c=>{var m=St(),P=_t(m);{var T=b=>{var k=Rt();gt(()=>bt(k,g(s))),O(b,k)};D(P,b=>{g(a)&&b(T)})}vt(m),O(c,m)};D(F,c=>{g(i)&&c(_)})}O(e,w),ht()}const Gt=wt(jt),Mt=[()=>R(()=>import("../nodes/0.DcCAWxrr.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>R(()=>import("../nodes/1.DzZfnWFx.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>R(()=>import("../nodes/2.CXSe1A10.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>R(()=>import("../nodes/3.5hKfmfvo.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>R(()=>import("../nodes/4.P_foqsYU.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>R(()=>import("../nodes/5.CMaEtCD9.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>R(()=>import("../nodes/6.DvrwyxR5.js"),__vite__mapDeps([19,1,2,6,12,10,3,14]),import.meta.url)],Nt=[],Wt={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/privacy-scanner":[6]},z={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},pt=Object.fromEntries(Object.entries(z.transport).map(([e,t])=>[e,t.decode])),zt=Object.fromEntries(Object.entries(z.transport).map(([e,t])=>[e,t.encode])),Ht=!1,Jt=(e,t)=>pt[e](t);export{Jt as decode,pt as decoders,Wt as dictionary,zt as encoders,Ht as hash,z as hooks,Yt as matchers,Mt as nodes,Gt as root,Nt as server_loads}; diff --git a/_app/immutable/entry/app.D_xTzg_q.js b/_app/immutable/entry/app.D_xTzg_q.js new file mode 100644 index 0000000..3ecc501 --- /dev/null +++ b/_app/immutable/entry/app.D_xTzg_q.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BOu9fROT.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.DxgpWi6j.css","../nodes/1.3NXJOOd1.js","../chunks/eH5yZvH4.js","../chunks/D2CFGra1.js","../chunks/OXvvA7WZ.js","../nodes/2.BQVGUV5T.js","../chunks/DhvLCtu-.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.CaJF70Fi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/DToPcL1w.js","../nodes/4.ByyzaBUN.js","../nodes/5.BuArmM5m.js","../nodes/6.D0nSj-gu.js","../chunks/DBQEMQMg.js","../nodes/7.uv031Qn9.js","../nodes/8.CyYeH63o.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g as E,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as D,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as I,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as V}from"../chunks/tuD4s8Oc.js";import{b as C}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var y,d;class be{constructor(e){x(this,y);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return E(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(E(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,y,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,y)[e]=u(this,y)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,y)[e].push(n),()=>{u(this,y)[e]=u(this,y)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}y=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},g=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ce={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{E(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=D(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=I(),H=L(q);F(H,()=>E(c),(J,K)=>{C(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};V(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,E(s))),O(R,p)};V(P,R=>{E(a)&&R(w)})}ue(m),O(o,m)};V(U,o=>{E(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>g(()=>import("../nodes/0.BOu9fROT.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>g(()=>import("../nodes/1.3NXJOOd1.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>g(()=>import("../nodes/2.BQVGUV5T.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>g(()=>import("../nodes/3.CaJF70Fi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/4.ByyzaBUN.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>g(()=>import("../nodes/5.BuArmM5m.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/6.D0nSj-gu.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/7.uv031Qn9.js"),__vite__mapDeps([21,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/8.CyYeH63o.js"),__vite__mapDeps([22,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/house-predictor":[7],"/tools/privacy-scanner":[8]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ce as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.Dh4xcJFl.js b/_app/immutable/entry/app.Dh4xcJFl.js new file mode 100644 index 0000000..0738655 --- /dev/null +++ b/_app/immutable/entry/app.Dh4xcJFl.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CnLgM3FL.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.CisfWgN0.css","../nodes/1.Ct7XeYFa.js","../chunks/eH5yZvH4.js","../chunks/Lgy_oHYA.js","../chunks/OXvvA7WZ.js","../nodes/2.DFA88LXm.js","../chunks/3CBxeiL8.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.D0bIWboi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/-GZLqLPj.js","../nodes/4.ZDG_vv2X.js","../nodes/5.DwDZJvvR.js","../nodes/6.iPfekCE9.js","../chunks/DBQEMQMg.js","../nodes/7.Br1T190m.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as C,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as D,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as I}from"../chunks/tuD4s8Oc.js";import{b as V}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var E,d;class be{constructor(e){x(this,E);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return g(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(g(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,E,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,E)[e]=u(this,E)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,E)[e].push(n),()=>{u(this,E)[e]=u(this,E)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}E=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},y=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ve={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{g(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=C(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=D(),H=L(q);F(H,()=>g(c),(J,K)=>{V(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=C(()=>e.constructors[0]);var P=D(),w=L(P);F(w,()=>g(m),(R,p)=>{V(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};I(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,g(s))),O(R,p)};I(P,R=>{g(a)&&R(w)})}ue(m),O(o,m)};I(U,o=>{g(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>y(()=>import("../nodes/0.CnLgM3FL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>y(()=>import("../nodes/1.Ct7XeYFa.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>y(()=>import("../nodes/2.DFA88LXm.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>y(()=>import("../nodes/3.D0bIWboi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/4.ZDG_vv2X.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>y(()=>import("../nodes/5.DwDZJvvR.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>y(()=>import("../nodes/6.iPfekCE9.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>y(()=>import("../nodes/7.Br1T190m.js"),__vite__mapDeps([21,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/privacy-scanner":[7]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ve as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/app.I5VArHs7.js b/_app/immutable/entry/app.I5VArHs7.js new file mode 100644 index 0000000..12dcc19 --- /dev/null +++ b/_app/immutable/entry/app.I5VArHs7.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BOu9fROT.js","../chunks/Bh-96fzJ.js","../chunks/mO2F3zLa.js","../chunks/EiYUD4Mm.js","../assets/0.DxgpWi6j.css","../nodes/1.4AFC91M_.js","../chunks/eH5yZvH4.js","../chunks/WSjfo0Ud.js","../chunks/OXvvA7WZ.js","../nodes/2.BQVGUV5T.js","../chunks/DhvLCtu-.js","../chunks/ECMuNRdJ.js","../chunks/tuD4s8Oc.js","../nodes/3.CaJF70Fi.js","../chunks/Da-hDQCT.js","../chunks/CJrErHKE.js","../chunks/DToPcL1w.js","../nodes/4.ByyzaBUN.js","../nodes/5.czV5dpLK.js","../nodes/6.D0nSj-gu.js","../chunks/DBQEMQMg.js","../nodes/7.uv031Qn9.js","../nodes/8.CyYeH63o.js"])))=>i.map(i=>d[i]); +var N=t=>{throw TypeError(t)};var G=(t,e,r)=>e.has(t)||N("Cannot "+r);var u=(t,e,r)=>(G(t,e,"read from private field"),r?r.call(t):e.get(t)),x=(t,e,r)=>e.has(t)?N("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),S=(t,e,r,n)=>(G(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{F as M,a4 as Q,a3 as X,a5 as Z,i as T,U as $,g as E,aN as ee,aB as te,aO as re,p as se,ab as ae,u as ne,j,E as oe,k as L,s as ie,e as ce,d as le,r as ue,h as D,t as me}from"../chunks/mO2F3zLa.js";import{h as de,m as fe,u as _e,s as he}from"../chunks/eH5yZvH4.js";import{f as Y,a as O,c as I,t as ve}from"../chunks/Bh-96fzJ.js";import{o as ge}from"../chunks/OXvvA7WZ.js";import{B as Ee,i as V}from"../chunks/tuD4s8Oc.js";import{b as C}from"../chunks/DBQEMQMg.js";import{p as B}from"../chunks/ECMuNRdJ.js";function F(t,e,r){M&&Q();var n=new Ee(t);X(()=>{var i=e()??null;n.ensure(i,i&&(f=>r(f,i)))},Z)}function ye(t){return class extends be{constructor(e){super({component:t,...e})}}}var y,d;class be{constructor(e){x(this,y);x(this,d);var f;var r=new Map,n=(a,s)=>{var c=re(s,!1,!1);return r.set(a,c),c};const i=new Proxy({...e.props||{},$$events:{}},{get(a,s){return E(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===$?!0:(E(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});S(this,d,(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((f=e==null?void 0:e.props)!=null&&f.$$host)||e.sync===!1)&&ee(),S(this,y,i.$$events);for(const a of Object.keys(u(this,d)))a==="$set"||a==="$destroy"||a==="$on"||te(this,a,{get(){return u(this,d)[a]},set(s){u(this,d)[a]=s},enumerable:!0});u(this,d).$set=a=>{Object.assign(i,a)},u(this,d).$destroy=()=>{_e(u(this,d))}}$set(e){u(this,d).$set(e)}$on(e,r){u(this,y)[e]=u(this,y)[e]||[];const n=(...i)=>r.call(this,...i);return u(this,y)[e].push(n),()=>{u(this,y)[e]=u(this,y)[e].filter(i=>i!==n)}}$destroy(){u(this,d).$destroy()}}y=new WeakMap,d=new WeakMap;const Pe="modulepreload",Re=function(t,e){return new URL(t,e).href},W={},g=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=a(r.map(l=>{if(l=Re(l,n),l in W)return;W[l]=!0;const v=l.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!n)for(let o=s.length-1;o>=0;o--){const m=s[o];if(m.href===l&&(!v||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${b}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Pe,v||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),v)return new Promise((o,m)=>{h.addEventListener("load",o),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function f(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&f(s.reason);return e().catch(f)})},Ce={};var pe=Y('
'),Oe=Y(" ",1);function ke(t,e){se(e,!0);let r=B(e,"components",23,()=>[]),n=B(e,"data_0",3,null),i=B(e,"data_1",3,null);ae(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),i(),e.stores.page.notify()});let f=j(!1),a=j(!1),s=j(null);ge(()=>{const o=e.stores.page.subscribe(()=>{E(f)&&(T(a,!0),oe().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(f,!0),o});const c=D(()=>e.constructors[1]);var k=Oe(),l=L(k);{var v=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params},children:(_,Ae)=>{var q=I(),H=L(q);F(H,()=>E(c),(J,K)=>{C(K(J,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),A=>r()[1]=A,()=>{var A;return(A=r())==null?void 0:A[1]})}),O(_,q)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)},b=o=>{const m=D(()=>e.constructors[0]);var P=I(),w=L(P);F(w,()=>E(m),(R,p)=>{C(p(R,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),O(o,P)};V(l,o=>{e.constructors[1]?o(v):o(b,!1)})}var U=ie(l,2);{var h=o=>{var m=pe(),P=le(m);{var w=R=>{var p=ve();me(()=>he(p,E(s))),O(R,p)};V(P,R=>{E(a)&&R(w)})}ue(m),O(o,m)};V(U,o=>{E(f)&&o(h)})}O(t,k),ce()}const Be=ye(ke),Fe=[()=>g(()=>import("../nodes/0.BOu9fROT.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>g(()=>import("../nodes/1.4AFC91M_.js"),__vite__mapDeps([5,1,2,3,6,7,8]),import.meta.url),()=>g(()=>import("../nodes/2.BQVGUV5T.js"),__vite__mapDeps([9,1,2,3,10,11,8,6,12]),import.meta.url),()=>g(()=>import("../nodes/3.CaJF70Fi.js"),__vite__mapDeps([13,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/4.ByyzaBUN.js"),__vite__mapDeps([17,1,2,6,12,10,3,14,15]),import.meta.url),()=>g(()=>import("../nodes/5.czV5dpLK.js"),__vite__mapDeps([18,1,2,6,12,10,3,14,15,11,16]),import.meta.url),()=>g(()=>import("../nodes/6.D0nSj-gu.js"),__vite__mapDeps([19,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/7.uv031Qn9.js"),__vite__mapDeps([21,1,2,6,12,10,3,14,15,20]),import.meta.url),()=>g(()=>import("../nodes/8.CyYeH63o.js"),__vite__mapDeps([22,1,2,6,12,10,3,14]),import.meta.url)],Ue=[],qe={"/":[2],"/guides":[3],"/notebooks":[4],"/tools":[5],"/tools/eda-gapminder":[6],"/tools/house-predictor":[7],"/tools/privacy-scanner":[8]},z={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.decode])),Ne=Object.fromEntries(Object.entries(z.transport).map(([t,e])=>[t,e.encode])),Ge=!1,We=(t,e)=>we[t](e);export{We as decode,we as decoders,qe as dictionary,Ne as encoders,Ge as hash,z as hooks,Ce as matchers,Fe as nodes,Be as root,Ue as server_loads}; diff --git a/_app/immutable/entry/start.B5FL1kmM.js b/_app/immutable/entry/start.B5FL1kmM.js new file mode 100644 index 0000000..2b256f2 --- /dev/null +++ b/_app/immutable/entry/start.B5FL1kmM.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/Lgy_oHYA.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.BwqP7o9C.js b/_app/immutable/entry/start.BwqP7o9C.js new file mode 100644 index 0000000..a02f450 --- /dev/null +++ b/_app/immutable/entry/start.BwqP7o9C.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/WSjfo0Ud.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.C3sRUXxg.js b/_app/immutable/entry/start.C3sRUXxg.js new file mode 100644 index 0000000..2eaa446 --- /dev/null +++ b/_app/immutable/entry/start.C3sRUXxg.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/BGpwVgpP.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.C92jCQ13.js b/_app/immutable/entry/start.C92jCQ13.js new file mode 100644 index 0000000..3c2ffc3 --- /dev/null +++ b/_app/immutable/entry/start.C92jCQ13.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/w0qlehmu.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.Csdccecm.js b/_app/immutable/entry/start.Csdccecm.js new file mode 100644 index 0000000..a9d8cdd --- /dev/null +++ b/_app/immutable/entry/start.Csdccecm.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/BnDRwiy7.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.D0H-y4Tk.js b/_app/immutable/entry/start.D0H-y4Tk.js new file mode 100644 index 0000000..8bcfec5 --- /dev/null +++ b/_app/immutable/entry/start.D0H-y4Tk.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/D2CFGra1.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.DoR8_M8V.js b/_app/immutable/entry/start.DoR8_M8V.js new file mode 100644 index 0000000..01af193 --- /dev/null +++ b/_app/immutable/entry/start.DoR8_M8V.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/DNoroI56.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.DtM1H9Mk.js b/_app/immutable/entry/start.DtM1H9Mk.js new file mode 100644 index 0000000..84d2b42 --- /dev/null +++ b/_app/immutable/entry/start.DtM1H9Mk.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/B1OWdr8I.js";export{o as load_css,r as start}; diff --git a/_app/immutable/entry/start.EGlX6lcZ.js b/_app/immutable/entry/start.EGlX6lcZ.js new file mode 100644 index 0000000..c1d6fe5 --- /dev/null +++ b/_app/immutable/entry/start.EGlX6lcZ.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/BNtt_8Z9.js";export{o as load_css,r as start}; diff --git a/_app/immutable/nodes/0.BOu9fROT.js b/_app/immutable/nodes/0.BOu9fROT.js new file mode 100644 index 0000000..c008a23 --- /dev/null +++ b/_app/immutable/nodes/0.BOu9fROT.js @@ -0,0 +1 @@ +import{c as l,a as s}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{F as f,a4 as c,k as u}from"../chunks/mO2F3zLa.js";function d(r,e,t,a,p){var i;f&&c();var n=(i=e.$$slots)==null?void 0:i[t],o=!1;n===!0&&(n=e.children,o=!0),n===void 0||n(r,o?()=>a:a)}const m=!0,_="always",h=Object.freeze(Object.defineProperty({__proto__:null,prerender:m,trailingSlash:_},Symbol.toStringTag,{value:"Module"}));function b(r,e){var t=l(),a=u(t);d(a,e,"default",{}),s(r,t)}export{b as component,h as universal}; diff --git a/_app/immutable/nodes/0.CnLgM3FL.js b/_app/immutable/nodes/0.CnLgM3FL.js new file mode 100644 index 0000000..c008a23 --- /dev/null +++ b/_app/immutable/nodes/0.CnLgM3FL.js @@ -0,0 +1 @@ +import{c as l,a as s}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{F as f,a4 as c,k as u}from"../chunks/mO2F3zLa.js";function d(r,e,t,a,p){var i;f&&c();var n=(i=e.$$slots)==null?void 0:i[t],o=!1;n===!0&&(n=e.children,o=!0),n===void 0||n(r,o?()=>a:a)}const m=!0,_="always",h=Object.freeze(Object.defineProperty({__proto__:null,prerender:m,trailingSlash:_},Symbol.toStringTag,{value:"Module"}));function b(r,e){var t=l(),a=u(t);d(a,e,"default",{}),s(r,t)}export{b as component,h as universal}; diff --git a/_app/immutable/nodes/0.DcCAWxrr.js b/_app/immutable/nodes/0.DcCAWxrr.js new file mode 100644 index 0000000..763cba6 --- /dev/null +++ b/_app/immutable/nodes/0.DcCAWxrr.js @@ -0,0 +1 @@ +import{c as l,a as s}from"../chunks/CkL4Pxt3.js";import"../chunks/ZgnPtkD2.js";import{D as f,a3 as c,k as u}from"../chunks/s1dcSIVc.js";function d(r,e,t,a,p){var i;f&&c();var n=(i=e.$$slots)==null?void 0:i[t],o=!1;n===!0&&(n=e.children,o=!0),n===void 0||n(r,o?()=>a:a)}const m=!0,_="always",h=Object.freeze(Object.defineProperty({__proto__:null,prerender:m,trailingSlash:_},Symbol.toStringTag,{value:"Module"}));function b(r,e){var t=l(),a=u(t);d(a,e,"default",{}),s(r,t)}export{b as component,h as universal}; diff --git a/_app/immutable/nodes/1.3NXJOOd1.js b/_app/immutable/nodes/1.3NXJOOd1.js new file mode 100644 index 0000000..a8bc934 --- /dev/null +++ b/_app/immutable/nodes/1.3NXJOOd1.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/D2CFGra1.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.4AFC91M_.js b/_app/immutable/nodes/1.4AFC91M_.js new file mode 100644 index 0000000..d4b6a2b --- /dev/null +++ b/_app/immutable/nodes/1.4AFC91M_.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/WSjfo0Ud.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.B4gqUiTX.js b/_app/immutable/nodes/1.B4gqUiTX.js new file mode 100644 index 0000000..d128bb0 --- /dev/null +++ b/_app/immutable/nodes/1.B4gqUiTX.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/BnDRwiy7.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.BQnWjh95.js b/_app/immutable/nodes/1.BQnWjh95.js new file mode 100644 index 0000000..9ff649e --- /dev/null +++ b/_app/immutable/nodes/1.BQnWjh95.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/BGpwVgpP.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.Ct7XeYFa.js b/_app/immutable/nodes/1.Ct7XeYFa.js new file mode 100644 index 0000000..460151d --- /dev/null +++ b/_app/immutable/nodes/1.Ct7XeYFa.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/Lgy_oHYA.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.DKjLj_Wj.js b/_app/immutable/nodes/1.DKjLj_Wj.js new file mode 100644 index 0000000..15399d4 --- /dev/null +++ b/_app/immutable/nodes/1.DKjLj_Wj.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/BNtt_8Z9.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.DSOD4Gor.js b/_app/immutable/nodes/1.DSOD4Gor.js new file mode 100644 index 0000000..2c4d0d4 --- /dev/null +++ b/_app/immutable/nodes/1.DSOD4Gor.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/DNoroI56.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.DhR-qFQt.js b/_app/immutable/nodes/1.DhR-qFQt.js new file mode 100644 index 0000000..270644c --- /dev/null +++ b/_app/immutable/nodes/1.DhR-qFQt.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{c as x,ab as $,u as i,b as y,ac as l,ad as E,g as v,ae as J,J as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{s as C,p as d}from"../chunks/B1OWdr8I.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>J(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/1.DzZfnWFx.js b/_app/immutable/nodes/1.DzZfnWFx.js new file mode 100644 index 0000000..a769c43 --- /dev/null +++ b/_app/immutable/nodes/1.DzZfnWFx.js @@ -0,0 +1 @@ +import{f as b,a as k}from"../chunks/CkL4Pxt3.js";import"../chunks/ZgnPtkD2.js";import{c as x,aa as $,u as i,b as y,ab as l,ac as E,g as v,ad as H,H as j,p as q,k as w,t as z,e as A,d as u,r as m,s as B}from"../chunks/s1dcSIVc.js";import{s as g}from"../chunks/CPMpaYR7.js";import{s as C,p as d}from"../chunks/w0qlehmu.js";function D(a=!1){const e=x,t=e.l.u;if(!t)return;let r=()=>H(e.s);if(a){let o=0,s={};const c=j(()=>{let n=!1;const p=e.s;for(const f in p)p[f]!==s[f]&&(s[f]=p[f],n=!0);return n&&o++,o});r=()=>v(c)}t.b.length&&$(()=>{_(e,r),l(t.b)}),i(()=>{const o=y(()=>t.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),t.a.length&&i(()=>{_(e,r),l(t.a)})}function _(a,e){if(a.l.s)for(const t of a.l.s)v(t);e()}const F={get error(){return d.error},get status(){return d.status}};C.updated.check;const h=F;var G=b("

",1);function N(a,e){q(e,!1),D();var t=G(),r=w(t),o=u(r,!0);m(r);var s=B(r,2),c=u(s,!0);m(s),z(()=>{var n;g(o,h.status),g(c,(n=h.error)==null?void 0:n.message)}),k(a,t),A()}export{N as component}; diff --git a/_app/immutable/nodes/2.BQVGUV5T.js b/_app/immutable/nodes/2.BQVGUV5T.js new file mode 100644 index 0000000..b91846a --- /dev/null +++ b/_app/immutable/nodes/2.BQVGUV5T.js @@ -0,0 +1 @@ +import{f as v,a as c,c as Y}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{F as N,p as L,t as F,e as G,i as E,j as I,s as d,d as l,r as i,g as h,n as U,m as Z,k as $,f as tt,$ as at}from"../chunks/mO2F3zLa.js";import{t as et,s as rt,a as R,e as P,i as T,h as it,N as st,F as ot}from"../chunks/DhvLCtu-.js";import{s as lt}from"../chunks/ECMuNRdJ.js";import{o as W}from"../chunks/OXvvA7WZ.js";import{s as _}from"../chunks/eH5yZvH4.js";import{i as B}from"../chunks/tuD4s8Oc.js";function z(r,s={},t,a){for(var e in t){var n=t[e];s[e]!==n&&(t[e]==null?r.style.removeProperty(e):r.style.setProperty(e,n,a))}}function q(r,s,t,a){var e=r.__style;if(N||e!==s){var n=et(s,a);(!N||n!==r.getAttribute("style"))&&(n==null?r.removeAttribute("style"):r.style.cssText=n),r.__style=s}else a&&(Array.isArray(a)?(z(r,t==null?void 0:t[0],a[0]),z(r,t==null?void 0:t[1],a[1],"important")):z(r,t,a));return a}var nt=v('

Build with AI

Data science guides, interactive tools, and insights to accelerate your journey.

Explore Guides Try Tools
');function dt(r,s){L(s,!0);let t=I(!1);W(()=>{setTimeout(()=>{E(t,!0)},100)});var a=nt(),e=d(l(a),2);q(e,"",{},{"background-image":"url('data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23000%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')"});var n=d(e,6);i(a),F(()=>rt(n,1,`relative z-10 text-center px-6 max-w-4xl mx-auto transition-all duration-1000 ${h(t)?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`)),c(r,a),G()}var ct=v('

Learn more
');function vt(r,s){var t=ct(),a=l(t),e=l(a),n=l(e,!0);i(e),i(a);var m=d(a,2),g=l(m,!0);i(m);var x=d(m,2),k=l(x,!0);i(x),U(2),i(t),F(()=>{R(t,"href",s.href),q(a,`background: ${s.color??""}15;`),_(n,s.icon),_(g,s.title),_(k,s.description)}),c(r,t)}var mt=v('
'),ut=v('
'),pt=v('

Unable to load posts. Visit newsletter →

'),ht=v('

'),gt=v('
'),xt=v('

Latest from Newsletter

View all →
');function ft(r,s){L(s,!0);let t=I(Z([])),a=I(!0),e=I(!1);W(async()=>{try{const D=(await(await fetch("/api/rss")).text()).match(/[\s\S]*?<\/item>/g)||[];E(t,D.slice(0,4).map(u=>{var p,f,S,y,w;return{title:(((p=u.match(/<!\[CDATA\[([\s\S]*?)\]\]><\/title>/))==null?void 0:p[1])||((f=u.match(/<title>([\s\S]*?)<\/title>/))==null?void 0:f[1])||"").trim(),description:(((S=u.match(/<description><!\[CDATA\[([\s\S]*?)\]\]><\/description>/))==null?void 0:S[1])||"").trim(),link:((y=u.match(/<link>(.*?)<\/link>/))==null?void 0:y[1])||"",pubDate:((w=u.match(/<pubDate>(.*?)<\/pubDate>/))==null?void 0:w[1])||""}}),!0)}catch(o){E(e,!0),console.error("Failed to fetch posts:",o)}finally{E(a,!1)}});function n(o){return new Date(o).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function m(o){return o.replace(/<[^>]*>/g,"").substring(0,150)+"..."}var g=xt(),x=l(g),k=d(l(x),2);{var V=o=>{var b=ut();P(b,20,()=>[1,2,3,4],T,(C,D)=>{var u=mt();c(C,u)}),i(b),c(o,b)},A=o=>{var b=Y(),C=$(b);{var D=p=>{var f=pt();c(p,f)},u=p=>{var f=gt();P(f,21,()=>h(t),T,(S,y)=>{var w=ht(),j=l(w),J=l(j,!0);i(j);var H=d(j,2),K=l(H,!0);i(H);var M=d(H,2),O=l(M,!0);i(M),i(w),F((Q,X)=>{R(w,"href",h(y).link),_(J,Q),_(K,h(y).title),_(O,X)},[()=>n(h(y).pubDate),()=>m(h(y).description)]),c(S,w)}),i(f),c(p,f)};B(C,p=>{h(e)?p(D):p(u,!1)},!0)}c(o,b)};B(k,o=>{h(a)?o(V):o(A,!1)})}i(x),i(g),c(r,g),G()}var bt=v('<meta name="description" content="Data science guides, interactive tools, and insights to accelerate your journey."/>'),yt=v(`<div class="min-h-screen"><!> <main><!> <section class="py-20 px-6 bg-white"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h2 class="text-3xl font-bold text-gray-900 mb-4">Featured Resources</h2> <p class="text-gray-600 max-w-2xl mx-auto">Practical guides and interactive tools to help you make data-driven decisions.</p></div> <div class="grid md:grid-cols-3 gap-6 max-w-5xl mx-auto"></div></div></section> <!> <section class="py-16 px-6 bg-gradient-to-b from-white to-gray-50"><div class="max-w-6xl mx-auto text-center"><h3 class="text-2xl font-semibold text-gray-900 mb-4">More Coming Soon</h3> <p class="text-gray-600 max-w-xl mx-auto">We're building more guides and interactive tools for machine learning, data visualization, and AI development.</p></div></section></main> <!></div>`);function It(r){const s=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",color:"#1565c0"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",color:"#7b1fa2"},{href:"/notebooks/",title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",icon:"🌍",color:"#00897b"}];var t=yt();it("1uha8ag",A=>{var o=bt();tt(()=>{at.title="Build with AI | ValueCurve"}),c(A,o)});var a=l(t);st(a,{});var e=d(a,2),n=l(e);dt(n,{});var m=d(n,2),g=l(m),x=d(l(g),2);P(x,5,()=>s,T,(A,o)=>{vt(A,lt(()=>h(o)))}),i(x),i(g),i(m);var k=d(m,2);ft(k,{}),U(2),i(e);var V=d(e,2);ot(V),i(t),c(r,t)}export{It as component}; diff --git a/_app/immutable/nodes/2.CXSe1A10.js b/_app/immutable/nodes/2.CXSe1A10.js new file mode 100644 index 0000000..0e0a25c --- /dev/null +++ b/_app/immutable/nodes/2.CXSe1A10.js @@ -0,0 +1 @@ +import{f as v,a as c,c as Y}from"../chunks/CkL4Pxt3.js";import"../chunks/ZgnPtkD2.js";import{D as N,p as L,t as M,e as G,i as E,j as I,s as d,d as l,r as i,g as h,n as U,J as Z,k as $,f as tt,$ as at}from"../chunks/s1dcSIVc.js";import{t as et,s as rt,a as J,e as P,i as T,h as it,N as st,F as ot}from"../chunks/DQsFLTCT.js";import{s as lt}from"../chunks/-tUHYaTb.js";import{o as R}from"../chunks/C0eu8ep9.js";import{s as _}from"../chunks/CPMpaYR7.js";import{i as B}from"../chunks/B6leOVDb.js";function z(r,s={},t,a){for(var e in t){var n=t[e];s[e]!==n&&(t[e]==null?r.style.removeProperty(e):r.style.setProperty(e,n,a))}}function W(r,s,t,a){var e=r.__style;if(N||e!==s){var n=et(s,a);(!N||n!==r.getAttribute("style"))&&(n==null?r.removeAttribute("style"):r.style.cssText=n),r.__style=s}else a&&(Array.isArray(a)?(z(r,t==null?void 0:t[0],a[0]),z(r,t==null?void 0:t[1],a[1],"important")):z(r,t,a));return a}var nt=v('<section class="relative min-h-[80vh] flex items-center justify-center overflow-hidden"><div class="absolute inset-0 bg-gradient-to-br from-slate-50 via-blue-50 to-indigo-50"></div> <div class="absolute inset-0 opacity-[0.03]"></div> <div class="absolute top-20 left-10 w-72 h-72 bg-primary-200 rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-pulse"></div> <div class="absolute bottom-20 right-10 w-72 h-72 bg-indigo-200 rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-pulse" style="animation-delay: 1s;"></div> <div><h1 class="text-5xl md:text-7xl font-extrabold tracking-tight mb-6"><span class="text-gray-900">Build with</span> <span class="gradient-text">AI</span></h1> <p class="text-xl md:text-2xl text-gray-600 font-light max-w-2xl mx-auto mb-10 leading-relaxed">Data science guides, interactive tools, and insights to accelerate your journey.</p> <div class="flex flex-wrap justify-center gap-4"><a href="/guides/" class="px-8 py-3 bg-primary-600 text-white rounded-full font-medium hover:bg-primary-700 transition-all shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30">Explore Guides</a> <a href="/tools/" class="px-8 py-3 bg-white text-gray-700 rounded-full font-medium hover:bg-gray-50 transition-all border border-gray-200 shadow-sm">Try Tools</a></div></div></section>');function dt(r,s){L(s,!0);let t=I(!1);R(()=>{setTimeout(()=>{E(t,!0)},100)});var a=nt(),e=d(l(a),2);W(e,"",{},{"background-image":"url('data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23000%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')"});var n=d(e,6);i(a),M(()=>rt(n,1,`relative z-10 text-center px-6 max-w-4xl mx-auto transition-all duration-1000 ${h(t)?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`)),c(r,a),G()}var ct=v('<a class="group block p-6 bg-white rounded-2xl border border-gray-100 card-hover"><div class="w-12 h-12 rounded-xl flex items-center justify-center mb-4 transition-transform group-hover:scale-110"><span class="text-2xl"> </span></div> <h3 class="text-lg font-semibold text-gray-900 mb-2 group-hover:text-primary-600 transition-colors"> </h3> <p class="text-gray-600 text-sm leading-relaxed"> </p> <div class="mt-4 flex items-center text-primary-600 text-sm font-medium"><span>Learn more</span> <svg class="w-4 h-4 ml-1 transition-transform group-hover:translate-x-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></div></a>');function vt(r,s){var t=ct(),a=l(t),e=l(a),n=l(e,!0);i(e),i(a);var m=d(a,2),g=l(m,!0);i(m);var x=d(m,2),k=l(x,!0);i(x),U(2),i(t),M(()=>{J(t,"href",s.href),W(a,`background: ${s.color??""}15;`),_(n,s.icon),_(g,s.title),_(k,s.description)}),c(r,t)}var mt=v('<div class="p-6 bg-white rounded-xl border border-gray-100 animate-pulse"><div class="h-3 bg-gray-200 rounded w-20 mb-3"></div> <div class="h-5 bg-gray-200 rounded w-3/4 mb-2"></div> <div class="h-4 bg-gray-200 rounded w-full"></div></div>'),ut=v('<div class="grid md:grid-cols-2 gap-6"></div>'),pt=v('<p class="text-gray-500 text-center py-8">Unable to load posts. <a href="https://www.valuecurve.ai" class="text-primary-600 hover:underline" target="_blank" rel="noopener">Visit newsletter →</a></p>'),ht=v('<a class="block p-6 bg-white rounded-xl border border-gray-100 hover:shadow-lg transition-shadow" target="_blank" rel="noopener"><p class="text-xs text-gray-500 mb-2"> </p> <h3 class="font-semibold text-gray-900 mb-2 line-clamp-2"> </h3> <p class="text-sm text-gray-600 line-clamp-2"> </p></a>'),gt=v('<div class="grid md:grid-cols-2 gap-6"></div>'),xt=v('<section class="py-20 px-6 bg-gray-50"><div class="max-w-6xl mx-auto"><div class="flex items-center justify-between mb-8"><h2 class="text-2xl font-bold text-gray-900">Latest from Newsletter</h2> <a href="https://www.valuecurve.ai" class="text-primary-600 hover:text-primary-700 text-sm font-medium" target="_blank" rel="noopener">View all →</a></div> <!></div></section>');function ft(r,s){L(s,!0);let t=I(Z([])),a=I(!0),e=I(!1);R(async()=>{try{const C=(await(await fetch("/api/rss")).text()).match(/<item>[\s\S]*?<\/item>/g)||[];E(t,C.slice(0,4).map(u=>{var p,f,S,y,w;return{title:(((p=u.match(/<title><!\[CDATA\[([\s\S]*?)\]\]><\/title>/))==null?void 0:p[1])||((f=u.match(/<title>([\s\S]*?)<\/title>/))==null?void 0:f[1])||"").trim(),description:(((S=u.match(/<description><!\[CDATA\[([\s\S]*?)\]\]><\/description>/))==null?void 0:S[1])||"").trim(),link:((y=u.match(/<link>(.*?)<\/link>/))==null?void 0:y[1])||"",pubDate:((w=u.match(/<pubDate>(.*?)<\/pubDate>/))==null?void 0:w[1])||""}}),!0)}catch(o){E(e,!0),console.error("Failed to fetch posts:",o)}finally{E(a,!1)}});function n(o){return new Date(o).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function m(o){return o.replace(/<[^>]*>/g,"").substring(0,150)+"..."}var g=xt(),x=l(g),k=d(l(x),2);{var V=o=>{var b=ut();P(b,20,()=>[1,2,3,4],T,(D,C)=>{var u=mt();c(D,u)}),i(b),c(o,b)},A=o=>{var b=Y(),D=$(b);{var C=p=>{var f=pt();c(p,f)},u=p=>{var f=gt();P(f,21,()=>h(t),T,(S,y)=>{var w=ht(),j=l(w),q=l(j,!0);i(j);var H=d(j,2),K=l(H,!0);i(H);var F=d(H,2),O=l(F,!0);i(F),i(w),M((Q,X)=>{J(w,"href",h(y).link),_(q,Q),_(K,h(y).title),_(O,X)},[()=>n(h(y).pubDate),()=>m(h(y).description)]),c(S,w)}),i(f),c(p,f)};B(D,p=>{h(e)?p(C):p(u,!1)},!0)}c(o,b)};B(k,o=>{h(a)?o(V):o(A,!1)})}i(x),i(g),c(r,g),G()}var bt=v('<meta name="description" content="Data science guides, interactive tools, and insights to accelerate your journey."/>'),yt=v(`<div class="min-h-screen"><!> <main><!> <section class="py-20 px-6 bg-white"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h2 class="text-3xl font-bold text-gray-900 mb-4">Featured Resources</h2> <p class="text-gray-600 max-w-2xl mx-auto">Practical guides and interactive tools to help you make data-driven decisions.</p></div> <div class="grid md:grid-cols-3 gap-6 max-w-5xl mx-auto"></div></div></section> <!> <section class="py-16 px-6 bg-gradient-to-b from-white to-gray-50"><div class="max-w-6xl mx-auto text-center"><h3 class="text-2xl font-semibold text-gray-900 mb-4">More Coming Soon</h3> <p class="text-gray-600 max-w-xl mx-auto">We're building more guides and interactive tools for machine learning, data visualization, and AI development.</p></div></section></main> <!></div>`);function It(r){const s=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",color:"#1565c0"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",color:"#7b1fa2"},{href:"/notebooks/",title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",icon:"🌍",color:"#00897b"}];var t=yt();it("1uha8ag",A=>{var o=bt();tt(()=>{at.title="Build with AI | ValueCurve"}),c(A,o)});var a=l(t);st(a,{});var e=d(a,2),n=l(e);dt(n,{});var m=d(n,2),g=l(m),x=d(l(g),2);P(x,5,()=>s,T,(A,o)=>{vt(A,lt(()=>h(o)))}),i(x),i(g),i(m);var k=d(m,2);ft(k,{}),U(2),i(e);var V=d(e,2);ot(V),i(t),c(r,t)}export{It as component}; diff --git a/_app/immutable/nodes/2.DFA88LXm.js b/_app/immutable/nodes/2.DFA88LXm.js new file mode 100644 index 0000000..5aa92d7 --- /dev/null +++ b/_app/immutable/nodes/2.DFA88LXm.js @@ -0,0 +1 @@ +import{f as v,a as c,c as Y}from"../chunks/Bh-96fzJ.js";import"../chunks/EiYUD4Mm.js";import{F as N,p as L,t as F,e as G,i as E,j as I,s as d,d as l,r as i,g as h,n as U,m as Z,k as $,f as tt,$ as at}from"../chunks/mO2F3zLa.js";import{t as et,s as rt,a as R,e as P,i as T,h as it,N as st,F as ot}from"../chunks/3CBxeiL8.js";import{s as lt}from"../chunks/ECMuNRdJ.js";import{o as W}from"../chunks/OXvvA7WZ.js";import{s as _}from"../chunks/eH5yZvH4.js";import{i as B}from"../chunks/tuD4s8Oc.js";function z(r,s={},t,a){for(var e in t){var n=t[e];s[e]!==n&&(t[e]==null?r.style.removeProperty(e):r.style.setProperty(e,n,a))}}function q(r,s,t,a){var e=r.__style;if(N||e!==s){var n=et(s,a);(!N||n!==r.getAttribute("style"))&&(n==null?r.removeAttribute("style"):r.style.cssText=n),r.__style=s}else a&&(Array.isArray(a)?(z(r,t==null?void 0:t[0],a[0]),z(r,t==null?void 0:t[1],a[1],"important")):z(r,t,a));return a}var nt=v('<section class="relative min-h-[80vh] flex items-center justify-center overflow-hidden"><div class="absolute inset-0 bg-gradient-to-br from-slate-50 via-blue-50 to-indigo-50"></div> <div class="absolute inset-0 opacity-[0.03]"></div> <div class="absolute top-20 left-10 w-72 h-72 bg-primary-200 rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-pulse"></div> <div class="absolute bottom-20 right-10 w-72 h-72 bg-indigo-200 rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-pulse" style="animation-delay: 1s;"></div> <div><h1 class="text-5xl md:text-7xl font-extrabold tracking-tight mb-6"><span class="text-gray-900">Build with</span> <span class="gradient-text">AI</span></h1> <p class="text-xl md:text-2xl text-gray-600 font-light max-w-2xl mx-auto mb-10 leading-relaxed">Data science guides, interactive tools, and insights to accelerate your journey.</p> <div class="flex flex-wrap justify-center gap-4"><a href="/guides/" class="px-8 py-3 bg-primary-600 text-white rounded-full font-medium hover:bg-primary-700 transition-all shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30">Explore Guides</a> <a href="/tools/" class="px-8 py-3 bg-white text-gray-700 rounded-full font-medium hover:bg-gray-50 transition-all border border-gray-200 shadow-sm">Try Tools</a></div></div></section>');function dt(r,s){L(s,!0);let t=I(!1);W(()=>{setTimeout(()=>{E(t,!0)},100)});var a=nt(),e=d(l(a),2);q(e,"",{},{"background-image":"url('data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill=%27%23000%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')"});var n=d(e,6);i(a),F(()=>rt(n,1,`relative z-10 text-center px-6 max-w-4xl mx-auto transition-all duration-1000 ${h(t)?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`)),c(r,a),G()}var ct=v('<a class="group block p-6 bg-white rounded-2xl border border-gray-100 card-hover"><div class="w-12 h-12 rounded-xl flex items-center justify-center mb-4 transition-transform group-hover:scale-110"><span class="text-2xl"> </span></div> <h3 class="text-lg font-semibold text-gray-900 mb-2 group-hover:text-primary-600 transition-colors"> </h3> <p class="text-gray-600 text-sm leading-relaxed"> </p> <div class="mt-4 flex items-center text-primary-600 text-sm font-medium"><span>Learn more</span> <svg class="w-4 h-4 ml-1 transition-transform group-hover:translate-x-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></div></a>');function vt(r,s){var t=ct(),a=l(t),e=l(a),n=l(e,!0);i(e),i(a);var m=d(a,2),g=l(m,!0);i(m);var x=d(m,2),k=l(x,!0);i(x),U(2),i(t),F(()=>{R(t,"href",s.href),q(a,`background: ${s.color??""}15;`),_(n,s.icon),_(g,s.title),_(k,s.description)}),c(r,t)}var mt=v('<div class="p-6 bg-white rounded-xl border border-gray-100 animate-pulse"><div class="h-3 bg-gray-200 rounded w-20 mb-3"></div> <div class="h-5 bg-gray-200 rounded w-3/4 mb-2"></div> <div class="h-4 bg-gray-200 rounded w-full"></div></div>'),ut=v('<div class="grid md:grid-cols-2 gap-6"></div>'),pt=v('<p class="text-gray-500 text-center py-8">Unable to load posts. <a href="https://www.valuecurve.ai" class="text-primary-600 hover:underline" target="_blank" rel="noopener">Visit newsletter →</a></p>'),ht=v('<a class="block p-6 bg-white rounded-xl border border-gray-100 hover:shadow-lg transition-shadow" target="_blank" rel="noopener"><p class="text-xs text-gray-500 mb-2"> </p> <h3 class="font-semibold text-gray-900 mb-2 line-clamp-2"> </h3> <p class="text-sm text-gray-600 line-clamp-2"> </p></a>'),gt=v('<div class="grid md:grid-cols-2 gap-6"></div>'),xt=v('<section class="py-20 px-6 bg-gray-50"><div class="max-w-6xl mx-auto"><div class="flex items-center justify-between mb-8"><h2 class="text-2xl font-bold text-gray-900">Latest from Newsletter</h2> <a href="https://www.valuecurve.ai" class="text-primary-600 hover:text-primary-700 text-sm font-medium" target="_blank" rel="noopener">View all →</a></div> <!></div></section>');function ft(r,s){L(s,!0);let t=I(Z([])),a=I(!0),e=I(!1);W(async()=>{try{const D=(await(await fetch("/api/rss")).text()).match(/<item>[\s\S]*?<\/item>/g)||[];E(t,D.slice(0,4).map(u=>{var p,f,S,y,w;return{title:(((p=u.match(/<title><!\[CDATA\[([\s\S]*?)\]\]><\/title>/))==null?void 0:p[1])||((f=u.match(/<title>([\s\S]*?)<\/title>/))==null?void 0:f[1])||"").trim(),description:(((S=u.match(/<description><!\[CDATA\[([\s\S]*?)\]\]><\/description>/))==null?void 0:S[1])||"").trim(),link:((y=u.match(/<link>(.*?)<\/link>/))==null?void 0:y[1])||"",pubDate:((w=u.match(/<pubDate>(.*?)<\/pubDate>/))==null?void 0:w[1])||""}}),!0)}catch(o){E(e,!0),console.error("Failed to fetch posts:",o)}finally{E(a,!1)}});function n(o){return new Date(o).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function m(o){return o.replace(/<[^>]*>/g,"").substring(0,150)+"..."}var g=xt(),x=l(g),k=d(l(x),2);{var V=o=>{var b=ut();P(b,20,()=>[1,2,3,4],T,(C,D)=>{var u=mt();c(C,u)}),i(b),c(o,b)},A=o=>{var b=Y(),C=$(b);{var D=p=>{var f=pt();c(p,f)},u=p=>{var f=gt();P(f,21,()=>h(t),T,(S,y)=>{var w=ht(),j=l(w),J=l(j,!0);i(j);var H=d(j,2),K=l(H,!0);i(H);var M=d(H,2),O=l(M,!0);i(M),i(w),F((Q,X)=>{R(w,"href",h(y).link),_(J,Q),_(K,h(y).title),_(O,X)},[()=>n(h(y).pubDate),()=>m(h(y).description)]),c(S,w)}),i(f),c(p,f)};B(C,p=>{h(e)?p(D):p(u,!1)},!0)}c(o,b)};B(k,o=>{h(a)?o(V):o(A,!1)})}i(x),i(g),c(r,g),G()}var bt=v('<meta name="description" content="Data science guides, interactive tools, and insights to accelerate your journey."/>'),yt=v(`<div class="min-h-screen"><!> <main><!> <section class="py-20 px-6 bg-white"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h2 class="text-3xl font-bold text-gray-900 mb-4">Featured Resources</h2> <p class="text-gray-600 max-w-2xl mx-auto">Practical guides and interactive tools to help you make data-driven decisions.</p></div> <div class="grid md:grid-cols-3 gap-6 max-w-5xl mx-auto"></div></div></section> <!> <section class="py-16 px-6 bg-gradient-to-b from-white to-gray-50"><div class="max-w-6xl mx-auto text-center"><h3 class="text-2xl font-semibold text-gray-900 mb-4">More Coming Soon</h3> <p class="text-gray-600 max-w-xl mx-auto">We're building more guides and interactive tools for machine learning, data visualization, and AI development.</p></div></section></main> <!></div>`);function It(r){const s=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",color:"#1565c0"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",color:"#7b1fa2"},{href:"/notebooks/",title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",icon:"🌍",color:"#00897b"}];var t=yt();it("1uha8ag",A=>{var o=bt();tt(()=>{at.title="Build with AI | ValueCurve"}),c(A,o)});var a=l(t);st(a,{});var e=d(a,2),n=l(e);dt(n,{});var m=d(n,2),g=l(m),x=d(l(g),2);P(x,5,()=>s,T,(A,o)=>{vt(A,lt(()=>h(o)))}),i(x),i(g),i(m);var k=d(m,2);ft(k,{}),U(2),i(e);var V=d(e,2);ot(V),i(t),c(r,t)}export{It as component}; diff --git a/_app/immutable/nodes/3.5hKfmfvo.js b/_app/immutable/nodes/3.5hKfmfvo.js new file mode 100644 index 0000000..15ed561 --- /dev/null +++ b/_app/immutable/nodes/3.5hKfmfvo.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/CkL4Pxt3.js";import{p as B,d as s,g as t,e as D,f as O,s as o,$ as R,r as i,h as U,i as I,j as S,t as Z}from"../chunks/s1dcSIVc.js";import{s as $}from"../chunks/CPMpaYR7.js";import{i as j}from"../chunks/B6leOVDb.js";import{h as E,N as Q,e as L,F as q,r as H,i as A}from"../chunks/DQsFLTCT.js";import{b as J}from"../chunks/SaFGkI3k.js";import{b as K}from"../chunks/2Jbz9SS3.js";import{s as P}from"../chunks/-tUHYaTb.js";import{R as W}from"../chunks/BtxxubAD.js";var X=d('<meta name="description" content="In-depth guides for statistics, data visualization, and machine learning."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No guides found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Guides</h1> <p class="text-gray-600 max-w-2xl mx-auto">In-depth guides to help you understand statistics, data visualization, and machine learning concepts.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search guides..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(C,T){B(T,!0);const M=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",category:"STATISTICS",status:"live"},{href:"#",title:"Data Visualization",description:"Learn the principles of effective data visualization. From choosing the right chart type to creating compelling visual narratives.",icon:"📈",category:"VISUALIZATION",status:"coming-soon"},{href:"#",title:"ML Model Selection",description:"A practical guide to selecting the right machine learning model for your problem. Decision trees, neural networks, and more.",icon:"🤖",category:"ML",status:"coming-soon"},{href:"#",title:"Feature Engineering",description:"Transform raw data into meaningful features. Best practices for numerical, categorical, and text data.",icon:"🔧",category:"ML",status:"coming-soon"}];let n=S(""),l=S("all");const N=["all","STATISTICS","VISUALIZATION","ML"],_=U(()=>M.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();E("1u1bdwi",e=>{var a=X();O(()=>{R.title="Guides | Build with AI"}),c(e,a)});var x=s(p);Q(x,{});var m=o(x,2),b=s(m),v=o(s(b),2),u=s(v),y=s(u);H(y),i(u);var g=o(u,2),f=s(g);f.value=f.__value="all";var z=o(f);L(z,17,()=>N.filter(e=>e!=="all"),A,(e,a)=>{var r=Y(),k=s(r,!0);i(r);var w={};Z(()=>{$(k,t(a)),w!==(w=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),i(g),i(v);var h=o(v,2);L(h,21,()=>t(_),A,(e,a)=>{W(e,P(()=>t(a)))}),i(h);var F=o(h,2);{var G=e=>{var a=ee();c(e,a)};j(F,e=>{t(_).length===0&&e(G)})}i(b),i(m);var V=o(m,2);q(V),i(p),J(y,()=>t(n),e=>I(n,e)),K(g,()=>t(l),e=>I(l,e)),c(C,p),D()}export{pe as component}; diff --git a/_app/immutable/nodes/3.CaJF70Fi.js b/_app/immutable/nodes/3.CaJF70Fi.js new file mode 100644 index 0000000..b1d6a09 --- /dev/null +++ b/_app/immutable/nodes/3.CaJF70Fi.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/Bh-96fzJ.js";import{p as B,d as s,g as t,e as D,f as O,s as o,$ as R,r as i,h as U,i as I,j as S,t as Z}from"../chunks/mO2F3zLa.js";import{s as $}from"../chunks/eH5yZvH4.js";import{i as j}from"../chunks/tuD4s8Oc.js";import{h as E,N as Q,e as L,F as q,r as H,i as A}from"../chunks/DhvLCtu-.js";import{b as J}from"../chunks/Da-hDQCT.js";import{b as K}from"../chunks/CJrErHKE.js";import{s as P}from"../chunks/ECMuNRdJ.js";import{R as W}from"../chunks/DToPcL1w.js";var X=d('<meta name="description" content="In-depth guides for statistics, data visualization, and machine learning."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No guides found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Guides</h1> <p class="text-gray-600 max-w-2xl mx-auto">In-depth guides to help you understand statistics, data visualization, and machine learning concepts.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search guides..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(C,T){B(T,!0);const M=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",category:"STATISTICS",status:"live"},{href:"#",title:"Data Visualization",description:"Learn the principles of effective data visualization. From choosing the right chart type to creating compelling visual narratives.",icon:"📈",category:"VISUALIZATION",status:"coming-soon"},{href:"#",title:"ML Model Selection",description:"A practical guide to selecting the right machine learning model for your problem. Decision trees, neural networks, and more.",icon:"🤖",category:"ML",status:"coming-soon"},{href:"#",title:"Feature Engineering",description:"Transform raw data into meaningful features. Best practices for numerical, categorical, and text data.",icon:"🔧",category:"ML",status:"coming-soon"}];let n=S(""),l=S("all");const N=["all","STATISTICS","VISUALIZATION","ML"],_=U(()=>M.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();E("1u1bdwi",e=>{var a=X();O(()=>{R.title="Guides | Build with AI"}),c(e,a)});var x=s(p);Q(x,{});var m=o(x,2),b=s(m),v=o(s(b),2),u=s(v),y=s(u);H(y),i(u);var g=o(u,2),f=s(g);f.value=f.__value="all";var z=o(f);L(z,17,()=>N.filter(e=>e!=="all"),A,(e,a)=>{var r=Y(),k=s(r,!0);i(r);var w={};Z(()=>{$(k,t(a)),w!==(w=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),i(g),i(v);var h=o(v,2);L(h,21,()=>t(_),A,(e,a)=>{W(e,P(()=>t(a)))}),i(h);var F=o(h,2);{var G=e=>{var a=ee();c(e,a)};j(F,e=>{t(_).length===0&&e(G)})}i(b),i(m);var V=o(m,2);q(V),i(p),J(y,()=>t(n),e=>I(n,e)),K(g,()=>t(l),e=>I(l,e)),c(C,p),D()}export{pe as component}; diff --git a/_app/immutable/nodes/3.D0bIWboi.js b/_app/immutable/nodes/3.D0bIWboi.js new file mode 100644 index 0000000..af80ac2 --- /dev/null +++ b/_app/immutable/nodes/3.D0bIWboi.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/Bh-96fzJ.js";import{p as B,d as s,g as t,e as D,f as O,s as o,$ as R,r as i,h as U,i as I,j as S,t as Z}from"../chunks/mO2F3zLa.js";import{s as $}from"../chunks/eH5yZvH4.js";import{i as j}from"../chunks/tuD4s8Oc.js";import{h as E,N as Q,e as L,F as q,r as H,i as A}from"../chunks/3CBxeiL8.js";import{b as J}from"../chunks/Da-hDQCT.js";import{b as K}from"../chunks/CJrErHKE.js";import{s as P}from"../chunks/ECMuNRdJ.js";import{R as W}from"../chunks/-GZLqLPj.js";var X=d('<meta name="description" content="In-depth guides for statistics, data visualization, and machine learning."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No guides found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Guides</h1> <p class="text-gray-600 max-w-2xl mx-auto">In-depth guides to help you understand statistics, data visualization, and machine learning concepts.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search guides..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(C,T){B(T,!0);const M=[{href:"/guides/statistical-tests/",title:"Statistical Tests",description:"A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.",icon:"📊",category:"STATISTICS",status:"live"},{href:"#",title:"Data Visualization",description:"Learn the principles of effective data visualization. From choosing the right chart type to creating compelling visual narratives.",icon:"📈",category:"VISUALIZATION",status:"coming-soon"},{href:"#",title:"ML Model Selection",description:"A practical guide to selecting the right machine learning model for your problem. Decision trees, neural networks, and more.",icon:"🤖",category:"ML",status:"coming-soon"},{href:"#",title:"Feature Engineering",description:"Transform raw data into meaningful features. Best practices for numerical, categorical, and text data.",icon:"🔧",category:"ML",status:"coming-soon"}];let n=S(""),l=S("all");const N=["all","STATISTICS","VISUALIZATION","ML"],_=U(()=>M.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();E("1u1bdwi",e=>{var a=X();O(()=>{R.title="Guides | Build with AI"}),c(e,a)});var x=s(p);Q(x,{});var m=o(x,2),b=s(m),v=o(s(b),2),u=s(v),y=s(u);H(y),i(u);var g=o(u,2),f=s(g);f.value=f.__value="all";var z=o(f);L(z,17,()=>N.filter(e=>e!=="all"),A,(e,a)=>{var r=Y(),k=s(r,!0);i(r);var w={};Z(()=>{$(k,t(a)),w!==(w=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),i(g),i(v);var h=o(v,2);L(h,21,()=>t(_),A,(e,a)=>{W(e,P(()=>t(a)))}),i(h);var F=o(h,2);{var G=e=>{var a=ee();c(e,a)};j(F,e=>{t(_).length===0&&e(G)})}i(b),i(m);var V=o(m,2);q(V),i(p),J(y,()=>t(n),e=>I(n,e)),K(g,()=>t(l),e=>I(l,e)),c(C,p),D()}export{pe as component}; diff --git a/_app/immutable/nodes/4.ByyzaBUN.js b/_app/immutable/nodes/4.ByyzaBUN.js new file mode 100644 index 0000000..062179c --- /dev/null +++ b/_app/immutable/nodes/4.ByyzaBUN.js @@ -0,0 +1 @@ +import{f as c,a as l}from"../chunks/Bh-96fzJ.js";import{p as ae,d as s,g as e,e as re,f as oe,s as i,i as M,j as E,$ as se,r as o,h as O,t as U}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{i as j}from"../chunks/tuD4s8Oc.js";import{h as ie,N as ne,e as z,F as le,r as ce,i as F,s as v,a as de}from"../chunks/DhvLCtu-.js";import{b as pe}from"../chunks/Da-hDQCT.js";import{b as ve}from"../chunks/CJrErHKE.js";var ge=c('<meta name="description" content="Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab."/>'),me=c("<option> </option>"),ue=c('<a target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-2 px-4 py-2 bg-yellow-400 hover:bg-yellow-500 text-gray-900 rounded-lg text-sm font-medium transition-colors"><svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm0 2.4c5.302 0 9.6 4.298 9.6 9.6s-4.298 9.6-9.6 9.6S2.4 17.302 2.4 12 6.698 2.4 12 2.4z"></path></svg> Open in Colab</a>'),be=c('<span class="inline-flex items-center gap-2 px-4 py-2 bg-gray-100 text-gray-400 rounded-lg text-sm font-medium">Coming Soon</span>'),xe=c('<div><div class="flex items-start justify-between mb-4"><div><span> </span></div> <span> </span></div> <h3> </h3> <p> </p> <!></div>'),fe=c('<div class="text-center py-12"><p class="text-gray-500">No notebooks found matching your criteria.</p></div>'),ye=c('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Notebooks</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab - no setup required.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search notebooks..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function Te(G,q){ae(q,!0);const B=[{title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",category:"EDA",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/eda-gapminder.ipynb",icon:"🌍"},{title:"Statistical Tests Practice",description:"Hands-on practice with t-tests, ANOVA, chi-square, and correlation analysis using real datasets.",category:"STATISTICS",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/statistical-tests.ipynb",icon:"📊"},{title:"Linear Regression Deep Dive",description:"From simple to multiple regression. Understand assumptions, diagnostics, and interpretation.",category:"ML",colabUrl:"#",icon:"📈"},{title:"Classification Models",description:"Logistic regression, decision trees, and random forests. Compare model performance and interpret results.",category:"ML",colabUrl:"#",icon:"🎯"}];let m=E(""),u=E("all");const J=["all","EDA","STATISTICS","ML"],k=O(()=>B.filter(t=>{const a=t.title.toLowerCase().includes(e(m).toLowerCase())||t.description.toLowerCase().includes(e(m).toLowerCase()),r=e(u)==="all"||t.category===e(u);return a&&r}));function H(t){switch(t.toUpperCase()){case"EDA":return"bg-teal-100 text-teal-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"ML":return"bg-orange-100 text-orange-700";default:return"bg-gray-100 text-gray-700"}}var h=ye();ie("t5mrr1",t=>{var a=ge();oe(()=>{se.title="Notebooks | Build with AI"}),l(t,a)});var N=s(h);ne(N,{});var _=i(N,2),$=s(_),w=i(s($),2),C=s(w),D=s(C);ce(D),o(C);var S=i(C,2),A=s(S);A.value=A.__value="all";var P=i(A);z(P,17,()=>J.filter(t=>t!=="all"),F,(t,a)=>{var r=me(),d=s(r,!0);o(r);var p={};U(()=>{g(d,e(a)),p!==(p=e(a))&&(r.value=(r.__value=e(a))??"")}),l(t,r)}),o(S),o(w);var L=i(w,2);z(L,21,()=>e(k),F,(t,a)=>{const r=O(()=>e(a).colabUrl!=="#");var d=xe(),p=s(d),b=s(p),T=s(b),K=s(T,!0);o(T),o(b);var I=i(b,2),W=s(I,!0);o(I),o(p);var x=i(p,2),X=s(x,!0);o(x);var f=i(x,2),Y=s(f,!0);o(f);var Z=i(f,2);{var ee=n=>{var y=ue();U(()=>de(y,"href",e(a).colabUrl)),l(n,y)},te=n=>{var y=be();l(n,y)};j(Z,n=>{e(r)?n(ee):n(te,!1)})}o(d),U(n=>{v(d,1,`group block p-6 bg-white rounded-2xl border border-gray-100 ${e(r)?"card-hover":"opacity-75"}`),v(b,1,`w-12 h-12 rounded-xl ${e(r)?"bg-primary-50":"bg-gray-100"} flex items-center justify-center ${e(r)?"transition-transform group-hover:scale-110":""}`),v(T,1,`text-2xl ${e(r)?"":"grayscale"}`),g(K,e(a).icon),v(I,1,`text-xs font-medium px-2 py-1 rounded-full ${n??""}`),g(W,e(a).category),v(x,1,`text-lg font-semibold ${e(r)?"text-gray-900 group-hover:text-primary-600":"text-gray-400"} mb-2 transition-colors`),g(X,e(a).title),v(f,1,`${e(r)?"text-gray-600":"text-gray-400"} text-sm leading-relaxed mb-4`),g(Y,e(a).description)},[()=>H(e(a).category)]),l(t,d)}),o(L);var Q=i(L,2);{var R=t=>{var a=fe();l(t,a)};j(Q,t=>{e(k).length===0&&t(R)})}o($),o(_);var V=i(_,2);le(V),o(h),pe(D,()=>e(m),t=>M(m,t)),ve(S,()=>e(u),t=>M(u,t)),l(G,h),re()}export{Te as component}; diff --git a/_app/immutable/nodes/4.P_foqsYU.js b/_app/immutable/nodes/4.P_foqsYU.js new file mode 100644 index 0000000..314d80a --- /dev/null +++ b/_app/immutable/nodes/4.P_foqsYU.js @@ -0,0 +1 @@ +import{f as c,a as l}from"../chunks/CkL4Pxt3.js";import{p as ae,d as s,g as e,e as re,f as oe,s as i,i as M,j as E,$ as se,r as o,h as O,t as U}from"../chunks/s1dcSIVc.js";import{s as g}from"../chunks/CPMpaYR7.js";import{i as j}from"../chunks/B6leOVDb.js";import{h as ie,N as ne,e as z,F as le,r as ce,i as F,s as v,a as de}from"../chunks/DQsFLTCT.js";import{b as pe}from"../chunks/SaFGkI3k.js";import{b as ve}from"../chunks/2Jbz9SS3.js";var ge=c('<meta name="description" content="Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab."/>'),me=c("<option> </option>"),ue=c('<a target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-2 px-4 py-2 bg-yellow-400 hover:bg-yellow-500 text-gray-900 rounded-lg text-sm font-medium transition-colors"><svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm0 2.4c5.302 0 9.6 4.298 9.6 9.6s-4.298 9.6-9.6 9.6S2.4 17.302 2.4 12 6.698 2.4 12 2.4z"></path></svg> Open in Colab</a>'),be=c('<span class="inline-flex items-center gap-2 px-4 py-2 bg-gray-100 text-gray-400 rounded-lg text-sm font-medium">Coming Soon</span>'),xe=c('<div><div class="flex items-start justify-between mb-4"><div><span> </span></div> <span> </span></div> <h3> </h3> <p> </p> <!></div>'),fe=c('<div class="text-center py-12"><p class="text-gray-500">No notebooks found matching your criteria.</p></div>'),ye=c('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Notebooks</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab - no setup required.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search notebooks..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function Te(G,q){ae(q,!0);const B=[{title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",category:"EDA",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/eda-gapminder.ipynb",icon:"🌍"},{title:"Statistical Tests Practice",description:"Hands-on practice with t-tests, ANOVA, chi-square, and correlation analysis using real datasets.",category:"STATISTICS",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/statistical-tests.ipynb",icon:"📊"},{title:"Linear Regression Deep Dive",description:"From simple to multiple regression. Understand assumptions, diagnostics, and interpretation.",category:"ML",colabUrl:"#",icon:"📈"},{title:"Classification Models",description:"Logistic regression, decision trees, and random forests. Compare model performance and interpret results.",category:"ML",colabUrl:"#",icon:"🎯"}];let m=E(""),u=E("all");const J=["all","EDA","STATISTICS","ML"],k=O(()=>B.filter(t=>{const a=t.title.toLowerCase().includes(e(m).toLowerCase())||t.description.toLowerCase().includes(e(m).toLowerCase()),r=e(u)==="all"||t.category===e(u);return a&&r}));function H(t){switch(t.toUpperCase()){case"EDA":return"bg-teal-100 text-teal-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"ML":return"bg-orange-100 text-orange-700";default:return"bg-gray-100 text-gray-700"}}var h=ye();ie("t5mrr1",t=>{var a=ge();oe(()=>{se.title="Notebooks | Build with AI"}),l(t,a)});var N=s(h);ne(N,{});var _=i(N,2),$=s(_),w=i(s($),2),C=s(w),D=s(C);ce(D),o(C);var S=i(C,2),A=s(S);A.value=A.__value="all";var P=i(A);z(P,17,()=>J.filter(t=>t!=="all"),F,(t,a)=>{var r=me(),d=s(r,!0);o(r);var p={};U(()=>{g(d,e(a)),p!==(p=e(a))&&(r.value=(r.__value=e(a))??"")}),l(t,r)}),o(S),o(w);var L=i(w,2);z(L,21,()=>e(k),F,(t,a)=>{const r=O(()=>e(a).colabUrl!=="#");var d=xe(),p=s(d),b=s(p),T=s(b),K=s(T,!0);o(T),o(b);var I=i(b,2),W=s(I,!0);o(I),o(p);var x=i(p,2),X=s(x,!0);o(x);var f=i(x,2),Y=s(f,!0);o(f);var Z=i(f,2);{var ee=n=>{var y=ue();U(()=>de(y,"href",e(a).colabUrl)),l(n,y)},te=n=>{var y=be();l(n,y)};j(Z,n=>{e(r)?n(ee):n(te,!1)})}o(d),U(n=>{v(d,1,`group block p-6 bg-white rounded-2xl border border-gray-100 ${e(r)?"card-hover":"opacity-75"}`),v(b,1,`w-12 h-12 rounded-xl ${e(r)?"bg-primary-50":"bg-gray-100"} flex items-center justify-center ${e(r)?"transition-transform group-hover:scale-110":""}`),v(T,1,`text-2xl ${e(r)?"":"grayscale"}`),g(K,e(a).icon),v(I,1,`text-xs font-medium px-2 py-1 rounded-full ${n??""}`),g(W,e(a).category),v(x,1,`text-lg font-semibold ${e(r)?"text-gray-900 group-hover:text-primary-600":"text-gray-400"} mb-2 transition-colors`),g(X,e(a).title),v(f,1,`${e(r)?"text-gray-600":"text-gray-400"} text-sm leading-relaxed mb-4`),g(Y,e(a).description)},[()=>H(e(a).category)]),l(t,d)}),o(L);var Q=i(L,2);{var R=t=>{var a=fe();l(t,a)};j(Q,t=>{e(k).length===0&&t(R)})}o($),o(_);var V=i(_,2);le(V),o(h),pe(D,()=>e(m),t=>M(m,t)),ve(S,()=>e(u),t=>M(u,t)),l(G,h),re()}export{Te as component}; diff --git a/_app/immutable/nodes/4.ZDG_vv2X.js b/_app/immutable/nodes/4.ZDG_vv2X.js new file mode 100644 index 0000000..32e876b --- /dev/null +++ b/_app/immutable/nodes/4.ZDG_vv2X.js @@ -0,0 +1 @@ +import{f as c,a as l}from"../chunks/Bh-96fzJ.js";import{p as ae,d as s,g as e,e as re,f as oe,s as i,i as M,j as E,$ as se,r as o,h as O,t as U}from"../chunks/mO2F3zLa.js";import{s as g}from"../chunks/eH5yZvH4.js";import{i as j}from"../chunks/tuD4s8Oc.js";import{h as ie,N as ne,e as z,F as le,r as ce,i as F,s as v,a as de}from"../chunks/3CBxeiL8.js";import{b as pe}from"../chunks/Da-hDQCT.js";import{b as ve}from"../chunks/CJrErHKE.js";var ge=c('<meta name="description" content="Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab."/>'),me=c("<option> </option>"),ue=c('<a target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-2 px-4 py-2 bg-yellow-400 hover:bg-yellow-500 text-gray-900 rounded-lg text-sm font-medium transition-colors"><svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm0 2.4c5.302 0 9.6 4.298 9.6 9.6s-4.298 9.6-9.6 9.6S2.4 17.302 2.4 12 6.698 2.4 12 2.4z"></path></svg> Open in Colab</a>'),be=c('<span class="inline-flex items-center gap-2 px-4 py-2 bg-gray-100 text-gray-400 rounded-lg text-sm font-medium">Coming Soon</span>'),xe=c('<div><div class="flex items-start justify-between mb-4"><div><span> </span></div> <span> </span></div> <h3> </h3> <p> </p> <!></div>'),fe=c('<div class="text-center py-12"><p class="text-gray-500">No notebooks found matching your criteria.</p></div>'),ye=c('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Notebooks</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab - no setup required.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search notebooks..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function Te(G,q){ae(q,!0);const B=[{title:"Exploratory Data Analysis",description:"Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.",category:"EDA",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/eda-gapminder.ipynb",icon:"🌍"},{title:"Statistical Tests Practice",description:"Hands-on practice with t-tests, ANOVA, chi-square, and correlation analysis using real datasets.",category:"STATISTICS",colabUrl:"https://colab.research.google.com/github/valuecurve/notebooks/blob/main/statistical-tests.ipynb",icon:"📊"},{title:"Linear Regression Deep Dive",description:"From simple to multiple regression. Understand assumptions, diagnostics, and interpretation.",category:"ML",colabUrl:"#",icon:"📈"},{title:"Classification Models",description:"Logistic regression, decision trees, and random forests. Compare model performance and interpret results.",category:"ML",colabUrl:"#",icon:"🎯"}];let m=E(""),u=E("all");const J=["all","EDA","STATISTICS","ML"],k=O(()=>B.filter(t=>{const a=t.title.toLowerCase().includes(e(m).toLowerCase())||t.description.toLowerCase().includes(e(m).toLowerCase()),r=e(u)==="all"||t.category===e(u);return a&&r}));function H(t){switch(t.toUpperCase()){case"EDA":return"bg-teal-100 text-teal-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"ML":return"bg-orange-100 text-orange-700";default:return"bg-gray-100 text-gray-700"}}var h=ye();ie("t5mrr1",t=>{var a=ge();oe(()=>{se.title="Notebooks | Build with AI"}),l(t,a)});var N=s(h);ne(N,{});var _=i(N,2),$=s(_),w=i(s($),2),C=s(w),D=s(C);ce(D),o(C);var S=i(C,2),A=s(S);A.value=A.__value="all";var P=i(A);z(P,17,()=>J.filter(t=>t!=="all"),F,(t,a)=>{var r=me(),d=s(r,!0);o(r);var p={};U(()=>{g(d,e(a)),p!==(p=e(a))&&(r.value=(r.__value=e(a))??"")}),l(t,r)}),o(S),o(w);var L=i(w,2);z(L,21,()=>e(k),F,(t,a)=>{const r=O(()=>e(a).colabUrl!=="#");var d=xe(),p=s(d),b=s(p),T=s(b),K=s(T,!0);o(T),o(b);var I=i(b,2),W=s(I,!0);o(I),o(p);var x=i(p,2),X=s(x,!0);o(x);var f=i(x,2),Y=s(f,!0);o(f);var Z=i(f,2);{var ee=n=>{var y=ue();U(()=>de(y,"href",e(a).colabUrl)),l(n,y)},te=n=>{var y=be();l(n,y)};j(Z,n=>{e(r)?n(ee):n(te,!1)})}o(d),U(n=>{v(d,1,`group block p-6 bg-white rounded-2xl border border-gray-100 ${e(r)?"card-hover":"opacity-75"}`),v(b,1,`w-12 h-12 rounded-xl ${e(r)?"bg-primary-50":"bg-gray-100"} flex items-center justify-center ${e(r)?"transition-transform group-hover:scale-110":""}`),v(T,1,`text-2xl ${e(r)?"":"grayscale"}`),g(K,e(a).icon),v(I,1,`text-xs font-medium px-2 py-1 rounded-full ${n??""}`),g(W,e(a).category),v(x,1,`text-lg font-semibold ${e(r)?"text-gray-900 group-hover:text-primary-600":"text-gray-400"} mb-2 transition-colors`),g(X,e(a).title),v(f,1,`${e(r)?"text-gray-600":"text-gray-400"} text-sm leading-relaxed mb-4`),g(Y,e(a).description)},[()=>H(e(a).category)]),l(t,d)}),o(L);var Q=i(L,2);{var R=t=>{var a=fe();l(t,a)};j(Q,t=>{e(k).length===0&&t(R)})}o($),o(_);var V=i(_,2);le(V),o(h),pe(D,()=>e(m),t=>M(m,t)),ve(S,()=>e(u),t=>M(u,t)),l(G,h),re()}export{Te as component}; diff --git a/_app/immutable/nodes/5.B8admk3O.js b/_app/immutable/nodes/5.B8admk3O.js new file mode 100644 index 0000000..44d65c4 --- /dev/null +++ b/_app/immutable/nodes/5.B8admk3O.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/Bh-96fzJ.js";import{p as R,d as i,g as t,e as z,f as F,s,i as w,j as L,$ as G,r as o,h as V,t as $}from"../chunks/mO2F3zLa.js";import{s as j}from"../chunks/eH5yZvH4.js";import{i as q}from"../chunks/tuD4s8Oc.js";import{h as B,N as Q,e as T,F as H,r as J,i as O}from"../chunks/3CBxeiL8.js";import{b as K}from"../chunks/Da-hDQCT.js";import{b as U}from"../chunks/CJrErHKE.js";import{s as W}from"../chunks/ECMuNRdJ.js";import{R as X}from"../chunks/-GZLqLPj.js";var Y=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Z=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(A,C){R(C,!0);const E=[{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"TOOL",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"TOOL",status:"live"},{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=L(""),l=L("all");const N=["all","INTERACTIVE","TOOL"],y=V(()=>E.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();B("171l7w4",e=>{var a=Y();F(()=>{G.title="Tools | Build with AI"}),c(e,a)});var _=i(p);Q(_,{});var m=s(_,2),x=i(m),v=s(i(x),2),f=i(v),b=i(f);J(b),o(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var P=s(g);T(P,17,()=>N.filter(e=>e!=="all"),O,(e,a)=>{var r=Z(),k=i(r,!0);o(r);var I={};$(()=>{j(k,t(a)),I!==(I=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),o(u),o(v);var h=s(v,2);T(h,21,()=>t(y),O,(e,a)=>{X(e,W(()=>t(a)))}),o(h);var S=s(h,2);{var D=e=>{var a=ee();c(e,a)};q(S,e=>{t(y).length===0&&e(D)})}o(x),o(m);var M=s(m,2);H(M),o(p),K(b,()=>t(n),e=>w(n,e)),U(u,()=>t(l),e=>w(l,e)),c(A,p),z()}export{pe as component}; diff --git a/_app/immutable/nodes/5.BRynbaKU.js b/_app/immutable/nodes/5.BRynbaKU.js new file mode 100644 index 0000000..b4a4561 --- /dev/null +++ b/_app/immutable/nodes/5.BRynbaKU.js @@ -0,0 +1 @@ +import{f as d,a as l}from"../chunks/Bh-96fzJ.js";import{p as R,d as i,g as t,e as z,f as F,s,i as w,j as L,$ as G,r as a,h as V,t as $}from"../chunks/mO2F3zLa.js";import{s as j}from"../chunks/eH5yZvH4.js";import{i as q}from"../chunks/tuD4s8Oc.js";import{h as B,N as H,e as O,F as K,r as Q,i as T}from"../chunks/DhvLCtu-.js";import{b as J}from"../chunks/Da-hDQCT.js";import{b as U}from"../chunks/CJrErHKE.js";import{s as W}from"../chunks/ECMuNRdJ.js";import{R as X}from"../chunks/DToPcL1w.js";var Y=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Z=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(A,C){R(C,!0);const E=[{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"TOOL",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"TOOL",status:"live"},{href:"/tools/house-predictor/",title:"House Price Predictor",description:"Seattle/King County house price prediction with ML. Explore 21,613 houses on an interactive map and get instant price estimates.",icon:"🏠",category:"TOOL",status:"live"},{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=L(""),c=L("all");const P=["all","INTERACTIVE","TOOL"],y=V(()=>E.filter(e=>{const o=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(c)==="all"||e.category===t(c);return o&&r}));var p=te();B("171l7w4",e=>{var o=Y();F(()=>{G.title="Tools | Build with AI"}),l(e,o)});var _=i(p);H(_,{});var m=s(_,2),x=i(m),v=s(i(x),2),f=i(v),b=i(f);Q(b),a(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var S=s(g);O(S,17,()=>P.filter(e=>e!=="all"),T,(e,o)=>{var r=Z(),k=i(r,!0);a(r);var I={};$(()=>{j(k,t(o)),I!==(I=t(o))&&(r.value=(r.__value=t(o))??"")}),l(e,r)}),a(u),a(v);var h=s(v,2);O(h,21,()=>t(y),T,(e,o)=>{X(e,W(()=>t(o)))}),a(h);var M=s(h,2);{var N=e=>{var o=ee();l(e,o)};q(M,e=>{t(y).length===0&&e(N)})}a(x),a(m);var D=s(m,2);K(D),a(p),J(b,()=>t(n),e=>w(n,e)),U(u,()=>t(c),e=>w(c,e)),l(A,p),z()}export{pe as component}; diff --git a/_app/immutable/nodes/5.BuArmM5m.js b/_app/immutable/nodes/5.BuArmM5m.js new file mode 100644 index 0000000..525c11d --- /dev/null +++ b/_app/immutable/nodes/5.BuArmM5m.js @@ -0,0 +1 @@ +import{f as d,a as l}from"../chunks/Bh-96fzJ.js";import{p as R,d as i,g as t,e as k,f as z,s,i as A,j as w,$ as F,r as a,h as G,t as U}from"../chunks/mO2F3zLa.js";import{s as Z}from"../chunks/eH5yZvH4.js";import{i as $}from"../chunks/tuD4s8Oc.js";import{h as j,N as q,e as T,F as B,r as H,i as L}from"../chunks/DhvLCtu-.js";import{b as K}from"../chunks/Da-hDQCT.js";import{b as Q}from"../chunks/CJrErHKE.js";import{s as J}from"../chunks/ECMuNRdJ.js";import{R as W}from"../chunks/DToPcL1w.js";var X=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(C,O){R(O,!0);const E=[{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"INTERACTIVE",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"VISUALIZATION",status:"live"},{href:"/tools/house-predictor/",title:"House Price Predictor",description:"Seattle/King County house price prediction with ML. Explore 21,613 houses on an interactive map and get instant price estimates.",icon:"🏠",category:"VISUALIZATION",status:"live"},{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=w(""),c=w("all");const N=["all","INTERACTIVE","VISUALIZATION","TOOL"],y=G(()=>E.filter(e=>{const o=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(c)==="all"||e.category===t(c);return o&&r}));var p=te();j("171l7w4",e=>{var o=X();z(()=>{F.title="Tools | Build with AI"}),l(e,o)});var I=i(p);q(I,{});var m=s(I,2),_=i(m),v=s(i(_),2),f=i(v),x=i(f);H(x),a(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var S=s(g);T(S,17,()=>N.filter(e=>e!=="all"),L,(e,o)=>{var r=Y(),D=i(r,!0);a(r);var b={};U(()=>{Z(D,t(o)),b!==(b=t(o))&&(r.value=(r.__value=t(o))??"")}),l(e,r)}),a(u),a(v);var h=s(v,2);T(h,21,()=>t(y),L,(e,o)=>{W(e,J(()=>t(o)))}),a(h);var P=s(h,2);{var M=e=>{var o=ee();l(e,o)};$(P,e=>{t(y).length===0&&e(M)})}a(_),a(m);var V=s(m,2);B(V),a(p),K(x,()=>t(n),e=>A(n,e)),Q(u,()=>t(c),e=>A(c,e)),l(C,p),k()}export{pe as component}; diff --git a/_app/immutable/nodes/5.CMaEtCD9.js b/_app/immutable/nodes/5.CMaEtCD9.js new file mode 100644 index 0000000..10d6736 --- /dev/null +++ b/_app/immutable/nodes/5.CMaEtCD9.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/CkL4Pxt3.js";import{p as D,d as s,g as t,e as F,f as z,s as i,i as w,j as L,$ as V,r as o,h as $,t as j}from"../chunks/s1dcSIVc.js";import{s as q}from"../chunks/CPMpaYR7.js";import{i as B}from"../chunks/B6leOVDb.js";import{h as G,N as Q,e as T,F as H,r as J,i as O}from"../chunks/DQsFLTCT.js";import{b as K}from"../chunks/SaFGkI3k.js";import{b as U}from"../chunks/2Jbz9SS3.js";import{s as W}from"../chunks/-tUHYaTb.js";import{R as X}from"../chunks/BtxxubAD.js";var Y=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Z=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(A,C){D(C,!0);const E=[{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"TOOL",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=L(""),l=L("all");const N=["all","INTERACTIVE","TOOL"],y=$(()=>E.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();G("171l7w4",e=>{var a=Y();z(()=>{V.title="Tools | Build with AI"}),c(e,a)});var _=s(p);Q(_,{});var m=i(_,2),x=s(m),v=i(s(x),2),f=s(v),b=s(f);J(b),o(f);var u=i(f,2),g=s(u);g.value=g.__value="all";var S=i(g);T(S,17,()=>N.filter(e=>e!=="all"),O,(e,a)=>{var r=Z(),R=s(r,!0);o(r);var I={};j(()=>{q(R,t(a)),I!==(I=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),o(u),o(v);var h=i(v,2);T(h,21,()=>t(y),O,(e,a)=>{X(e,W(()=>t(a)))}),o(h);var M=i(h,2);{var P=e=>{var a=ee();c(e,a)};B(M,e=>{t(y).length===0&&e(P)})}o(x),o(m);var k=i(m,2);H(k),o(p),K(b,()=>t(n),e=>w(n,e)),U(u,()=>t(l),e=>w(l,e)),c(A,p),F()}export{pe as component}; diff --git a/_app/immutable/nodes/5.DgeppOPM.js b/_app/immutable/nodes/5.DgeppOPM.js new file mode 100644 index 0000000..fd25e8b --- /dev/null +++ b/_app/immutable/nodes/5.DgeppOPM.js @@ -0,0 +1 @@ +import{f as d,a as l}from"../chunks/Bh-96fzJ.js";import{p as R,d as i,g as t,e as k,f as z,s,i as A,j as w,$ as F,r as a,h as G,t as U}from"../chunks/mO2F3zLa.js";import{s as Z}from"../chunks/eH5yZvH4.js";import{i as $}from"../chunks/tuD4s8Oc.js";import{h as j,N as q,e as T,F as B,r as H,i as L}from"../chunks/DhvLCtu-.js";import{b as K}from"../chunks/Da-hDQCT.js";import{b as Q}from"../chunks/CJrErHKE.js";import{s as J}from"../chunks/ECMuNRdJ.js";import{R as W}from"../chunks/DToPcL1w.js";var X=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(C,E){R(E,!0);const O=[{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"INTERACTIVE",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"VISUALIZATION",status:"live"},{href:"/tools/house-predictor/",title:"House Price Predictor",description:"Seattle/King County house price prediction with ML. Explore 21,613 houses on an interactive map and get instant price estimates.",icon:"🏠",category:"VISUALIZATION",status:"live"},{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=w(""),c=w("all");const N=["all","INTERACTIVE","VISUALIZATION"],y=G(()=>O.filter(e=>{const o=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(c)==="all"||e.category===t(c);return o&&r}));var p=te();j("171l7w4",e=>{var o=X();z(()=>{F.title="Tools | Build with AI"}),l(e,o)});var I=i(p);q(I,{});var m=s(I,2),_=i(m),v=s(i(_),2),f=i(v),x=i(f);H(x),a(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var S=s(g);T(S,17,()=>N.filter(e=>e!=="all"),L,(e,o)=>{var r=Y(),D=i(r,!0);a(r);var b={};U(()=>{Z(D,t(o)),b!==(b=t(o))&&(r.value=(r.__value=t(o))??"")}),l(e,r)}),a(u),a(v);var h=s(v,2);T(h,21,()=>t(y),L,(e,o)=>{W(e,J(()=>t(o)))}),a(h);var P=s(h,2);{var M=e=>{var o=ee();l(e,o)};$(P,e=>{t(y).length===0&&e(M)})}a(_),a(m);var V=s(m,2);B(V),a(p),K(x,()=>t(n),e=>A(n,e)),Q(u,()=>t(c),e=>A(c,e)),l(C,p),k()}export{pe as component}; diff --git a/_app/immutable/nodes/5.Drz7TOWB.js b/_app/immutable/nodes/5.Drz7TOWB.js new file mode 100644 index 0000000..753996f --- /dev/null +++ b/_app/immutable/nodes/5.Drz7TOWB.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/Bh-96fzJ.js";import{p as R,d as i,g as t,e as z,f as F,s,i as w,j as L,$ as G,r as o,h as V,t as $}from"../chunks/mO2F3zLa.js";import{s as j}from"../chunks/eH5yZvH4.js";import{i as q}from"../chunks/tuD4s8Oc.js";import{h as B,N as Q,e as T,F as H,r as J,i as O}from"../chunks/3CBxeiL8.js";import{b as K}from"../chunks/Da-hDQCT.js";import{b as U}from"../chunks/CJrErHKE.js";import{s as W}from"../chunks/ECMuNRdJ.js";import{R as X}from"../chunks/-GZLqLPj.js";var Y=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Z=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(A,C){R(C,!0);const E=[{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"TOOL",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"TOOL",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=L(""),l=L("all");const N=["all","INTERACTIVE","TOOL"],y=V(()=>E.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();B("171l7w4",e=>{var a=Y();F(()=>{G.title="Tools | Build with AI"}),c(e,a)});var _=i(p);Q(_,{});var m=s(_,2),x=i(m),v=s(i(x),2),f=i(v),b=i(f);J(b),o(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var P=s(g);T(P,17,()=>N.filter(e=>e!=="all"),O,(e,a)=>{var r=Z(),k=i(r,!0);o(r);var I={};$(()=>{j(k,t(a)),I!==(I=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),o(u),o(v);var h=s(v,2);T(h,21,()=>t(y),O,(e,a)=>{X(e,W(()=>t(a)))}),o(h);var S=s(h,2);{var D=e=>{var a=ee();c(e,a)};q(S,e=>{t(y).length===0&&e(D)})}o(x),o(m);var M=s(m,2);H(M),o(p),K(b,()=>t(n),e=>w(n,e)),U(u,()=>t(l),e=>w(l,e)),c(A,p),z()}export{pe as component}; diff --git a/_app/immutable/nodes/5.DwDZJvvR.js b/_app/immutable/nodes/5.DwDZJvvR.js new file mode 100644 index 0000000..ace0c00 --- /dev/null +++ b/_app/immutable/nodes/5.DwDZJvvR.js @@ -0,0 +1 @@ +import{f as d,a as c}from"../chunks/Bh-96fzJ.js";import{p as D,d as s,g as t,e as F,f as z,s as i,i as w,j as L,$ as V,r as o,h as $,t as j}from"../chunks/mO2F3zLa.js";import{s as q}from"../chunks/eH5yZvH4.js";import{i as B}from"../chunks/tuD4s8Oc.js";import{h as G,N as Q,e as T,F as H,r as J,i as O}from"../chunks/3CBxeiL8.js";import{b as K}from"../chunks/Da-hDQCT.js";import{b as U}from"../chunks/CJrErHKE.js";import{s as W}from"../chunks/ECMuNRdJ.js";import{R as X}from"../chunks/-GZLqLPj.js";var Y=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Z=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(A,C){D(C,!0);const E=[{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"INTERACTIVE",status:"live"},{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"TOOL",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=L(""),l=L("all");const N=["all","INTERACTIVE","TOOL"],y=$(()=>E.filter(e=>{const a=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(l)==="all"||e.category===t(l);return a&&r}));var p=te();G("171l7w4",e=>{var a=Y();z(()=>{V.title="Tools | Build with AI"}),c(e,a)});var _=s(p);Q(_,{});var m=i(_,2),x=s(m),v=i(s(x),2),f=s(v),b=s(f);J(b),o(f);var u=i(f,2),g=s(u);g.value=g.__value="all";var S=i(g);T(S,17,()=>N.filter(e=>e!=="all"),O,(e,a)=>{var r=Z(),R=s(r,!0);o(r);var I={};j(()=>{q(R,t(a)),I!==(I=t(a))&&(r.value=(r.__value=t(a))??"")}),c(e,r)}),o(u),o(v);var h=i(v,2);T(h,21,()=>t(y),O,(e,a)=>{X(e,W(()=>t(a)))}),o(h);var M=i(h,2);{var P=e=>{var a=ee();c(e,a)};B(M,e=>{t(y).length===0&&e(P)})}o(x),o(m);var k=i(m,2);H(k),o(p),K(b,()=>t(n),e=>w(n,e)),U(u,()=>t(l),e=>w(l,e)),c(A,p),F()}export{pe as component}; diff --git a/_app/immutable/nodes/5.czV5dpLK.js b/_app/immutable/nodes/5.czV5dpLK.js new file mode 100644 index 0000000..68d0b2f --- /dev/null +++ b/_app/immutable/nodes/5.czV5dpLK.js @@ -0,0 +1 @@ +import{f as d,a as l}from"../chunks/Bh-96fzJ.js";import{p as F,d as i,g as t,e as V,f as k,s,i as A,j as w,$ as z,r as a,h as G,t as K}from"../chunks/mO2F3zLa.js";import{s as U}from"../chunks/eH5yZvH4.js";import{i as Z}from"../chunks/tuD4s8Oc.js";import{h as W,N as $,e as L,F as j,r as q,i as T}from"../chunks/DhvLCtu-.js";import{b as B}from"../chunks/Da-hDQCT.js";import{b as H}from"../chunks/CJrErHKE.js";import{s as Q}from"../chunks/ECMuNRdJ.js";import{R as J}from"../chunks/DToPcL1w.js";var X=d('<meta name="description" content="Interactive tools for data science, machine learning, and AI development."/>'),Y=d("<option> </option>"),ee=d('<div class="text-center py-12"><p class="text-gray-500">No tools found matching your criteria.</p></div>'),te=d('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-6xl mx-auto"><div class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-900 mb-4">Tools</h1> <p class="text-gray-600 max-w-2xl mx-auto">Interactive tools to help you with data science, machine learning, and AI development.</p></div> <div class="flex flex-col sm:flex-row gap-4 mb-8"><div class="flex-1"><input type="text" placeholder="Search tools..." class="w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all"/></div> <select class="px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white"><option>All Categories</option><!></select></div> <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"></div> <!></div></main> <!></div>');function pe(O,C){F(C,!0);const E=[{href:"/tools/privacy-scanner/",title:"Privacy Scanner",description:"Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.",icon:"🔒",category:"INTERACTIVE",status:"live"},{href:"/tools/eda-gapminder/",title:"EDA Gapminder",description:"Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.",icon:"🌍",category:"VISUALIZATION",status:"live"},{href:"/tools/house-predictor/",title:"House Price Predictor",description:"Seattle/King County house price prediction with ML. Explore 21,613 houses on an interactive map and get instant price estimates.",icon:"🏠",category:"VISUALIZATION",status:"live"},{href:"/tools/flowchart/",title:"Decision Flowchart",description:"Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.",icon:"🔀",category:"FRAMEWORK",status:"live"},{href:"#",title:"Inference Estimator",description:"Estimate inference costs and latency for LLM deployments across different providers and model sizes.",icon:"⚡",category:"TOOL",status:"coming-soon"},{href:"#",title:"Cost Tracker",description:"Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.",icon:"💰",category:"TOOL",status:"coming-soon"},{href:"#",title:"Drift Monitor",description:"Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.",icon:"📉",category:"TOOL",status:"coming-soon"}];let n=w(""),c=w("all");const S=["all","INTERACTIVE","VISUALIZATION","FRAMEWORK"],y=G(()=>E.filter(e=>{const o=e.title.toLowerCase().includes(t(n).toLowerCase())||e.description.toLowerCase().includes(t(n).toLowerCase()),r=t(c)==="all"||e.category===t(c);return o&&r}));var p=te();W("171l7w4",e=>{var o=X();k(()=>{z.title="Tools | Build with AI"}),l(e,o)});var _=i(p);$(_,{});var m=s(_,2),x=i(m),v=s(i(x),2),f=i(v),I=i(f);q(I),a(f);var u=s(f,2),g=i(u);g.value=g.__value="all";var N=s(g);L(N,17,()=>S.filter(e=>e!=="all"),T,(e,o)=>{var r=Y(),D=i(r,!0);a(r);var b={};K(()=>{U(D,t(o)),b!==(b=t(o))&&(r.value=(r.__value=t(o))??"")}),l(e,r)}),a(u),a(v);var h=s(v,2);L(h,21,()=>t(y),T,(e,o)=>{J(e,Q(()=>t(o)))}),a(h);var M=s(h,2);{var P=e=>{var o=ee();l(e,o)};Z(M,e=>{t(y).length===0&&e(P)})}a(x),a(m);var R=s(m,2);j(R),a(p),B(I,()=>t(n),e=>A(n,e)),H(u,()=>t(c),e=>A(c,e)),l(O,p),V()}export{pe as component}; diff --git a/_app/immutable/nodes/6.B-tAryQ5.js b/_app/immutable/nodes/6.B-tAryQ5.js new file mode 100644 index 0000000..a66401f --- /dev/null +++ b/_app/immutable/nodes/6.B-tAryQ5.js @@ -0,0 +1,6 @@ +import{f as _,a as b,c as fe}from"../chunks/Bh-96fzJ.js";import{p as xt,j as x,m as T,u as xe,g as e,i as d,d as r,s as o,t as C,e as bt,f as yt,$ as _t,r as s,n as Ie,k as I}from"../chunks/mO2F3zLa.js";import{d as gt,s as g}from"../chunks/eH5yZvH4.js";import{i as w}from"../chunks/tuD4s8Oc.js";import{h as ht,N as wt,F as $t,r as Re,s as R,e as Pt,i as At}from"../chunks/3CBxeiL8.js";import{b as Ne}from"../chunks/Da-hDQCT.js";import{b as ze}from"../chunks/CJrErHKE.js";import{b as be}from"../chunks/DBQEMQMg.js";var Et=_('<meta name="description" content="Explore global development data: GDP, life expectancy, and population trends from 1952-2007."/>'),Ft=_('<div class="bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg mb-4"> </div>'),Ct=_('<span class="text-gray-400">(N/A for trends)</span>'),kt=_("<button> </button>"),jt=_('<div class="mb-4 px-4 py-2 rounded-lg text-sm text-gray-500 bg-gray-100 text-center">Line Trends shows all years</div>'),Tt=_("<option> </option>"),Dt=_('<label for="topn-slider" class="block text-xs font-medium text-gray-600 mb-2">Top N Countries: <span class="text-primary-600 font-bold"> </span></label> <input id="topn-slider" type="range" min="5" max="25" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-primary-600"/>',1),Lt=_('<label class="block text-xs font-medium text-gray-600 mb-2">Countries: <span class="text-primary-600 font-bold"> </span></label> <div class="text-xs text-gray-400">All countries displayed</div>',1),Mt=_('<div class="border-t border-gray-200 pt-4 mt-4"><h4 class="text-xs font-semibold text-gray-700 mb-3"> </h4> <div class="space-y-2 text-xs"><div class="flex justify-between"><span class="text-gray-500">Mean:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Median:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Std Dev:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Min:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Max:</span> <span class="font-medium"> </span></div></div></div>'),St=_('<div class="flex items-center justify-center h-96"><div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"></div></div>'),Bt=_('<div class="w-full h-full"></div>'),Gt=_('<div class="w-full h-full"></div>'),It=_('<div class="w-full h-full"></div>'),Rt=_('<div class="h-[500px]"><!></div>'),Nt=_('<div class="mt-4 pt-4 border-t border-gray-200"><p class="text-xs text-gray-500"> </p></div>'),zt=_('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-7xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">EDA Gapminder</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Explore global development data (1952-2007)</p></div></div> <!> <div class="grid grid-cols-1 lg:grid-cols-4 gap-4"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-4"><h3 class="text-sm font-semibold text-gray-700 mb-4">Filters</h3> <div><label class="block text-xs font-medium text-gray-600 mb-2">Year: <span class="text-primary-600 font-bold"> </span> <!></label> <input type="range" min="1952" max="2007" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer disabled:cursor-not-allowed accent-primary-600"/> <div class="flex justify-between text-xs text-gray-500 mt-1"><span>1952</span> <span>2007</span></div></div> <!> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Continent</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>All Continents</option><!></select></div> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Metric</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>GDP per Capita</option><option>Life Expectancy</option><option>Population</option></select></div> <div class="mb-4"><!></div> <!></div> <div class="lg:col-span-3 bg-white rounded-xl border border-gray-100 shadow-sm p-4"><div class="flex border-b border-gray-200 mb-4"><button>Scatter Plot</button> <button>Bar Chart Race</button> <button>Line Trends</button></div> <!> <!></div></div></div></main> <!></div>');function Qt(Ye,Oe){xt(Oe,!0);const S="https://cockpit.valuecurve.co/api/v1";let J=x(!1),B=x(""),N=x(null),$=x(T([])),k=x(null),y=x(1952),h=x(""),f=x("gdpPercap"),A=x(15),D=x(!1),z=x(null),Y=x(T([])),v=x("scatter"),O,q,U,E=x(null),V=x(!1);xe(()=>{if(typeof window<"u"&&!e(V)){const t=document.createElement("script");t.src="https://cdn.plot.ly/plotly-2.27.0.min.js",t.onload=()=>{d(E,window.Plotly,!0),d(V,!0),qe()},document.head.appendChild(t)}});async function qe(){d(J,!0),d(B,"");try{const t=await fetch(`${S}/eda/metadata`);d(N,await t.json(),!0),d(Y,e(N).years,!0),await K()}catch(t){d(B,t instanceof Error?t.message:"Failed to load data",!0)}finally{d(J,!1)}}async function K(){if(e(E))try{const t=new URLSearchParams;e(y)&&t.append("year",e(y).toString()),e(h)&&t.append("continent",e(h));const i=await(await fetch(`${S}/eda/data?${t}`)).json();d($,i.data,!0);const m=await fetch(`${S}/eda/statistics?column=${e(f)}&group_by=continent&year=${e(y)}`);d(k,await m.json(),!0),setTimeout(()=>{e(v)==="scatter"?ye():e(v)==="barrace"?_e():e(v)==="trends"&&ge()},50)}catch(t){d(B,t instanceof Error?t.message:"Failed to update charts",!0)}}function ye(){if(!O||!e(E)||e($).length===0)return;const t=[...new Set(e($).map(n=>n.continent))],a={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},i=Math.max(...e($).map(n=>n.pop)),m=60,u=t.map(n=>{const l=e($).filter(c=>c.continent===n);return{x:l.map(c=>c.gdpPercap),y:l.map(c=>c.lifeExp),mode:"markers",name:n,text:l.map(c=>`${c.country}<br>Pop: ${(c.pop/1e6).toFixed(1)}M`),marker:{size:l.map(c=>c.pop),sizemode:"area",sizeref:2*i/(m*m),sizemin:4,color:a[n],opacity:.7,line:{width:1,color:"white"}},hovertemplate:"<b>%{text}</b><br>GDP: $%{x:,.0f}<br>Life Exp: %{y:.1f} years<extra></extra>"}}),p={title:`GDP per Capita vs Life Expectancy (${e(y)})`,xaxis:{title:"GDP per Capita (log scale)",type:"log",range:[2.5,5.2]},yaxis:{title:"Life Expectancy (years)",range:[20,90]},showlegend:!0,legend:{x:.02,y:.98},hovermode:"closest",paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(E).newPlot(O,u,p,{responsive:!0})}async function _e(){if(!(!q||!e(E)))try{const a=await(await fetch(`${S}/eda/ranking?year=${e(y)}&metric=${e(f)}&top_n=${e(A)}`)).json(),i={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},m={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},u=a.data.sort((l,c)=>l[e(f)]-c[e(f)]),p={type:"bar",x:u.map(l=>l[e(f)]),y:u.map(l=>l.country),orientation:"h",marker:{color:u.map(l=>i[l.continent])},text:u.map(l=>e(f)==="pop"?`${(l[e(f)]/1e6).toFixed(1)}M`:e(f)==="gdpPercap"?`$${l[e(f)].toFixed(0)}`:l[e(f)].toFixed(1)),textposition:"outside",hovertemplate:"<b>%{y}</b><br>%{x:,.0f}<extra></extra>"},n={title:`Top ${e(A)} Countries by ${m[e(f)]} (${e(y)})`,xaxis:{title:m[e(f)]},yaxis:{automargin:!0},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"},margin:{l:150}};e(E).newPlot(q,[p],n,{responsive:!0})}catch(t){console.error("Bar race error:",t)}}async function ge(){if(!(!U||!e(E)))try{const a=await(await fetch(`${S}/eda/timeseries?metric=${e(f)}&top_n=10${e(h)?`&continent=${e(h)}`:""}`)).json(),m=[...new Set(a.data.map(n=>n.country))].map(n=>{const l=a.data.filter(c=>c.country===n).sort((c,L)=>c.year-L.year);return{x:l.map(c=>c.year),y:l.map(c=>c[e(f)]),mode:"lines+markers",name:n,hovertemplate:`<b>${n}</b><br>Year: %{x}<br>Value: %{y:,.0f}<extra></extra>`}}),u={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},p={title:`${u[e(f)]} Over Time (Top 10)`,xaxis:{title:"Year",dtick:5},yaxis:{title:u[e(f)]},showlegend:!0,legend:{x:1.02,y:1},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(E).newPlot(U,m,p,{responsive:!0})}catch(t){console.error("Trends error:",t)}}function Ue(){if(e(D)){he();return}d(D,!0);let t=e(Y).indexOf(e(y));d(z,setInterval(()=>{t=(t+1)%e(Y).length,d(y,e(Y)[t],!0),K()},1e3),!0)}function he(){d(D,!1),e(z)&&(clearInterval(e(z)),d(z,null))}let we=x(T(e(y))),$e=x(T(e(h))),Pe=x(T(e(f))),Ae=x(T(e(A)));xe(()=>{e(V)&&e($).length>0&&(e(we)!==e(y)||e($e)!==e(h)||e(Pe)!==e(f)||e(Ae)!==e(A))&&(d(we,e(y),!0),d($e,e(h),!0),d(Pe,e(f),!0),d(Ae,e(A),!0),K())});let Ee=x(T(e(v)));xe(()=>{e(V)&&e(v)!==e(Ee)&&(d(Ee,e(v),!0),e(v)==="trends"&&e(D)&&he(),setTimeout(()=>{e(v)==="scatter"?ye():e(v)==="barrace"?_e():e(v)==="trends"&&ge()},100))});var Q=zt();ht("1vulqo1",t=>{var a=Et();yt(()=>{_t.title="EDA Gapminder | Build with AI"}),b(t,a)});var Fe=r(Q);wt(Fe,{});var W=o(Fe,2),Ce=r(W),ke=o(r(Ce),2);{var Ve=t=>{var a=Ft(),i=r(a,!0);s(a),C(()=>g(i,e(B))),b(t,a)};w(ke,t=>{e(B)&&t(Ve)})}var je=o(ke,2),X=r(je),H=o(r(X),2),Z=r(H),ee=o(r(Z)),He=r(ee,!0);s(ee);var Je=o(ee,2);{var Ke=t=>{var a=Ct();b(t,a)};w(Je,t=>{e(v)==="trends"&&t(Ke)})}s(Z);var te=o(Z,2);Re(te),Ie(2),s(H);var Te=o(H,2);{var Qe=t=>{var a=kt();a.__click=Ue;var i=r(a,!0);s(a),C(()=>{R(a,1,`w-full mb-4 px-4 py-2 rounded-lg text-sm font-medium transition-colors + ${e(D)?"bg-red-100 text-red-700 hover:bg-red-200":"bg-primary-100 text-primary-700 hover:bg-primary-200"}`),g(i,e(D)?"Stop Animation":"Play Timeline")}),b(t,a)},We=t=>{var a=jt();b(t,a)};w(Te,t=>{e(v)!=="trends"?t(Qe):t(We,!1)})}var ae=o(Te,2),re=o(r(ae),2),se=r(re);se.value=se.__value="";var Xe=o(se);{var Ze=t=>{var a=fe(),i=I(a);Pt(i,17,()=>e(N).continents,At,(m,u)=>{var p=Tt(),n=r(p,!0);s(p);var l={};C(()=>{g(n,e(u)),l!==(l=e(u))&&(p.value=(p.__value=e(u))??"")}),b(m,p)}),b(t,a)};w(Xe,t=>{e(N)&&t(Ze)})}s(re),s(ae);var oe=o(ae,2),ie=o(r(oe),2),ne=r(ie);ne.value=ne.__value="gdpPercap";var le=o(ne);le.value=le.__value="lifeExp";var De=o(le);De.value=De.__value="pop",s(ie),s(oe);var de=o(oe,2),et=r(de);{var tt=t=>{var a=Dt(),i=I(a),m=o(r(i)),u=r(m,!0);s(m),s(i);var p=o(i,2);Re(p),C(()=>g(u,e(A))),Ne(p,()=>e(A),n=>d(A,n)),b(t,a)},at=t=>{var a=Lt(),i=I(a),m=o(r(i)),u=r(m,!0);s(m),s(i),Ie(2),C(()=>g(u,e($).length||142)),b(t,a)};w(et,t=>{e(v)==="barrace"?t(tt):t(at,!1)})}s(de);var rt=o(de,2);{var st=t=>{var a=Mt(),i=r(a),m=r(i);s(i);var u=o(i,2),p=r(u),n=o(r(p),2),l=r(n,!0);s(n),s(p);var c=o(p,2),L=o(r(c),2),F=r(L,!0);s(L),s(c);var P=o(c,2),M=o(r(P),2),me=r(M,!0);s(M),s(P);var j=o(P,2),G=o(r(j),2),ue=r(G,!0);s(G),s(j);var Be=o(j,2),Ge=o(r(Be),2),ct=r(Ge,!0);s(Ge),s(Be),s(u),s(a),C((pt,vt,mt,ut,ft)=>{g(m,`Statistics (${e(y)??""})`),g(l,pt),g(F,vt),g(me,mt),g(ue,ut),g(ct,ft)},[()=>e(k).mean.toFixed(2),()=>e(k).median.toFixed(2),()=>e(k).std.toFixed(2),()=>e(k).min.toFixed(2),()=>e(k).max.toFixed(2)]),b(t,a)};w(rt,t=>{e(k)&&t(st)})}s(X);var Le=o(X,2),ce=r(Le),pe=r(ce);pe.__click=()=>d(v,"scatter");var ve=o(pe,2);ve.__click=()=>d(v,"barrace");var Me=o(ve,2);Me.__click=()=>d(v,"trends"),s(ce);var Se=o(ce,2);{var ot=t=>{var a=St();b(t,a)},it=t=>{var a=Rt(),i=r(a);{var m=p=>{var n=Bt();be(n,l=>O=l,()=>O),b(p,n)},u=p=>{var n=fe(),l=I(n);{var c=F=>{var P=Gt();be(P,M=>q=M,()=>q),b(F,P)},L=F=>{var P=fe(),M=I(P);{var me=j=>{var G=It();be(G,ue=>U=ue,()=>U),b(j,G)};w(M,j=>{e(v)==="trends"&&j(me)},!0)}b(F,P)};w(l,F=>{e(v)==="barrace"?F(c):F(L,!1)},!0)}b(p,n)};w(i,p=>{e(v)==="scatter"?p(m):p(u,!1)})}s(a),b(t,a)};w(Se,t=>{e(J)?t(ot):t(it,!1)})}var nt=o(Se,2);{var lt=t=>{var a=Nt(),i=r(a),m=r(i);s(i),s(a),C(()=>g(m,`Showing ${e($).length??""} records for ${e(y)??""} + ${e(h)?` in ${e(h)}`:""}`)),b(t,a)};w(nt,t=>{e($).length>0&&t(lt)})}s(Le),s(je),s(Ce),s(W);var dt=o(W,2);$t(dt),s(Q),C(()=>{R(H,1,`mb-4 ${e(v)==="trends"?"opacity-50":""}`),g(He,e(y)),te.disabled=e(v)==="trends",R(pe,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="scatter"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),R(ve,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="barrace"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),R(Me,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="trends"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)}),Ne(te,()=>e(y),t=>d(y,t)),ze(re,()=>e(h),t=>d(h,t)),ze(ie,()=>e(f),t=>d(f,t)),b(Ye,Q),bt()}gt(["click"]);export{Qt as component}; diff --git a/_app/immutable/nodes/6.D0nSj-gu.js b/_app/immutable/nodes/6.D0nSj-gu.js new file mode 100644 index 0000000..8836f3b --- /dev/null +++ b/_app/immutable/nodes/6.D0nSj-gu.js @@ -0,0 +1,6 @@ +import{f as _,a as b,c as fe}from"../chunks/Bh-96fzJ.js";import{p as xt,j as x,m as T,u as xe,g as e,i as d,d as r,s as o,t as C,e as bt,f as yt,$ as _t,r as s,n as Ie,k as I}from"../chunks/mO2F3zLa.js";import{d as gt,s as g}from"../chunks/eH5yZvH4.js";import{i as w}from"../chunks/tuD4s8Oc.js";import{h as ht,N as wt,F as $t,r as Re,s as R,e as Pt,i as At}from"../chunks/DhvLCtu-.js";import{b as Ne}from"../chunks/Da-hDQCT.js";import{b as ze}from"../chunks/CJrErHKE.js";import{b as be}from"../chunks/DBQEMQMg.js";var Et=_('<meta name="description" content="Explore global development data: GDP, life expectancy, and population trends from 1952-2007."/>'),Ft=_('<div class="bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg mb-4"> </div>'),Ct=_('<span class="text-gray-400">(N/A for trends)</span>'),kt=_("<button> </button>"),jt=_('<div class="mb-4 px-4 py-2 rounded-lg text-sm text-gray-500 bg-gray-100 text-center">Line Trends shows all years</div>'),Tt=_("<option> </option>"),Dt=_('<label for="topn-slider" class="block text-xs font-medium text-gray-600 mb-2">Top N Countries: <span class="text-primary-600 font-bold"> </span></label> <input id="topn-slider" type="range" min="5" max="25" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-primary-600"/>',1),Lt=_('<label class="block text-xs font-medium text-gray-600 mb-2">Countries: <span class="text-primary-600 font-bold"> </span></label> <div class="text-xs text-gray-400">All countries displayed</div>',1),Mt=_('<div class="border-t border-gray-200 pt-4 mt-4"><h4 class="text-xs font-semibold text-gray-700 mb-3"> </h4> <div class="space-y-2 text-xs"><div class="flex justify-between"><span class="text-gray-500">Mean:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Median:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Std Dev:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Min:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Max:</span> <span class="font-medium"> </span></div></div></div>'),St=_('<div class="flex items-center justify-center h-96"><div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"></div></div>'),Bt=_('<div class="w-full h-full"></div>'),Gt=_('<div class="w-full h-full"></div>'),It=_('<div class="w-full h-full"></div>'),Rt=_('<div class="h-[500px]"><!></div>'),Nt=_('<div class="mt-4 pt-4 border-t border-gray-200"><p class="text-xs text-gray-500"> </p></div>'),zt=_('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-7xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">EDA Gapminder</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Explore global development data (1952-2007)</p></div></div> <!> <div class="grid grid-cols-1 lg:grid-cols-4 gap-4"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-4"><h3 class="text-sm font-semibold text-gray-700 mb-4">Filters</h3> <div><label class="block text-xs font-medium text-gray-600 mb-2">Year: <span class="text-primary-600 font-bold"> </span> <!></label> <input type="range" min="1952" max="2007" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer disabled:cursor-not-allowed accent-primary-600"/> <div class="flex justify-between text-xs text-gray-500 mt-1"><span>1952</span> <span>2007</span></div></div> <!> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Continent</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>All Continents</option><!></select></div> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Metric</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>GDP per Capita</option><option>Life Expectancy</option><option>Population</option></select></div> <div class="mb-4"><!></div> <!></div> <div class="lg:col-span-3 bg-white rounded-xl border border-gray-100 shadow-sm p-4"><div class="flex border-b border-gray-200 mb-4"><button>Scatter Plot</button> <button>Bar Chart Race</button> <button>Line Trends</button></div> <!> <!></div></div></div></main> <!></div>');function Qt(Ye,Oe){xt(Oe,!0);const S="https://cockpit.valuecurve.co/api/v1";let J=x(!1),B=x(""),N=x(null),$=x(T([])),k=x(null),y=x(1952),h=x(""),f=x("gdpPercap"),A=x(15),D=x(!1),z=x(null),Y=x(T([])),v=x("scatter"),O,q,U,E=x(null),V=x(!1);xe(()=>{if(typeof window<"u"&&!e(V)){const t=document.createElement("script");t.src="https://cdn.plot.ly/plotly-2.27.0.min.js",t.onload=()=>{d(E,window.Plotly,!0),d(V,!0),qe()},document.head.appendChild(t)}});async function qe(){d(J,!0),d(B,"");try{const t=await fetch(`${S}/eda/metadata`);d(N,await t.json(),!0),d(Y,e(N).years,!0),await K()}catch(t){d(B,t instanceof Error?t.message:"Failed to load data",!0)}finally{d(J,!1)}}async function K(){if(e(E))try{const t=new URLSearchParams;e(y)&&t.append("year",e(y).toString()),e(h)&&t.append("continent",e(h));const i=await(await fetch(`${S}/eda/data?${t}`)).json();d($,i.data,!0);const m=await fetch(`${S}/eda/statistics?column=${e(f)}&group_by=continent&year=${e(y)}`);d(k,await m.json(),!0),setTimeout(()=>{e(v)==="scatter"?ye():e(v)==="barrace"?_e():e(v)==="trends"&&ge()},50)}catch(t){d(B,t instanceof Error?t.message:"Failed to update charts",!0)}}function ye(){if(!O||!e(E)||e($).length===0)return;const t=[...new Set(e($).map(n=>n.continent))],a={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},i=Math.max(...e($).map(n=>n.pop)),m=60,u=t.map(n=>{const l=e($).filter(c=>c.continent===n);return{x:l.map(c=>c.gdpPercap),y:l.map(c=>c.lifeExp),mode:"markers",name:n,text:l.map(c=>`${c.country}<br>Pop: ${(c.pop/1e6).toFixed(1)}M`),marker:{size:l.map(c=>c.pop),sizemode:"area",sizeref:2*i/(m*m),sizemin:4,color:a[n],opacity:.7,line:{width:1,color:"white"}},hovertemplate:"<b>%{text}</b><br>GDP: $%{x:,.0f}<br>Life Exp: %{y:.1f} years<extra></extra>"}}),p={title:`GDP per Capita vs Life Expectancy (${e(y)})`,xaxis:{title:"GDP per Capita (log scale)",type:"log",range:[2.5,5.2]},yaxis:{title:"Life Expectancy (years)",range:[20,90]},showlegend:!0,legend:{x:.02,y:.98},hovermode:"closest",paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(E).newPlot(O,u,p,{responsive:!0})}async function _e(){if(!(!q||!e(E)))try{const a=await(await fetch(`${S}/eda/ranking?year=${e(y)}&metric=${e(f)}&top_n=${e(A)}`)).json(),i={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},m={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},u=a.data.sort((l,c)=>l[e(f)]-c[e(f)]),p={type:"bar",x:u.map(l=>l[e(f)]),y:u.map(l=>l.country),orientation:"h",marker:{color:u.map(l=>i[l.continent])},text:u.map(l=>e(f)==="pop"?`${(l[e(f)]/1e6).toFixed(1)}M`:e(f)==="gdpPercap"?`$${l[e(f)].toFixed(0)}`:l[e(f)].toFixed(1)),textposition:"outside",hovertemplate:"<b>%{y}</b><br>%{x:,.0f}<extra></extra>"},n={title:`Top ${e(A)} Countries by ${m[e(f)]} (${e(y)})`,xaxis:{title:m[e(f)]},yaxis:{automargin:!0},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"},margin:{l:150}};e(E).newPlot(q,[p],n,{responsive:!0})}catch(t){console.error("Bar race error:",t)}}async function ge(){if(!(!U||!e(E)))try{const a=await(await fetch(`${S}/eda/timeseries?metric=${e(f)}&top_n=10${e(h)?`&continent=${e(h)}`:""}`)).json(),m=[...new Set(a.data.map(n=>n.country))].map(n=>{const l=a.data.filter(c=>c.country===n).sort((c,L)=>c.year-L.year);return{x:l.map(c=>c.year),y:l.map(c=>c[e(f)]),mode:"lines+markers",name:n,hovertemplate:`<b>${n}</b><br>Year: %{x}<br>Value: %{y:,.0f}<extra></extra>`}}),u={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},p={title:`${u[e(f)]} Over Time (Top 10)`,xaxis:{title:"Year",dtick:5},yaxis:{title:u[e(f)]},showlegend:!0,legend:{x:1.02,y:1},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(E).newPlot(U,m,p,{responsive:!0})}catch(t){console.error("Trends error:",t)}}function Ue(){if(e(D)){he();return}d(D,!0);let t=e(Y).indexOf(e(y));d(z,setInterval(()=>{t=(t+1)%e(Y).length,d(y,e(Y)[t],!0),K()},1e3),!0)}function he(){d(D,!1),e(z)&&(clearInterval(e(z)),d(z,null))}let we=x(T(e(y))),$e=x(T(e(h))),Pe=x(T(e(f))),Ae=x(T(e(A)));xe(()=>{e(V)&&e($).length>0&&(e(we)!==e(y)||e($e)!==e(h)||e(Pe)!==e(f)||e(Ae)!==e(A))&&(d(we,e(y),!0),d($e,e(h),!0),d(Pe,e(f),!0),d(Ae,e(A),!0),K())});let Ee=x(T(e(v)));xe(()=>{e(V)&&e(v)!==e(Ee)&&(d(Ee,e(v),!0),e(v)==="trends"&&e(D)&&he(),setTimeout(()=>{e(v)==="scatter"?ye():e(v)==="barrace"?_e():e(v)==="trends"&&ge()},100))});var Q=zt();ht("1vulqo1",t=>{var a=Et();yt(()=>{_t.title="EDA Gapminder | Build with AI"}),b(t,a)});var Fe=r(Q);wt(Fe,{});var W=o(Fe,2),Ce=r(W),ke=o(r(Ce),2);{var Ve=t=>{var a=Ft(),i=r(a,!0);s(a),C(()=>g(i,e(B))),b(t,a)};w(ke,t=>{e(B)&&t(Ve)})}var je=o(ke,2),X=r(je),H=o(r(X),2),Z=r(H),ee=o(r(Z)),He=r(ee,!0);s(ee);var Je=o(ee,2);{var Ke=t=>{var a=Ct();b(t,a)};w(Je,t=>{e(v)==="trends"&&t(Ke)})}s(Z);var te=o(Z,2);Re(te),Ie(2),s(H);var Te=o(H,2);{var Qe=t=>{var a=kt();a.__click=Ue;var i=r(a,!0);s(a),C(()=>{R(a,1,`w-full mb-4 px-4 py-2 rounded-lg text-sm font-medium transition-colors + ${e(D)?"bg-red-100 text-red-700 hover:bg-red-200":"bg-primary-100 text-primary-700 hover:bg-primary-200"}`),g(i,e(D)?"Stop Animation":"Play Timeline")}),b(t,a)},We=t=>{var a=jt();b(t,a)};w(Te,t=>{e(v)!=="trends"?t(Qe):t(We,!1)})}var ae=o(Te,2),re=o(r(ae),2),se=r(re);se.value=se.__value="";var Xe=o(se);{var Ze=t=>{var a=fe(),i=I(a);Pt(i,17,()=>e(N).continents,At,(m,u)=>{var p=Tt(),n=r(p,!0);s(p);var l={};C(()=>{g(n,e(u)),l!==(l=e(u))&&(p.value=(p.__value=e(u))??"")}),b(m,p)}),b(t,a)};w(Xe,t=>{e(N)&&t(Ze)})}s(re),s(ae);var oe=o(ae,2),ie=o(r(oe),2),ne=r(ie);ne.value=ne.__value="gdpPercap";var le=o(ne);le.value=le.__value="lifeExp";var De=o(le);De.value=De.__value="pop",s(ie),s(oe);var de=o(oe,2),et=r(de);{var tt=t=>{var a=Dt(),i=I(a),m=o(r(i)),u=r(m,!0);s(m),s(i);var p=o(i,2);Re(p),C(()=>g(u,e(A))),Ne(p,()=>e(A),n=>d(A,n)),b(t,a)},at=t=>{var a=Lt(),i=I(a),m=o(r(i)),u=r(m,!0);s(m),s(i),Ie(2),C(()=>g(u,e($).length||142)),b(t,a)};w(et,t=>{e(v)==="barrace"?t(tt):t(at,!1)})}s(de);var rt=o(de,2);{var st=t=>{var a=Mt(),i=r(a),m=r(i);s(i);var u=o(i,2),p=r(u),n=o(r(p),2),l=r(n,!0);s(n),s(p);var c=o(p,2),L=o(r(c),2),F=r(L,!0);s(L),s(c);var P=o(c,2),M=o(r(P),2),me=r(M,!0);s(M),s(P);var j=o(P,2),G=o(r(j),2),ue=r(G,!0);s(G),s(j);var Be=o(j,2),Ge=o(r(Be),2),ct=r(Ge,!0);s(Ge),s(Be),s(u),s(a),C((pt,vt,mt,ut,ft)=>{g(m,`Statistics (${e(y)??""})`),g(l,pt),g(F,vt),g(me,mt),g(ue,ut),g(ct,ft)},[()=>e(k).mean.toFixed(2),()=>e(k).median.toFixed(2),()=>e(k).std.toFixed(2),()=>e(k).min.toFixed(2),()=>e(k).max.toFixed(2)]),b(t,a)};w(rt,t=>{e(k)&&t(st)})}s(X);var Le=o(X,2),ce=r(Le),pe=r(ce);pe.__click=()=>d(v,"scatter");var ve=o(pe,2);ve.__click=()=>d(v,"barrace");var Me=o(ve,2);Me.__click=()=>d(v,"trends"),s(ce);var Se=o(ce,2);{var ot=t=>{var a=St();b(t,a)},it=t=>{var a=Rt(),i=r(a);{var m=p=>{var n=Bt();be(n,l=>O=l,()=>O),b(p,n)},u=p=>{var n=fe(),l=I(n);{var c=F=>{var P=Gt();be(P,M=>q=M,()=>q),b(F,P)},L=F=>{var P=fe(),M=I(P);{var me=j=>{var G=It();be(G,ue=>U=ue,()=>U),b(j,G)};w(M,j=>{e(v)==="trends"&&j(me)},!0)}b(F,P)};w(l,F=>{e(v)==="barrace"?F(c):F(L,!1)},!0)}b(p,n)};w(i,p=>{e(v)==="scatter"?p(m):p(u,!1)})}s(a),b(t,a)};w(Se,t=>{e(J)?t(ot):t(it,!1)})}var nt=o(Se,2);{var lt=t=>{var a=Nt(),i=r(a),m=r(i);s(i),s(a),C(()=>g(m,`Showing ${e($).length??""} records for ${e(y)??""} + ${e(h)?` in ${e(h)}`:""}`)),b(t,a)};w(nt,t=>{e($).length>0&&t(lt)})}s(Le),s(je),s(Ce),s(W);var dt=o(W,2);$t(dt),s(Q),C(()=>{R(H,1,`mb-4 ${e(v)==="trends"?"opacity-50":""}`),g(He,e(y)),te.disabled=e(v)==="trends",R(pe,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="scatter"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),R(ve,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="barrace"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),R(Me,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(v)==="trends"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)}),Ne(te,()=>e(y),t=>d(y,t)),ze(re,()=>e(h),t=>d(h,t)),ze(ie,()=>e(f),t=>d(f,t)),b(Ye,Q),bt()}gt(["click"]);export{Qt as component}; diff --git a/_app/immutable/nodes/6.DvrwyxR5.js b/_app/immutable/nodes/6.DvrwyxR5.js new file mode 100644 index 0000000..ce683cb --- /dev/null +++ b/_app/immutable/nodes/6.DvrwyxR5.js @@ -0,0 +1,18 @@ +import{f as y,a as p,c as me,t as ye,b as he}from"../chunks/CkL4Pxt3.js";import{p as Xt,i as o,d as a,s as n,t as G,g as e,e as Qt,j as f,f as er,$ as tr,r,n as S,z as rr,k as F,h as ar,A as sr}from"../chunks/s1dcSIVc.js";import{d as nr,s as I,e as gt}from"../chunks/CPMpaYR7.js";import{i as E}from"../chunks/B6leOVDb.js";import{h as or,N as ir,F as dr,s as k,r as O,e as bt,i as ft}from"../chunks/DQsFLTCT.js";import{a as K,b as lr}from"../chunks/SaFGkI3k.js";var cr=y('<meta name="description" content="Detect and redact personally identifiable information (PII) from text and files."/>'),pr=y('<span class="text-gray-300">|</span> <button class="text-xs text-gray-500 hover:text-red-600">Clear</button>',1),vr=y('<div class="space-y-3"><div class="flex justify-between items-center"><label for="text-input" class="text-sm font-medium text-gray-700">Text to Scan</label> <div class="flex gap-2"><button class="text-xs text-primary-600 hover:text-primary-700">Load Sample</button> <!></div></div> <textarea id="text-input" placeholder="Paste text containing potential PII here..." class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 min-h-[150px] resize-none font-mono text-xs"></textarea></div>'),xr=y('<div class="mt-3 flex items-center gap-2 p-2 bg-gray-50 rounded-lg"><svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-gray-700 truncate flex-1"> </span></div>'),ur=y('<div class="border-2 border-dashed border-gray-300 rounded-xl p-6 text-center hover:border-primary-400 transition-colors cursor-pointer" role="button" tabindex="0"><input type="file" accept=".csv,.txt,.json" class="hidden" id="file-input"/> <label for="file-input" class="cursor-pointer"><div class="w-12 h-12 rounded-xl bg-primary-100 flex items-center justify-center mx-auto mb-3"><svg class="w-6 h-6 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg></div> <p class="text-sm text-gray-600"><span class="text-primary-600 font-medium">Click to upload</span> or drag and drop</p> <p class="text-xs text-gray-400 mt-1">CSV, TXT, or JSON files</p></label></div> <!>',1),_r=y('<div class="mt-3 p-3 bg-red-50 text-red-700 text-sm rounded-lg border border-red-100"> </div>'),gr=y('<div><div class="flex items-center gap-2"><span class="text-xs font-bold w-6 h-6 rounded flex items-center justify-center bg-white/50"> </span> <span class="text-sm font-medium"> </span></div> <span class="text-sm font-bold"> </span></div>'),br=y('<div class="bg-gray-50 rounded-lg p-4 border border-gray-100"><h3 class="text-sm font-semibold text-gray-700 mb-3">PII by Type</h3> <div class="grid grid-cols-2 gap-2"></div></div>'),fr=y('<div class="bg-green-50 rounded-lg p-4 border border-green-200"><div class="flex items-center gap-2"><svg class="w-5 h-5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-green-700 font-medium">No PII detected in the input</span></div></div>'),mr=y('<div class="space-y-4"><!> <div><h3 class="text-sm font-semibold mb-2">Risk Assessment</h3> <p class="text-sm opacity-90"><!></p></div></div>'),yr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),hr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),Ar=y('<tr class="border-b border-gray-100"><td class="py-2 px-3"><span> </span></td><td class="py-2 px-3 font-mono text-xs text-red-600"> </td><td class="py-2 px-3 font-mono text-xs text-green-600"> </td><td class="py-2 px-3 text-right"><span> </span></td></tr>'),Sr=y('<div class="flex justify-end mb-3"><button><!></button></div> <table class="w-full text-sm"><thead><tr class="border-b border-gray-200"><th class="text-left py-2 px-3 font-medium text-gray-700">Type</th><th class="text-left py-2 px-3 font-medium text-gray-700">Original Value</th><th class="text-left py-2 px-3 font-medium text-gray-700">Masked Value</th><th class="text-right py-2 px-3 font-medium text-gray-700">Confidence</th></tr></thead><tbody></tbody></table>',1),Ir=y('<div class="text-center py-8 text-gray-500">No PII entities found</div>'),Er=y('<div class="overflow-x-auto"><!></div>'),wr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),Tr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),kr=y('<div class="space-y-3"><div class="bg-gray-50 rounded-lg p-4 border border-gray-200"><div class="flex justify-between items-center mb-2"><h3 class="text-sm font-semibold text-gray-700">Redacted Text Preview</h3> <button><!></button></div> <pre class="text-xs font-mono whitespace-pre-wrap text-gray-600 bg-white p-3 rounded-lg border border-gray-100 max-h-[300px] overflow-auto"> </pre></div> <p class="text-xs text-gray-500">This preview shows PII values masked for safe sharing.</p></div>'),Pr=y('<div class="grid grid-cols-4 gap-3 mb-5"><div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">PII Found</p> <p> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Types</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Risk Score</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div><p class="text-xs opacity-80">Risk Level</p> <p class="text-xl font-bold"> </p></div></div> <div class="flex gap-1 mb-4 border-b border-gray-200"><button>Overview</button> <button> </button> <button>Redacted Preview</button></div> <!>',1),Cr=y('<div class="text-center py-12"><div class="w-16 h-16 rounded-2xl bg-gray-100 flex items-center justify-center mx-auto mb-4"><svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg></div> <p class="text-gray-500">Enter text or upload a file to scan for PII</p></div>'),Dr=y('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-6xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">Privacy Scanner</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Detect & redact PII from text and files</p></div></div> <div class="grid grid-cols-1 lg:grid-cols-3 gap-5"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-3">Input</h2> <div class="flex gap-1 mb-3 p-1 bg-gray-100 rounded-lg"><button>Text</button> <button>File</button></div> <!> <div class="mt-4 pt-3 border-t border-gray-200"><div class="flex items-center justify-between mb-2"><h3 class="text-xs font-semibold text-gray-500 uppercase">PII Detection</h3> <label class="flex items-center gap-1.5 cursor-pointer text-xs"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-600">Secrets</span></label></div> <div class="grid grid-cols-4 gap-1.5 text-xs"><label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Email</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Phone</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">SSN</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Cards</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IP</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Dates</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Addr</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IBAN</span></label></div> <label class="flex items-center gap-2 cursor-pointer text-xs mt-2.5 pt-2.5 border-t border-gray-100" title="All detection runs in your browser - no data sent to server"><svg class="w-3.5 h-3.5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg> <input type="checkbox" class="rounded text-green-600"/> <span class="text-gray-600">Browser-Only Mode <span class="text-green-600 font-medium">(Zero Network)</span></span></label></div> <button class="w-full mt-4 px-5 py-2.5 bg-primary-600 text-white rounded-lg text-sm font-medium hover:bg-primary-700 transition-all shadow-sm disabled:opacity-50 disabled:cursor-not-allowed"> </button> <!></div> <div class="lg:col-span-2 bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-4">Scan Results</h2> <!></div></div></div></main> <!></div>');function Hr(mt,yt){Xt(yt,!0);const Ze="https://cockpit.valuecurve.co/api/v1",ht={EMAIL:{pattern:/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/gi,description:"Email addresses",category:"pii",confidence:.75},EMAIL_OBFUSCATED:{pattern:/[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[at\]|\(at\))\s*[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[dot\]|\(dot\)|\s+dot\s+)\s*[A-Za-z]{2,}/gi,description:"Obfuscated email addresses",category:"pii",confidence:.85},PHONE_US:{pattern:/\b(?:\+?1[-.\s]?)?\(?[0-9]{3}\)?[-.\s]?[0-9]{3}[-.\s]?[0-9]{4}\b/g,description:"US Phone numbers",category:"pii",confidence:.65},PHONE_INTL:{pattern:/\+(?:49|44|33|39|34|31|32|43|41|48|351|353|358|47|46|45|420|36|40|359|385|386|421|370|371|372|352|356|357|30|55|52|54|56|57|51|81|82|86|91|61|64|65|852)\s?[0-9]{1,4}[\s-]?[0-9]{3,4}[\s-]?[0-9]{3,6}\b/g,description:"International Phone numbers",category:"pii",confidence:.65},SSN:{pattern:/\b\d{3}[-.\s_]\d{2}[-.\s_]\d{4}\b/g,description:"Social Security Numbers",category:"pii",confidence:.75},CREDIT_CARD:{pattern:/\b(?:4[0-9]{3}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|5[1-5][0-9]{2}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|3[47][0-9]{2}[-\s]?[0-9]{6}[-\s]?[0-9]{5}|6(?:011|5[0-9]{2})[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4})\b/g,description:"Credit card numbers",category:"financial",confidence:.99},IP_ADDRESS:{pattern:/\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/g,description:"IP addresses",category:"pii",confidence:.65},DATE_OF_BIRTH:{pattern:/\b(?:(?:0?[1-9]|1[0-2])[/-](?:0?[1-9]|[12][0-9]|3[01])[/-](?:19|20)\d{2}|(?:19|20)\d{2}[-/](?:0?[1-9]|1[0-2])[-/](?:0?[1-9]|[12][0-9]|3[01]))\b/g,description:"Dates",category:"pii",confidence:.65},US_ADDRESS:{pattern:/\b\d{1,5}\s+(?:[A-Za-z]+\s+){1,4}(?:Street|St|Avenue|Ave|Road|Rd|Boulevard|Blvd|Drive|Dr|Lane|Ln|Court|Ct|Way|Place|Pl)\.?/gi,description:"US addresses",category:"pii",confidence:.75},IBAN:{pattern:/\b(?:DE|GB|FR|ES|IT|NL|BE|AT|CH|PL|PT|IE|FI|NO|SE|DK)\d{2}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{0,18}\b/g,description:"IBAN",category:"financial",confidence:.9},INDIA_AADHAAR:{pattern:/\b[2-9]\d{3}[\s-]?\d{4}[\s-]?\d{4}\b/g,description:"India Aadhaar numbers",category:"pii",confidence:.75},AWS_ACCESS_KEY:{pattern:/\b(?:AKIA|ABIA|ACCA|ASIA)[A-Z0-9]{16}\b/g,description:"AWS Access Key IDs",category:"secret",confidence:.99},GITHUB_TOKEN:{pattern:/\b(?:ghp|gho|ghu|ghs|ghr)_[A-Za-z0-9]{36,}\b/g,description:"GitHub Tokens",category:"secret",confidence:.99},SLACK_TOKEN:{pattern:/\bxox[baprs]-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,description:"Slack Tokens",category:"secret",confidence:.99},STRIPE_KEY:{pattern:/\b(?:sk|pk)_(?:test|live)_[A-Za-z0-9]{8,}\b/g,description:"Stripe API Keys",category:"secret",confidence:.99},GOOGLE_API_KEY:{pattern:/\bAIza[A-Za-z0-9_-]{35}\b/g,description:"Google API Keys",category:"secret",confidence:.99},JWT_TOKEN:{pattern:/\beyJ[A-Za-z0-9_-]*\.eyJ[A-Za-z0-9_-]*\.[A-Za-z0-9_-]*\b/g,description:"JWT Tokens",category:"secret",confidence:.9},PRIVATE_KEY:{pattern:/-----BEGIN\s+(?:RSA\s+)?PRIVATE\s+KEY-----/g,description:"Private key headers",category:"secret",confidence:.99},PASSWORD_IN_URL:{pattern:/(?:password|passwd|pwd|pass)["']?\s*(?:[:=])\s*["']?([^\s"'&,]{6,})["']?/gi,description:"Passwords in plaintext",category:"secret",confidence:.85}};function At(t,s){const i=[],d=[];s.detectEmails&&d.push("EMAIL","EMAIL_OBFUSCATED"),s.detectPhones&&d.push("PHONE_US","PHONE_INTL"),s.detectSSN&&d.push("SSN","INDIA_AADHAAR"),s.detectCreditCards&&d.push("CREDIT_CARD"),s.detectIPAddresses&&d.push("IP_ADDRESS"),s.detectDates&&d.push("DATE_OF_BIRTH"),s.detectAddresses&&d.push("US_ADDRESS"),s.detectIBAN&&d.push("IBAN"),s.detectSecrets&&d.push("AWS_ACCESS_KEY","GITHUB_TOKEN","SLACK_TOKEN","STRIPE_KEY","GOOGLE_API_KEY","JWT_TOKEN","PRIVATE_KEY","PASSWORD_IN_URL");for(const c of d){const _=ht[c];if(!_)continue;const u=new RegExp(_.pattern.source,_.pattern.flags);let h;for(;(h=u.exec(t))!==null;){const A=h[0],M=35;i.push({type:c,start:h.index,end:h.index+A.length,value:A.length>M?A.slice(0,M)+"...":A,masked_value:"*".repeat(A.length).slice(0,M)+(A.length>M?"...":""),confidence:_.confidence,length:A.length})}}i.sort((c,_)=>_.confidence!==c.confidence?_.confidence-c.confidence:_.length-c.length);const g=[];for(const c of i)g.some(u=>c.start>=u.start&&c.start<u.end||c.end>u.start&&c.end<=u.end||c.start<=u.start&&c.end>=u.end)||g.push(c);return g.sort((c,_)=>c.start-_.start),g}let D=f("text"),B=f(""),W=f(null),q=f(""),ne=f(!1),L=f(""),l=f(null),H=f("overview"),oe=f(!0),ie=f(!0),de=f(!0),le=f(!0),ce=f(!0),pe=f(!0),ve=f(!0),xe=f(!0),ue=f(!0),Ae=f(!1);function St(t,s){if(!s||s.length===0)return t;const i=[...s].sort((g,c)=>c.start-g.start);let d=t;for(const g of i){const c="*".repeat(g.length);d=d.slice(0,g.start)+c+d.slice(g.end)}return d}function It(t){const s=t.target;s.files&&s.files[0]&&(o(W,s.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function Et(t){var s;t.preventDefault(),(s=t.dataTransfer)!=null&&s.files&&t.dataTransfer.files[0]&&(o(W,t.dataTransfer.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function wt(t){t.preventDefault()}async function Tt(){if(e(D)==="text"&&!e(B).trim()){o(L,"Please enter some text to scan");return}if(e(D)==="file"&&!e(W)){o(L,"Please select a file first");return}o(ne,!0),o(L,""),o(l,null);try{if(e(Ae)&&e(D)==="text"){console.log("%c[Privacy Scanner] Browser-Only Mode: All detection running locally. ZERO network requests.","color: #22c55e; font-weight: bold;");const t=e(B).replace(/\r\n/g,` +`),s=At(t,{detectEmails:e(oe),detectPhones:e(ie),detectSSN:e(de),detectCreditCards:e(le),detectIPAddresses:e(ce),detectDates:e(pe),detectAddresses:e(ve),detectIBAN:e(xe),detectSecrets:e(ue)}),i={};for(const u of s)i[u.type]=(i[u.type]||0)+1;const d={SSN:100,CREDIT_CARD:95,PRIVATE_KEY:100,INDIA_AADHAAR:90,AWS_ACCESS_KEY:100,GITHUB_TOKEN:95,STRIPE_KEY:95,PASSWORD_IN_URL:90,JWT_TOKEN:85,IBAN:85,EMAIL:40,EMAIL_OBFUSCATED:40,PHONE_US:35,PHONE_INTL:35,IP_ADDRESS:30,DATE_OF_BIRTH:50,US_ADDRESS:55,SLACK_TOKEN:90,GOOGLE_API_KEY:85};let g=0;for(const u of s){const h=d[u.type]||25;g+=h*u.confidence}const c=Math.min(100,Math.floor(g/Math.max(1,s.length)+s.length*5)),_=c>=70?"CRITICAL":c>=50?"HIGH":c>=30?"MEDIUM":"LOW";o(l,{total_entities:s.length,entities_by_type:i,entities:s,risk_score:c,risk_level:_,redacted_preview:St(t,s),coordinates_only:!0,client_side_only:!0},!0)}else{let t;if(e(D)==="text"){const s=e(B).replace(/\r\n/g,` +`),i=new FormData;i.append("text",s),i.append("detect_emails",String(e(oe))),i.append("detect_phones",String(e(ie))),i.append("detect_ssn",String(e(de))),i.append("detect_credit_cards",String(e(le))),i.append("detect_ip_addresses",String(e(ce))),i.append("detect_dates",String(e(pe))),i.append("detect_addresses",String(e(ve))),i.append("detect_iban",String(e(xe))),i.append("detect_secrets",String(e(ue))),i.append("coordinates_only","false"),t=await fetch(`${Ze}/privacy/scan-text`,{method:"POST",body:i})}else{const s=new FormData;s.append("file",e(W)),t=await fetch(`${Ze}/privacy/scan-file`,{method:"POST",body:s})}if(!t.ok){const s=await t.json();throw new Error(s.detail||"Scan failed")}o(l,await t.json(),!0)}}catch(t){o(L,t instanceof Error?t.message:"Failed to scan for PII",!0)}finally{o(ne,!1)}}function Fe(t){switch(t){case"CRITICAL":return"text-red-700 bg-red-50 border-red-200";case"HIGH":return"text-orange-700 bg-orange-50 border-orange-200";case"MEDIUM":return"text-yellow-700 bg-yellow-50 border-yellow-200";default:return"text-green-700 bg-green-50 border-green-200"}}function kt(t){switch(t){case"EMAIL":return"@";case"PHONE_US":case"PHONE_INTL":return"#";case"SSN":return"SSN";case"CREDIT_CARD":return"$";case"IP_ADDRESS":return"IP";case"DATE_OF_BIRTH":return"DOB";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"ADR";case"IBAN":case"BANK_ACCOUNT":return"BNK";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":return"AWS";case"GITHUB_TOKEN":return"GH";case"STRIPE_KEY":return"STR";case"GOOGLE_API_KEY":return"GCP";case"PASSWORD_IN_URL":return"PWD";case"PRIVATE_KEY":return"KEY";case"JWT_TOKEN":return"JWT";case"SLACK_TOKEN":return"SLK";case"GENERIC_API_KEY":return"API";default:return"?"}}function Ve(t){switch(t){case"SSN":case"CREDIT_CARD":case"IBAN":case"BANK_ACCOUNT":return"bg-red-100 text-red-700 border-red-200";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":case"PRIVATE_KEY":case"PASSWORD_IN_URL":case"GITHUB_TOKEN":case"STRIPE_KEY":return"bg-purple-100 text-purple-700 border-purple-200";case"GOOGLE_API_KEY":case"SLACK_TOKEN":case"JWT_TOKEN":case"GENERIC_API_KEY":return"bg-orange-100 text-orange-700 border-orange-200";case"EMAIL":case"PHONE_US":case"PHONE_INTL":return"bg-yellow-100 text-yellow-700 border-yellow-200";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"bg-amber-100 text-amber-700 border-amber-200";default:return"bg-blue-100 text-blue-700 border-blue-200"}}let _e=f(!1);async function Pt(){if(!e(l)||!e(l).entities||e(l).entities.length===0)return;const t="Type Original Value Masked Value Confidence",s=e(l).entities.map(d=>`${d.type} ${d.value} ${d.masked_value} ${Math.round(d.confidence*100)}%`),i=[t,...s].join(` +`);try{await navigator.clipboard.writeText(i),o(_e,!0),setTimeout(()=>o(_e,!1),2e3)}catch(d){console.error("Failed to copy:",d)}}let ge=f(!1);async function Ct(){if(!(!e(l)||!e(l).redacted_preview))try{await navigator.clipboard.writeText(e(l).redacted_preview),o(ge,!0),setTimeout(()=>o(ge,!1),2e3)}catch(t){console.error("Failed to copy:",t)}}function Dt(){o(B,`Customer Record: +Name: John Smith +Email: john.smith@example.com +US Phone: (555) 123-4567 +SSN: 123-45-6789 +Credit Card: 4532 0151 1283 0366 +IP Address: 192.168.1.100 + +--- CLOUD SECRETS --- +AWS Key: AKIAIOSFODNN7EXAMPLE +GitHub Token: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + +Please contact support@company.org for assistance.`)}function Nt(){o(B,""),o(W,null),o(q,""),o(l,null),o(L,"")}var Se=Dr();or("tts6bo",t=>{var s=cr();er(()=>{tr.title="Privacy Scanner | Build with AI"}),p(t,s)});var Je=a(Se);ir(Je,{});var Ie=n(Je,2),$e=a(Ie),qe=n(a($e),2),Ee=a(qe),we=n(a(Ee),2),Te=a(we);Te.__click=()=>o(D,"text");var Xe=n(Te,2);Xe.__click=()=>o(D,"file"),r(we);var Qe=n(we,2);{var Rt=t=>{var s=vr(),i=a(s),d=n(a(i),2),g=a(d);g.__click=Dt;var c=n(g,2);{var _=h=>{var A=pr(),M=n(F(A),2);M.__click=Nt,p(h,A)};E(c,h=>{(e(B)||e(l))&&h(_)})}r(d),r(i);var u=n(i,2);rr(u),r(s),lr(u,()=>e(B),h=>o(B,h)),p(t,s)},Ot=t=>{var s=ur(),i=F(s),d=a(i);d.__change=It,S(2),r(i);var g=n(i,2);{var c=_=>{var u=xr(),h=n(a(u),2),A=a(h,!0);r(h),r(u),G(()=>I(A,e(q))),p(_,u)};E(g,_=>{e(q)&&_(c)})}gt("drop",i,Et),gt("dragover",i,wt),p(t,s)};E(Qe,t=>{e(D)==="text"?t(Rt):t(Ot,!1)})}var ke=n(Qe,2),Pe=a(ke),et=n(a(Pe),2),tt=a(et);O(tt),S(2),r(et),r(Pe);var Ce=n(Pe,2),De=a(Ce),rt=a(De);O(rt),S(2),r(De);var Ne=n(De,2),at=a(Ne);O(at),S(2),r(Ne);var Re=n(Ne,2),st=a(Re);O(st),S(2),r(Re);var Oe=n(Re,2),nt=a(Oe);O(nt),S(2),r(Oe);var Ke=n(Oe,2),ot=a(Ke);O(ot),S(2),r(Ke);var Be=n(Ke,2),it=a(Be);O(it),S(2),r(Be);var Le=n(Be,2),dt=a(Le);O(dt),S(2),r(Le);var lt=n(Le,2),ct=a(lt);O(ct),S(2),r(lt),r(Ce);var pt=n(Ce,2),He=n(a(pt),2);O(He),S(2),r(pt),r(ke);var X=n(ke,2);X.__click=Tt;var Kt=a(X,!0);r(X);var Bt=n(X,2);{var Lt=t=>{var s=_r(),i=a(s,!0);r(s),G(()=>I(i,e(L))),p(t,s)};E(Bt,t=>{e(L)&&t(Lt)})}r(Ee);var vt=n(Ee,2),Ht=n(a(vt),2);{var Mt=t=>{var s=Pr(),i=F(s),d=a(i),g=n(a(d),2),c=a(g,!0);r(g),r(d);var _=n(d,2),u=n(a(_),2),h=a(u,!0);r(u),r(_);var A=n(_,2),M=n(a(A),2),jt=a(M,!0);r(M),r(A);var Me=n(A,2),xt=n(a(Me),2),Gt=a(xt,!0);r(xt),r(Me),r(i);var Ue=n(i,2),ze=a(Ue);ze.__click=()=>o(H,"overview");var Q=n(ze,2);Q.__click=()=>o(H,"entities");var Wt=a(Q);r(Q);var ut=n(Q,2);ut.__click=()=>o(H,"redacted"),r(Ue);var Yt=n(Ue,2);{var Zt=Y=>{var Z=mr(),be=a(Z);{var je=v=>{var m=br(),P=n(a(m),2);bt(P,21,()=>Object.entries(e(l).entities_by_type),ft,(w,J)=>{var T=ar(()=>sr(e(J),2));let C=()=>e(T)[0],z=()=>e(T)[1];var N=gr(),b=a(N),x=a(b),j=a(x,!0);r(x);var $=n(x,2),re=a($,!0);r($),r(b);var fe=n(b,2),ae=a(fe,!0);r(fe),r(N),G((We,se)=>{k(N,1,`flex items-center justify-between p-2 rounded-lg border ${We??""}`),I(j,se),I(re,C()),I(ae,z())},[()=>Ve(C()),()=>kt(C())]),p(w,N)}),r(P),r(m),p(v,m)},Ge=v=>{var m=fr();p(v,m)};E(be,v=>{Object.keys(e(l).entities_by_type||{}).length>0?v(je):v(Ge,!1)})}var R=n(be,2),U=n(a(R),2),ee=a(U);{var te=v=>{var m=ye("Critical risk! Highly sensitive PII (SSN, Credit Cards) detected. Immediate action required.");p(v,m)},V=v=>{var m=me(),P=F(m);{var w=T=>{var C=ye("High risk! Multiple sensitive PII elements found. Consider redaction before sharing.");p(T,C)},J=T=>{var C=me(),z=F(C);{var N=x=>{var j=ye("Medium risk. Some PII detected that may require attention.");p(x,j)},b=x=>{var j=ye("Low risk. Minimal or no PII detected.");p(x,j)};E(z,x=>{e(l).risk_level==="MEDIUM"?x(N):x(b,!1)},!0)}p(T,C)};E(P,T=>{e(l).risk_level==="HIGH"?T(w):T(J,!1)},!0)}p(v,m)};E(ee,v=>{e(l).risk_level==="CRITICAL"?v(te):v(V,!1)})}r(U),r(R),r(Z),G(v=>k(R,1,`rounded-lg p-4 border ${v??""}`),[()=>Fe(e(l).risk_level)]),p(Y,Z)},Ft=Y=>{var Z=me(),be=F(Z);{var je=R=>{var U=Er(),ee=a(U);{var te=v=>{var m=Sr(),P=F(m),w=a(P);w.__click=Pt;var J=a(w);{var T=b=>{var x=yr();S(),p(b,x)},C=b=>{var x=hr();S(),p(b,x)};E(J,b=>{e(_e)?b(T):b(C,!1)})}r(w),r(P);var z=n(P,2),N=n(a(z));bt(N,21,()=>e(l).entities,ft,(b,x)=>{var j=Ar(),$=a(j),re=a($),fe=a(re,!0);r(re),r($);var ae=n($),We=a(ae,!0);r(ae);var se=n(ae),Vt=a(se,!0);r(se);var _t=n(se),Ye=a(_t),Jt=a(Ye);r(Ye),r(_t),r(j),G(($t,qt)=>{k(re,1,`text-xs px-2 py-1 rounded border ${$t??""}`),I(fe,e(x).type),I(We,e(x).value),I(Vt,e(x).masked_value),k(Ye,1,`text-xs px-2 py-0.5 rounded ${e(x).confidence>=.9?"bg-green-100 text-green-700":e(x).confidence>=.7?"bg-yellow-100 text-yellow-700":"bg-red-100 text-red-700"}`),I(Jt,`${qt??""}%`)},[()=>Ve(e(x).type),()=>Math.round(e(x).confidence*100)]),p(b,j)}),r(N),r(z),G(()=>k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(_e)?"bg-green-100 text-green-700 border border-green-300":"bg-gray-100 text-gray-600 hover:bg-gray-200 border border-gray-200"}`)),p(v,m)},V=v=>{var m=Ir();p(v,m)};E(ee,v=>{e(l).entities&&e(l).entities.length>0?v(te):v(V,!1)})}r(U),p(R,U)},Ge=R=>{var U=me(),ee=F(U);{var te=V=>{var v=kr(),m=a(v),P=a(m),w=n(a(P),2);w.__click=Ct;var J=a(w);{var T=b=>{var x=wr();S(),p(b,x)},C=b=>{var x=Tr();S(),p(b,x)};E(J,b=>{e(ge)?b(T):b(C,!1)})}r(w),r(P);var z=n(P,2),N=a(z,!0);r(z),r(m),S(2),r(v),G(()=>{k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(ge)?"bg-green-100 text-green-700 border border-green-300":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`),I(N,e(l).redacted_preview||"No preview available")}),p(V,v)};E(ee,V=>{e(H)==="redacted"&&V(te)},!0)}p(R,U)};E(be,R=>{e(H)==="entities"?R(je):R(Ge,!1)},!0)}p(Y,Z)};E(Yt,Y=>{e(H)==="overview"?Y(Zt):Y(Ft,!1)})}G((Y,Z)=>{k(g,1,`text-xl font-bold ${e(l).total_entities>0?"text-red-600":"text-green-600"}`),I(c,e(l).total_entities),I(h,Y),I(jt,e(l).risk_score),k(Me,1,`rounded-lg p-2.5 text-center border ${Z??""}`),I(Gt,e(l).risk_level),k(ze,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="overview"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),k(Q,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="entities"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),I(Wt,`Entities (${e(l).total_entities??""})`),k(ut,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="redacted"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)},[()=>Object.keys(e(l).entities_by_type||{}).length,()=>Fe(e(l).risk_level)]),p(t,s)},Ut=t=>{var s=Cr();p(t,s)};E(Ht,t=>{e(l)?t(Mt):t(Ut,!1)})}r(vt),r(qe),r($e),r(Ie);var zt=n(Ie,2);dr(zt),r(Se),G(t=>{k(Te,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="text"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),k(Xe,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="file"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),He.disabled=e(D)==="file",X.disabled=t,I(Kt,e(ne)?"Scanning...":"Scan for PII")},[()=>e(ne)||(e(D)==="text"?!e(B).trim():!e(W))]),K(tt,()=>e(ue),t=>o(ue,t)),K(rt,()=>e(oe),t=>o(oe,t)),K(at,()=>e(ie),t=>o(ie,t)),K(st,()=>e(de),t=>o(de,t)),K(nt,()=>e(le),t=>o(le,t)),K(ot,()=>e(ce),t=>o(ce,t)),K(it,()=>e(pe),t=>o(pe,t)),K(dt,()=>e(ve),t=>o(ve,t)),K(ct,()=>e(xe),t=>o(xe,t)),K(He,()=>e(Ae),t=>o(Ae,t)),p(mt,Se),Qt()}nr(["click","change"]);export{Hr as component}; diff --git a/_app/immutable/nodes/6.iPfekCE9.js b/_app/immutable/nodes/6.iPfekCE9.js new file mode 100644 index 0000000..e3df72b --- /dev/null +++ b/_app/immutable/nodes/6.iPfekCE9.js @@ -0,0 +1,6 @@ +import{f as b,a as x,c as me}from"../chunks/Bh-96fzJ.js";import{p as pt,j as y,m as Le,u as ue,g as e,i as v,d as r,s as o,t as F,e as vt,f as mt,$ as ut,r as s,n as Te,k as G}from"../chunks/mO2F3zLa.js";import{d as ft,s as g}from"../chunks/eH5yZvH4.js";import{i as h}from"../chunks/tuD4s8Oc.js";import{h as xt,N as bt,F as yt,r as Se,s as I,e as _t,i as gt}from"../chunks/3CBxeiL8.js";import{b as Me}from"../chunks/Da-hDQCT.js";import{b as Be}from"../chunks/CJrErHKE.js";import{b as fe}from"../chunks/DBQEMQMg.js";var ht=b('<meta name="description" content="Explore global development data: GDP, life expectancy, and population trends from 1952-2007."/>'),wt=b('<div class="bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg mb-4"> </div>'),$t=b('<span class="text-gray-400">(N/A for trends)</span>'),Pt=b("<button> </button>"),At=b('<div class="mb-4 px-4 py-2 rounded-lg text-sm text-gray-500 bg-gray-100 text-center">Line Trends shows all years</div>'),Et=b("<option> </option>"),Ft=b('<label for="topn-slider" class="block text-xs font-medium text-gray-600 mb-2">Top N Countries: <span class="text-primary-600 font-bold"> </span></label> <input id="topn-slider" type="range" min="5" max="25" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-primary-600"/>',1),Ct=b('<label class="block text-xs font-medium text-gray-600 mb-2">Countries: <span class="text-primary-600 font-bold"> </span></label> <div class="text-xs text-gray-400">All countries displayed</div>',1),kt=b('<div class="border-t border-gray-200 pt-4 mt-4"><h4 class="text-xs font-semibold text-gray-700 mb-3"> </h4> <div class="space-y-2 text-xs"><div class="flex justify-between"><span class="text-gray-500">Mean:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Median:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Std Dev:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Min:</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">Max:</span> <span class="font-medium"> </span></div></div></div>'),jt=b('<div class="flex items-center justify-center h-96"><div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"></div></div>'),Dt=b('<div class="w-full h-full"></div>'),Lt=b('<div class="w-full h-full"></div>'),Tt=b('<div class="w-full h-full"></div>'),St=b('<div class="h-[500px]"><!></div>'),Mt=b('<div class="mt-4 pt-4 border-t border-gray-200"><p class="text-xs text-gray-500"> </p></div>'),Bt=b('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-7xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">EDA Gapminder</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Explore global development data (1952-2007)</p></div></div> <!> <div class="grid grid-cols-1 lg:grid-cols-4 gap-4"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-4"><h3 class="text-sm font-semibold text-gray-700 mb-4">Filters</h3> <div><label class="block text-xs font-medium text-gray-600 mb-2">Year: <span class="text-primary-600 font-bold"> </span> <!></label> <input type="range" min="1952" max="2007" step="5" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer disabled:cursor-not-allowed accent-primary-600"/> <div class="flex justify-between text-xs text-gray-500 mt-1"><span>1952</span> <span>2007</span></div></div> <!> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Continent</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>All Continents</option><!></select></div> <div class="mb-4"><label class="block text-xs font-medium text-gray-600 mb-2">Metric</label> <select class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-sm"><option>GDP per Capita</option><option>Life Expectancy</option><option>Population</option></select></div> <div class="mb-4"><!></div> <!></div> <div class="lg:col-span-3 bg-white rounded-xl border border-gray-100 shadow-sm p-4"><div class="flex border-b border-gray-200 mb-4"><button>Scatter Plot</button> <button>Bar Chart Race</button> <button>Line Trends</button></div> <!> <!></div></div></div></main> <!></div>');function Ut(Ge,Ie){pt(Ie,!0);const T="https://cockpit.valuecurve.co/api/v1";let V=y(!1),S=y(""),R=y(null),A=y(Le([])),C=y(null),_=y(2007),$=y(""),f=y("gdpPercap"),M=y(15),j=y(!1),z=y(null),N=y(Le([])),m=y("scatter"),O,Y,q,w=y(null),xe=y(!1);ue(()=>{if(typeof window<"u"&&!e(xe)){const t=document.createElement("script");t.src="https://cdn.plot.ly/plotly-2.27.0.min.js",t.onload=()=>{v(w,window.Plotly,!0),v(xe,!0),Re()},document.head.appendChild(t)}});async function Re(){v(V,!0),v(S,"");try{const t=await fetch(`${T}/eda/metadata`);v(R,await t.json(),!0),v(N,e(R).years,!0),await H()}catch(t){v(S,t instanceof Error?t.message:"Failed to load data",!0)}finally{v(V,!1)}}async function H(){if(e(w))try{const t=new URLSearchParams;e(_)&&t.append("year",e(_).toString()),e($)&&t.append("continent",e($));const i=await(await fetch(`${T}/eda/data?${t}`)).json();v(A,i.data,!0);const p=await fetch(`${T}/eda/statistics?column=${e(f)}&group_by=continent&year=${e(_)}`);v(C,await p.json(),!0),e(m)==="scatter"?be():e(m)==="barrace"?ye():e(m)==="trends"&&_e()}catch(t){v(S,t instanceof Error?t.message:"Failed to update charts",!0)}}function be(){if(!O||!e(w)||e(A).length===0)return;const t=[...new Set(e(A).map(n=>n.continent))],a={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},i=Math.max(...e(A).map(n=>n.pop)),p=60,u=t.map(n=>{const l=e(A).filter(d=>d.continent===n);return{x:l.map(d=>d.gdpPercap),y:l.map(d=>d.lifeExp),mode:"markers",name:n,text:l.map(d=>`${d.country}<br>Pop: ${(d.pop/1e6).toFixed(1)}M`),marker:{size:l.map(d=>d.pop),sizemode:"area",sizeref:2*i/(p*p),sizemin:4,color:a[n],opacity:.7,line:{width:1,color:"white"}},hovertemplate:"<b>%{text}</b><br>GDP: $%{x:,.0f}<br>Life Exp: %{y:.1f} years<extra></extra>"}}),c={title:`GDP per Capita vs Life Expectancy (${e(_)})`,xaxis:{title:"GDP per Capita (log scale)",type:"log",range:[2.5,5.2]},yaxis:{title:"Life Expectancy (years)",range:[20,90]},showlegend:!0,legend:{x:.02,y:.98},hovermode:"closest",paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(w).newPlot(O,u,c,{responsive:!0})}async function ye(){if(!(!Y||!e(w)))try{const a=await(await fetch(`${T}/eda/ranking?year=${e(_)}&metric=${e(f)}&top_n=${e(M)}`)).json(),i={Africa:"#636EFA",Americas:"#EF553B",Asia:"#00CC96",Europe:"#AB63FA",Oceania:"#FFA15A"},p={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},u=a.data.sort((l,d)=>l[e(f)]-d[e(f)]),c={type:"bar",x:u.map(l=>l[e(f)]),y:u.map(l=>l.country),orientation:"h",marker:{color:u.map(l=>i[l.continent])},text:u.map(l=>e(f)==="pop"?`${(l[e(f)]/1e6).toFixed(1)}M`:e(f)==="gdpPercap"?`$${l[e(f)].toFixed(0)}`:l[e(f)].toFixed(1)),textposition:"outside",hovertemplate:"<b>%{y}</b><br>%{x:,.0f}<extra></extra>"},n={title:`Top ${e(M)} Countries by ${p[e(f)]} (${e(_)})`,xaxis:{title:p[e(f)]},yaxis:{automargin:!0},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"},margin:{l:150}};e(w).newPlot(Y,[c],n,{responsive:!0})}catch(t){console.error("Bar race error:",t)}}async function _e(){if(!(!q||!e(w)))try{const a=await(await fetch(`${T}/eda/timeseries?metric=${e(f)}&top_n=10${e($)?`&continent=${e($)}`:""}`)).json(),p=[...new Set(a.data.map(n=>n.country))].map(n=>{const l=a.data.filter(d=>d.country===n).sort((d,D)=>d.year-D.year);return{x:l.map(d=>d.year),y:l.map(d=>d[e(f)]),mode:"lines+markers",name:n,hovertemplate:`<b>${n}</b><br>Year: %{x}<br>Value: %{y:,.0f}<extra></extra>`}}),u={gdpPercap:"GDP per Capita ($)",lifeExp:"Life Expectancy (years)",pop:"Population"},c={title:`${u[e(f)]} Over Time (Top 10)`,xaxis:{title:"Year",dtick:5},yaxis:{title:u[e(f)]},showlegend:!0,legend:{x:1.02,y:1},paper_bgcolor:"rgba(0,0,0,0)",plot_bgcolor:"rgba(0,0,0,0)",font:{family:"Inter, system-ui, sans-serif"}};e(w).newPlot(q,p,c,{responsive:!0})}catch(t){console.error("Trends error:",t)}}function ze(){if(e(j)){ge();return}v(j,!0);let t=e(N).indexOf(e(_));v(z,setInterval(()=>{t=(t+1)%e(N).length,v(_,e(N)[t],!0),H()},1e3),!0)}function ge(){v(j,!1),e(z)&&(clearInterval(e(z)),v(z,null))}ue(()=>{e(w)&&(e(_)||e($)||e(f))&&H()}),ue(()=>{e(w)&&e(m)&&(e(m)==="trends"&&e(j)&&ge(),setTimeout(()=>{e(m)==="scatter"?be():e(m)==="barrace"?ye():e(m)==="trends"&&_e()},100))});var J=Bt();xt("1vulqo1",t=>{var a=ht();mt(()=>{ut.title="EDA Gapminder | Build with AI"}),x(t,a)});var he=r(J);bt(he,{});var K=o(he,2),we=r(K),$e=o(r(we),2);{var Ne=t=>{var a=wt(),i=r(a,!0);s(a),F(()=>g(i,e(S))),x(t,a)};h($e,t=>{e(S)&&t(Ne)})}var Pe=o($e,2),Q=r(Pe),U=o(r(Q),2),W=r(U),X=o(r(W)),Oe=r(X,!0);s(X);var Ye=o(X,2);{var qe=t=>{var a=$t();x(t,a)};h(Ye,t=>{e(m)==="trends"&&t(qe)})}s(W);var Z=o(W,2);Se(Z),Te(2),s(U);var Ae=o(U,2);{var Ue=t=>{var a=Pt();a.__click=ze;var i=r(a,!0);s(a),F(()=>{I(a,1,`w-full mb-4 px-4 py-2 rounded-lg text-sm font-medium transition-colors + ${e(j)?"bg-red-100 text-red-700 hover:bg-red-200":"bg-primary-100 text-primary-700 hover:bg-primary-200"}`),g(i,e(j)?"Stop Animation":"Play Timeline")}),x(t,a)},Ve=t=>{var a=At();x(t,a)};h(Ae,t=>{e(m)!=="trends"?t(Ue):t(Ve,!1)})}var ee=o(Ae,2),te=o(r(ee),2),ae=r(te);ae.value=ae.__value="";var He=o(ae);{var Je=t=>{var a=me(),i=G(a);_t(i,17,()=>e(R).continents,gt,(p,u)=>{var c=Et(),n=r(c,!0);s(c);var l={};F(()=>{g(n,e(u)),l!==(l=e(u))&&(c.value=(c.__value=e(u))??"")}),x(p,c)}),x(t,a)};h(He,t=>{e(R)&&t(Je)})}s(te),s(ee);var re=o(ee,2),se=o(r(re),2),oe=r(se);oe.value=oe.__value="gdpPercap";var ie=o(oe);ie.value=ie.__value="lifeExp";var Ee=o(ie);Ee.value=Ee.__value="pop",s(se),s(re);var ne=o(re,2),Ke=r(ne);{var Qe=t=>{var a=Ft(),i=G(a),p=o(r(i)),u=r(p,!0);s(p),s(i);var c=o(i,2);Se(c),F(()=>g(u,e(M))),Me(c,()=>e(M),n=>v(M,n)),x(t,a)},We=t=>{var a=Ct(),i=G(a),p=o(r(i)),u=r(p,!0);s(p),s(i),Te(2),F(()=>g(u,e(A).length||142)),x(t,a)};h(Ke,t=>{e(m)==="barrace"?t(Qe):t(We,!1)})}s(ne);var Xe=o(ne,2);{var Ze=t=>{var a=kt(),i=r(a),p=r(i);s(i);var u=o(i,2),c=r(u),n=o(r(c),2),l=r(n,!0);s(n),s(c);var d=o(c,2),D=o(r(d),2),E=r(D,!0);s(D),s(d);var P=o(d,2),L=o(r(P),2),pe=r(L,!0);s(L),s(P);var k=o(P,2),B=o(r(k),2),ve=r(B,!0);s(B),s(k);var je=o(k,2),De=o(r(je),2),ot=r(De,!0);s(De),s(je),s(u),s(a),F((it,nt,lt,dt,ct)=>{g(p,`Statistics (${e(_)??""})`),g(l,it),g(E,nt),g(pe,lt),g(ve,dt),g(ot,ct)},[()=>e(C).mean.toFixed(2),()=>e(C).median.toFixed(2),()=>e(C).std.toFixed(2),()=>e(C).min.toFixed(2),()=>e(C).max.toFixed(2)]),x(t,a)};h(Xe,t=>{e(C)&&t(Ze)})}s(Q);var Fe=o(Q,2),le=r(Fe),de=r(le);de.__click=()=>v(m,"scatter");var ce=o(de,2);ce.__click=()=>v(m,"barrace");var Ce=o(ce,2);Ce.__click=()=>v(m,"trends"),s(le);var ke=o(le,2);{var et=t=>{var a=jt();x(t,a)},tt=t=>{var a=St(),i=r(a);{var p=c=>{var n=Dt();fe(n,l=>O=l,()=>O),x(c,n)},u=c=>{var n=me(),l=G(n);{var d=E=>{var P=Lt();fe(P,L=>Y=L,()=>Y),x(E,P)},D=E=>{var P=me(),L=G(P);{var pe=k=>{var B=Tt();fe(B,ve=>q=ve,()=>q),x(k,B)};h(L,k=>{e(m)==="trends"&&k(pe)},!0)}x(E,P)};h(l,E=>{e(m)==="barrace"?E(d):E(D,!1)},!0)}x(c,n)};h(i,c=>{e(m)==="scatter"?c(p):c(u,!1)})}s(a),x(t,a)};h(ke,t=>{e(V)?t(et):t(tt,!1)})}var at=o(ke,2);{var rt=t=>{var a=Mt(),i=r(a),p=r(i);s(i),s(a),F(()=>g(p,`Showing ${e(A).length??""} records for ${e(_)??""} + ${e($)?` in ${e($)}`:""}`)),x(t,a)};h(at,t=>{e(A).length>0&&t(rt)})}s(Fe),s(Pe),s(we),s(K);var st=o(K,2);yt(st),s(J),F(()=>{I(U,1,`mb-4 ${e(m)==="trends"?"opacity-50":""}`),g(Oe,e(_)),Z.disabled=e(m)==="trends",I(de,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(m)==="scatter"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),I(ce,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(m)==="barrace"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),I(Ce,1,`px-4 py-2 text-sm font-medium transition-colors + ${e(m)==="trends"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)}),Me(Z,()=>e(_),t=>v(_,t)),Be(te,()=>e($),t=>v($,t)),Be(se,()=>e(f),t=>v(f,t)),x(Ge,J),vt()}ft(["click"]);export{Ut as component}; diff --git a/_app/immutable/nodes/7.Br1T190m.js b/_app/immutable/nodes/7.Br1T190m.js new file mode 100644 index 0000000..1489392 --- /dev/null +++ b/_app/immutable/nodes/7.Br1T190m.js @@ -0,0 +1,18 @@ +import{f as y,a as p,c as me,t as ye,b as he}from"../chunks/Bh-96fzJ.js";import{p as Xt,i as o,d as a,s as n,t as G,g as e,e as Qt,j as f,f as er,$ as tr,r,n as S,C as rr,k as F,h as ar,D as sr}from"../chunks/mO2F3zLa.js";import{d as nr,s as I,e as gt}from"../chunks/eH5yZvH4.js";import{i as E}from"../chunks/tuD4s8Oc.js";import{h as or,N as ir,F as dr,s as k,r as O,e as bt,i as ft}from"../chunks/3CBxeiL8.js";import{a as K,b as lr}from"../chunks/Da-hDQCT.js";var cr=y('<meta name="description" content="Detect and redact personally identifiable information (PII) from text and files."/>'),pr=y('<span class="text-gray-300">|</span> <button class="text-xs text-gray-500 hover:text-red-600">Clear</button>',1),vr=y('<div class="space-y-3"><div class="flex justify-between items-center"><label for="text-input" class="text-sm font-medium text-gray-700">Text to Scan</label> <div class="flex gap-2"><button class="text-xs text-primary-600 hover:text-primary-700">Load Sample</button> <!></div></div> <textarea id="text-input" placeholder="Paste text containing potential PII here..." class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 min-h-[150px] resize-none font-mono text-xs"></textarea></div>'),xr=y('<div class="mt-3 flex items-center gap-2 p-2 bg-gray-50 rounded-lg"><svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-gray-700 truncate flex-1"> </span></div>'),ur=y('<div class="border-2 border-dashed border-gray-300 rounded-xl p-6 text-center hover:border-primary-400 transition-colors cursor-pointer" role="button" tabindex="0"><input type="file" accept=".csv,.txt,.json" class="hidden" id="file-input"/> <label for="file-input" class="cursor-pointer"><div class="w-12 h-12 rounded-xl bg-primary-100 flex items-center justify-center mx-auto mb-3"><svg class="w-6 h-6 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg></div> <p class="text-sm text-gray-600"><span class="text-primary-600 font-medium">Click to upload</span> or drag and drop</p> <p class="text-xs text-gray-400 mt-1">CSV, TXT, or JSON files</p></label></div> <!>',1),_r=y('<div class="mt-3 p-3 bg-red-50 text-red-700 text-sm rounded-lg border border-red-100"> </div>'),gr=y('<div><div class="flex items-center gap-2"><span class="text-xs font-bold w-6 h-6 rounded flex items-center justify-center bg-white/50"> </span> <span class="text-sm font-medium"> </span></div> <span class="text-sm font-bold"> </span></div>'),br=y('<div class="bg-gray-50 rounded-lg p-4 border border-gray-100"><h3 class="text-sm font-semibold text-gray-700 mb-3">PII by Type</h3> <div class="grid grid-cols-2 gap-2"></div></div>'),fr=y('<div class="bg-green-50 rounded-lg p-4 border border-green-200"><div class="flex items-center gap-2"><svg class="w-5 h-5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-green-700 font-medium">No PII detected in the input</span></div></div>'),mr=y('<div class="space-y-4"><!> <div><h3 class="text-sm font-semibold mb-2">Risk Assessment</h3> <p class="text-sm opacity-90"><!></p></div></div>'),yr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),hr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),Ar=y('<tr class="border-b border-gray-100"><td class="py-2 px-3"><span> </span></td><td class="py-2 px-3 font-mono text-xs text-red-600"> </td><td class="py-2 px-3 font-mono text-xs text-green-600"> </td><td class="py-2 px-3 text-right"><span> </span></td></tr>'),Sr=y('<div class="flex justify-end mb-3"><button><!></button></div> <table class="w-full text-sm"><thead><tr class="border-b border-gray-200"><th class="text-left py-2 px-3 font-medium text-gray-700">Type</th><th class="text-left py-2 px-3 font-medium text-gray-700">Original Value</th><th class="text-left py-2 px-3 font-medium text-gray-700">Masked Value</th><th class="text-right py-2 px-3 font-medium text-gray-700">Confidence</th></tr></thead><tbody></tbody></table>',1),Ir=y('<div class="text-center py-8 text-gray-500">No PII entities found</div>'),Er=y('<div class="overflow-x-auto"><!></div>'),wr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),Tr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),kr=y('<div class="space-y-3"><div class="bg-gray-50 rounded-lg p-4 border border-gray-200"><div class="flex justify-between items-center mb-2"><h3 class="text-sm font-semibold text-gray-700">Redacted Text Preview</h3> <button><!></button></div> <pre class="text-xs font-mono whitespace-pre-wrap text-gray-600 bg-white p-3 rounded-lg border border-gray-100 max-h-[300px] overflow-auto"> </pre></div> <p class="text-xs text-gray-500">This preview shows PII values masked for safe sharing.</p></div>'),Pr=y('<div class="grid grid-cols-4 gap-3 mb-5"><div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">PII Found</p> <p> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Types</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Risk Score</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div><p class="text-xs opacity-80">Risk Level</p> <p class="text-xl font-bold"> </p></div></div> <div class="flex gap-1 mb-4 border-b border-gray-200"><button>Overview</button> <button> </button> <button>Redacted Preview</button></div> <!>',1),Cr=y('<div class="text-center py-12"><div class="w-16 h-16 rounded-2xl bg-gray-100 flex items-center justify-center mx-auto mb-4"><svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg></div> <p class="text-gray-500">Enter text or upload a file to scan for PII</p></div>'),Dr=y('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-6xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">Privacy Scanner</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Detect & redact PII from text and files</p></div></div> <div class="grid grid-cols-1 lg:grid-cols-3 gap-5"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-3">Input</h2> <div class="flex gap-1 mb-3 p-1 bg-gray-100 rounded-lg"><button>Text</button> <button>File</button></div> <!> <div class="mt-4 pt-3 border-t border-gray-200"><div class="flex items-center justify-between mb-2"><h3 class="text-xs font-semibold text-gray-500 uppercase">PII Detection</h3> <label class="flex items-center gap-1.5 cursor-pointer text-xs"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-600">Secrets</span></label></div> <div class="grid grid-cols-4 gap-1.5 text-xs"><label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Email</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Phone</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">SSN</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Cards</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IP</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Dates</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Addr</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IBAN</span></label></div> <label class="flex items-center gap-2 cursor-pointer text-xs mt-2.5 pt-2.5 border-t border-gray-100" title="All detection runs in your browser - no data sent to server"><svg class="w-3.5 h-3.5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg> <input type="checkbox" class="rounded text-green-600"/> <span class="text-gray-600">Browser-Only Mode <span class="text-green-600 font-medium">(Zero Network)</span></span></label></div> <button class="w-full mt-4 px-5 py-2.5 bg-primary-600 text-white rounded-lg text-sm font-medium hover:bg-primary-700 transition-all shadow-sm disabled:opacity-50 disabled:cursor-not-allowed"> </button> <!></div> <div class="lg:col-span-2 bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-4">Scan Results</h2> <!></div></div></div></main> <!></div>');function Hr(mt,yt){Xt(yt,!0);const Ze="https://cockpit.valuecurve.co/api/v1",ht={EMAIL:{pattern:/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/gi,description:"Email addresses",category:"pii",confidence:.75},EMAIL_OBFUSCATED:{pattern:/[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[at\]|\(at\))\s*[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[dot\]|\(dot\)|\s+dot\s+)\s*[A-Za-z]{2,}/gi,description:"Obfuscated email addresses",category:"pii",confidence:.85},PHONE_US:{pattern:/\b(?:\+?1[-.\s]?)?\(?[0-9]{3}\)?[-.\s]?[0-9]{3}[-.\s]?[0-9]{4}\b/g,description:"US Phone numbers",category:"pii",confidence:.65},PHONE_INTL:{pattern:/\+(?:49|44|33|39|34|31|32|43|41|48|351|353|358|47|46|45|420|36|40|359|385|386|421|370|371|372|352|356|357|30|55|52|54|56|57|51|81|82|86|91|61|64|65|852)\s?[0-9]{1,4}[\s-]?[0-9]{3,4}[\s-]?[0-9]{3,6}\b/g,description:"International Phone numbers",category:"pii",confidence:.65},SSN:{pattern:/\b\d{3}[-.\s_]\d{2}[-.\s_]\d{4}\b/g,description:"Social Security Numbers",category:"pii",confidence:.75},CREDIT_CARD:{pattern:/\b(?:4[0-9]{3}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|5[1-5][0-9]{2}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|3[47][0-9]{2}[-\s]?[0-9]{6}[-\s]?[0-9]{5}|6(?:011|5[0-9]{2})[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4})\b/g,description:"Credit card numbers",category:"financial",confidence:.99},IP_ADDRESS:{pattern:/\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/g,description:"IP addresses",category:"pii",confidence:.65},DATE_OF_BIRTH:{pattern:/\b(?:(?:0?[1-9]|1[0-2])[/-](?:0?[1-9]|[12][0-9]|3[01])[/-](?:19|20)\d{2}|(?:19|20)\d{2}[-/](?:0?[1-9]|1[0-2])[-/](?:0?[1-9]|[12][0-9]|3[01]))\b/g,description:"Dates",category:"pii",confidence:.65},US_ADDRESS:{pattern:/\b\d{1,5}\s+(?:[A-Za-z]+\s+){1,4}(?:Street|St|Avenue|Ave|Road|Rd|Boulevard|Blvd|Drive|Dr|Lane|Ln|Court|Ct|Way|Place|Pl)\.?/gi,description:"US addresses",category:"pii",confidence:.75},IBAN:{pattern:/\b(?:DE|GB|FR|ES|IT|NL|BE|AT|CH|PL|PT|IE|FI|NO|SE|DK)\d{2}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{0,18}\b/g,description:"IBAN",category:"financial",confidence:.9},INDIA_AADHAAR:{pattern:/\b[2-9]\d{3}[\s-]?\d{4}[\s-]?\d{4}\b/g,description:"India Aadhaar numbers",category:"pii",confidence:.75},AWS_ACCESS_KEY:{pattern:/\b(?:AKIA|ABIA|ACCA|ASIA)[A-Z0-9]{16}\b/g,description:"AWS Access Key IDs",category:"secret",confidence:.99},GITHUB_TOKEN:{pattern:/\b(?:ghp|gho|ghu|ghs|ghr)_[A-Za-z0-9]{36,}\b/g,description:"GitHub Tokens",category:"secret",confidence:.99},SLACK_TOKEN:{pattern:/\bxox[baprs]-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,description:"Slack Tokens",category:"secret",confidence:.99},STRIPE_KEY:{pattern:/\b(?:sk|pk)_(?:test|live)_[A-Za-z0-9]{8,}\b/g,description:"Stripe API Keys",category:"secret",confidence:.99},GOOGLE_API_KEY:{pattern:/\bAIza[A-Za-z0-9_-]{35}\b/g,description:"Google API Keys",category:"secret",confidence:.99},JWT_TOKEN:{pattern:/\beyJ[A-Za-z0-9_-]*\.eyJ[A-Za-z0-9_-]*\.[A-Za-z0-9_-]*\b/g,description:"JWT Tokens",category:"secret",confidence:.9},PRIVATE_KEY:{pattern:/-----BEGIN\s+(?:RSA\s+)?PRIVATE\s+KEY-----/g,description:"Private key headers",category:"secret",confidence:.99},PASSWORD_IN_URL:{pattern:/(?:password|passwd|pwd|pass)["']?\s*(?:[:=])\s*["']?([^\s"'&,]{6,})["']?/gi,description:"Passwords in plaintext",category:"secret",confidence:.85}};function At(t,s){const i=[],d=[];s.detectEmails&&d.push("EMAIL","EMAIL_OBFUSCATED"),s.detectPhones&&d.push("PHONE_US","PHONE_INTL"),s.detectSSN&&d.push("SSN","INDIA_AADHAAR"),s.detectCreditCards&&d.push("CREDIT_CARD"),s.detectIPAddresses&&d.push("IP_ADDRESS"),s.detectDates&&d.push("DATE_OF_BIRTH"),s.detectAddresses&&d.push("US_ADDRESS"),s.detectIBAN&&d.push("IBAN"),s.detectSecrets&&d.push("AWS_ACCESS_KEY","GITHUB_TOKEN","SLACK_TOKEN","STRIPE_KEY","GOOGLE_API_KEY","JWT_TOKEN","PRIVATE_KEY","PASSWORD_IN_URL");for(const c of d){const _=ht[c];if(!_)continue;const u=new RegExp(_.pattern.source,_.pattern.flags);let h;for(;(h=u.exec(t))!==null;){const A=h[0],M=35;i.push({type:c,start:h.index,end:h.index+A.length,value:A.length>M?A.slice(0,M)+"...":A,masked_value:"*".repeat(A.length).slice(0,M)+(A.length>M?"...":""),confidence:_.confidence,length:A.length})}}i.sort((c,_)=>_.confidence!==c.confidence?_.confidence-c.confidence:_.length-c.length);const g=[];for(const c of i)g.some(u=>c.start>=u.start&&c.start<u.end||c.end>u.start&&c.end<=u.end||c.start<=u.start&&c.end>=u.end)||g.push(c);return g.sort((c,_)=>c.start-_.start),g}let D=f("text"),B=f(""),W=f(null),q=f(""),ne=f(!1),L=f(""),l=f(null),H=f("overview"),oe=f(!0),ie=f(!0),de=f(!0),le=f(!0),ce=f(!0),pe=f(!0),ve=f(!0),xe=f(!0),ue=f(!0),Ae=f(!1);function St(t,s){if(!s||s.length===0)return t;const i=[...s].sort((g,c)=>c.start-g.start);let d=t;for(const g of i){const c="*".repeat(g.length);d=d.slice(0,g.start)+c+d.slice(g.end)}return d}function It(t){const s=t.target;s.files&&s.files[0]&&(o(W,s.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function Et(t){var s;t.preventDefault(),(s=t.dataTransfer)!=null&&s.files&&t.dataTransfer.files[0]&&(o(W,t.dataTransfer.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function wt(t){t.preventDefault()}async function Tt(){if(e(D)==="text"&&!e(B).trim()){o(L,"Please enter some text to scan");return}if(e(D)==="file"&&!e(W)){o(L,"Please select a file first");return}o(ne,!0),o(L,""),o(l,null);try{if(e(Ae)&&e(D)==="text"){console.log("%c[Privacy Scanner] Browser-Only Mode: All detection running locally. ZERO network requests.","color: #22c55e; font-weight: bold;");const t=e(B).replace(/\r\n/g,` +`),s=At(t,{detectEmails:e(oe),detectPhones:e(ie),detectSSN:e(de),detectCreditCards:e(le),detectIPAddresses:e(ce),detectDates:e(pe),detectAddresses:e(ve),detectIBAN:e(xe),detectSecrets:e(ue)}),i={};for(const u of s)i[u.type]=(i[u.type]||0)+1;const d={SSN:100,CREDIT_CARD:95,PRIVATE_KEY:100,INDIA_AADHAAR:90,AWS_ACCESS_KEY:100,GITHUB_TOKEN:95,STRIPE_KEY:95,PASSWORD_IN_URL:90,JWT_TOKEN:85,IBAN:85,EMAIL:40,EMAIL_OBFUSCATED:40,PHONE_US:35,PHONE_INTL:35,IP_ADDRESS:30,DATE_OF_BIRTH:50,US_ADDRESS:55,SLACK_TOKEN:90,GOOGLE_API_KEY:85};let g=0;for(const u of s){const h=d[u.type]||25;g+=h*u.confidence}const c=Math.min(100,Math.floor(g/Math.max(1,s.length)+s.length*5)),_=c>=70?"CRITICAL":c>=50?"HIGH":c>=30?"MEDIUM":"LOW";o(l,{total_entities:s.length,entities_by_type:i,entities:s,risk_score:c,risk_level:_,redacted_preview:St(t,s),coordinates_only:!0,client_side_only:!0},!0)}else{let t;if(e(D)==="text"){const s=e(B).replace(/\r\n/g,` +`),i=new FormData;i.append("text",s),i.append("detect_emails",String(e(oe))),i.append("detect_phones",String(e(ie))),i.append("detect_ssn",String(e(de))),i.append("detect_credit_cards",String(e(le))),i.append("detect_ip_addresses",String(e(ce))),i.append("detect_dates",String(e(pe))),i.append("detect_addresses",String(e(ve))),i.append("detect_iban",String(e(xe))),i.append("detect_secrets",String(e(ue))),i.append("coordinates_only","false"),t=await fetch(`${Ze}/privacy/scan-text`,{method:"POST",body:i})}else{const s=new FormData;s.append("file",e(W)),t=await fetch(`${Ze}/privacy/scan-file`,{method:"POST",body:s})}if(!t.ok){const s=await t.json();throw new Error(s.detail||"Scan failed")}o(l,await t.json(),!0)}}catch(t){o(L,t instanceof Error?t.message:"Failed to scan for PII",!0)}finally{o(ne,!1)}}function Fe(t){switch(t){case"CRITICAL":return"text-red-700 bg-red-50 border-red-200";case"HIGH":return"text-orange-700 bg-orange-50 border-orange-200";case"MEDIUM":return"text-yellow-700 bg-yellow-50 border-yellow-200";default:return"text-green-700 bg-green-50 border-green-200"}}function kt(t){switch(t){case"EMAIL":return"@";case"PHONE_US":case"PHONE_INTL":return"#";case"SSN":return"SSN";case"CREDIT_CARD":return"$";case"IP_ADDRESS":return"IP";case"DATE_OF_BIRTH":return"DOB";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"ADR";case"IBAN":case"BANK_ACCOUNT":return"BNK";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":return"AWS";case"GITHUB_TOKEN":return"GH";case"STRIPE_KEY":return"STR";case"GOOGLE_API_KEY":return"GCP";case"PASSWORD_IN_URL":return"PWD";case"PRIVATE_KEY":return"KEY";case"JWT_TOKEN":return"JWT";case"SLACK_TOKEN":return"SLK";case"GENERIC_API_KEY":return"API";default:return"?"}}function Ve(t){switch(t){case"SSN":case"CREDIT_CARD":case"IBAN":case"BANK_ACCOUNT":return"bg-red-100 text-red-700 border-red-200";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":case"PRIVATE_KEY":case"PASSWORD_IN_URL":case"GITHUB_TOKEN":case"STRIPE_KEY":return"bg-purple-100 text-purple-700 border-purple-200";case"GOOGLE_API_KEY":case"SLACK_TOKEN":case"JWT_TOKEN":case"GENERIC_API_KEY":return"bg-orange-100 text-orange-700 border-orange-200";case"EMAIL":case"PHONE_US":case"PHONE_INTL":return"bg-yellow-100 text-yellow-700 border-yellow-200";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"bg-amber-100 text-amber-700 border-amber-200";default:return"bg-blue-100 text-blue-700 border-blue-200"}}let _e=f(!1);async function Pt(){if(!e(l)||!e(l).entities||e(l).entities.length===0)return;const t="Type Original Value Masked Value Confidence",s=e(l).entities.map(d=>`${d.type} ${d.value} ${d.masked_value} ${Math.round(d.confidence*100)}%`),i=[t,...s].join(` +`);try{await navigator.clipboard.writeText(i),o(_e,!0),setTimeout(()=>o(_e,!1),2e3)}catch(d){console.error("Failed to copy:",d)}}let ge=f(!1);async function Ct(){if(!(!e(l)||!e(l).redacted_preview))try{await navigator.clipboard.writeText(e(l).redacted_preview),o(ge,!0),setTimeout(()=>o(ge,!1),2e3)}catch(t){console.error("Failed to copy:",t)}}function Dt(){o(B,`Customer Record: +Name: John Smith +Email: john.smith@example.com +US Phone: (555) 123-4567 +SSN: 123-45-6789 +Credit Card: 4532 0151 1283 0366 +IP Address: 192.168.1.100 + +--- CLOUD SECRETS --- +AWS Key: AKIAIOSFODNN7EXAMPLE +GitHub Token: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + +Please contact support@company.org for assistance.`)}function Nt(){o(B,""),o(W,null),o(q,""),o(l,null),o(L,"")}var Se=Dr();or("tts6bo",t=>{var s=cr();er(()=>{tr.title="Privacy Scanner | Build with AI"}),p(t,s)});var Je=a(Se);ir(Je,{});var Ie=n(Je,2),$e=a(Ie),qe=n(a($e),2),Ee=a(qe),we=n(a(Ee),2),Te=a(we);Te.__click=()=>o(D,"text");var Xe=n(Te,2);Xe.__click=()=>o(D,"file"),r(we);var Qe=n(we,2);{var Rt=t=>{var s=vr(),i=a(s),d=n(a(i),2),g=a(d);g.__click=Dt;var c=n(g,2);{var _=h=>{var A=pr(),M=n(F(A),2);M.__click=Nt,p(h,A)};E(c,h=>{(e(B)||e(l))&&h(_)})}r(d),r(i);var u=n(i,2);rr(u),r(s),lr(u,()=>e(B),h=>o(B,h)),p(t,s)},Ot=t=>{var s=ur(),i=F(s),d=a(i);d.__change=It,S(2),r(i);var g=n(i,2);{var c=_=>{var u=xr(),h=n(a(u),2),A=a(h,!0);r(h),r(u),G(()=>I(A,e(q))),p(_,u)};E(g,_=>{e(q)&&_(c)})}gt("drop",i,Et),gt("dragover",i,wt),p(t,s)};E(Qe,t=>{e(D)==="text"?t(Rt):t(Ot,!1)})}var ke=n(Qe,2),Pe=a(ke),et=n(a(Pe),2),tt=a(et);O(tt),S(2),r(et),r(Pe);var Ce=n(Pe,2),De=a(Ce),rt=a(De);O(rt),S(2),r(De);var Ne=n(De,2),at=a(Ne);O(at),S(2),r(Ne);var Re=n(Ne,2),st=a(Re);O(st),S(2),r(Re);var Oe=n(Re,2),nt=a(Oe);O(nt),S(2),r(Oe);var Ke=n(Oe,2),ot=a(Ke);O(ot),S(2),r(Ke);var Be=n(Ke,2),it=a(Be);O(it),S(2),r(Be);var Le=n(Be,2),dt=a(Le);O(dt),S(2),r(Le);var lt=n(Le,2),ct=a(lt);O(ct),S(2),r(lt),r(Ce);var pt=n(Ce,2),He=n(a(pt),2);O(He),S(2),r(pt),r(ke);var X=n(ke,2);X.__click=Tt;var Kt=a(X,!0);r(X);var Bt=n(X,2);{var Lt=t=>{var s=_r(),i=a(s,!0);r(s),G(()=>I(i,e(L))),p(t,s)};E(Bt,t=>{e(L)&&t(Lt)})}r(Ee);var vt=n(Ee,2),Ht=n(a(vt),2);{var Mt=t=>{var s=Pr(),i=F(s),d=a(i),g=n(a(d),2),c=a(g,!0);r(g),r(d);var _=n(d,2),u=n(a(_),2),h=a(u,!0);r(u),r(_);var A=n(_,2),M=n(a(A),2),zt=a(M,!0);r(M),r(A);var Me=n(A,2),xt=n(a(Me),2),Gt=a(xt,!0);r(xt),r(Me),r(i);var Ue=n(i,2),je=a(Ue);je.__click=()=>o(H,"overview");var Q=n(je,2);Q.__click=()=>o(H,"entities");var Wt=a(Q);r(Q);var ut=n(Q,2);ut.__click=()=>o(H,"redacted"),r(Ue);var Yt=n(Ue,2);{var Zt=Y=>{var Z=mr(),be=a(Z);{var ze=v=>{var m=br(),P=n(a(m),2);bt(P,21,()=>Object.entries(e(l).entities_by_type),ft,(w,J)=>{var T=ar(()=>sr(e(J),2));let C=()=>e(T)[0],j=()=>e(T)[1];var N=gr(),b=a(N),x=a(b),z=a(x,!0);r(x);var $=n(x,2),re=a($,!0);r($),r(b);var fe=n(b,2),ae=a(fe,!0);r(fe),r(N),G((We,se)=>{k(N,1,`flex items-center justify-between p-2 rounded-lg border ${We??""}`),I(z,se),I(re,C()),I(ae,j())},[()=>Ve(C()),()=>kt(C())]),p(w,N)}),r(P),r(m),p(v,m)},Ge=v=>{var m=fr();p(v,m)};E(be,v=>{Object.keys(e(l).entities_by_type||{}).length>0?v(ze):v(Ge,!1)})}var R=n(be,2),U=n(a(R),2),ee=a(U);{var te=v=>{var m=ye("Critical risk! Highly sensitive PII (SSN, Credit Cards) detected. Immediate action required.");p(v,m)},V=v=>{var m=me(),P=F(m);{var w=T=>{var C=ye("High risk! Multiple sensitive PII elements found. Consider redaction before sharing.");p(T,C)},J=T=>{var C=me(),j=F(C);{var N=x=>{var z=ye("Medium risk. Some PII detected that may require attention.");p(x,z)},b=x=>{var z=ye("Low risk. Minimal or no PII detected.");p(x,z)};E(j,x=>{e(l).risk_level==="MEDIUM"?x(N):x(b,!1)},!0)}p(T,C)};E(P,T=>{e(l).risk_level==="HIGH"?T(w):T(J,!1)},!0)}p(v,m)};E(ee,v=>{e(l).risk_level==="CRITICAL"?v(te):v(V,!1)})}r(U),r(R),r(Z),G(v=>k(R,1,`rounded-lg p-4 border ${v??""}`),[()=>Fe(e(l).risk_level)]),p(Y,Z)},Ft=Y=>{var Z=me(),be=F(Z);{var ze=R=>{var U=Er(),ee=a(U);{var te=v=>{var m=Sr(),P=F(m),w=a(P);w.__click=Pt;var J=a(w);{var T=b=>{var x=yr();S(),p(b,x)},C=b=>{var x=hr();S(),p(b,x)};E(J,b=>{e(_e)?b(T):b(C,!1)})}r(w),r(P);var j=n(P,2),N=n(a(j));bt(N,21,()=>e(l).entities,ft,(b,x)=>{var z=Ar(),$=a(z),re=a($),fe=a(re,!0);r(re),r($);var ae=n($),We=a(ae,!0);r(ae);var se=n(ae),Vt=a(se,!0);r(se);var _t=n(se),Ye=a(_t),Jt=a(Ye);r(Ye),r(_t),r(z),G(($t,qt)=>{k(re,1,`text-xs px-2 py-1 rounded border ${$t??""}`),I(fe,e(x).type),I(We,e(x).value),I(Vt,e(x).masked_value),k(Ye,1,`text-xs px-2 py-0.5 rounded ${e(x).confidence>=.9?"bg-green-100 text-green-700":e(x).confidence>=.7?"bg-yellow-100 text-yellow-700":"bg-red-100 text-red-700"}`),I(Jt,`${qt??""}%`)},[()=>Ve(e(x).type),()=>Math.round(e(x).confidence*100)]),p(b,z)}),r(N),r(j),G(()=>k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(_e)?"bg-green-100 text-green-700 border border-green-300":"bg-gray-100 text-gray-600 hover:bg-gray-200 border border-gray-200"}`)),p(v,m)},V=v=>{var m=Ir();p(v,m)};E(ee,v=>{e(l).entities&&e(l).entities.length>0?v(te):v(V,!1)})}r(U),p(R,U)},Ge=R=>{var U=me(),ee=F(U);{var te=V=>{var v=kr(),m=a(v),P=a(m),w=n(a(P),2);w.__click=Ct;var J=a(w);{var T=b=>{var x=wr();S(),p(b,x)},C=b=>{var x=Tr();S(),p(b,x)};E(J,b=>{e(ge)?b(T):b(C,!1)})}r(w),r(P);var j=n(P,2),N=a(j,!0);r(j),r(m),S(2),r(v),G(()=>{k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(ge)?"bg-green-100 text-green-700 border border-green-300":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`),I(N,e(l).redacted_preview||"No preview available")}),p(V,v)};E(ee,V=>{e(H)==="redacted"&&V(te)},!0)}p(R,U)};E(be,R=>{e(H)==="entities"?R(ze):R(Ge,!1)},!0)}p(Y,Z)};E(Yt,Y=>{e(H)==="overview"?Y(Zt):Y(Ft,!1)})}G((Y,Z)=>{k(g,1,`text-xl font-bold ${e(l).total_entities>0?"text-red-600":"text-green-600"}`),I(c,e(l).total_entities),I(h,Y),I(zt,e(l).risk_score),k(Me,1,`rounded-lg p-2.5 text-center border ${Z??""}`),I(Gt,e(l).risk_level),k(je,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="overview"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),k(Q,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="entities"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),I(Wt,`Entities (${e(l).total_entities??""})`),k(ut,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="redacted"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)},[()=>Object.keys(e(l).entities_by_type||{}).length,()=>Fe(e(l).risk_level)]),p(t,s)},Ut=t=>{var s=Cr();p(t,s)};E(Ht,t=>{e(l)?t(Mt):t(Ut,!1)})}r(vt),r(qe),r($e),r(Ie);var jt=n(Ie,2);dr(jt),r(Se),G(t=>{k(Te,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="text"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),k(Xe,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="file"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),He.disabled=e(D)==="file",X.disabled=t,I(Kt,e(ne)?"Scanning...":"Scan for PII")},[()=>e(ne)||(e(D)==="text"?!e(B).trim():!e(W))]),K(tt,()=>e(ue),t=>o(ue,t)),K(rt,()=>e(oe),t=>o(oe,t)),K(at,()=>e(ie),t=>o(ie,t)),K(st,()=>e(de),t=>o(de,t)),K(nt,()=>e(le),t=>o(le,t)),K(ot,()=>e(ce),t=>o(ce,t)),K(it,()=>e(pe),t=>o(pe,t)),K(dt,()=>e(ve),t=>o(ve,t)),K(ct,()=>e(xe),t=>o(xe,t)),K(He,()=>e(Ae),t=>o(Ae,t)),p(mt,Se),Qt()}nr(["click","change"]);export{Hr as component}; diff --git a/_app/immutable/nodes/7.uv031Qn9.js b/_app/immutable/nodes/7.uv031Qn9.js new file mode 100644 index 0000000..a0f23cd --- /dev/null +++ b/_app/immutable/nodes/7.uv031Qn9.js @@ -0,0 +1,4 @@ +import{f as _,a as v,c as ke}from"../chunks/Bh-96fzJ.js";import{p as da,j as c,m as la,u as ca,g as t,i as o,e as pa,f as va,d as e,s as r,$ as ma,r as a,k as Se,t as z,n as ua}from"../chunks/mO2F3zLa.js";import{d as xa,s as n}from"../chunks/eH5yZvH4.js";import{i as q}from"../chunks/tuD4s8Oc.js";import{h as ba,N as _a,F as fa,r as $,s as R,e as ga,i as ya}from"../chunks/DhvLCtu-.js";import{b as B,a as ha}from"../chunks/Da-hDQCT.js";import{b as wa}from"../chunks/CJrErHKE.js";import{b as Nt}from"../chunks/DBQEMQMg.js";var Pa=_('<meta name="description" content="Seattle/King County house price prediction and visualization tool with ML-powered estimates."/>'),$a=_('<div class="flex items-center justify-center h-64"><div class="animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"></div></div>'),ka=_('<div class="bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg mb-4"> </div>'),Sa=_("<option> </option>"),Ca=_('<div class="px-4 py-2 bg-green-100 rounded-lg border border-green-300"><span class="text-xl font-bold text-green-700"> </span></div>'),ja=_('<div class="mt-2 pt-2 border-t border-gray-100"><p class="text-xs font-medium text-gray-600 mb-1">Percentiles</p> <div class="space-y-0.5 text-xs"><div class="flex justify-between"><span class="text-gray-500">25th</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">75th</span> <span class="font-medium"> </span></div> <div class="flex justify-between"><span class="text-gray-500">90th</span> <span class="font-medium"> </span></div></div></div>'),Ba=_('<div class="space-y-2"><div class="p-2 bg-gray-50 rounded-lg"><p class="text-xs text-gray-500">Total</p> <p class="text-base font-bold text-gray-900"> </p></div> <div class="p-2 bg-blue-50 rounded-lg"><p class="text-xs text-blue-600">Avg</p> <p class="text-base font-bold text-blue-700"> </p></div> <div class="p-2 bg-green-50 rounded-lg"><p class="text-xs text-green-600">Median</p> <p class="text-base font-bold text-green-700"> </p></div> <div class="grid grid-cols-2 gap-1"><div class="p-1 bg-gray-50 rounded text-center"><p class="text-xs text-gray-500">Min</p> <p class="text-xs font-semibold"> </p></div> <div class="p-1 bg-gray-50 rounded text-center"><p class="text-xs text-gray-500">Max</p> <p class="text-xs font-semibold"> </p></div></div> <!></div>'),Ma=_('<div class="mt-3 pt-2 border-t border-gray-100"><p class="text-xs text-gray-500"> <br/> </p></div>'),Fa=_('<div class="grid grid-cols-1 lg:grid-cols-6 gap-4"><div class="lg:col-span-1 space-y-4"><div class="bg-white rounded-xl shadow-sm p-3 border border-gray-100"><h2 class="text-sm font-semibold mb-3 flex items-center gap-1"><span>Filters</span></h2> <div class="space-y-3"><div><span class="block text-xs font-medium text-gray-700 mb-1">Price Range</span> <div class="flex gap-2"><input type="number" class="w-1/2 px-2 py-1 text-sm border rounded" placeholder="Min"/> <input type="number" class="w-1/2 px-2 py-1 text-sm border rounded" placeholder="Max"/></div></div> <div><span class="block text-xs font-medium text-gray-700 mb-1">Bedrooms</span> <div class="flex gap-2"><input type="number" min="0" max="10" class="w-1/2 px-2 py-1 text-sm border rounded"/> <input type="number" min="0" max="10" class="w-1/2 px-2 py-1 text-sm border rounded"/></div></div> <div><span class="block text-xs font-medium text-gray-700 mb-1">Zipcode</span> <select class="w-full px-2 py-1 text-sm border rounded"><option>All Zipcodes</option><!></select></div> <label class="flex items-center gap-2"><input type="checkbox" class="rounded"/> <span class="text-sm text-gray-700">Waterfront only</span></label> <button class="w-full bg-primary-600 text-white py-2 rounded-lg hover:bg-primary-700 transition-colors">Apply Filters</button></div></div> <div class="bg-white rounded-xl shadow-sm p-3 border border-gray-100"><h2 class="text-sm font-semibold mb-3 flex items-center gap-1"><span>Selection</span></h2> <div class="space-y-3"><div><span class="block text-xs font-medium text-gray-700 mb-1"> </span> <input type="range" min="1" max="10" class="w-full"/></div> <div><span class="block text-xs font-medium text-gray-700 mb-1"> </span> <input type="range" min="1" max="6" step="0.5" class="w-full"/></div> <div><span class="block text-xs font-medium text-gray-700 mb-1"> </span> <input type="range" min="500" max="10000" step="100" class="w-full"/></div> <div><span class="block text-xs font-medium text-gray-700 mb-1"> </span> <input type="range" min="0" max="120" class="w-full"/></div></div></div></div> <div class="lg:col-span-4"><div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden"><div class="flex border-b border-gray-200"><button>Map View</button> <button>Distribution</button> <button>Correlations</button></div> <div class="p-4"><div></div> <div></div> <div></div></div> <div class="px-4 py-3 bg-gray-50 border-t border-gray-200 flex items-center justify-between gap-4"><div class="flex items-center gap-4 text-sm text-gray-600"><span> </span> <span> </span> <span> </span> <span> </span></div> <div class="flex items-center gap-3"><button class="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors font-medium">Predict Price</button> <!></div></div></div></div> <div class="lg:col-span-1"><div class="bg-white rounded-xl shadow-sm p-3 border border-gray-100"><h2 class="text-sm font-semibold mb-3 flex items-center gap-1"><span>Stats</span></h2> <!> <!></div></div></div>'),za=_('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-24 pb-16 px-6"><div class="max-w-7xl mx-auto"><div class="mb-6"><a href="/tools" class="text-primary-600 hover:text-primary-700 text-sm mb-2 inline-block">← Back to Tools</a> <h1 class="text-2xl font-bold text-gray-900">House Price Predictor</h1> <p class="text-gray-600 mt-1">Seattle/King County house price prediction and visualization (21,613 houses, 2014-2015)</p></div> <!></div></main> <!></div>');function Ha(Ce,je){da(je,!0);const A="https://cockpit.valuecurve.co/api/v1";let st=c(!1),D=c(""),k=c(null),f=c(la([])),m=c(null),it=c(null),V=c(0),Z=c(8e6),G=c(0),J=c(10),ot=c(!1),W=c(""),E=c(3),N=c(2),H=c(2e3),I=c(10),x=c("map"),Y,Q,X,S=c(null),Ht=c(!1);ca(()=>{if(typeof window<"u"&&!t(Ht)){const s=document.createElement("script");s.src="https://cdn.plot.ly/plotly-2.27.0.min.js",s.onload=()=>{o(S,window.Plotly,!0),o(Ht,!0),Be()},document.head.appendChild(s)}});async function Be(){o(st,!0),o(D,"");try{const s=await fetch(`${A}/house/metadata`);o(k,await s.json(),!0),await It()}catch(s){o(D,s instanceof Error?s.message:"Failed to load data",!0)}finally{o(st,!1)}}async function It(){if(t(S))try{const s=new URLSearchParams;t(V)>0&&s.append("min_price",t(V).toString()),t(Z)<8e6&&s.append("max_price",t(Z).toString()),t(G)>0&&s.append("min_bedrooms",t(G).toString()),t(J)<10&&s.append("max_bedrooms",t(J).toString()),t(ot)&&s.append("waterfront","true"),t(W)&&s.append("zipcode",t(W)),s.append("sample_size","2000");const g=await(await fetch(`${A}/house/data?${s}`)).json();o(f,g.data,!0);const y=await fetch(`${A}/house/statistics`);o(m,await y.json(),!0),setTimeout(()=>{t(x)==="map"?Kt():t(x)==="distribution"?Ot():t(x)==="correlation"&&Ut()},50)}catch(s){o(D,s instanceof Error?s.message:"Failed to update charts",!0)}}function Kt(){var h,b,C,L,K,T;if(!Y||!t(S)||t(f).length===0)return;const s=t(f).map(d=>d.price),p=Math.min(...s),g=Math.max(...s),y={type:"scattermapbox",lat:t(f).map(d=>d.lat),lon:t(f).map(d=>d.long),mode:"markers",marker:{size:t(f).map(d=>Math.max(5,Math.sqrt(d.sqft_living/100))),color:t(f).map(d=>d.price),colorscale:"Viridis",cmin:p,cmax:g,colorbar:{title:"Price ($)",tickformat:",.0f"},opacity:.7},text:t(f).map(d=>`Price: $${d.price.toLocaleString()}<br>Beds: ${d.bedrooms} | Baths: ${d.bathrooms}<br>Sqft: ${d.sqft_living.toLocaleString()}<br>Year Built: ${d.yr_built}<br>Grade: ${d.grade}`),hoverinfo:"text"},ct={mapbox:{style:"open-street-map",center:{lat:((C=(b=(h=t(k))==null?void 0:h.location)==null?void 0:b.center)==null?void 0:C[0])||47.5,lon:((T=(K=(L=t(k))==null?void 0:L.location)==null?void 0:K.center)==null?void 0:T[1])||-122.2},zoom:9},margin:{l:0,r:0,t:30,b:0},title:{text:`King County House Prices (${t(f).length} houses shown)`,font:{size:16}},height:500};t(S).newPlot(Y,[y],ct,{responsive:!0})}async function Ot(){if(!(!Q||!t(S)))try{const p=await(await fetch(`${A}/house/price-distribution?bins=30`)).json(),g={x:p.bin_centers,y:p.counts,type:"bar",marker:{color:p.bin_centers,colorscale:"Viridis"}},y={title:"Price Distribution",xaxis:{title:"Price ($)",tickformat:",.0f"},yaxis:{title:"Count"},margin:{l:60,r:30,t:50,b:60},height:400};t(S).newPlot(Q,[g],y,{responsive:!0})}catch(s){console.error("Failed to render distribution:",s)}}async function Ut(){if(!(!X||!t(S)))try{const p=await(await fetch(`${A}/house/correlation`)).json(),g={z:p.correlation,x:p.columns,y:p.columns,type:"heatmap",colorscale:"RdBu",zmin:-1,zmax:1,colorbar:{title:"Correlation"}},y={title:"Feature Correlation Matrix",margin:{l:100,r:30,t:50,b:100},height:500,xaxis:{tickangle:45},yaxis:{autorange:"reversed"}};t(S).newPlot(X,[g],y,{responsive:!0})}catch(s){console.error("Failed to render correlation:",s)}}async function Me(){try{const s=await fetch(`${A}/house/predict`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({bedrooms:t(E),bathrooms:t(N),sqft:t(H),age:t(I)})});o(it,await s.json(),!0)}catch{o(D,"Prediction failed")}}function nt(s){o(x,s,!0),setTimeout(()=>{s==="map"?Kt():s==="distribution"?Ot():s==="correlation"&&Ut()},100)}function M(s){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(s)}var dt=za();ba("1yo8vla",s=>{var p=Pa();va(()=>{ma.title="House Price Predictor | Build with AI"}),v(s,p)});var Vt=e(dt);_a(Vt,{});var lt=r(Vt,2),Zt=e(lt),Fe=r(e(Zt),2);{var ze=s=>{var p=$a();v(s,p)},qe=s=>{var p=ke(),g=Se(p);{var y=h=>{var b=ka(),C=e(b,!0);a(b),z(()=>n(C,t(D))),v(h,b)},ct=h=>{var b=Fa(),C=e(b),L=e(C),K=r(e(L),2),T=e(K),d=r(e(T),2),pt=e(d);$(pt);var Gt=r(pt,2);$(Gt),a(d),a(T);var vt=r(T,2),Jt=r(e(vt),2),mt=e(Jt);$(mt);var Wt=r(mt,2);$(Wt),a(Jt),a(vt);var ut=r(vt,2),xt=r(e(ut),2),bt=e(xt);bt.value=bt.__value="";var De=r(bt);{var Le=i=>{var l=ke(),u=Se(l);ga(u,17,()=>t(k).zipcodes,ya,(w,F)=>{var P=Sa(),tt=e(P,!0);a(P);var et={};z(()=>{n(tt,t(F)),et!==(et=t(F))&&(P.value=(P.__value=t(F))??"")}),v(w,P)}),v(i,l)};q(De,i=>{var l;(l=t(k))!=null&&l.zipcodes&&i(Le)})}a(xt),a(ut);var _t=r(ut,2),Yt=e(_t);$(Yt),ua(2),a(_t);var Te=r(_t,2);Te.__click=It,a(K),a(L);var Qt=r(L,2),Xt=r(e(Qt),2),ft=e(Xt),gt=e(ft),Re=e(gt);a(gt);var te=r(gt,2);$(te),a(ft);var yt=r(ft,2),ht=e(yt),Ee=e(ht);a(ht);var ee=r(ht,2);$(ee),a(yt);var wt=r(yt,2),Pt=e(wt),Ne=e(Pt);a(Pt);var ae=r(Pt,2);$(ae),a(wt);var re=r(wt,2),$t=e(re),He=e($t);a($t);var se=r($t,2);$(se),a(re),a(Xt),a(Qt),a(C);var kt=r(C,2),ie=e(kt),St=e(ie),Ct=e(St);Ct.__click=()=>nt("map");var jt=r(Ct,2);jt.__click=()=>nt("distribution");var oe=r(jt,2);oe.__click=()=>nt("correlation"),a(St);var Bt=r(St,2),Mt=e(Bt);let ne;Nt(Mt,i=>Y=i,()=>Y);var Ft=r(Mt,2);let de;Nt(Ft,i=>Q=i,()=>Q);var le=r(Ft,2);let ce;Nt(le,i=>X=i,()=>X),a(Bt);var pe=r(Bt,2),zt=e(pe),qt=e(zt),Ie=e(qt);a(qt);var At=r(qt,2),Ke=e(At);a(At);var Dt=r(At,2),Oe=e(Dt);a(Dt);var ve=r(Dt,2),Ue=e(ve);a(ve),a(zt);var me=r(zt,2),ue=e(me);ue.__click=Me;var Ve=r(ue,2);{var Ze=i=>{var l=Ca(),u=e(l),w=e(u,!0);a(u),a(l),z(()=>n(w,t(it).formatted_price)),v(i,l)};q(Ve,i=>{t(it)&&i(Ze)})}a(me),a(pe),a(ie),a(kt);var xe=r(kt,2),be=e(xe),_e=r(e(be),2);{var Ge=i=>{var l=Ba(),u=e(l),w=r(e(u),2),F=e(w,!0);a(w),a(u);var P=r(u,2),tt=r(e(P),2),et=e(tt,!0);a(tt),a(P);var Lt=r(P,2),fe=r(e(Lt),2),Ye=e(fe,!0);a(fe),a(Lt);var Tt=r(Lt,2),Rt=e(Tt),ge=r(e(Rt),2),Qe=e(ge,!0);a(ge),a(Rt);var ye=r(Rt,2),he=r(e(ye),2),Xe=e(he,!0);a(he),a(ye),a(Tt);var ta=r(Tt,2);{var ea=j=>{var O=ja(),at=r(e(O),2),U=e(at),rt=r(e(U),2),aa=e(rt,!0);a(rt),a(U);var Et=r(U,2),we=r(e(Et),2),ra=e(we,!0);a(we),a(Et);var Pe=r(Et,2),$e=r(e(Pe),2),sa=e($e,!0);a($e),a(Pe),a(at),a(O),z((ia,oa,na)=>{n(aa,ia),n(ra,oa),n(sa,na)},[()=>M(t(m).percentiles[25]),()=>M(t(m).percentiles[75]),()=>M(t(m).percentiles[90])]),v(j,O)};q(ta,j=>{t(m).percentiles&&j(ea)})}a(l),z((j,O,at,U,rt)=>{n(F,j),n(et,O),n(Ye,at),n(Qe,U),n(Xe,rt)},[()=>{var j;return(j=t(m).count)==null?void 0:j.toLocaleString()},()=>M(t(m).mean),()=>M(t(m).median),()=>M(t(m).min),()=>M(t(m).max)]),v(i,l)};q(_e,i=>{t(m)&&i(Ge)})}var Je=r(_e,2);{var We=i=>{var l=Ma(),u=e(l),w=e(u,!0),F=r(w,2);a(u),a(l),z(()=>{n(w,t(k).region),n(F,` ${t(k).data_period??""}`)}),v(i,l)};q(Je,i=>{t(k)&&i(We)})}a(be),a(xe),a(b),z((i,l)=>{n(Re,`Beds: ${t(E)??""}`),n(Ee,`Baths: ${t(N)??""}`),n(Ne,`Sqft: ${i??""}`),n(He,`Age: ${t(I)??""}yr`),R(Ct,1,`flex-1 px-4 py-3 text-sm font-medium transition-colors + ${t(x)==="map"?"bg-primary-50 text-primary-700 border-b-2 border-primary-600":"text-gray-600 hover:bg-gray-50"}`),R(jt,1,`flex-1 px-4 py-3 text-sm font-medium transition-colors + ${t(x)==="distribution"?"bg-primary-50 text-primary-700 border-b-2 border-primary-600":"text-gray-600 hover:bg-gray-50"}`),R(oe,1,`flex-1 px-4 py-3 text-sm font-medium transition-colors + ${t(x)==="correlation"?"bg-primary-50 text-primary-700 border-b-2 border-primary-600":"text-gray-600 hover:bg-gray-50"}`),ne=R(Mt,1,"",null,ne,{hidden:t(x)!=="map"}),de=R(Ft,1,"",null,de,{hidden:t(x)!=="distribution"}),ce=R(le,1,"",null,ce,{hidden:t(x)!=="correlation"}),n(Ie,`${t(E)??""} bed`),n(Ke,`${t(N)??""} bath`),n(Oe,`${l??""} sqft`),n(Ue,`${t(I)??""}yr old`)},[()=>t(H).toLocaleString(),()=>t(H).toLocaleString()]),B(pt,()=>t(V),i=>o(V,i)),B(Gt,()=>t(Z),i=>o(Z,i)),B(mt,()=>t(G),i=>o(G,i)),B(Wt,()=>t(J),i=>o(J,i)),wa(xt,()=>t(W),i=>o(W,i)),ha(Yt,()=>t(ot),i=>o(ot,i)),B(te,()=>t(E),i=>o(E,i)),B(ee,()=>t(N),i=>o(N,i)),B(ae,()=>t(H),i=>o(H,i)),B(se,()=>t(I),i=>o(I,i)),v(h,b)};q(g,h=>{t(D)?h(y):h(ct,!1)},!0)}v(s,p)};q(Fe,s=>{t(st)?s(ze):s(qe,!1)})}a(Zt),a(lt);var Ae=r(lt,2);fa(Ae),a(dt),v(Ce,dt),pa()}xa(["click"]);export{Ha as component}; diff --git a/_app/immutable/nodes/8.CyYeH63o.js b/_app/immutable/nodes/8.CyYeH63o.js new file mode 100644 index 0000000..d34c133 --- /dev/null +++ b/_app/immutable/nodes/8.CyYeH63o.js @@ -0,0 +1,18 @@ +import{f as y,a as p,c as me,t as ye,b as he}from"../chunks/Bh-96fzJ.js";import{p as Xt,i as o,d as a,s as n,t as G,g as e,e as Qt,j as f,f as er,$ as tr,r,n as S,C as rr,k as F,h as ar,D as sr}from"../chunks/mO2F3zLa.js";import{d as nr,s as I,e as gt}from"../chunks/eH5yZvH4.js";import{i as E}from"../chunks/tuD4s8Oc.js";import{h as or,N as ir,F as dr,s as k,r as O,e as bt,i as ft}from"../chunks/DhvLCtu-.js";import{a as K,b as lr}from"../chunks/Da-hDQCT.js";var cr=y('<meta name="description" content="Detect and redact personally identifiable information (PII) from text and files."/>'),pr=y('<span class="text-gray-300">|</span> <button class="text-xs text-gray-500 hover:text-red-600">Clear</button>',1),vr=y('<div class="space-y-3"><div class="flex justify-between items-center"><label for="text-input" class="text-sm font-medium text-gray-700">Text to Scan</label> <div class="flex gap-2"><button class="text-xs text-primary-600 hover:text-primary-700">Load Sample</button> <!></div></div> <textarea id="text-input" placeholder="Paste text containing potential PII here..." class="w-full px-3 py-2 border border-gray-200 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 min-h-[150px] resize-none font-mono text-xs"></textarea></div>'),xr=y('<div class="mt-3 flex items-center gap-2 p-2 bg-gray-50 rounded-lg"><svg class="w-4 h-4 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-gray-700 truncate flex-1"> </span></div>'),ur=y('<div class="border-2 border-dashed border-gray-300 rounded-xl p-6 text-center hover:border-primary-400 transition-colors cursor-pointer" role="button" tabindex="0"><input type="file" accept=".csv,.txt,.json" class="hidden" id="file-input"/> <label for="file-input" class="cursor-pointer"><div class="w-12 h-12 rounded-xl bg-primary-100 flex items-center justify-center mx-auto mb-3"><svg class="w-6 h-6 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg></div> <p class="text-sm text-gray-600"><span class="text-primary-600 font-medium">Click to upload</span> or drag and drop</p> <p class="text-xs text-gray-400 mt-1">CSV, TXT, or JSON files</p></label></div> <!>',1),_r=y('<div class="mt-3 p-3 bg-red-50 text-red-700 text-sm rounded-lg border border-red-100"> </div>'),gr=y('<div><div class="flex items-center gap-2"><span class="text-xs font-bold w-6 h-6 rounded flex items-center justify-center bg-white/50"> </span> <span class="text-sm font-medium"> </span></div> <span class="text-sm font-bold"> </span></div>'),br=y('<div class="bg-gray-50 rounded-lg p-4 border border-gray-100"><h3 class="text-sm font-semibold text-gray-700 mb-3">PII by Type</h3> <div class="grid grid-cols-2 gap-2"></div></div>'),fr=y('<div class="bg-green-50 rounded-lg p-4 border border-green-200"><div class="flex items-center gap-2"><svg class="w-5 h-5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-sm text-green-700 font-medium">No PII detected in the input</span></div></div>'),mr=y('<div class="space-y-4"><!> <div><h3 class="text-sm font-semibold mb-2">Risk Assessment</h3> <p class="text-sm opacity-90"><!></p></div></div>'),yr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),hr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),Ar=y('<tr class="border-b border-gray-100"><td class="py-2 px-3"><span> </span></td><td class="py-2 px-3 font-mono text-xs text-red-600"> </td><td class="py-2 px-3 font-mono text-xs text-green-600"> </td><td class="py-2 px-3 text-right"><span> </span></td></tr>'),Sr=y('<div class="flex justify-end mb-3"><button><!></button></div> <table class="w-full text-sm"><thead><tr class="border-b border-gray-200"><th class="text-left py-2 px-3 font-medium text-gray-700">Type</th><th class="text-left py-2 px-3 font-medium text-gray-700">Original Value</th><th class="text-left py-2 px-3 font-medium text-gray-700">Masked Value</th><th class="text-right py-2 px-3 font-medium text-gray-700">Confidence</th></tr></thead><tbody></tbody></table>',1),Ir=y('<div class="text-center py-8 text-gray-500">No PII entities found</div>'),Er=y('<div class="overflow-x-auto"><!></div>'),wr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> Copied!',1),Tr=he('<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path></svg> Copy',1),kr=y('<div class="space-y-3"><div class="bg-gray-50 rounded-lg p-4 border border-gray-200"><div class="flex justify-between items-center mb-2"><h3 class="text-sm font-semibold text-gray-700">Redacted Text Preview</h3> <button><!></button></div> <pre class="text-xs font-mono whitespace-pre-wrap text-gray-600 bg-white p-3 rounded-lg border border-gray-100 max-h-[300px] overflow-auto"> </pre></div> <p class="text-xs text-gray-500">This preview shows PII values masked for safe sharing.</p></div>'),Pr=y('<div class="grid grid-cols-4 gap-3 mb-5"><div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">PII Found</p> <p> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Types</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div class="bg-gray-50 rounded-lg p-2.5 text-center border border-gray-100"><p class="text-xs text-gray-500">Risk Score</p> <p class="text-xl font-bold text-gray-800"> </p></div> <div><p class="text-xs opacity-80">Risk Level</p> <p class="text-xl font-bold"> </p></div></div> <div class="flex gap-1 mb-4 border-b border-gray-200"><button>Overview</button> <button> </button> <button>Redacted Preview</button></div> <!>',1),Cr=y('<div class="text-center py-12"><div class="w-16 h-16 rounded-2xl bg-gray-100 flex items-center justify-center mx-auto mb-4"><svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg></div> <p class="text-gray-500">Enter text or upload a file to scan for PII</p></div>'),Dr=y('<div class="min-h-screen bg-gradient-to-b from-slate-50 to-white"><!> <main class="pt-20 pb-10 px-5"><div class="max-w-6xl mx-auto"><div class="mb-5 flex items-center justify-between"><div class="flex items-center gap-4"><a href="/tools/" class="text-sm text-primary-600 hover:text-primary-700">← Tools</a> <h1 class="text-2xl font-bold text-gray-900">Privacy Scanner</h1> <span class="text-gray-400 text-sm hidden sm:inline">|</span> <p class="text-gray-500 text-sm hidden sm:inline">Detect & redact PII from text and files</p></div></div> <div class="grid grid-cols-1 lg:grid-cols-3 gap-5"><div class="bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-3">Input</h2> <div class="flex gap-1 mb-3 p-1 bg-gray-100 rounded-lg"><button>Text</button> <button>File</button></div> <!> <div class="mt-4 pt-3 border-t border-gray-200"><div class="flex items-center justify-between mb-2"><h3 class="text-xs font-semibold text-gray-500 uppercase">PII Detection</h3> <label class="flex items-center gap-1.5 cursor-pointer text-xs"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-600">Secrets</span></label></div> <div class="grid grid-cols-4 gap-1.5 text-xs"><label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Email</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Phone</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">SSN</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Cards</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IP</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Dates</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">Addr</span></label> <label class="flex items-center gap-1.5 cursor-pointer"><input type="checkbox" class="rounded text-primary-600"/> <span class="text-gray-700">IBAN</span></label></div> <label class="flex items-center gap-2 cursor-pointer text-xs mt-2.5 pt-2.5 border-t border-gray-100" title="All detection runs in your browser - no data sent to server"><svg class="w-3.5 h-3.5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg> <input type="checkbox" class="rounded text-green-600"/> <span class="text-gray-600">Browser-Only Mode <span class="text-green-600 font-medium">(Zero Network)</span></span></label></div> <button class="w-full mt-4 px-5 py-2.5 bg-primary-600 text-white rounded-lg text-sm font-medium hover:bg-primary-700 transition-all shadow-sm disabled:opacity-50 disabled:cursor-not-allowed"> </button> <!></div> <div class="lg:col-span-2 bg-white rounded-xl border border-gray-100 shadow-sm p-5"><h2 class="text-base font-bold text-gray-900 mb-4">Scan Results</h2> <!></div></div></div></main> <!></div>');function Hr(mt,yt){Xt(yt,!0);const Ze="https://cockpit.valuecurve.co/api/v1",ht={EMAIL:{pattern:/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/gi,description:"Email addresses",category:"pii",confidence:.75},EMAIL_OBFUSCATED:{pattern:/[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[at\]|\(at\))\s*[A-Za-z0-9](?:[-\s]*[A-Za-z0-9]){2,}\s*(?:\[dot\]|\(dot\)|\s+dot\s+)\s*[A-Za-z]{2,}/gi,description:"Obfuscated email addresses",category:"pii",confidence:.85},PHONE_US:{pattern:/\b(?:\+?1[-.\s]?)?\(?[0-9]{3}\)?[-.\s]?[0-9]{3}[-.\s]?[0-9]{4}\b/g,description:"US Phone numbers",category:"pii",confidence:.65},PHONE_INTL:{pattern:/\+(?:49|44|33|39|34|31|32|43|41|48|351|353|358|47|46|45|420|36|40|359|385|386|421|370|371|372|352|356|357|30|55|52|54|56|57|51|81|82|86|91|61|64|65|852)\s?[0-9]{1,4}[\s-]?[0-9]{3,4}[\s-]?[0-9]{3,6}\b/g,description:"International Phone numbers",category:"pii",confidence:.65},SSN:{pattern:/\b\d{3}[-.\s_]\d{2}[-.\s_]\d{4}\b/g,description:"Social Security Numbers",category:"pii",confidence:.75},CREDIT_CARD:{pattern:/\b(?:4[0-9]{3}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|5[1-5][0-9]{2}[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}|3[47][0-9]{2}[-\s]?[0-9]{6}[-\s]?[0-9]{5}|6(?:011|5[0-9]{2})[-\s]?[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4})\b/g,description:"Credit card numbers",category:"financial",confidence:.99},IP_ADDRESS:{pattern:/\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/g,description:"IP addresses",category:"pii",confidence:.65},DATE_OF_BIRTH:{pattern:/\b(?:(?:0?[1-9]|1[0-2])[/-](?:0?[1-9]|[12][0-9]|3[01])[/-](?:19|20)\d{2}|(?:19|20)\d{2}[-/](?:0?[1-9]|1[0-2])[-/](?:0?[1-9]|[12][0-9]|3[01]))\b/g,description:"Dates",category:"pii",confidence:.65},US_ADDRESS:{pattern:/\b\d{1,5}\s+(?:[A-Za-z]+\s+){1,4}(?:Street|St|Avenue|Ave|Road|Rd|Boulevard|Blvd|Drive|Dr|Lane|Ln|Court|Ct|Way|Place|Pl)\.?/gi,description:"US addresses",category:"pii",confidence:.75},IBAN:{pattern:/\b(?:DE|GB|FR|ES|IT|NL|BE|AT|CH|PL|PT|IE|FI|NO|SE|DK)\d{2}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{4}[\s]?[A-Z0-9]{0,18}\b/g,description:"IBAN",category:"financial",confidence:.9},INDIA_AADHAAR:{pattern:/\b[2-9]\d{3}[\s-]?\d{4}[\s-]?\d{4}\b/g,description:"India Aadhaar numbers",category:"pii",confidence:.75},AWS_ACCESS_KEY:{pattern:/\b(?:AKIA|ABIA|ACCA|ASIA)[A-Z0-9]{16}\b/g,description:"AWS Access Key IDs",category:"secret",confidence:.99},GITHUB_TOKEN:{pattern:/\b(?:ghp|gho|ghu|ghs|ghr)_[A-Za-z0-9]{36,}\b/g,description:"GitHub Tokens",category:"secret",confidence:.99},SLACK_TOKEN:{pattern:/\bxox[baprs]-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,description:"Slack Tokens",category:"secret",confidence:.99},STRIPE_KEY:{pattern:/\b(?:sk|pk)_(?:test|live)_[A-Za-z0-9]{8,}\b/g,description:"Stripe API Keys",category:"secret",confidence:.99},GOOGLE_API_KEY:{pattern:/\bAIza[A-Za-z0-9_-]{35}\b/g,description:"Google API Keys",category:"secret",confidence:.99},JWT_TOKEN:{pattern:/\beyJ[A-Za-z0-9_-]*\.eyJ[A-Za-z0-9_-]*\.[A-Za-z0-9_-]*\b/g,description:"JWT Tokens",category:"secret",confidence:.9},PRIVATE_KEY:{pattern:/-----BEGIN\s+(?:RSA\s+)?PRIVATE\s+KEY-----/g,description:"Private key headers",category:"secret",confidence:.99},PASSWORD_IN_URL:{pattern:/(?:password|passwd|pwd|pass)["']?\s*(?:[:=])\s*["']?([^\s"'&,]{6,})["']?/gi,description:"Passwords in plaintext",category:"secret",confidence:.85}};function At(t,s){const i=[],d=[];s.detectEmails&&d.push("EMAIL","EMAIL_OBFUSCATED"),s.detectPhones&&d.push("PHONE_US","PHONE_INTL"),s.detectSSN&&d.push("SSN","INDIA_AADHAAR"),s.detectCreditCards&&d.push("CREDIT_CARD"),s.detectIPAddresses&&d.push("IP_ADDRESS"),s.detectDates&&d.push("DATE_OF_BIRTH"),s.detectAddresses&&d.push("US_ADDRESS"),s.detectIBAN&&d.push("IBAN"),s.detectSecrets&&d.push("AWS_ACCESS_KEY","GITHUB_TOKEN","SLACK_TOKEN","STRIPE_KEY","GOOGLE_API_KEY","JWT_TOKEN","PRIVATE_KEY","PASSWORD_IN_URL");for(const c of d){const _=ht[c];if(!_)continue;const u=new RegExp(_.pattern.source,_.pattern.flags);let h;for(;(h=u.exec(t))!==null;){const A=h[0],M=35;i.push({type:c,start:h.index,end:h.index+A.length,value:A.length>M?A.slice(0,M)+"...":A,masked_value:"*".repeat(A.length).slice(0,M)+(A.length>M?"...":""),confidence:_.confidence,length:A.length})}}i.sort((c,_)=>_.confidence!==c.confidence?_.confidence-c.confidence:_.length-c.length);const g=[];for(const c of i)g.some(u=>c.start>=u.start&&c.start<u.end||c.end>u.start&&c.end<=u.end||c.start<=u.start&&c.end>=u.end)||g.push(c);return g.sort((c,_)=>c.start-_.start),g}let D=f("text"),B=f(""),W=f(null),q=f(""),ne=f(!1),L=f(""),l=f(null),H=f("overview"),oe=f(!0),ie=f(!0),de=f(!0),le=f(!0),ce=f(!0),pe=f(!0),ve=f(!0),xe=f(!0),ue=f(!0),Ae=f(!1);function St(t,s){if(!s||s.length===0)return t;const i=[...s].sort((g,c)=>c.start-g.start);let d=t;for(const g of i){const c="*".repeat(g.length);d=d.slice(0,g.start)+c+d.slice(g.end)}return d}function It(t){const s=t.target;s.files&&s.files[0]&&(o(W,s.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function Et(t){var s;t.preventDefault(),(s=t.dataTransfer)!=null&&s.files&&t.dataTransfer.files[0]&&(o(W,t.dataTransfer.files[0],!0),o(q,e(W).name,!0),o(l,null),o(L,""))}function wt(t){t.preventDefault()}async function Tt(){if(e(D)==="text"&&!e(B).trim()){o(L,"Please enter some text to scan");return}if(e(D)==="file"&&!e(W)){o(L,"Please select a file first");return}o(ne,!0),o(L,""),o(l,null);try{if(e(Ae)&&e(D)==="text"){console.log("%c[Privacy Scanner] Browser-Only Mode: All detection running locally. ZERO network requests.","color: #22c55e; font-weight: bold;");const t=e(B).replace(/\r\n/g,` +`),s=At(t,{detectEmails:e(oe),detectPhones:e(ie),detectSSN:e(de),detectCreditCards:e(le),detectIPAddresses:e(ce),detectDates:e(pe),detectAddresses:e(ve),detectIBAN:e(xe),detectSecrets:e(ue)}),i={};for(const u of s)i[u.type]=(i[u.type]||0)+1;const d={SSN:100,CREDIT_CARD:95,PRIVATE_KEY:100,INDIA_AADHAAR:90,AWS_ACCESS_KEY:100,GITHUB_TOKEN:95,STRIPE_KEY:95,PASSWORD_IN_URL:90,JWT_TOKEN:85,IBAN:85,EMAIL:40,EMAIL_OBFUSCATED:40,PHONE_US:35,PHONE_INTL:35,IP_ADDRESS:30,DATE_OF_BIRTH:50,US_ADDRESS:55,SLACK_TOKEN:90,GOOGLE_API_KEY:85};let g=0;for(const u of s){const h=d[u.type]||25;g+=h*u.confidence}const c=Math.min(100,Math.floor(g/Math.max(1,s.length)+s.length*5)),_=c>=70?"CRITICAL":c>=50?"HIGH":c>=30?"MEDIUM":"LOW";o(l,{total_entities:s.length,entities_by_type:i,entities:s,risk_score:c,risk_level:_,redacted_preview:St(t,s),coordinates_only:!0,client_side_only:!0},!0)}else{let t;if(e(D)==="text"){const s=e(B).replace(/\r\n/g,` +`),i=new FormData;i.append("text",s),i.append("detect_emails",String(e(oe))),i.append("detect_phones",String(e(ie))),i.append("detect_ssn",String(e(de))),i.append("detect_credit_cards",String(e(le))),i.append("detect_ip_addresses",String(e(ce))),i.append("detect_dates",String(e(pe))),i.append("detect_addresses",String(e(ve))),i.append("detect_iban",String(e(xe))),i.append("detect_secrets",String(e(ue))),i.append("coordinates_only","false"),t=await fetch(`${Ze}/privacy/scan-text`,{method:"POST",body:i})}else{const s=new FormData;s.append("file",e(W)),t=await fetch(`${Ze}/privacy/scan-file`,{method:"POST",body:s})}if(!t.ok){const s=await t.json();throw new Error(s.detail||"Scan failed")}o(l,await t.json(),!0)}}catch(t){o(L,t instanceof Error?t.message:"Failed to scan for PII",!0)}finally{o(ne,!1)}}function Fe(t){switch(t){case"CRITICAL":return"text-red-700 bg-red-50 border-red-200";case"HIGH":return"text-orange-700 bg-orange-50 border-orange-200";case"MEDIUM":return"text-yellow-700 bg-yellow-50 border-yellow-200";default:return"text-green-700 bg-green-50 border-green-200"}}function kt(t){switch(t){case"EMAIL":return"@";case"PHONE_US":case"PHONE_INTL":return"#";case"SSN":return"SSN";case"CREDIT_CARD":return"$";case"IP_ADDRESS":return"IP";case"DATE_OF_BIRTH":return"DOB";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"ADR";case"IBAN":case"BANK_ACCOUNT":return"BNK";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":return"AWS";case"GITHUB_TOKEN":return"GH";case"STRIPE_KEY":return"STR";case"GOOGLE_API_KEY":return"GCP";case"PASSWORD_IN_URL":return"PWD";case"PRIVATE_KEY":return"KEY";case"JWT_TOKEN":return"JWT";case"SLACK_TOKEN":return"SLK";case"GENERIC_API_KEY":return"API";default:return"?"}}function Ve(t){switch(t){case"SSN":case"CREDIT_CARD":case"IBAN":case"BANK_ACCOUNT":return"bg-red-100 text-red-700 border-red-200";case"AWS_ACCESS_KEY":case"AWS_SECRET_KEY":case"PRIVATE_KEY":case"PASSWORD_IN_URL":case"GITHUB_TOKEN":case"STRIPE_KEY":return"bg-purple-100 text-purple-700 border-purple-200";case"GOOGLE_API_KEY":case"SLACK_TOKEN":case"JWT_TOKEN":case"GENERIC_API_KEY":return"bg-orange-100 text-orange-700 border-orange-200";case"EMAIL":case"PHONE_US":case"PHONE_INTL":return"bg-yellow-100 text-yellow-700 border-yellow-200";case"US_ADDRESS":case"UK_ADDRESS":case"EU_ADDRESS":return"bg-amber-100 text-amber-700 border-amber-200";default:return"bg-blue-100 text-blue-700 border-blue-200"}}let _e=f(!1);async function Pt(){if(!e(l)||!e(l).entities||e(l).entities.length===0)return;const t="Type Original Value Masked Value Confidence",s=e(l).entities.map(d=>`${d.type} ${d.value} ${d.masked_value} ${Math.round(d.confidence*100)}%`),i=[t,...s].join(` +`);try{await navigator.clipboard.writeText(i),o(_e,!0),setTimeout(()=>o(_e,!1),2e3)}catch(d){console.error("Failed to copy:",d)}}let ge=f(!1);async function Ct(){if(!(!e(l)||!e(l).redacted_preview))try{await navigator.clipboard.writeText(e(l).redacted_preview),o(ge,!0),setTimeout(()=>o(ge,!1),2e3)}catch(t){console.error("Failed to copy:",t)}}function Dt(){o(B,`Customer Record: +Name: John Smith +Email: john.smith@example.com +US Phone: (555) 123-4567 +SSN: 123-45-6789 +Credit Card: 4532 0151 1283 0366 +IP Address: 192.168.1.100 + +--- CLOUD SECRETS --- +AWS Key: AKIAIOSFODNN7EXAMPLE +GitHub Token: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + +Please contact support@company.org for assistance.`)}function Nt(){o(B,""),o(W,null),o(q,""),o(l,null),o(L,"")}var Se=Dr();or("tts6bo",t=>{var s=cr();er(()=>{tr.title="Privacy Scanner | Build with AI"}),p(t,s)});var Je=a(Se);ir(Je,{});var Ie=n(Je,2),$e=a(Ie),qe=n(a($e),2),Ee=a(qe),we=n(a(Ee),2),Te=a(we);Te.__click=()=>o(D,"text");var Xe=n(Te,2);Xe.__click=()=>o(D,"file"),r(we);var Qe=n(we,2);{var Rt=t=>{var s=vr(),i=a(s),d=n(a(i),2),g=a(d);g.__click=Dt;var c=n(g,2);{var _=h=>{var A=pr(),M=n(F(A),2);M.__click=Nt,p(h,A)};E(c,h=>{(e(B)||e(l))&&h(_)})}r(d),r(i);var u=n(i,2);rr(u),r(s),lr(u,()=>e(B),h=>o(B,h)),p(t,s)},Ot=t=>{var s=ur(),i=F(s),d=a(i);d.__change=It,S(2),r(i);var g=n(i,2);{var c=_=>{var u=xr(),h=n(a(u),2),A=a(h,!0);r(h),r(u),G(()=>I(A,e(q))),p(_,u)};E(g,_=>{e(q)&&_(c)})}gt("drop",i,Et),gt("dragover",i,wt),p(t,s)};E(Qe,t=>{e(D)==="text"?t(Rt):t(Ot,!1)})}var ke=n(Qe,2),Pe=a(ke),et=n(a(Pe),2),tt=a(et);O(tt),S(2),r(et),r(Pe);var Ce=n(Pe,2),De=a(Ce),rt=a(De);O(rt),S(2),r(De);var Ne=n(De,2),at=a(Ne);O(at),S(2),r(Ne);var Re=n(Ne,2),st=a(Re);O(st),S(2),r(Re);var Oe=n(Re,2),nt=a(Oe);O(nt),S(2),r(Oe);var Ke=n(Oe,2),ot=a(Ke);O(ot),S(2),r(Ke);var Be=n(Ke,2),it=a(Be);O(it),S(2),r(Be);var Le=n(Be,2),dt=a(Le);O(dt),S(2),r(Le);var lt=n(Le,2),ct=a(lt);O(ct),S(2),r(lt),r(Ce);var pt=n(Ce,2),He=n(a(pt),2);O(He),S(2),r(pt),r(ke);var X=n(ke,2);X.__click=Tt;var Kt=a(X,!0);r(X);var Bt=n(X,2);{var Lt=t=>{var s=_r(),i=a(s,!0);r(s),G(()=>I(i,e(L))),p(t,s)};E(Bt,t=>{e(L)&&t(Lt)})}r(Ee);var vt=n(Ee,2),Ht=n(a(vt),2);{var Mt=t=>{var s=Pr(),i=F(s),d=a(i),g=n(a(d),2),c=a(g,!0);r(g),r(d);var _=n(d,2),u=n(a(_),2),h=a(u,!0);r(u),r(_);var A=n(_,2),M=n(a(A),2),zt=a(M,!0);r(M),r(A);var Me=n(A,2),xt=n(a(Me),2),Gt=a(xt,!0);r(xt),r(Me),r(i);var Ue=n(i,2),je=a(Ue);je.__click=()=>o(H,"overview");var Q=n(je,2);Q.__click=()=>o(H,"entities");var Wt=a(Q);r(Q);var ut=n(Q,2);ut.__click=()=>o(H,"redacted"),r(Ue);var Yt=n(Ue,2);{var Zt=Y=>{var Z=mr(),be=a(Z);{var ze=v=>{var m=br(),P=n(a(m),2);bt(P,21,()=>Object.entries(e(l).entities_by_type),ft,(w,J)=>{var T=ar(()=>sr(e(J),2));let C=()=>e(T)[0],j=()=>e(T)[1];var N=gr(),b=a(N),x=a(b),z=a(x,!0);r(x);var $=n(x,2),re=a($,!0);r($),r(b);var fe=n(b,2),ae=a(fe,!0);r(fe),r(N),G((We,se)=>{k(N,1,`flex items-center justify-between p-2 rounded-lg border ${We??""}`),I(z,se),I(re,C()),I(ae,j())},[()=>Ve(C()),()=>kt(C())]),p(w,N)}),r(P),r(m),p(v,m)},Ge=v=>{var m=fr();p(v,m)};E(be,v=>{Object.keys(e(l).entities_by_type||{}).length>0?v(ze):v(Ge,!1)})}var R=n(be,2),U=n(a(R),2),ee=a(U);{var te=v=>{var m=ye("Critical risk! Highly sensitive PII (SSN, Credit Cards) detected. Immediate action required.");p(v,m)},V=v=>{var m=me(),P=F(m);{var w=T=>{var C=ye("High risk! Multiple sensitive PII elements found. Consider redaction before sharing.");p(T,C)},J=T=>{var C=me(),j=F(C);{var N=x=>{var z=ye("Medium risk. Some PII detected that may require attention.");p(x,z)},b=x=>{var z=ye("Low risk. Minimal or no PII detected.");p(x,z)};E(j,x=>{e(l).risk_level==="MEDIUM"?x(N):x(b,!1)},!0)}p(T,C)};E(P,T=>{e(l).risk_level==="HIGH"?T(w):T(J,!1)},!0)}p(v,m)};E(ee,v=>{e(l).risk_level==="CRITICAL"?v(te):v(V,!1)})}r(U),r(R),r(Z),G(v=>k(R,1,`rounded-lg p-4 border ${v??""}`),[()=>Fe(e(l).risk_level)]),p(Y,Z)},Ft=Y=>{var Z=me(),be=F(Z);{var ze=R=>{var U=Er(),ee=a(U);{var te=v=>{var m=Sr(),P=F(m),w=a(P);w.__click=Pt;var J=a(w);{var T=b=>{var x=yr();S(),p(b,x)},C=b=>{var x=hr();S(),p(b,x)};E(J,b=>{e(_e)?b(T):b(C,!1)})}r(w),r(P);var j=n(P,2),N=n(a(j));bt(N,21,()=>e(l).entities,ft,(b,x)=>{var z=Ar(),$=a(z),re=a($),fe=a(re,!0);r(re),r($);var ae=n($),We=a(ae,!0);r(ae);var se=n(ae),Vt=a(se,!0);r(se);var _t=n(se),Ye=a(_t),Jt=a(Ye);r(Ye),r(_t),r(z),G(($t,qt)=>{k(re,1,`text-xs px-2 py-1 rounded border ${$t??""}`),I(fe,e(x).type),I(We,e(x).value),I(Vt,e(x).masked_value),k(Ye,1,`text-xs px-2 py-0.5 rounded ${e(x).confidence>=.9?"bg-green-100 text-green-700":e(x).confidence>=.7?"bg-yellow-100 text-yellow-700":"bg-red-100 text-red-700"}`),I(Jt,`${qt??""}%`)},[()=>Ve(e(x).type),()=>Math.round(e(x).confidence*100)]),p(b,z)}),r(N),r(j),G(()=>k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(_e)?"bg-green-100 text-green-700 border border-green-300":"bg-gray-100 text-gray-600 hover:bg-gray-200 border border-gray-200"}`)),p(v,m)},V=v=>{var m=Ir();p(v,m)};E(ee,v=>{e(l).entities&&e(l).entities.length>0?v(te):v(V,!1)})}r(U),p(R,U)},Ge=R=>{var U=me(),ee=F(U);{var te=V=>{var v=kr(),m=a(v),P=a(m),w=n(a(P),2);w.__click=Ct;var J=a(w);{var T=b=>{var x=wr();S(),p(b,x)},C=b=>{var x=Tr();S(),p(b,x)};E(J,b=>{e(ge)?b(T):b(C,!1)})}r(w),r(P);var j=n(P,2),N=a(j,!0);r(j),r(m),S(2),r(v),G(()=>{k(w,1,`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all + ${e(ge)?"bg-green-100 text-green-700 border border-green-300":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`),I(N,e(l).redacted_preview||"No preview available")}),p(V,v)};E(ee,V=>{e(H)==="redacted"&&V(te)},!0)}p(R,U)};E(be,R=>{e(H)==="entities"?R(ze):R(Ge,!1)},!0)}p(Y,Z)};E(Yt,Y=>{e(H)==="overview"?Y(Zt):Y(Ft,!1)})}G((Y,Z)=>{k(g,1,`text-xl font-bold ${e(l).total_entities>0?"text-red-600":"text-green-600"}`),I(c,e(l).total_entities),I(h,Y),I(zt,e(l).risk_score),k(Me,1,`rounded-lg p-2.5 text-center border ${Z??""}`),I(Gt,e(l).risk_level),k(je,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="overview"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),k(Q,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="entities"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`),I(Wt,`Entities (${e(l).total_entities??""})`),k(ut,1,`px-4 py-2 text-sm font-medium transition-colors ${e(H)==="redacted"?"text-primary-600 border-b-2 border-primary-600":"text-gray-500 hover:text-gray-700"}`)},[()=>Object.keys(e(l).entities_by_type||{}).length,()=>Fe(e(l).risk_level)]),p(t,s)},Ut=t=>{var s=Cr();p(t,s)};E(Ht,t=>{e(l)?t(Mt):t(Ut,!1)})}r(vt),r(qe),r($e),r(Ie);var jt=n(Ie,2);dr(jt),r(Se),G(t=>{k(Te,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="text"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),k(Xe,1,`flex-1 py-2 px-3 text-sm font-medium rounded-md transition-all ${e(D)==="file"?"bg-white text-primary-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`),He.disabled=e(D)==="file",X.disabled=t,I(Kt,e(ne)?"Scanning...":"Scan for PII")},[()=>e(ne)||(e(D)==="text"?!e(B).trim():!e(W))]),K(tt,()=>e(ue),t=>o(ue,t)),K(rt,()=>e(oe),t=>o(oe,t)),K(at,()=>e(ie),t=>o(ie,t)),K(st,()=>e(de),t=>o(de,t)),K(nt,()=>e(le),t=>o(le,t)),K(ot,()=>e(ce),t=>o(ce,t)),K(it,()=>e(pe),t=>o(pe,t)),K(dt,()=>e(ve),t=>o(ve,t)),K(ct,()=>e(xe),t=>o(xe,t)),K(He,()=>e(Ae),t=>o(Ae,t)),p(mt,Se),Qt()}nr(["click","change"]);export{Hr as component}; diff --git a/_app/version.json b/_app/version.json new file mode 100644 index 0000000..ad03544 --- /dev/null +++ b/_app/version.json @@ -0,0 +1 @@ +{"version":"1766779997742"} \ No newline at end of file diff --git a/favicon.png b/favicon.png new file mode 100644 index 0000000..7f1c24b Binary files /dev/null and b/favicon.png differ diff --git a/guides/index.html b/guides/index.html new file mode 100644 index 0000000..dab6726 --- /dev/null +++ b/guides/index.html @@ -0,0 +1,54 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <link rel="icon" href="../favicon.png" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="description" content="Build with AI - Data science guides, interactive tools, and insights" /> + + <link href="../_app/immutable/assets/0.DxgpWi6j.css" rel="stylesheet"> + <link rel="modulepreload" href="../_app/immutable/entry/start.BwqP7o9C.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/WSjfo0Ud.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/mO2F3zLa.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/OXvvA7WZ.js"> + <link rel="modulepreload" href="../_app/immutable/entry/app.I5VArHs7.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/eH5yZvH4.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/Bh-96fzJ.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/tuD4s8Oc.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/DBQEMQMg.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/ECMuNRdJ.js"> + <link rel="modulepreload" href="../_app/immutable/nodes/0.BOu9fROT.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/EiYUD4Mm.js"> + <link rel="modulepreload" href="../_app/immutable/nodes/3.CaJF70Fi.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/DhvLCtu-.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/Da-hDQCT.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/CJrErHKE.js"> + <link rel="modulepreload" href="../_app/immutable/chunks/DToPcL1w.js"><!--1u1bdwi--><meta name="description" content="In-depth guides for statistics, data visualization, and machine learning."/><!----><title>Guides | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks

Guides

In-depth guides to help you understand statistics, data visualization, and machine learning concepts.

📊
STATISTICS

Statistical Tests

A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.

Explore
📈
Coming Soon

Data Visualization

Learn the principles of effective data visualization. From choosing the right chart type to creating compelling visual narratives.

🤖
Coming Soon

ML Model Selection

A practical guide to selecting the right machine learning model for your problem. Decision trees, neural networks, and more.

🔧
Coming Soon

Feature Engineering

Transform raw data into meaningful features. Best practices for numerical, categorical, and text data.

ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/guides/statistical-tests/index.html b/guides/statistical-tests/index.html new file mode 100644 index 0000000..3fc989e --- /dev/null +++ b/guides/statistical-tests/index.html @@ -0,0 +1,29931 @@ + + + + + + + + + +Types of Statistical Tests: A Comprehensive Guide – Build ValueCurve + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

On this page

+ +
    +
  • The Foundation: Why Different Tests Exist
  • +
  • Normality Tests: Checking Your Assumptions
  • +
  • Parametric Tests: Power Through Assumptions +
      +
    • T-Tests: Comparing Means
    • +
    • ANOVA: Comparing Multiple Groups
    • +
  • +
  • Non-Parametric Tests: Distribution-Free Alternatives +
      +
    • Choosing Between Parametric and Non-Parametric
    • +
  • +
  • Categorical Tests: Analyzing Frequencies
  • +
  • Correlation Tests: Measuring Relationships
  • +
  • Making the Right Choice: A Decision Framework +
      +
    • Quick Reference Table
    • +
  • +
  • Conclusion
  • +
+
+
+ +
+ +
+
+

Types of Statistical Tests: A Comprehensive Guide

+
+ + + +
+ + + + +
+ + + +
+ + +

Imagine a carpenter with only a hammer. Every problem becomes a nail, every solution involves pounding. The results would be disastrous—stripped screws, shattered glass, splintered wood. Statistics works the same way. Armed with only one test, researchers force every question into the same mold, producing unreliable answers and misleading conclusions. Mastering the diverse toolkit of statistical tests transforms you from a one-trick amateur into a skilled craftsman of data analysis.

+
+

The Foundation: Why Different Tests Exist

+

Statistical tests are not interchangeable. Each is designed for specific data types, research questions, and assumptions. Using the wrong test is like measuring temperature with a ruler—the tool simply doesn’t match the task.

+

Three fundamental questions guide test selection: What type of data do you have? What relationship are you investigating? What assumptions can your data satisfy? The answers to these questions narrow the field from dozens of potential tests to the one or two that fit your situation precisely.

+

Data types form the first filter. Continuous data (height, weight, temperature) can take any value within a range. Categorical data falls into distinct groups (gender, treatment type, survey responses). Ordinal data has categories with a meaningful order but no consistent intervals (satisfaction ratings, education levels). Each data type requires tests designed to handle its unique properties.

+
+
+

Normality Tests: Checking Your Assumptions

+

Before selecting a statistical test, you must understand your data’s distribution. Many powerful tests assume data follows a normal (bell-shaped) distribution. Violating this assumption can invalidate results entirely.

+

The Shapiro-Wilk test stands as the gold standard for normality testing with small to medium samples (n < 5000). It compares your data’s distribution against a theoretical normal distribution, producing a W statistic between 0 and 1. Values close to 1 suggest normality; significantly lower values indicate departure from normality. Its power to detect non-normality exceeds most alternatives, making it the default choice for most applications.

+

The D’Agostino-Pearson test takes a different approach, examining two specific properties: skewness (asymmetry) and kurtosis (tail heaviness). By combining these measures, it identifies not just whether data is non-normal, but why. Is the distribution lopsided? Are the tails too heavy or too light? This diagnostic information guides decisions about data transformation or alternative test selection.

+

The Kolmogorov-Smirnov test offers flexibility that others lack. While typically used for normality testing, it can compare data against any theoretical distribution—exponential, uniform, Poisson, or custom distributions. This generality comes at a cost: it’s less powerful than Shapiro-Wilk for detecting non-normality specifically.

+

The Anderson-Darling test improves upon Kolmogorov-Smirnov by weighting tail observations more heavily. Since many important phenomena manifest in distribution tails (extreme events, outliers), this sensitivity often proves valuable. It’s particularly useful when tail behavior matters for your analysis.

+

Visual methods complement these formal tests. Histograms reveal distribution shape at a glance. Q-Q plots compare data quantiles against theoretical quantiles—points falling along a diagonal line indicate normality. Box plots display median, quartiles, and outliers compactly. No single method suffices; combining visual inspection with formal testing provides the most complete picture.

+
+
+

Parametric Tests: Power Through Assumptions

+

Parametric tests assume data follows a specific distribution (usually normal) and estimate population parameters like means and variances. When assumptions hold, these tests offer maximum statistical power—the ability to detect real effects.

+
+

T-Tests: Comparing Means

+

The one-sample t-test addresses a simple question: does my sample mean differ from a known or hypothesized value? A manufacturer might test whether average product weight equals the target specification. A teacher might assess whether class performance differs from the national average. The test calculates how many standard errors separate the sample mean from the hypothesized value, translating this distance into a probability.

+

The two-sample independent t-test compares means between two unrelated groups. Do men and women differ in height? Do treatment and control groups show different outcomes? The test assumes both groups are normally distributed with equal variances. When the equal variance assumption fails, Welch’s t-test provides a robust alternative, adjusting degrees of freedom to account for variance differences. Many statisticians now recommend Welch’s test as the default, since it performs well even when variances are equal.

+

The paired t-test handles related measurements—the same subjects measured twice, or naturally matched pairs. Before-and-after studies, twin comparisons, and left-right eye measurements all call for paired analysis. By focusing on within-pair differences rather than raw values, this test eliminates between-subject variability, dramatically increasing statistical power. An effect invisible to independent comparison often emerges clearly with paired analysis.

+
+
+

ANOVA: Comparing Multiple Groups

+

When comparing three or more groups, multiple t-tests create problems. Each test carries a 5% false positive risk; conducting many tests accumulates this risk until false positives become likely. Analysis of Variance (ANOVA) solves this by testing all groups simultaneously.

+

One-way ANOVA compares means across multiple groups for a single factor. Do students from different schools perform differently? Does crop yield vary across fertilizer types? ANOVA partitions total variability into between-group and within-group components, asking whether between-group differences exceed what within-group variability would predict by chance.

+

A significant ANOVA result indicates that at least one group differs—but not which one. Post-hoc tests like Tukey’s HSD, Bonferroni correction, or Scheffé’s method identify specific group differences while controlling overall error rate.

+

Levene’s test checks the equal variance assumption critical to ANOVA. When variances differ substantially, Welch’s ANOVA provides a robust alternative that doesn’t require this assumption.

+
+
+
+

Non-Parametric Tests: Distribution-Free Alternatives

+

When data violates normality assumptions or consists of ranks and ratings, non-parametric tests provide reliable alternatives. These tests make fewer assumptions, trading some statistical power for broader applicability.

+

The Mann-Whitney U test (also called Wilcoxon rank-sum) serves as the non-parametric counterpart to the independent t-test. Rather than comparing means, it compares rank distributions between two groups. After combining and ranking all observations, it tests whether one group’s ranks are systematically higher than the other’s. This approach handles skewed distributions, ordinal data, and outliers gracefully.

+

The Wilcoxon signed-rank test parallels the paired t-test for non-normal data. It ranks the absolute differences between paired observations, then compares positive and negative rank sums. If treatment has no effect, positive and negative differences should balance; systematic imbalance suggests a real effect.

+

The Kruskal-Wallis test extends Mann-Whitney to three or more groups, serving as the non-parametric alternative to one-way ANOVA. It ranks all observations regardless of group membership, then tests whether mean ranks differ across groups. Like ANOVA, a significant result requires follow-up tests (typically Dunn’s test) to identify which specific groups differ.

+
+

Choosing Between Parametric and Non-Parametric

+

The decision isn’t always straightforward. Parametric tests offer more power when assumptions hold, but non-parametric tests provide protection when they don’t. Consider these guidelines:

+

Use parametric tests when data is continuous, approximately normal (or n > 30 per group), and variances are roughly equal. Use non-parametric tests when data is ordinal, clearly non-normal, contains significant outliers, or sample sizes are small and distribution unknown.

+

When uncertain, running both types of tests provides insight. If they agree, report the parametric result for its greater power. If they disagree, the non-parametric result is typically more trustworthy.

+
+
+
+

Categorical Tests: Analyzing Frequencies

+

When both variables are categorical, entirely different tests apply. These analyze counts and proportions rather than means.

+

The Chi-square test of independence assesses whether two categorical variables are related. Is survival associated with passenger class? Does political affiliation relate to geographic region? The test compares observed cell frequencies in a contingency table against frequencies expected under independence. Large discrepancies suggest association.

+

Chi-square requires adequate sample sizes—expected frequencies should exceed 5 in each cell. When this condition fails, Fisher’s exact test provides an exact probability rather than an approximation. Originally designed for 2×2 tables, extensions now handle larger tables, though computational demands increase rapidly.

+
+
+

Correlation Tests: Measuring Relationships

+

Correlation quantifies the strength and direction of association between two continuous variables.

+

Pearson correlation measures linear relationships, producing the familiar r coefficient ranging from -1 to +1. Perfect positive correlation (r = 1) means variables move together proportionally; perfect negative correlation (r = -1) means they move oppositely; zero correlation indicates no linear relationship. Pearson assumes both variables are normally distributed and related linearly.

+

Spearman correlation measures monotonic relationships using ranks rather than raw values. It captures associations where variables consistently move together (or oppositely) without requiring a linear pattern. Robust to outliers and applicable to ordinal data, Spearman serves as the non-parametric alternative to Pearson.

+

Kendall’s tau also measures monotonic association but uses a different approach: counting concordant versus discordant pairs of observations. More robust than Spearman with small samples or many tied values, Kendall’s coefficient tends toward smaller absolute values than Spearman’s, complicating direct comparison.

+
+
+

Making the Right Choice: A Decision Framework

+

The following interactive fishbone diagram organizes statistical tests by category. Click on any test to see its description and when to use it.

+
+
testDescriptions = ({
+  t1: { name: 'One-Sample T-Test', description: 'Compares a sample mean to a known or hypothesized population value.', use: 'When you have one group and want to test if its mean differs from a specific value.', example: 'Testing if average product weight equals the target specification.', parametric: true },
+  t2: { name: 'Wilcoxon Signed-Rank', description: 'Non-parametric test comparing a sample to a hypothesized value using ranks.', use: 'When data is not normally distributed but you want to compare to a standard value.', example: 'Testing if median customer satisfaction differs from neutral.', parametric: false },
+  t3: { name: 'Mann-Whitney U', description: 'Compares distributions of two independent groups using ranks.', use: 'When comparing two groups with non-normal data or ordinal measurements.', example: 'Comparing pain ratings between treatment and placebo groups.', parametric: false },
+  t4: { name: 'Independent T-Test', description: 'Compares means of two independent groups assuming equal variances.', use: 'When comparing two unrelated groups with normal data and similar spreads.', example: 'Comparing test scores between two different teaching methods.', parametric: true },
+  t5: { name: "Welch's T-Test", description: 'Compares means of two independent groups without assuming equal variances.', use: 'When comparing two groups that may have different variability.', example: 'Comparing reaction times between young and elderly participants.', parametric: true },
+  t6: { name: 'Paired T-Test', description: 'Compares means of two related measurements on the same subjects.', use: 'When you have before-after measurements or matched pairs.', example: 'Testing if a training program improved employee performance.', parametric: true },
+  t7: { name: 'Wilcoxon Paired', description: 'Non-parametric test for paired data using ranks of differences.', use: 'When paired data is not normally distributed.', example: 'Comparing patient pain levels before and after treatment with skewed data.', parametric: false },
+  t8: { name: 'Kruskal-Wallis', description: 'Non-parametric comparison of three or more independent groups.', use: 'When comparing multiple groups with non-normal or ordinal data.', example: 'Comparing satisfaction ratings across four different product versions.', parametric: false },
+  t9: { name: 'One-Way ANOVA', description: 'Compares means across three or more groups simultaneously.', use: 'When comparing multiple groups with normal data and equal variances.', example: 'Testing if crop yields differ across three fertilizer types.', parametric: true },
+  t10: { name: "Welch's ANOVA", description: 'Robust ANOVA that does not assume equal variances across groups.', use: 'When comparing multiple groups that may have different variability.', example: 'Comparing salaries across departments with different spreads.', parametric: true },
+  t11: { name: 'Pearson Correlation', description: 'Measures the linear relationship between two continuous variables.', use: 'When assessing how strongly two variables move together linearly.', example: 'Examining the relationship between study hours and exam scores.', parametric: true },
+  t12: { name: 'Spearman Correlation', description: 'Measures monotonic relationships using ranks, robust to outliers.', use: 'When data is ordinal or the relationship is not linear.', example: 'Correlating education level with income category.', parametric: false },
+  t13: { name: 'Chi-Square Test', description: 'Tests association between two categorical variables.', use: 'When examining if two categorical variables are related.', example: 'Testing if smoking status is associated with disease incidence.', parametric: false },
+  t14: { name: "Fisher's Exact", description: 'Exact test for association in small sample contingency tables.', use: 'When expected cell counts are too small for chi-square.', example: 'Testing treatment effectiveness with only 20 patients total.', parametric: false }
+})
+
+mutable selectedTest = null
+
+width = 1100
+height = 580
+
+// Category structure for fishbone
+categories = [
+  {
+    name: "1 Sample vs Value",
+    color: "#e91e63",
+    tests: [
+      { id: 't1', label: 'One-Sample T-Test', condition: 'Normal data' },
+      { id: 't2', label: 'Wilcoxon Signed-Rank', condition: 'Non-normal' }
+    ]
+  },
+  {
+    name: "2 Groups Independent",
+    color: "#9c27b0",
+    tests: [
+      { id: 't4', label: 'Independent T-Test', condition: 'Normal, equal var' },
+      { id: 't5', label: "Welch's T-Test", condition: 'Normal, unequal var' },
+      { id: 't3', label: 'Mann-Whitney U', condition: 'Non-normal' }
+    ]
+  },
+  {
+    name: "2 Groups Paired",
+    color: "#673ab7",
+    tests: [
+      { id: 't6', label: 'Paired T-Test', condition: 'Normal data' },
+      { id: 't7', label: 'Wilcoxon Paired', condition: 'Non-normal' }
+    ]
+  },
+  {
+    name: "3+ Groups",
+    color: "#3f51b5",
+    tests: [
+      { id: 't9', label: 'One-Way ANOVA', condition: 'Normal, equal var' },
+      { id: 't10', label: "Welch's ANOVA", condition: 'Normal, unequal var' },
+      { id: 't8', label: 'Kruskal-Wallis', condition: 'Non-normal' }
+    ]
+  },
+  {
+    name: "Correlation",
+    color: "#00796b",
+    tests: [
+      { id: 't11', label: 'Pearson', condition: 'Linear, normal' },
+      { id: 't12', label: 'Spearman', condition: 'Monotonic/ordinal' }
+    ]
+  },
+  {
+    name: "Categorical",
+    color: "#ff5722",
+    tests: [
+      { id: 't13', label: 'Chi-Square', condition: 'Large sample (n>5)' },
+      { id: 't14', label: "Fisher's Exact", condition: 'Small sample' }
+    ]
+  }
+]
+
+{
+  // Create wrapper div for controls + SVG
+  const wrapper = d3.create("div")
+    .style("position", "relative");
+
+  // Zoom controls
+  const controls = wrapper.append("div")
+    .style("display", "flex")
+    .style("gap", "8px")
+    .style("margin-bottom", "10px")
+    .style("justify-content", "center");
+
+  const buttonStyle = `
+    padding: 8px 16px;
+    border: none;
+    border-radius: 6px;
+    background: #1565c0;
+    color: white;
+    font-size: 14px;
+    font-weight: 600;
+    cursor: pointer;
+    transition: background 0.2s;
+  `;
+
+  const zoomInBtn = controls.append("button")
+    .attr("style", buttonStyle)
+    .text("+ Zoom In")
+    .on("mouseover", function() { d3.select(this).style("background", "#1976d2"); })
+    .on("mouseout", function() { d3.select(this).style("background", "#1565c0"); });
+
+  const zoomOutBtn = controls.append("button")
+    .attr("style", buttonStyle)
+    .text("− Zoom Out")
+    .on("mouseover", function() { d3.select(this).style("background", "#1976d2"); })
+    .on("mouseout", function() { d3.select(this).style("background", "#1565c0"); });
+
+  const resetBtn = controls.append("button")
+    .attr("style", buttonStyle.replace("#1565c0", "#546e7a").replace("#1976d2", "#607d8b"))
+    .text("Reset View")
+    .on("mouseover", function() { d3.select(this).style("background", "#607d8b"); })
+    .on("mouseout", function() { d3.select(this).style("background", "#546e7a"); });
+
+  const svg = wrapper.append("svg")
+    .attr("viewBox", [0, 0, width, height])
+    .attr("width", "100%")
+    .attr("height", 520)
+    .style("font-family", "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif")
+    .style("background", "linear-gradient(180deg, #fafbfc 0%, #f0f2f5 100%)")
+    .style("border-radius", "12px")
+    .style("box-shadow", "0 4px 12px rgba(0,0,0,0.08)")
+    .style("cursor", "grab");
+
+  const defs = svg.append("defs");
+
+  // Drop shadow
+  const filter = defs.append("filter")
+    .attr("id", "shadow")
+    .attr("x", "-20%").attr("y", "-20%")
+    .attr("width", "140%").attr("height", "140%");
+  filter.append("feDropShadow")
+    .attr("dx", "1").attr("dy", "2")
+    .attr("stdDeviation", "3")
+    .attr("flood-opacity", "0.12");
+
+  // Create container group for zoom/pan
+  const container = svg.append("g");
+
+  // Zoom behavior
+  const zoom = d3.zoom()
+    .scaleExtent([0.5, 3])
+    .on("zoom", (event) => {
+      container.attr("transform", event.transform);
+    });
+
+  svg.call(zoom);
+
+  // Button handlers
+  zoomInBtn.on("click", () => {
+    svg.transition().duration(300).call(zoom.scaleBy, 1.3);
+  });
+  zoomOutBtn.on("click", () => {
+    svg.transition().duration(300).call(zoom.scaleBy, 0.7);
+  });
+  resetBtn.on("click", () => {
+    svg.transition().duration(300).call(zoom.transform, d3.zoomIdentity);
+  });
+
+  // Main spine
+  const spineY = height / 2;
+  const spineStartX = 80;
+  const spineEndX = width - 80;
+
+  // Draw main spine (thick line)
+  container.append("line")
+    .attr("x1", spineStartX)
+    .attr("y1", spineY)
+    .attr("x2", spineEndX)
+    .attr("y2", spineY)
+    .attr("stroke", "#37474f")
+    .attr("stroke-width", 4)
+    .attr("stroke-linecap", "round");
+
+  // Head (effect) - "Which Statistical Test?"
+  const headGroup = container.append("g")
+    .attr("transform", `translate(${spineEndX + 10}, ${spineY})`);
+
+  headGroup.append("polygon")
+    .attr("points", "0,-35 100,-35 120,0 100,35 0,35")
+    .attr("fill", "#1565c0")
+    .attr("filter", "url(#shadow)");
+
+  headGroup.append("text")
+    .attr("x", 55)
+    .attr("y", -5)
+    .attr("text-anchor", "middle")
+    .attr("fill", "white")
+    .attr("font-size", "12px")
+    .attr("font-weight", "600")
+    .text("Which");
+  headGroup.append("text")
+    .attr("x", 55)
+    .attr("y", 12)
+    .attr("text-anchor", "middle")
+    .attr("fill", "white")
+    .attr("font-size", "12px")
+    .attr("font-weight", "600")
+    .text("Statistical Test?");
+
+  // Calculate positions for branches
+  const branchSpacing = (spineEndX - spineStartX - 40) / (categories.length);
+  const topCategories = categories.filter((_, i) => i % 2 === 0);
+  const bottomCategories = categories.filter((_, i) => i % 2 === 1);
+
+  // Draw branches
+  categories.forEach((cat, i) => {
+    const isTop = i % 2 === 0;
+    const branchX = spineStartX + 60 + (i * branchSpacing);
+    const branchEndY = isTop ? spineY - 180 : spineY + 180;
+    const direction = isTop ? -1 : 1;
+
+    // Main branch line
+    container.append("line")
+      .attr("x1", branchX)
+      .attr("y1", spineY)
+      .attr("x2", branchX)
+      .attr("y2", branchEndY)
+      .attr("stroke", cat.color)
+      .attr("stroke-width", 3)
+      .attr("stroke-linecap", "round");
+
+    // Category label box
+    const labelGroup = container.append("g")
+      .attr("transform", `translate(${branchX}, ${branchEndY + direction * 25})`);
+
+    labelGroup.append("rect")
+      .attr("x", -65)
+      .attr("y", -14)
+      .attr("width", 130)
+      .attr("height", 28)
+      .attr("rx", 14)
+      .attr("fill", cat.color)
+      .attr("filter", "url(#shadow)");
+
+    labelGroup.append("text")
+      .attr("text-anchor", "middle")
+      .attr("dominant-baseline", "middle")
+      .attr("fill", "white")
+      .attr("font-size", "11px")
+      .attr("font-weight", "600")
+      .text(cat.name);
+
+    // Draw test nodes along the branch
+    const testSpacing = 140 / (cat.tests.length + 1);
+
+    cat.tests.forEach((test, j) => {
+      const testY = spineY + direction * (40 + (j + 1) * testSpacing);
+      const testX = branchX + (isTop ? 70 : -70);
+
+      // Small branch to test
+      container.append("line")
+        .attr("x1", branchX)
+        .attr("y1", testY)
+        .attr("x2", testX - (isTop ? 5 : -5))
+        .attr("y2", testY)
+        .attr("stroke", cat.color)
+        .attr("stroke-width", 2)
+        .attr("opacity", 0.7);
+
+      // Test node group
+      const testGroup = container.append("g")
+        .attr("transform", `translate(${testX}, ${testY})`)
+        .style("cursor", "pointer")
+        .on("click", () => {
+          mutable selectedTest = testDescriptions[test.id];
+        })
+        .on("mouseover", function() {
+          d3.select(this).select("rect")
+            .transition().duration(150)
+            .attr("transform", "scale(1.05)")
+            .attr("stroke-width", 3);
+        })
+        .on("mouseout", function() {
+          d3.select(this).select("rect")
+            .transition().duration(150)
+            .attr("transform", "scale(1)")
+            .attr("stroke-width", 2);
+        });
+
+      // Test box
+      const boxWidth = 115;
+      testGroup.append("rect")
+        .attr("x", isTop ? 0 : -boxWidth)
+        .attr("y", -20)
+        .attr("width", boxWidth)
+        .attr("height", 40)
+        .attr("rx", 6)
+        .attr("fill", "white")
+        .attr("stroke", cat.color)
+        .attr("stroke-width", 2)
+        .attr("filter", "url(#shadow)");
+
+      // Test name
+      testGroup.append("text")
+        .attr("x", isTop ? boxWidth/2 : -boxWidth/2)
+        .attr("y", -4)
+        .attr("text-anchor", "middle")
+        .attr("fill", "#37474f")
+        .attr("font-size", "10px")
+        .attr("font-weight", "600")
+        .text(test.label);
+
+      // Condition (when to use)
+      testGroup.append("text")
+        .attr("x", isTop ? boxWidth/2 : -boxWidth/2)
+        .attr("y", 10)
+        .attr("text-anchor", "middle")
+        .attr("fill", "#455a64")
+        .attr("font-size", "9px")
+        .attr("font-weight", "500")
+        .text(test.condition);
+    });
+  });
+
+  // Title at the start
+  container.append("text")
+    .attr("x", 40)
+    .attr("y", spineY - 8)
+    .attr("text-anchor", "start")
+    .attr("fill", "#37474f")
+    .attr("font-size", "13px")
+    .attr("font-weight", "600")
+    .text("Research");
+  container.append("text")
+    .attr("x", 40)
+    .attr("y", spineY + 10)
+    .attr("text-anchor", "start")
+    .attr("fill", "#37474f")
+    .attr("font-size", "13px")
+    .attr("font-weight", "600")
+    .text("Goal");
+
+  // Legend
+  const legendY = height - 35;
+  container.append("text")
+    .attr("x", width / 2)
+    .attr("y", legendY)
+    .attr("text-anchor", "middle")
+    .attr("fill", "#546e7a")
+    .attr("font-size", "12px")
+    .attr("font-weight", "500")
+    .text("Click any test • Scroll to zoom • Drag to pan");
+
+  return wrapper.node();
+}
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
{
+  if (selectedTest) {
+    return html`
+      <div style="background: linear-gradient(135deg, #ffffff, #f8f9fa); border: 1px solid #e3f2fd; border-radius: 10px; padding: 14px 16px; margin-top: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);">
+        <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 10px;">
+          <h4 style="margin: 0; color: #1565c0; font-size: 16px; font-weight: 600;">${selectedTest.name}</h4>
+          <span style="display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 600; background: ${selectedTest.parametric ? '#e8f5e9' : '#fce4ec'}; color: ${selectedTest.parametric ? '#2e7d32' : '#c2185b'};">
+            ${selectedTest.parametric ? 'Parametric' : 'Non-Parametric'}
+          </span>
+        </div>
+        <div style="display: grid; gap: 8px;">
+          <div style="background: white; padding: 8px 12px; border-radius: 6px; border-left: 3px solid #1976d2;">
+            <strong style="color: #455a64; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;">Description</strong>
+            <p style="margin: 2px 0 0 0; color: #37474f; font-size: 13px; line-height: 1.4;">${selectedTest.description}</p>
+          </div>
+          <div style="background: white; padding: 8px 12px; border-radius: 6px; border-left: 3px solid #43a047;">
+            <strong style="color: #455a64; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;">When to Use</strong>
+            <p style="margin: 2px 0 0 0; color: #37474f; font-size: 13px; line-height: 1.4;">${selectedTest.use}</p>
+          </div>
+          <div style="background: white; padding: 8px 12px; border-radius: 6px; border-left: 3px solid #fb8c00;">
+            <strong style="color: #455a64; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;">Example</strong>
+            <p style="margin: 2px 0 0 0; color: #37474f; font-size: 13px; line-height: 1.4;">${selectedTest.example}</p>
+          </div>
+        </div>
+      </div>
+    `;
+  } else {
+    return html`
+      <div style="background: linear-gradient(135deg, #e3f2fd, #f5f5f5); border: 1px dashed #90caf9; border-radius: 10px; padding: 20px; margin-top: 14px; text-align: center;">
+        <p style="margin: 0; color: #546e7a; font-size: 13px;">Click on any <span style="color: #1565c0; font-weight: 600;">test box</span> in the diagram above to see detailed information</p>
+      </div>
+    `;
+  }
+}
+
+
+ +
+
+
+
+

Quick Reference Table

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ScenarioParametric TestNon-Parametric Alternative
1 sample vs known valueOne-Sample T-TestWilcoxon Signed-Rank
2 independent groupsIndependent T-Test / Welch’sMann-Whitney U
2 paired/matched groupsPaired T-TestWilcoxon Signed-Rank
3+ independent groupsOne-Way ANOVAKruskal-Wallis
Correlation (continuous)PearsonSpearman / Kendall
Association (categorical)Chi-SquareFisher’s Exact
+

Selecting the appropriate test follows a logical sequence:

+

First, identify your research question. Are you comparing groups, measuring association, or testing against a known value? Are you examining one variable, two variables, or more?

+

Second, characterize your data. Is the outcome continuous, ordinal, or categorical? How many groups or variables are involved? Is the design independent or paired/related?

+

Third, check assumptions. Is the data approximately normal? Are variances equal across groups? Are expected frequencies sufficient for chi-square?

+

Fourth, select the test that matches your question, data type, and satisfied assumptions. When assumptions are violated, choose robust alternatives.

+

Finally, remember that statistical tests answer narrow questions. They indicate whether effects exist, not whether they matter. Always supplement significance tests with effect sizes, confidence intervals, and practical interpretation.

+
+
+
+

Conclusion

+

The diversity of statistical tests reflects the diversity of research questions and data types we encounter. No single test serves all purposes; no universal approach handles all situations. The skilled analyst matches tools to tasks, selecting tests whose assumptions align with data characteristics and whose outputs address research questions.

+

This matching process requires both technical knowledge and practical judgment. Knowing what each test does, what it assumes, and when it fails empowers researchers to extract valid insights from data while avoiding the pitfalls of misapplied methods.

+

Statistical tests are not arbitrary rituals but carefully designed tools, each optimized for specific purposes. Understanding their logic—not just their mechanics—transforms test selection from cookbook following to principled reasoning. And principled reasoning, ultimately, is what separates meaningful analysis from statistical theater.

+ + +
+ +
+ + + +
+ + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..5f052fd --- /dev/null +++ b/index.html @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + Build with AI | ValueCurve + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks

Build with AI

Data science guides, interactive tools, and insights to accelerate your journey.

Explore Guides Try Tools

Featured Resources

Practical guides and interactive tools to help you make data-driven decisions.

📊

Statistical Tests

A comprehensive guide to choosing the right statistical test. Interactive fishbone diagram to navigate parametric vs non-parametric options.

Learn more
🔒

Privacy Scanner

Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.

Learn more
🌍

Exploratory Data Analysis

Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.

Learn more

Latest from Newsletter

View all →

More Coming Soon

We're building more guides and interactive tools for machine learning, data visualization, and AI development.

ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..704d894 Binary files /dev/null and b/logo.png differ diff --git a/notebooks/index.html b/notebooks/index.html new file mode 100644 index 0000000..0491eeb --- /dev/null +++ b/notebooks/index.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Notebooks | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks

Notebooks

Interactive Jupyter notebooks for hands-on learning. Open directly in Google Colab - no setup required.

🌍
EDA

Exploratory Data Analysis

Exploratory data analysis using the Gapminder dataset. Learn data wrangling, visualization, and insights extraction.

Open in Colab
📊
STATISTICS

Statistical Tests Practice

Hands-on practice with t-tests, ANOVA, chi-square, and correlation analysis using real datasets.

Open in Colab
📈
ML

Linear Regression Deep Dive

From simple to multiple regression. Understand assumptions, diagnostics, and interpretation.

Coming Soon
🎯
ML

Classification Models

Logistic regression, decision trees, and random forests. Compare model performance and interpret results.

Coming Soon
ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/tools/eda-gapminder/index.html b/tools/eda-gapminder/index.html new file mode 100644 index 0000000..cbc079e --- /dev/null +++ b/tools/eda-gapminder/index.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + EDA Gapminder | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
← Tools

EDA Gapminder

|

Explore global development data (1952-2007)

Filters

1952 2007
All countries displayed
ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/tools/flowchart/assets/index-C0Tb9hP5.js b/tools/flowchart/assets/index-C0Tb9hP5.js new file mode 100644 index 0000000..5eeceeb --- /dev/null +++ b/tools/flowchart/assets/index-C0Tb9hP5.js @@ -0,0 +1,3 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();const vo=!1;var Lr=Array.isArray,xl=Array.prototype.indexOf,Vr=Array.from,El=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,ms=Object.getOwnPropertyDescriptors,ys=Object.prototype,Sl=Array.prototype,Br=Object.getPrototypeOf,yi=Object.isExtensible;function Pn(e){return typeof e=="function"}const Sn=()=>{};function kl(e){return e()}function po(e){for(var t=0;t{e=r,t=o});return{promise:n,resolve:e,reject:t}}function Ce(e,t,n=!1){return e===void 0?n?t():t:e}function Xn(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const xe=2,Ho=4,Fr=8,ws=1<<24,St=16,kt=32,qt=64,Kr=128,je=512,Ee=1024,ze=2048,st=4096,He=8192,wt=16384,Lo=32768,Rt=65536,_i=1<<17,bs=1<<18,tn=1<<19,xs=1<<20,mt=1<<25,Gt=32768,mo=1<<21,Vo=1<<22,It=1<<23,ot=Symbol("$state"),Es=Symbol("legacy props"),Cl=Symbol(""),ln=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function Bo(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Nl(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Pl(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ml(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Al(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Tl(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dl(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Il(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function zl(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ol(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Rl(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const ql=1,Hl=2,Ss=4,Ll=8,Vl=16,Bl=1,Fl=2,Kl=4,Yl=8,Wl=16,ks=1,Zl=2,be=Symbol(),Xl="http://www.w3.org/1999/xhtml",Gl="@attach";function Ul(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ql(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Cs(e){return e===this.v}function Ns(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ps(e){return!Ns(e,this.v)}let kn=!1,jl=!1;function Jl(){kn=!0}const $l=[];function Ms(e,t=!1,n=!1){return pr(e,new Map,"",$l,null,n)}function pr(e,t,n,r,o=null,i=!1){if(typeof e=="object"&&e!==null){var s=t.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Lr(e)){var a=Array(e.length);t.set(e,a),o!==null&&t.set(o,a);for(var l=0;l{t===cn&&nc()})}cn.push(e)}function Ts(e){var t=ie;if(t===null)return ne.f|=It,e;if((t.f&Lo)===0){if((t.f&Kr)===0)throw e;t.b.error(e)}else vn(e,t)}function vn(e,t){for(;t!==null;){if((t.f&Kr)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const ar=new Set;let ve=null,Fe=null,et=[],Yo=null,yo=!1;class Ue{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#l=null;#i=new Set;#o=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){et=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[]};for(const r of t)this.#s(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#a(n.effects),this.#a(n.render_effects)):(ve=null,wi(n.render_effects),wi(n.effects),this.#l?.resolve()),Fe=null}#s(t,n){t.f^=Ee;for(var r=t.first;r!==null;){var o=r.f,i=(o&(kt|qt))!==0,s=i&&(o&Ee)!==0,a=s||(o&He)!==0||this.skipped_effects.has(r);if((r.f&Kr)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[]}),!a&&r.fn!==null){i?r.f^=Ee:(o&Ho)!==0?n.effects.push(r):$n(r)&&((r.f&St)!==0&&this.#i.add(r),Ln(r));var l=r.first;if(l!==null){r=l;continue}}var c=r.parent;for(r=r.next;r===null&&c!==null;)c===n.effect&&(this.#a(n.effects),this.#a(n.render_effects),n=n.parent),r=c.next,c=c.parent}}#a(t){for(const n of t)(n.f&ze)!==0?this.#i.add(n):(n.f&st)!==0&&this.#o.add(n),this.#c(n.deps),ke(n,Ee)}#c(t){if(t!==null)for(const n of t)(n.f&xe)===0||(n.f&Gt)===0||(n.f^=Gt,this.#c(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&It)===0&&(this.current.set(t,t.v),Fe?.set(t,t.v))}activate(){ve=this,this.apply()}deactivate(){ve===this&&(ve=null,Fe=null)}flush(){if(this.activate(),et.length>0){if(rc(),ve!==null&&ve!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#u(){if(this.#r===0){for(const t of this.#e)t();this.#e.clear()}this.#n===0&&this.#d()}#d(){if(ar.size>1){this.previous.clear();var t=Fe,n=!0,r={parent:null,effect:null,effects:[],render_effects:[]};for(const i of ar){if(i===this){n=!1;continue}const s=[];for(const[l,c]of this.current){if(i.current.has(l))if(n&&c!==i.current.get(l))i.current.set(l,c);else continue;s.push(l)}if(s.length===0)continue;const a=[...i.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var o=et;et=[];const l=new Set,c=new Map;for(const d of s)Ds(d,a,l,c);if(et.length>0){ve=i,i.apply();for(const d of et)i.#s(d,r);i.deactivate()}et=o}}ve=null,Fe=t}this.committed=!0,ar.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)this.#o.delete(t),ke(t,ze),Ut(t);for(const t of this.#o)ke(t,st),Ut(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#l??=_s()).promise}static ensure(){if(ve===null){const t=ve=new Ue;ar.add(ve),Ue.enqueue(()=>{ve===t&&t.flush()})}return ve}static enqueue(t){nn(t)}apply(){}}function rc(){var e=Wt;yo=!0;var t=null;try{var n=0;for(Er(!0);et.length>0;){var r=Ue.ensure();if(n++>1e3){var o,i;oc()}r.process(et),zt.clear()}}finally{yo=!1,Er(e),Yo=null}}function oc(){try{Tl()}catch(e){vn(e,Yo)}}let gt=null;function wi(e){var t=e.length;if(t!==0){for(var n=0;n0)){zt.clear();for(const o of gt){if((o.f&(wt|He))!==0)continue;const i=[o];let s=o.parent;for(;s!==null;)gt.has(s)&&(gt.delete(s),i.push(s)),s=s.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&(wt|He))===0&&Ln(l)}}gt.clear()}}gt=null}}function Ds(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const o of e.reactions){const i=o.f;(i&xe)!==0?Ds(o,t,n,r):(i&(Vo|St))!==0&&(i&ze)===0&&Is(o,t,r)&&(ke(o,ze),Ut(o))}}function Is(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const o of e.deps){if(t.includes(o))return!0;if((o.f&xe)!==0&&Is(o,t,n))return n.set(o,!0),!0}return n.set(e,!1),!1}function Ut(e){for(var t=Yo=e;t.parent!==null;){t=t.parent;var n=t.f;if(yo&&t===ie&&(n&St)!==0&&(n&bs)===0)return;if((n&(qt|kt))!==0){if((n&Ee)===0)return;t.f^=Ee}}et.push(t)}function zs(e){let t=0,n=Qt(0),r;return()=>{qn()&&(u(n),Yr(()=>(t===0&&(r=qe(()=>e(()=>On(n)))),t+=1,()=>{nn(()=>{t-=1,t===0&&(r?.(),r=void 0,On(n))})})))}}var ic=Rt|tn|Kr;function sc(e,t,n){new ac(e,t,n)}class ac{parent;#e=!1;#t;#n=null;#r;#l;#i;#o=null;#s=null;#a=null;#c=null;#u=null;#d=0;#f=0;#g=!1;#h=null;#_=zs(()=>(this.#h=Qt(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#t=t,this.#r=n,this.#l=r,this.parent=ie.b,this.#e=!!this.#r.pending,this.#i=Jn(()=>{ie.b=this;{var o=this.#m();try{this.#o=Te(()=>r(o))}catch(i){this.error(i)}this.#f>0?this.#p():this.#e=!1}return()=>{this.#u?.remove()}},ic)}#w(){try{this.#o=Te(()=>this.#l(this.#t))}catch(t){this.error(t)}this.#e=!1}#b(){const t=this.#r.pending;t&&(this.#s=Te(()=>t(this.#t)),Ue.enqueue(()=>{var n=this.#m();this.#o=this.#v(()=>(Ue.ensure(),Te(()=>this.#l(n)))),this.#f>0?this.#p():(Yt(this.#s,()=>{this.#s=null}),this.#e=!1)}))}#m(){var t=this.#t;return this.#e&&(this.#u=bt(),this.#t.before(this.#u),t=this.#u),t}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=ie,r=ne,o=fe;lt(this.#i),De(this.#i),gn(this.#i.ctx);try{return t()}catch(i){return Ts(i),null}finally{lt(n),De(r),gn(o)}}#p(){const t=this.#r.pending;this.#o!==null&&(this.#c=document.createDocumentFragment(),this.#c.append(this.#u),ea(this.#o,this.#c)),this.#s===null&&(this.#s=Te(()=>t(this.#t)))}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}this.#f+=t,this.#f===0&&(this.#e=!1,this.#s&&Yt(this.#s,()=>{this.#s=null}),this.#c&&(this.#t.before(this.#c),this.#c=null))}update_pending_count(t){this.#y(t),this.#d+=t,this.#h&&pn(this.#h,this.#d)}get_effect_pending(){return this.#_(),u(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#g||!n&&!r)throw t;this.#o&&(_e(this.#o),this.#o=null),this.#s&&(_e(this.#s),this.#s=null),this.#a&&(_e(this.#a),this.#a=null);var o=!1,i=!1;const s=()=>{if(o){Ql();return}o=!0,i&&Rl(),Ue.ensure(),this.#d=0,this.#a!==null&&Yt(this.#a,()=>{this.#a=null}),this.#e=this.has_pending_snippet(),this.#o=this.#v(()=>(this.#g=!1,Te(()=>this.#l(this.#t)))),this.#f>0?this.#p():this.#e=!1};var a=ne;try{De(null),i=!0,n?.(t,s),i=!1}catch(l){vn(l,this.#i&&this.#i.parent)}finally{De(a)}r&&nn(()=>{this.#a=this.#v(()=>{Ue.ensure(),this.#g=!0;try{return Te(()=>{r(this.#t,()=>t,()=>s)})}catch(l){return vn(l,this.#i.parent),null}finally{this.#g=!1}})})}}function Os(e,t,n,r){const o=Gn()?Un:Wo;if(n.length===0&&e.length===0){r(t.map(o));return}var i=ve,s=ie,a=lc();function l(){Promise.all(n.map(c=>cc(c))).then(c=>{a();try{r([...t.map(o),...c])}catch(d){(s.f&wt)===0&&vn(d,s)}i?.deactivate(),xr()}).catch(c=>{vn(c,s)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{i?.deactivate(),xr()}}):l()}function lc(){var e=ie,t=ne,n=fe,r=ve;return function(i=!0){lt(e),De(t),gn(n),i&&r?.activate()}}function xr(){lt(null),De(null),gn(null)}function Un(e){var t=xe|ze,n=ne!==null&&(ne.f&xe)!==0?ne:null;return ie!==null&&(ie.f|=tn),{ctx:fe,deps:null,effects:null,equals:Cs,f:t,fn:e,reactions:null,rv:0,v:be,wv:0,parent:n??ie,ac:null}}function cc(e,t){let n=ie;n===null&&Nl();var r=n.b,o=void 0,i=Qt(be),s=!ne,a=new Map;return _c(()=>{var l=_s();o=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{c===ve&&c.committed&&c.deactivate(),xr()})}catch(f){l.reject(f),xr()}var c=ve;if(s){var d=!r.is_pending();r.update_pending_count(1),c.increment(d),a.get(c)?.reject(ln),a.delete(c),a.set(c,l)}const h=(f,g=void 0)=>{if(c.activate(),g)g!==ln&&(i.f|=It,pn(i,g));else{(i.f&It)!==0&&(i.f^=It),pn(i,f);for(const[v,_]of a){if(a.delete(v),v===c)break;_.reject(ln)}}s&&(r.update_pending_count(-1),c.decrement(d))};l.promise.then(h,f=>h(null,f||"unknown"))}),Go(()=>{for(const l of a.values())l.reject(ln)}),new Promise(l=>{function c(d){function h(){d===o?l(i):c(o)}d.then(h,h)}c(o)})}function m(e){const t=Un(e);return ta(t),t}function Wo(e){const t=Un(e);return t.equals=Ps,t}function Rs(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n0&&!Hs&&fc()}return t}function fc(){Hs=!1;var e=Wt;Er(!0);const t=Array.from(_o);try{for(const n of t)(n.f&Ee)!==0&&ke(n,st),$n(n)&&Ln(n)}finally{Er(e)}_o.clear()}function On(e){R(e,e.v+1)}function Ls(e,t){var n=e.reactions;if(n!==null)for(var r=Gn(),o=n.length,i=0;i{if(Zt===i)return a();var l=ne,c=Zt;De(null),Ei(i);var d=a();return De(l),Ei(c),d};return r&&n.set("length",se(e.length)),new Proxy(e,{defineProperty(a,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Il();var d=n.get(l);return d===void 0?d=s(()=>{var h=se(c.value);return n.set(l,h),h}):R(d,c.value,!0),!0},deleteProperty(a,l){var c=n.get(l);if(c===void 0){if(l in a){const d=s(()=>se(be));n.set(l,d),On(o)}}else R(c,be),On(o);return!0},get(a,l,c){if(l===ot)return e;var d=n.get(l),h=l in a;if(d===void 0&&(!h||Dt(a,l)?.writable)&&(d=s(()=>{var g=nt(h?a[l]:be),v=se(g);return v}),n.set(l,d)),d!==void 0){var f=u(d);return f===be?void 0:f}return Reflect.get(a,l,c)},getOwnPropertyDescriptor(a,l){var c=Reflect.getOwnPropertyDescriptor(a,l);if(c&&"value"in c){var d=n.get(l);d&&(c.value=u(d))}else if(c===void 0){var h=n.get(l),f=h?.v;if(h!==void 0&&f!==be)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return c},has(a,l){if(l===ot)return!0;var c=n.get(l),d=c!==void 0&&c.v!==be||Reflect.has(a,l);if(c!==void 0||ie!==null&&(!d||Dt(a,l)?.writable)){c===void 0&&(c=s(()=>{var f=d?nt(a[l]):be,g=se(f);return g}),n.set(l,c));var h=u(c);if(h===be)return!1}return d},set(a,l,c,d){var h=n.get(l),f=l in a;if(r&&l==="length")for(var g=c;gse(be)),n.set(g+"",v))}if(h===void 0)(!f||Dt(a,l)?.writable)&&(h=s(()=>se(void 0)),R(h,nt(c)),n.set(l,h));else{f=h.v!==be;var _=s(()=>nt(c));R(h,_)}var y=Reflect.getOwnPropertyDescriptor(a,l);if(y?.set&&y.set.call(d,c),!f){if(r&&typeof l=="string"){var w=n.get("length"),C=Number(l);Number.isInteger(C)&&C>=w.v&&R(w,C+1)}On(o)}return!0},ownKeys(a){u(o);var l=Reflect.ownKeys(a).filter(h=>{var f=n.get(h);return f===void 0||f.v!==be});for(var[c,d]of n)d.v!==be&&!(c in a)&&l.push(c);return l},setPrototypeOf(){zl()}})}function bi(e){try{if(e!==null&&typeof e=="object"&&ot in e)return e[ot]}catch{}return e}function hc(e,t){return Object.is(bi(e),bi(t))}var Ae,Vs,Bs,Fs;function gc(){if(Ae===void 0){Ae=window,Vs=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Bs=Dt(t,"firstChild").get,Fs=Dt(t,"nextSibling").get,yi(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),yi(n)&&(n.__t=void 0)}}function bt(e=""){return document.createTextNode(e)}function vt(e){return Bs.call(e)}function Qn(e){return Fs.call(e)}function ee(e,t){return vt(e)}function le(e,t=!1){{var n=vt(e);return n instanceof Comment&&n.data===""?Qn(n):n}}function $(e,t=1,n=!1){let r=e;for(;t--;)r=Qn(r);return r}function vc(e){e.textContent=""}function Ks(){return!1}function pc(e,t){if(t){const n=document.body;e.autofocus=!0,nn(()=>{document.activeElement===n&&e.focus()})}}function Xo(e){var t=ne,n=ie;De(null),lt(null);try{return e()}finally{De(t),lt(n)}}function Ys(e){ie===null&&(ne===null&&Al(),Ml()),rn&&Pl()}function mc(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function We(e,t,n){var r=ie;r!==null&&(r.f&He)!==0&&(e|=He);var o={ctx:fe,deps:null,nodes:null,f:e|ze|je,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{Ln(o),o.f|=Lo}catch(a){throw _e(o),a}else t!==null&&Ut(o);var i=o;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&tn)===0&&(i=i.first,(e&St)!==0&&(e&Rt)!==0&&i!==null&&(i.f|=Rt)),i!==null&&(i.parent=r,r!==null&&mc(i,r),ne!==null&&(ne.f&xe)!==0&&(e&qt)===0)){var s=ne;(s.effects??=[]).push(i)}return o}function qn(){return ne!==null&&!rt}function Go(e){const t=We(Fr,null,!1);return ke(t,Ee),t.teardown=e,t}function at(e){Ys();var t=ie.f,n=!ne&&(t&kt)!==0&&(t&Lo)===0;if(n){var r=fe;(r.e??=[]).push(e)}else return Ws(e)}function Ws(e){return We(Ho|xs,e,!1)}function Zs(e){return Ys(),We(Fr|xs,e,!0)}function Xs(e){Ue.ensure();const t=We(qt|tn,e,!0);return()=>{_e(t)}}function yc(e){Ue.ensure();const t=We(qt|tn,e,!0);return(n={})=>new Promise(r=>{n.outro?Yt(t,()=>{_e(t),r(void 0)}):(_e(t),r(void 0))})}function jn(e){return We(Ho,e,!1)}function _c(e){return We(Vo|tn,e,!0)}function Yr(e,t=0){return We(Fr|t,e,!0)}function he(e,t=[],n=[],r=[]){Os(r,t,n,o=>{We(Fr,()=>e(...o.map(u)),!0)})}function Jn(e,t=0){var n=We(St|t,e,!0);return n}function Gs(e,t=0){var n=We(ws|t,e,!0);return n}function Te(e){return We(kt|tn,e,!0)}function Us(e){var t=e.teardown;if(t!==null){const n=rn,r=ne;xi(!0),De(null);try{t.call(null)}finally{xi(n),De(r)}}}function Qs(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const o=n.ac;o!==null&&Xo(()=>{o.abort(ln)});var r=n.next;(n.f&qt)!==0?n.parent=null:_e(n,t),n=r}}function wc(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&kt)===0&&_e(t),t=n}}function _e(e,t=!0){var n=!1;(t||(e.f&bs)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(bc(e.nodes.start,e.nodes.end),n=!0),Qs(e,t&&!n),Sr(e,0),ke(e,wt);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Us(e);var o=e.parent;o!==null&&o.first!==null&&js(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function bc(e,t){for(;e!==null;){var n=e===t?null:Qn(e);e.remove(),e=n}}function js(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Yt(e,t,n=!0){var r=[];Js(e,r,!0);var o=()=>{n&&_e(e),t&&t()},i=r.length;if(i>0){var s=()=>--i||o();for(var a of r)a.out(s)}else o()}function Js(e,t,n){if((e.f&He)===0){e.f^=He;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var o=e.first;o!==null;){var i=o.next,s=(o.f&Rt)!==0||(o.f&kt)!==0&&(e.f&St)!==0;Js(o,t,s?n:!1),o=i}}}function Uo(e){$s(e,!0)}function $s(e,t){if((e.f&He)!==0){e.f^=He,(e.f&Ee)===0&&(ke(e,ze),Ut(e));for(var n=e.first;n!==null;){var r=n.next,o=(n.f&Rt)!==0||(n.f&kt)!==0;$s(n,o?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const s of i)(s.is_global||t)&&s.in()}}function ea(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var o=n===r?null:Qn(n);t.append(n),n=o}}let Wt=!1;function Er(e){Wt=e}let rn=!1;function xi(e){rn=e}let ne=null,rt=!1;function De(e){ne=e}let ie=null;function lt(e){ie=e}let xt=null;function ta(e){ne!==null&&(xt===null?xt=[e]:xt.push(e))}let Pe=null,Oe=0,Be=null;function xc(e){Be=e}let na=1,Hn=0,Zt=Hn;function Ei(e){Zt=e}function ra(){return++na}function $n(e){var t=e.f;if((t&ze)!==0)return!0;if(t&xe&&(e.f&=~Gt),(t&st)!==0){var n=e.deps;if(n!==null)for(var r=n.length,o=0;oe.wv)return!0}(t&je)!==0&&Fe===null&&ke(e,Ee)}return!1}function oa(e,t,n=!0){var r=e.reactions;if(r!==null&&!xt?.includes(e))for(var o=0;o{e.ac.abort(ln)}),e.ac=null);try{e.f|=mo;var d=e.fn,h=d(),f=e.deps;if(Pe!==null){var g;if(Sr(e,Oe),f!==null&&Oe>0)for(f.length=Oe+Pe.length,g=0;gn?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?nn(()=>{t.addEventListener(e,o,r)}):t.addEventListener(e,o,r),o}function xo(e,t,n,r={}){var o=Qo(t,e,n,r);return()=>{e.removeEventListener(t,o,r)}}function kr(e,t,n,r,o){var i={capture:r,passive:o},s=Qo(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Go(()=>{t.removeEventListener(e,s,i)})}function jo(e){for(var t=0;t{throw y});throw f}}finally{e.__root=t,delete e.currentTarget,De(d),lt(h)}}}function ua(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("",""),t.content}function mn(e,t){var n=ie;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ae(e,t){var n=(t&ks)!==0,r=(t&Zl)!==0,o,i=!e.startsWith("");return()=>{o===void 0&&(o=ua(i?e:""+e),n||(o=vt(o)));var s=r||Vs?document.importNode(o,!0):o.cloneNode(!0);if(n){var a=vt(s),l=s.lastChild;mn(a,l)}else mn(s,s);return s}}function Ic(e,t,n="svg"){var r=!e.startsWith(""),o=(t&ks)!==0,i=`<${n}>${r?e:""+e}`,s;return()=>{if(!s){var a=ua(i),l=vt(a);if(o)for(s=document.createDocumentFragment();vt(l);)s.appendChild(vt(l));else s=vt(l)}var c=s.cloneNode(!0);if(o){var d=vt(c),h=c.lastChild;mn(d,h)}else mn(c,c);return c}}function me(e,t){return Ic(e,t,"svg")}function zc(e=""){{var t=bt(e+"");return mn(t,t),t}}function Se(){var e=document.createDocumentFragment(),t=document.createComment(""),n=bt();return e.append(t,n),mn(t,n),e}function F(e,t){e!==null&&e.before(t)}function Re(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Oc(e,t){return Rc(e,t)}const sn=new Map;function Rc(e,{target:t,anchor:n,props:r={},events:o,context:i,intro:s=!0}){gc();var a=new Set,l=h=>{for(var f=0;f{var h=n??t.appendChild(bt());return sc(h,{pending:()=>{}},f=>{if(i){re({});var g=fe;g.c=i}o&&(r.$$events=o),c=e(f,r)||{},i&&oe()}),()=>{for(var f of a){t.removeEventListener(f,Tn);var g=sn.get(f);--g===0?(document.removeEventListener(f,Tn),sn.delete(f)):sn.set(f,g)}bo.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return qc.set(c,d),c}let qc=new WeakMap;class Jo{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#l=!0;constructor(t,n=!0){this.anchor=t,this.#l=n}#i=()=>{var t=ve;if(this.#e.has(t)){var n=this.#e.get(t),r=this.#t.get(n);if(r)Uo(r),this.#r.delete(n);else{var o=this.#n.get(n);o&&(this.#t.set(n,o.effect),this.#n.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,s]of this.#e){if(this.#e.delete(i),i===t)break;const a=this.#n.get(s);a&&(_e(a.effect),this.#n.delete(s))}for(const[i,s]of this.#t){if(i===n||this.#r.has(i))continue;const a=()=>{if(Array.from(this.#e.values()).includes(i)){var c=document.createDocumentFragment();ea(s,c),c.append(bt()),this.#n.set(i,{effect:s,fragment:c})}else _e(s);this.#r.delete(i),this.#t.delete(i)};this.#l||!r?(this.#r.add(i),Yt(s,a,!1)):a()}}};#o=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,o]of this.#n)n.includes(r)||(_e(o.effect),this.#n.delete(r))};ensure(t,n){var r=ve,o=Ks();if(n&&!this.#t.has(t)&&!this.#n.has(t))if(o){var i=document.createDocumentFragment(),s=bt();i.append(s),this.#n.set(t,{effect:Te(()=>n(s)),fragment:i})}else this.#t.set(t,Te(()=>n(this.anchor)));if(this.#e.set(r,t),o){for(const[a,l]of this.#t)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#n)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#i),r.ondiscard(this.#o)}else this.#i()}}function de(e,t,n=!1){var r=new Jo(e),o=n?Rt:0;function i(s,a){r.ensure(s,a)}Jn(()=>{var s=!1;t((a,l=!0)=>{s=!0,i(l,a)}),s||i(!1,null)},o)}function Hc(e,t){Yr(()=>{var n=t();for(var r in n){var o=n[r];o?e.style.setProperty(r,o):e.style.removeProperty(r)}})}function Lc(e,t,n){for(var r=[],o=t.length,i,s=t.length,a=0;a{if(i){if(i.pending.delete(h),i.done.add(h),i.pending.size===0){var f=e.outrogroups;Eo(Vr(i.done)),f.delete(i),f.size===0&&(e.outrogroups=null)}}else s-=1},!1)}if(s===0){var l=r.length===0&&n!==null;if(l){var c=n,d=c.parentNode;vc(d),d.append(c),e.items.clear()}Eo(t,!l)}else i={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(i)}function Eo(e,t=!0){for(var n=0;n{var w=n();return Lr(w)?w:w==null?[]:Vr(w)}),f,g=!0;function v(){y.fallback=d,Vc(y,f,s,t,r),d!==null&&(f.length===0?(d.f&mt)===0?Uo(d):(d.f^=mt,Dn(d,null,s)):Yt(d,()=>{d=null}))}var _=Jn(()=>{f=u(h);for(var w=f.length,C=new Set,k=ve,b=Ks(),A=0;Ai(s)):(d=Te(()=>i(ki??=bt())),d.f|=mt)),!g)if(b){for(const[H,K]of a)C.has(H)||k.skipped_effects.add(K.e);k.oncommit(v),k.ondiscard(()=>{})}else v();u(h)}),y={effect:_,items:a,outrogroups:null,fallback:d};g=!1}function Vc(e,t,n,r,o){var i=(r&Ll)!==0,s=t.length,a=e.items,l=e.effect.first,c,d=null,h,f=[],g=[],v,_,y,w;if(i)for(w=0;w0){var H=(r&Ss)!==0&&s===0?n:null;if(i){for(w=0;w{if(h!==void 0)for(y of h)y.nodes?.a?.apply()})}function Bc(e,t,n,r,o,i,s,a){var l=(s&ql)!==0?(s&Vl)===0?dc(n,!1,!1):Qt(n):null,c=(s&Hl)!==0?Qt(o):null;return{v:l,i:c,e:Te(()=>(i(t,l??n,c??o,a),()=>{e.delete(r)}))}}function Dn(e,t,n){if(e.nodes)for(var r=e.nodes.start,o=e.nodes.end,i=t&&(t.f&mt)===0?t.nodes.start:n;r!==null;){var s=Qn(r);if(i.before(r),r===o)return;r=s}}function Pt(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Ye(e,t,...n){var r=new Jo(e);Jn(()=>{const o=t()??null;r.ensure(o,o&&(i=>o(i,...n)))},Rt)}function Zr(e,t,n){var r=new Jo(e);Jn(()=>{var o=t()??null;r.ensure(o,o&&(i=>n(i,o)))},Rt)}function Ne(e,t,n){jn(()=>{var r=qe(()=>t(e,n?.())||{});if(n&&r?.update){var o=!1,i={};Yr(()=>{var s=n();la(s),o&&Ns(i,s)&&(i=s,r.update(s))}),o=!0}if(r?.destroy)return()=>r.destroy()})}function Fc(e,t){var n=void 0,r;Gs(()=>{n!==(n=t())&&(r&&(_e(r),r=null),n&&(r=Te(()=>{jn(()=>n(e))})))})}function da(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t=0;){var a=s+i;(s===0||Ci.includes(r[s-1]))&&(a===r.length||Ci.includes(r[a]))?r=(s===0?"":r.substring(0,s))+r.substring(a+1):s=a}}return r===""?null:r}function Ni(e,t=!1){var n=t?" !important;":";",r="";for(var o in e){var i=e[o];i!=null&&i!==""&&(r+=" "+o+": "+i+n)}return r}function no(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Wc(e,t){if(t){var n="",r,o;if(Array.isArray(t)?(r=t[0],o=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,a=!1,l=[];r&&l.push(...Object.keys(r).map(no)),o&&l.push(...Object.keys(o).map(no));var c=0,d=-1;const _=e.length;for(var h=0;h<_;h++){var f=e[h];if(a?f==="/"&&e[h-1]==="*"&&(a=!1):i?i===f&&(i=!1):f==="/"&&e[h+1]==="*"?a=!0:f==='"'||f==="'"?i=f:f==="("?s++:f===")"&&s--,!a&&i===!1&&s===0){if(f===":"&&d===-1)d=h;else if(f===";"||h===_-1){if(d!==-1){var g=no(e.substring(c,d).trim());if(!l.includes(g)){f!==";"&&h++;var v=e.substring(c,h).trim();n+=" "+v+";"}}c=h+1,d=-1}}}}return r&&(n+=Ni(r)),o&&(n+=Ni(o,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function ut(e,t,n,r,o,i){var s=e.__className;if(s!==n||s===void 0){var a=Yc(n,r,i);a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a),e.__className=n}else if(i&&o!==i)for(var l in i){var c=!!i[l];(o==null||c!==!!o[l])&&e.classList.toggle(l,c)}return i}function ro(e,t={},n,r){for(var o in n){var i=n[o];t[o]!==i&&(n[o]==null?e.style.removeProperty(o):e.style.setProperty(o,i,r))}}function Le(e,t,n,r){var o=e.__style;if(o!==t){var i=Wc(t,r);i==null?e.removeAttribute("style"):e.style.cssText=i,e.__style=t}else r&&(Array.isArray(r)?(ro(e,n?.[0],r[0]),ro(e,n?.[1],r[1],"important")):ro(e,n,r));return r}function So(e,t,n=!1){if(e.multiple){if(t==null)return;if(!Lr(t))return Ul();for(var r of e.options)r.selected=t.includes(Pi(r));return}for(r of e.options){var o=Pi(r);if(hc(o,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Zc(e){var t=new MutationObserver(()=>{So(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Go(()=>{t.disconnect()})}function Pi(e){return"__value"in e?e.__value:e.value}const Mt=Symbol("class"),pt=Symbol("style"),fa=Symbol("is custom element"),ha=Symbol("is html");function Xc(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function G(e,t,n,r){var o=ga(e);o[t]!==(o[t]=n)&&(t==="loading"&&(e[Cl]=n),n==null?e.removeAttribute(t):typeof n!="string"&&va(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Gc(e,t,n,r,o=!1,i=!1){var s=ga(e),a=s[fa],l=!s[ha],c=t||{},d=e.tagName==="OPTION";for(var h in t)h in n||(n[h]=null);n.class?n.class=Ht(n.class):(r||n[Mt])&&(n.class=null),n[pt]&&(n.style??=null);var f=va(e);for(const b in n){let A=n[b];if(d&&b==="value"&&A==null){e.value=e.__value="",c[b]=A;continue}if(b==="class"){var g=e.namespaceURI==="http://www.w3.org/1999/xhtml";ut(e,g,A,r,t?.[Mt],n[Mt]),c[b]=A,c[Mt]=n[Mt];continue}if(b==="style"){Le(e,A,t?.[pt],n[pt]),c[b]=A,c[pt]=n[pt];continue}var v=c[b];if(!(A===v&&!(A===void 0&&e.hasAttribute(b)))){c[b]=A;var _=b[0]+b[1];if(_!=="$$")if(_==="on"){const T={},z="$$"+b;let M=b.slice(2);var y=Pc(M);if(Cc(M)&&(M=M.slice(0,-7),T.capture=!0),!y&&v){if(A!=null)continue;e.removeEventListener(M,c[z],T),c[z]=null}if(A!=null)if(y)e[`__${M}`]=A,jo([M]);else{let H=function(K){c[b].call(this,K)};var k=H;c[z]=Qo(M,e,H,T)}else y&&(e[`__${M}`]=void 0)}else if(b==="style")G(e,b,A);else if(b==="autofocus")pc(e,!!A);else if(!a&&(b==="__value"||b==="value"&&A!=null))e.value=e.__value=A;else if(b==="selected"&&d)Xc(e,A);else{var w=b;l||(w=Ac(w));var C=w==="defaultValue"||w==="defaultChecked";if(A==null&&!a&&!C)if(s[b]=null,w==="value"||w==="checked"){let T=e;const z=t===void 0;if(w==="value"){let M=T.defaultValue;T.removeAttribute(w),T.defaultValue=M,T.value=T.__value=z?M:null}else{let M=T.defaultChecked;T.removeAttribute(w),T.defaultChecked=M,T.checked=z?M:!1}}else e.removeAttribute(b);else C||f.includes(w)&&(a||typeof A!="string")?(e[w]=A,w in s&&(s[w]=be)):typeof A!="function"&&G(e,w,A)}}}return c}function Lt(e,t,n=[],r=[],o=[],i,s=!1,a=!1){Os(o,n,r,l=>{var c=void 0,d={},h=e.nodeName==="SELECT",f=!1;if(Gs(()=>{var v=t(...l.map(u)),_=Gc(e,c,v,i,s,a);f&&h&&"value"in v&&So(e,v.value);for(let w of Object.getOwnPropertySymbols(d))v[w]||_e(d[w]);for(let w of Object.getOwnPropertySymbols(v)){var y=v[w];w.description===Gl&&(!c||y!==c[w])&&(d[w]&&_e(d[w]),d[w]=Te(()=>Fc(e,()=>y))),_[w]=y}c=_}),h){var g=e;jn(()=>{So(g,c.value,!0),Zc(g)})}f=!0})}function ga(e){return e.__attributes??={[fa]:e.nodeName.includes("-"),[ha]:e.namespaceURI===Xl}}var Mi=new Map;function va(e){var t=e.getAttribute("is")||e.nodeName,n=Mi.get(t);if(n)return n;Mi.set(t,n=[]);for(var r,o=e,i=Element.prototype;i!==o;){r=ms(o);for(var s in r)r[s].set&&n.push(s);o=Br(o)}return n}class $o{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(t){this.#n=t}observe(t,n){var r=this.#e.get(t)||new Set;return r.add(n),this.#e.set(t,r),this.#r().observe(t,this.#n),()=>{var o=this.#e.get(t);o.delete(n),o.size===0&&(this.#e.delete(t),this.#t.unobserve(t))}}#r(){return this.#t??(this.#t=new ResizeObserver(t=>{for(var n of t){$o.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}}))}}var Uc=new $o({box:"border-box"});function Ai(e,t,n){var r=Uc.observe(e,()=>n(e[t]));jn(()=>(qe(()=>n(e[t])),r))}function Ti(e,t){return e===t||e?.[ot]===t}function er(e={},t,n,r){return jn(()=>{var o,i;return Yr(()=>{o=i,i=[],qe(()=>{e!==n(...i)&&(t(e,...i),o&&Ti(n(...o),e)&&t(null,...o))})}),()=>{nn(()=>{i&&Ti(n(...i),e)&&t(null,...i)})}}),e}function Qc(e=!1){const t=fe,n=t.l.u;if(!n)return;let r=()=>la(t.s);if(e){let o=0,i={};const s=Un(()=>{let a=!1;const l=t.s;for(const c in l)l[c]!==i[c]&&(i[c]=l[c],a=!0);return a&&o++,o});r=()=>u(s)}n.b.length&&Zs(()=>{Di(t,r),po(n.b)}),at(()=>{const o=qe(()=>n.m.map(kl));return()=>{for(const i of o)typeof i=="function"&&i()}}),n.a.length&&at(()=>{Di(t,r),po(n.a)})}function Di(e,t){if(e.l.s)for(const n of e.l.s)u(n);t()}let lr=!1;function jc(e){var t=lr;try{return lr=!1,[e(),lr]}finally{lr=t}}const Jc={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function Vt(e,t,n){return new Proxy({props:e,exclude:t},Jc)}const $c={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(Pn(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let o=e.props[r];Pn(o)&&(o=o());const i=Dt(o,t);if(i&&i.set)return i.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(Pn(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const o=Dt(r,t);return o&&!o.configurable&&(o.configurable=!0),o}}},has(e,t){if(t===ot||t===Es)return!1;for(let n of e.props)if(Pn(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){const t=[];for(let n of e.props)if(Pn(n)&&(n=n()),!!n){for(const r in n)t.includes(r)||t.push(r);for(const r of Object.getOwnPropertySymbols(n))t.includes(r)||t.push(r)}return t}};function At(...e){return new Proxy({props:e},$c)}function L(e,t,n,r){var o=!kn||(n&Fl)!==0,i=(n&Yl)!==0,s=(n&Wl)!==0,a=r,l=!0,c=()=>(l&&(l=!1,a=s?qe(r):r),a),d;if(i){var h=ot in e||Es in e;d=Dt(e,t)?.set??(h&&t in e?k=>e[t]=k:void 0)}var f,g=!1;i?[f,g]=jc(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=c(),d&&(o&&Dl(),d(f)));var v;if(o?v=()=>{var k=e[t];return k===void 0?c():(l=!0,k)}:v=()=>{var k=e[t];return k!==void 0&&(a=void 0),k===void 0?a:k},o&&(n&Kl)===0)return v;if(d){var _=e.$$legacy;return(function(k,b){return arguments.length>0?((!o||!b||_||g)&&d(b?v():k),k):v()})}var y=!1,w=((n&Bl)!==0?Un:Wo)(()=>(y=!1,v()));i&&u(w);var C=ie;return(function(k,b){if(arguments.length>0){const A=b?u(w):o&&i?nt(k):k;return R(w,A),y=!0,a!==void 0&&(a=A),k}return rn&&y||(C.f&wt)!==0?w.v:u(w)})}function eu(e){fe===null&&Bo(),kn&&fe.l!==null?tu(fe).m.push(e):at(()=>{const t=qe(e);if(typeof t=="function")return t})}function ei(e){fe===null&&Bo(),eu(()=>()=>qe(e))}function tu(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}const nu="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(nu);var ru={value:()=>{}};function Xr(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(o+1),n=n.slice(0,o)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}mr.prototype=Xr.prototype={constructor:mr,on:function(e,t){var n=this._,r=ou(e+"",n),o,i=-1,s=r.length;if(arguments.length<2){for(;++i0)for(var n=new Array(o),r=0,o,i;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),zi.hasOwnProperty(t)?{space:zi[t],local:e}:e}function su(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ko&&t.documentElement.namespaceURI===ko?t.createElement(e):t.createElementNS(n,e)}}function au(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function pa(e){var t=Gr(e);return(t.local?au:su)(t)}function lu(){}function ti(e){return e==null?lu:function(){return this.querySelector(e)}}function cu(e){typeof e!="function"&&(e=ti(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o=k&&(k=C+1);!(A=y[k])&&++k=0;)(s=r[o])&&(i&&s.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(s,i),i=s);return this}function zu(e){e||(e=Ou);function t(h,f){return h&&f?e(h.__data__,f.__data__):!h-!f}for(var n=this._groups,r=n.length,o=new Array(r),i=0;it?1:e>=t?0:NaN}function Ru(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function qu(){return Array.from(this)}function Hu(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?Uu:typeof t=="function"?ju:Qu)(e,t,n??"")):yn(this.node(),e)}function yn(e,t){return e.style.getPropertyValue(t)||ba(e).getComputedStyle(e,null).getPropertyValue(t)}function $u(e){return function(){delete this[e]}}function ed(e,t){return function(){this[e]=t}}function td(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function nd(e,t){return arguments.length>1?this.each((t==null?$u:typeof t=="function"?td:ed)(e,t)):this.node()[e]}function xa(e){return e.trim().split(/^|\s+/)}function ni(e){return e.classList||new Ea(e)}function Ea(e){this._node=e,this._names=xa(e.getAttribute("class")||"")}Ea.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Sa(e,t){for(var n=ni(e),r=-1,o=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Ad(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,o=t.length,i;n()=>e;function Co(e,{sourceEvent:t,subject:n,target:r,identifier:o,active:i,x:s,y:a,dx:l,dy:c,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:d}})}Co.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function Vd(e){return!e.ctrlKey&&!e.button}function Bd(){return this.parentNode}function Fd(e,t){return t??{x:e.x,y:e.y}}function Kd(){return navigator.maxTouchPoints||"ontouchstart"in this}function Yd(){var e=Vd,t=Bd,n=Fd,r=Kd,o={},i=Xr("start","drag","end"),s=0,a,l,c,d,h=0;function f(b){b.on("mousedown.drag",g).filter(r).on("touchstart.drag",y).on("touchmove.drag",w,Ld).on("touchend.drag touchcancel.drag",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(b,A){if(!(d||!e.call(this,b,A))){var T=k(this,t.call(this,b,A),b,A,"mouse");T&&(Ke(b.view).on("mousemove.drag",v,Vn).on("mouseup.drag",_,Vn),Pa(b.view),oo(b),c=!1,a=b.clientX,l=b.clientY,T("start",b))}}function v(b){if(dn(b),!c){var A=b.clientX-a,T=b.clientY-l;c=A*A+T*T>h}o.mouse("drag",b)}function _(b){Ke(b.view).on("mousemove.drag mouseup.drag",null),Ma(b.view,c),dn(b),o.mouse("end",b)}function y(b,A){if(e.call(this,b,A)){var T=b.changedTouches,z=t.call(this,b,A),M=T.length,H,K;for(H=0;H>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?ur(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?ur(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Zd.exec(e))?new Ie(t[1],t[2],t[3],1):(t=Xd.exec(e))?new Ie(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Gd.exec(e))?ur(t[1],t[2],t[3],t[4]):(t=Ud.exec(e))?ur(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Qd.exec(e))?Bi(t[1],t[2]/100,t[3]/100,1):(t=jd.exec(e))?Bi(t[1],t[2]/100,t[3]/100,t[4]):Oi.hasOwnProperty(e)?Hi(Oi[e]):e==="transparent"?new Ie(NaN,NaN,NaN,0):null}function Hi(e){return new Ie(e>>16&255,e>>8&255,e&255,1)}function ur(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ie(e,t,n,r)}function ef(e){return e instanceof nr||(e=jt(e)),e?(e=e.rgb(),new Ie(e.r,e.g,e.b,e.opacity)):new Ie}function No(e,t,n,r){return arguments.length===1?ef(e):new Ie(e,t,n,r??1)}function Ie(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ri(Ie,No,Aa(nr,{brighter(e){return e=e==null?Nr:Math.pow(Nr,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Bn:Math.pow(Bn,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ie(Xt(this.r),Xt(this.g),Xt(this.b),Pr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Li,formatHex:Li,formatHex8:tf,formatRgb:Vi,toString:Vi}));function Li(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}`}function tf(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}${Kt((isNaN(this.opacity)?1:this.opacity)*255)}`}function Vi(){const e=Pr(this.opacity);return`${e===1?"rgb(":"rgba("}${Xt(this.r)}, ${Xt(this.g)}, ${Xt(this.b)}${e===1?")":`, ${e})`}`}function Pr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Xt(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Kt(e){return e=Xt(e),(e<16?"0":"")+e.toString(16)}function Bi(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ge(e,t,n,r)}function Ta(e){if(e instanceof Ge)return new Ge(e.h,e.s,e.l,e.opacity);if(e instanceof nr||(e=jt(e)),!e)return new Ge;if(e instanceof Ge)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=NaN,a=i-o,l=(i+o)/2;return a?(t===i?s=(n-r)/a+(n0&&l<1?0:s,new Ge(s,a,l,e.opacity)}function nf(e,t,n,r){return arguments.length===1?Ta(e):new Ge(e,t,n,r??1)}function Ge(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ri(Ge,nf,Aa(nr,{brighter(e){return e=e==null?Nr:Math.pow(Nr,e),new Ge(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Bn:Math.pow(Bn,e),new Ge(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ie(io(e>=240?e-240:e+120,o,r),io(e,o,r),io(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Ge(Fi(this.h),dr(this.s),dr(this.l),Pr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Pr(this.opacity);return`${e===1?"hsl(":"hsla("}${Fi(this.h)}, ${dr(this.s)*100}%, ${dr(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Fi(e){return e=(e||0)%360,e<0?e+360:e}function dr(e){return Math.max(0,Math.min(1,e||0))}function io(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const oi=e=>()=>e;function rf(e,t){return function(n){return e+n*t}}function of(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function sf(e){return(e=+e)==1?Da:function(t,n){return n-t?of(t,n,e):oi(isNaN(t)?n:t)}}function Da(e,t){var n=t-e;return n?rf(e,n):oi(isNaN(e)?t:e)}const Mr=(function e(t){var n=sf(t);function r(o,i){var s=n((o=No(o)).r,(i=No(i)).r),a=n(o.g,i.g),l=n(o.b,i.b),c=Da(o.opacity,i.opacity);return function(d){return o.r=s(d),o.g=a(d),o.b=l(d),o.opacity=c(d),o+""}}return r.gamma=e,r})(1);function af(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),o;return function(i){for(o=0;on&&(i=t.slice(n,i),a[s]?a[s]+=i:a[++s]=i),(r=r[0])===(o=o[0])?a[s]?a[s]+=o:a[++s]=o:(a[++s]=null,l.push({i:s,x:tt(r,o)})),n=so.lastIndex;return n180?d+=360:d-c>180&&(c+=360),f.push({i:h.push(o(h)+"rotate(",null,r)-2,x:tt(c,d)})):d&&h.push(o(h)+"rotate("+d+r)}function a(c,d,h,f){c!==d?f.push({i:h.push(o(h)+"skewX(",null,r)-2,x:tt(c,d)}):d&&h.push(o(h)+"skewX("+d+r)}function l(c,d,h,f,g,v){if(c!==h||d!==f){var _=g.push(o(g)+"scale(",null,",",null,")");v.push({i:_-4,x:tt(c,h)},{i:_-2,x:tt(d,f)})}else(h!==1||f!==1)&&g.push(o(g)+"scale("+h+","+f+")")}return function(c,d){var h=[],f=[];return c=e(c),d=e(d),i(c.translateX,c.translateY,d.translateX,d.translateY,h,f),s(c.rotate,d.rotate,h,f),a(c.skewX,d.skewX,h,f),l(c.scaleX,c.scaleY,d.scaleX,d.scaleY,h,f),c=d=null,function(g){for(var v=-1,_=f.length,y;++v<_;)h[(y=f[v]).i]=y.x(g);return h.join("")}}}var pf=Oa(gf,"px, ","px)","deg)"),mf=Oa(vf,", ",")",")"),yf=1e-12;function Yi(e){return((e=Math.exp(e))+1/e)/2}function _f(e){return((e=Math.exp(e))-1/e)/2}function wf(e){return((e=Math.exp(2*e))-1)/(e+1)}const yr=(function e(t,n,r){function o(i,s){var a=i[0],l=i[1],c=i[2],d=s[0],h=s[1],f=s[2],g=d-a,v=h-l,_=g*g+v*v,y,w;if(_=0&&e._call.call(void 0,t),e=e._next;--_n}function Wi(){Jt=(Tr=Kn.now())+Ur,_n=In=0;try{xf()}finally{_n=0,Sf(),Jt=0}}function Ef(){var e=Kn.now(),t=e-Tr;t>Ra&&(Ur-=t,Tr=e)}function Sf(){for(var e,t=Ar,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Ar=n);zn=e,Ao(r)}function Ao(e){if(!_n){In&&(In=clearTimeout(In));var t=e-Jt;t>24?(e<1/0&&(In=setTimeout(Wi,e-Kn.now()-Ur)),Mn&&(Mn=clearInterval(Mn))):(Mn||(Tr=Kn.now(),Mn=setInterval(Ef,Ra)),_n=1,qa(Wi))}}function Zi(e,t,n){var r=new Dr;return t=t==null?0:+t,r.restart(o=>{r.stop(),e(o+t)},t,n),r}var kf=Xr("start","end","cancel","interrupt"),Cf=[],La=0,Xi=1,To=2,_r=3,Gi=4,Do=5,wr=6;function Qr(e,t,n,r,o,i){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;Nf(e,n,{name:t,index:r,group:o,on:kf,tween:Cf,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:La})}function si(e,t){var n=Je(e,t);if(n.state>La)throw new Error("too late; already scheduled");return n}function dt(e,t){var n=Je(e,t);if(n.state>_r)throw new Error("too late; already running");return n}function Je(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Nf(e,t,n){var r=e.__transition,o;r[t]=n,n.timer=Ha(i,0,n.time);function i(c){n.state=Xi,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var d,h,f,g;if(n.state!==Xi)return l();for(d in r)if(g=r[d],g.name===n.name){if(g.state===_r)return Zi(s);g.state===Gi?(g.state=wr,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete r[d]):+dTo&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function rh(e,t,n){var r,o,i=nh(t)?si:dt;return function(){var s=i(this,e),a=s.on;a!==r&&(o=(r=a).copy()).on(t,n),s.on=o}}function oh(e,t){var n=this._id;return arguments.length<2?Je(this.node(),n).on.on(e):this.each(rh(n,e,t))}function ih(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function sh(){return this.on("end.remove",ih(this._id))}function ah(e){var t=this._name,n=this._id;typeof e!="function"&&(e=ti(e));for(var r=this._groups,o=r.length,i=new Array(o),s=0;s()=>e;function Dh(e,{sourceEvent:t,target:n,transform:r,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function yt(e,t,n){this.k=e,this.x=t,this.y=n}yt.prototype={constructor:yt,scale:function(e){return e===1?this:new yt(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new yt(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var jr=new yt(1,0,0);Ka.prototype=yt.prototype;function Ka(e){for(;!e.__zoom;)if(!(e=e.parentNode))return jr;return e.__zoom}function ao(e){e.stopImmediatePropagation()}function An(e){e.preventDefault(),e.stopImmediatePropagation()}function Ih(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function zh(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function Ui(){return this.__zoom||jr}function Oh(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function Rh(){return navigator.maxTouchPoints||"ontouchstart"in this}function qh(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s))}function Ya(){var e=Ih,t=zh,n=qh,r=Oh,o=Rh,i=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],a=250,l=yr,c=Xr("start","zoom","end"),d,h,f,g=500,v=150,_=0,y=10;function w(p){p.property("__zoom",Ui).on("wheel.zoom",M,{passive:!1}).on("mousedown.zoom",H).on("dblclick.zoom",K).filter(o).on("touchstart.zoom",P).on("touchmove.zoom",x).on("touchend.zoom touchcancel.zoom",N).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}w.transform=function(p,E,S,D){var O=p.selection?p.selection():p;O.property("__zoom",Ui),p!==O?A(p,E,S,D):O.interrupt().each(function(){T(this,arguments).event(D).start().zoom(null,typeof E=="function"?E.apply(this,arguments):E).end()})},w.scaleBy=function(p,E,S,D){w.scaleTo(p,function(){var O=this.__zoom.k,I=typeof E=="function"?E.apply(this,arguments):E;return O*I},S,D)},w.scaleTo=function(p,E,S,D){w.transform(p,function(){var O=t.apply(this,arguments),I=this.__zoom,q=S==null?b(O):typeof S=="function"?S.apply(this,arguments):S,V=I.invert(q),W=typeof E=="function"?E.apply(this,arguments):E;return n(k(C(I,W),q,V),O,s)},S,D)},w.translateBy=function(p,E,S,D){w.transform(p,function(){return n(this.__zoom.translate(typeof E=="function"?E.apply(this,arguments):E,typeof S=="function"?S.apply(this,arguments):S),t.apply(this,arguments),s)},null,D)},w.translateTo=function(p,E,S,D,O){w.transform(p,function(){var I=t.apply(this,arguments),q=this.__zoom,V=D==null?b(I):typeof D=="function"?D.apply(this,arguments):D;return n(jr.translate(V[0],V[1]).scale(q.k).translate(typeof E=="function"?-E.apply(this,arguments):-E,typeof S=="function"?-S.apply(this,arguments):-S),I,s)},D,O)};function C(p,E){return E=Math.max(i[0],Math.min(i[1],E)),E===p.k?p:new yt(E,p.x,p.y)}function k(p,E,S){var D=E[0]-S[0]*p.k,O=E[1]-S[1]*p.k;return D===p.x&&O===p.y?p:new yt(p.k,D,O)}function b(p){return[(+p[0][0]+ +p[1][0])/2,(+p[0][1]+ +p[1][1])/2]}function A(p,E,S,D){p.on("start.zoom",function(){T(this,arguments).event(D).start()}).on("interrupt.zoom end.zoom",function(){T(this,arguments).event(D).end()}).tween("zoom",function(){var O=this,I=arguments,q=T(O,I).event(D),V=t.apply(O,I),W=S==null?b(V):typeof S=="function"?S.apply(O,I):S,Y=Math.max(V[1][0]-V[0][0],V[1][1]-V[0][1]),B=O.__zoom,U=typeof E=="function"?E.apply(O,I):E,Z=l(B.invert(W).concat(Y/B.k),U.invert(W).concat(Y/U.k));return function(X){if(X===1)X=U;else{var Q=Z(X),ue=Y/Q[2];X=new yt(ue,W[0]-Q[0]*ue,W[1]-Q[1]*ue)}q.zoom(null,X)}})}function T(p,E,S){return!S&&p.__zooming||new z(p,E)}function z(p,E){this.that=p,this.args=E,this.active=0,this.sourceEvent=null,this.extent=t.apply(p,E),this.taps=0}z.prototype={event:function(p){return p&&(this.sourceEvent=p),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(p,E){return this.mouse&&p!=="mouse"&&(this.mouse[1]=E.invert(this.mouse[0])),this.touch0&&p!=="touch"&&(this.touch0[1]=E.invert(this.touch0[0])),this.touch1&&p!=="touch"&&(this.touch1[1]=E.invert(this.touch1[0])),this.that.__zoom=E,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(p){var E=Ke(this.that).datum();c.call(p,this.that,new Dh(p,{sourceEvent:this.sourceEvent,target:w,transform:this.that.__zoom,dispatch:c}),E)}};function M(p,...E){if(!e.apply(this,arguments))return;var S=T(this,E).event(p),D=this.__zoom,O=Math.max(i[0],Math.min(i[1],D.k*Math.pow(2,r.apply(this,arguments)))),I=Xe(p);if(S.wheel)(S.mouse[0][0]!==I[0]||S.mouse[0][1]!==I[1])&&(S.mouse[1]=D.invert(S.mouse[0]=I)),clearTimeout(S.wheel);else{if(D.k===O)return;S.mouse=[I,D.invert(I)],br(this),S.start()}An(p),S.wheel=setTimeout(q,v),S.zoom("mouse",n(k(C(D,O),S.mouse[0],S.mouse[1]),S.extent,s));function q(){S.wheel=null,S.end()}}function H(p,...E){if(f||!e.apply(this,arguments))return;var S=p.currentTarget,D=T(this,E,!0).event(p),O=Ke(p.view).on("mousemove.zoom",W,!0).on("mouseup.zoom",Y,!0),I=Xe(p,S),q=p.clientX,V=p.clientY;Pa(p.view),ao(p),D.mouse=[I,this.__zoom.invert(I)],br(this),D.start();function W(B){if(An(B),!D.moved){var U=B.clientX-q,Z=B.clientY-V;D.moved=U*U+Z*Z>_}D.event(B).zoom("mouse",n(k(D.that.__zoom,D.mouse[0]=Xe(B,S),D.mouse[1]),D.extent,s))}function Y(B){O.on("mousemove.zoom mouseup.zoom",null),Ma(B.view,D.moved),An(B),D.event(B).end()}}function K(p,...E){if(e.apply(this,arguments)){var S=this.__zoom,D=Xe(p.changedTouches?p.changedTouches[0]:p,this),O=S.invert(D),I=S.k*(p.shiftKey?.5:2),q=n(k(C(S,I),D,O),t.apply(this,E),s);An(p),a>0?Ke(this).transition().duration(a).call(A,q,D,p):Ke(this).call(w.transform,q,D,p)}}function P(p,...E){if(e.apply(this,arguments)){var S=p.touches,D=S.length,O=T(this,E,p.changedTouches.length===D).event(p),I,q,V,W;for(ao(p),q=0;q"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,{id:t,sourceHandle:n,targetHandle:r})=>`Couldn't create edge for ${e} handle id: "${e==="source"?n:r}", edge id: ${t}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(e="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${e}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},Io=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],Wa=["Enter"," ","Escape"],Hh={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:t,y:n})=>`Moved selected node ${e}. New position, x: ${t}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var wn;(function(e){e.Strict="strict",e.Loose="loose"})(wn||(wn={}));var hn;(function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"})(hn||(hn={}));var Ir;(function(e){e.Partial="partial",e.Full="full"})(Ir||(Ir={}));const zo={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Tt;(function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"})(Tt||(Tt={}));var zr;(function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"})(zr||(zr={}));var j;(function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"})(j||(j={}));const Qi={[j.Left]:j.Right,[j.Right]:j.Left,[j.Top]:j.Bottom,[j.Bottom]:j.Top};function Lh(e,t){if(!e&&!t)return!0;if(!e||!t||e.size!==t.size)return!1;if(!e.size&&!t.size)return!0;for(const n of e.keys())if(!t.has(n))return!1;return!0}function ji(e,t,n){if(!n)return;const r=[];e.forEach((o,i)=>{t?.has(i)||r.push(o)}),r.length&&n(r)}function Vh(e){return e===null?null:e?"valid":"invalid"}const Za=e=>"id"in e&&"source"in e&&"target"in e,Bh=e=>"id"in e&&"position"in e&&!("source"in e)&&!("target"in e),li=e=>"id"in e&&"internals"in e&&!("source"in e)&&!("target"in e),rr=(e,t=[0,0])=>{const{width:n,height:r}=Bt(e),o=e.origin??t,i=n*o[0],s=r*o[1];return{x:e.position.x-i,y:e.position.y-s}},Fh=(e,t={nodeOrigin:[0,0]})=>{if(e.length===0)return{x:0,y:0,width:0,height:0};const n=e.reduce((r,o)=>{const i=typeof o=="string";let s=!t.nodeLookup&&!i?o:void 0;t.nodeLookup&&(s=i?t.nodeLookup.get(o):li(o)?o:t.nodeLookup.get(o.id));const a=s?Or(s,t.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Jr(r,a)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return $r(n)},or=(e,t={})=>{let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0},r=!1;return e.forEach(o=>{(t.filter===void 0||t.filter(o))&&(n=Jr(n,Or(o)),r=!0)}),r?$r(n):{x:0,y:0,width:0,height:0}},ci=(e,t,[n,r,o]=[0,0,1],i=!1,s=!1)=>{const a={...sr(t,[n,r,o]),width:t.width/o,height:t.height/o},l=[];for(const c of e.values()){const{measured:d,selectable:h=!0,hidden:f=!1}=c;if(s&&!h||f)continue;const g=d.width??c.width??c.initialWidth??null,v=d.height??c.height??c.initialHeight??null,_=Wn(a,xn(c)),y=(g??0)*(v??0),w=i&&_>0;(!c.internals.handleBounds||w||_>=y||c.dragging)&&l.push(c)}return l},Kh=(e,t)=>{const n=new Set;return e.forEach(r=>{n.add(r.id)}),t.filter(r=>n.has(r.source)||n.has(r.target))};function Yh(e,t){const n=new Map,r=t?.nodes?new Set(t.nodes.map(o=>o.id)):null;return e.forEach(o=>{o.measured.width&&o.measured.height&&(t?.includeHiddenNodes||!o.hidden)&&(!r||r.has(o.id))&&n.set(o.id,o)}),n}async function Wh({nodes:e,width:t,height:n,panZoom:r,minZoom:o,maxZoom:i},s){if(e.size===0)return Promise.resolve(!0);const a=Yh(e,s),l=or(a),c=ui(l,t,n,s?.minZoom??o,s?.maxZoom??i,s?.padding??.1);return await r.setViewport(c,{duration:s?.duration,ease:s?.ease,interpolate:s?.interpolate}),Promise.resolve(!0)}function Xa({nodeId:e,nextPosition:t,nodeLookup:n,nodeOrigin:r=[0,0],nodeExtent:o,onError:i}){const s=n.get(e),a=s.parentId?n.get(s.parentId):void 0,{x:l,y:c}=a?a.internals.positionAbsolute:{x:0,y:0},d=s.origin??r;let h=s.extent||o;if(s.extent==="parent"&&!s.expandParent)if(!a)i?.("005",Yn.error005());else{const g=a.measured.width,v=a.measured.height;g&&v&&(h=[[l,c],[l+g,c+v]])}else a&&En(s.extent)&&(h=[[s.extent[0][0]+l,s.extent[0][1]+c],[s.extent[1][0]+l,s.extent[1][1]+c]]);const f=En(h)?$t(t,h,s.measured):t;return(s.measured.width===void 0||s.measured.height===void 0)&&i?.("015",Yn.error015()),{position:{x:f.x-l+(s.measured.width??0)*d[0],y:f.y-c+(s.measured.height??0)*d[1]},positionAbsolute:f}}async function Zh({nodesToRemove:e=[],edgesToRemove:t=[],nodes:n,edges:r,onBeforeDelete:o}){const i=new Set(e.map(f=>f.id)),s=[];for(const f of n){if(f.deletable===!1)continue;const g=i.has(f.id),v=!g&&f.parentId&&s.find(_=>_.id===f.parentId);(g||v)&&s.push(f)}const a=new Set(t.map(f=>f.id)),l=r.filter(f=>f.deletable!==!1),d=Kh(s,l);for(const f of l)a.has(f.id)&&!d.find(v=>v.id===f.id)&&d.push(f);if(!o)return{edges:d,nodes:s};const h=await o({nodes:s,edges:d});return typeof h=="boolean"?h?{edges:d,nodes:s}:{edges:[],nodes:[]}:h}const bn=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),$t=(e={x:0,y:0},t,n)=>({x:bn(e.x,t[0][0],t[1][0]-(n?.width??0)),y:bn(e.y,t[0][1],t[1][1]-(n?.height??0))});function Ga(e,t,n){const{width:r,height:o}=Bt(n),{x:i,y:s}=n.internals.positionAbsolute;return $t(e,[[i,s],[i+r,s+o]],t)}const Ji=(e,t,n)=>en?-bn(Math.abs(e-n),1,t)/t:0,Ua=(e,t,n=15,r=40)=>{const o=Ji(e.x,r,t.width-r)*n,i=Ji(e.y,r,t.height-r)*n;return[o,i]},Jr=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),Oo=({x:e,y:t,width:n,height:r})=>({x:e,y:t,x2:e+n,y2:t+r}),$r=({x:e,y:t,x2:n,y2:r})=>({x:e,y:t,width:n-e,height:r-t}),xn=(e,t=[0,0])=>{const{x:n,y:r}=li(e)?e.internals.positionAbsolute:rr(e,t);return{x:n,y:r,width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}},Or=(e,t=[0,0])=>{const{x:n,y:r}=li(e)?e.internals.positionAbsolute:rr(e,t);return{x:n,y:r,x2:n+(e.measured?.width??e.width??e.initialWidth??0),y2:r+(e.measured?.height??e.height??e.initialHeight??0)}},Qa=(e,t)=>$r(Jr(Oo(e),Oo(t))),Wn=(e,t)=>{const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),r=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*r)},$i=e=>_t(e.width)&&_t(e.height)&&_t(e.x)&&_t(e.y),_t=e=>!isNaN(e)&&isFinite(e),Xh=(e,t)=>{},ir=(e,t=[1,1])=>({x:t[0]*Math.round(e.x/t[0]),y:t[1]*Math.round(e.y/t[1])}),sr=({x:e,y:t},[n,r,o],i=!1,s=[1,1])=>{const a={x:(e-n)/o,y:(t-r)/o};return i?ir(a,s):a},Rr=({x:e,y:t},[n,r,o])=>({x:e*o+n,y:t*o+r});function an(e,t){if(typeof e=="number")return Math.floor((t-t/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(n)}if(typeof e=="string"&&e.endsWith("%")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(t*n*.01)}return console.error(`[React Flow] The padding value "${e}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function Gh(e,t,n){if(typeof e=="string"||typeof e=="number"){const r=an(e,n),o=an(e,t);return{top:r,right:o,bottom:r,left:o,x:o*2,y:r*2}}if(typeof e=="object"){const r=an(e.top??e.y??0,n),o=an(e.bottom??e.y??0,n),i=an(e.left??e.x??0,t),s=an(e.right??e.x??0,t);return{top:r,right:s,bottom:o,left:i,x:i+s,y:r+o}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function Uh(e,t,n,r,o,i){const{x:s,y:a}=Rr(e,[t,n,r]),{x:l,y:c}=Rr({x:e.x+e.width,y:e.y+e.height},[t,n,r]),d=o-l,h=i-c;return{left:Math.floor(s),top:Math.floor(a),right:Math.floor(d),bottom:Math.floor(h)}}const ui=(e,t,n,r,o,i)=>{const s=Gh(i,t,n),a=(t-s.x)/e.width,l=(n-s.y)/e.height,c=Math.min(a,l),d=bn(c,r,o),h=e.x+e.width/2,f=e.y+e.height/2,g=t/2-h*d,v=n/2-f*d,_=Uh(e,g,v,d,t,n),y={left:Math.min(_.left-s.left,0),top:Math.min(_.top-s.top,0),right:Math.min(_.right-s.right,0),bottom:Math.min(_.bottom-s.bottom,0)};return{x:g-y.left+y.right,y:v-y.top+y.bottom,zoom:d}},Zn=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function En(e){return e!=null&&e!=="parent"}function Bt(e){return{width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}}function ja(e){return(e.measured?.width??e.width??e.initialWidth)!==void 0&&(e.measured?.height??e.height??e.initialHeight)!==void 0}function Qh(e,t={width:0,height:0},n,r,o){const i={...e},s=r.get(n);if(s){const a=s.origin||o;i.x+=s.internals.positionAbsolute.x-(t.width??0)*a[0],i.y+=s.internals.positionAbsolute.y-(t.height??0)*a[1]}return i}function jh(e){return{...Hh,...e||{}}}function lo(e,{snapGrid:t=[0,0],snapToGrid:n=!1,transform:r,containerBounds:o}){const{x:i,y:s}=Qe(e),a=sr({x:i-(o?.left??0),y:s-(o?.top??0)},r),{x:l,y:c}=n?ir(a,t):a;return{xSnapped:l,ySnapped:c,...a}}const Ja=e=>({width:e.offsetWidth,height:e.offsetHeight}),$a=e=>e?.getRootNode?.()||window?.document,Jh=["INPUT","SELECT","TEXTAREA"];function el(e){const t=e.composedPath?.()?.[0]||e.target;return t?.nodeType!==1?!1:Jh.includes(t.nodeName)||t.hasAttribute("contenteditable")||!!t.closest(".nokey")}const tl=e=>"clientX"in e,Qe=(e,t)=>{const n=tl(e),r=n?e.clientX:e.touches?.[0].clientX,o=n?e.clientY:e.touches?.[0].clientY;return{x:r-(t?.left??0),y:o-(t?.top??0)}},es=(e,t,n,r,o)=>{const i=t.querySelectorAll(`.${e}`);return!i||!i.length?null:Array.from(i).map(s=>{const a=s.getBoundingClientRect();return{id:s.getAttribute("data-handleid"),type:e,nodeId:o,position:s.getAttribute("data-handlepos"),x:(a.left-n.left)/r,y:(a.top-n.top)/r,...Ja(s)}})};function $h({sourceX:e,sourceY:t,targetX:n,targetY:r,sourceControlX:o,sourceControlY:i,targetControlX:s,targetControlY:a}){const l=e*.125+o*.375+s*.375+n*.125,c=t*.125+i*.375+a*.375+r*.125,d=Math.abs(l-e),h=Math.abs(c-t);return[l,c,d,h]}function gr(e,t){return e>=0?.5*e:t*25*Math.sqrt(-e)}function ts({pos:e,x1:t,y1:n,x2:r,y2:o,c:i}){switch(e){case j.Left:return[t-gr(t-r,i),n];case j.Right:return[t+gr(r-t,i),n];case j.Top:return[t,n-gr(n-o,i)];case j.Bottom:return[t,n+gr(o-n,i)]}}function nl({sourceX:e,sourceY:t,sourcePosition:n=j.Bottom,targetX:r,targetY:o,targetPosition:i=j.Top,curvature:s=.25}){const[a,l]=ts({pos:n,x1:e,y1:t,x2:r,y2:o,c:s}),[c,d]=ts({pos:i,x1:r,y1:o,x2:e,y2:t,c:s}),[h,f,g,v]=$h({sourceX:e,sourceY:t,targetX:r,targetY:o,sourceControlX:a,sourceControlY:l,targetControlX:c,targetControlY:d});return[`M${e},${t} C${a},${l} ${c},${d} ${r},${o}`,h,f,g,v]}function rl({sourceX:e,sourceY:t,targetX:n,targetY:r}){const o=Math.abs(n-e)/2,i=n0}const ng=({source:e,sourceHandle:t,target:n,targetHandle:r})=>`xy-edge__${e}${t||""}-${n}${r||""}`,rg=(e,t)=>t.some(n=>n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle)),og=(e,t,n={})=>{if(!e.source||!e.target)return t;const r=n.getEdgeId||ng;let o;return Za(e)?o={...e}:o={...e,id:r(e)},rg(o,t)?t:(o.sourceHandle===null&&delete o.sourceHandle,o.targetHandle===null&&delete o.targetHandle,t.concat(o))};function ol({sourceX:e,sourceY:t,targetX:n,targetY:r}){const[o,i,s,a]=rl({sourceX:e,sourceY:t,targetX:n,targetY:r});return[`M ${e},${t}L ${n},${r}`,o,i,s,a]}const ns={[j.Left]:{x:-1,y:0},[j.Right]:{x:1,y:0},[j.Top]:{x:0,y:-1},[j.Bottom]:{x:0,y:1}},ig=({source:e,sourcePosition:t=j.Bottom,target:n})=>t===j.Left||t===j.Right?e.xMath.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function sg({source:e,sourcePosition:t=j.Bottom,target:n,targetPosition:r=j.Top,center:o,offset:i,stepPosition:s}){const a=ns[t],l=ns[r],c={x:e.x+a.x*i,y:e.y+a.y*i},d={x:n.x+l.x*i,y:n.y+l.y*i},h=ig({source:c,sourcePosition:t,target:d}),f=h.x!==0?"x":"y",g=h[f];let v=[],_,y;const w={x:0,y:0},C={x:0,y:0},[,,k,b]=rl({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(a[f]*l[f]===-1){f==="x"?(_=o.x??c.x+(d.x-c.x)*s,y=o.y??(c.y+d.y)/2):(_=o.x??(c.x+d.x)/2,y=o.y??c.y+(d.y-c.y)*s);const T=[{x:_,y:c.y},{x:_,y:d.y}],z=[{x:c.x,y},{x:d.x,y}];a[f]===g?v=f==="x"?T:z:v=f==="x"?z:T}else{const T=[{x:c.x,y:d.y}],z=[{x:d.x,y:c.y}];if(f==="x"?v=a.x===g?z:T:v=a.y===g?T:z,t===r){const x=Math.abs(e[f]-n[f]);if(x<=i){const N=Math.min(i-1,i-x);a[f]===g?w[f]=(c[f]>e[f]?-1:1)*N:C[f]=(d[f]>n[f]?-1:1)*N}}if(t!==r){const x=f==="x"?"y":"x",N=a[f]===l[x],p=c[x]>d[x],E=c[x]=P?(_=(M.x+H.x)/2,y=v[0].y):(_=v[0].x,y=(M.y+H.y)/2)}return[[e,{x:c.x+w.x,y:c.y+w.y},...v,{x:d.x+C.x,y:d.y+C.y},n],_,y,k,b]}function ag(e,t,n,r){const o=Math.min(rs(e,t)/2,rs(t,n)/2,r),{x:i,y:s}=t;if(e.x===i&&i===n.x||e.y===s&&s===n.y)return`L${i} ${s}`;if(e.y===s){const c=e.x{let b="";return k>0&&kn.id===t):e[0])||null}function Ro(e,t){return e?typeof e=="string"?e:`${t?`${t}__`:""}${Object.keys(e).sort().map(r=>`${r}=${e[r]}`).join("&")}`:""}function cg(e,{id:t,defaultColor:n,defaultMarkerStart:r,defaultMarkerEnd:o}){const i=new Set;return e.reduce((s,a)=>([a.markerStart||r,a.markerEnd||o].forEach(l=>{if(l&&typeof l=="object"){const c=Ro(l,t);i.has(c)||(s.push({id:c,color:l.color||n,...l}),i.add(c))}}),s),[]).sort((s,a)=>s.id.localeCompare(a.id))}const il=1e3,ug=10,fi={nodeOrigin:[0,0],nodeExtent:Io,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},dg={...fi,checkEquality:!0};function hi(e,t){const n={...e};for(const r in t)t[r]!==void 0&&(n[r]=t[r]);return n}function fg(e,t,n){const r=hi(fi,n);for(const o of e.values())if(o.parentId)vi(o,e,t,r);else{const i=rr(o,r.nodeOrigin),s=En(o.extent)?o.extent:r.nodeExtent,a=$t(i,s,Bt(o));o.internals.positionAbsolute=a}}function hg(e,t){if(!e.handles)return e.measured?t?.internals.handleBounds:void 0;const n=[],r=[];for(const o of e.handles){const i={id:o.id,width:o.width??1,height:o.height??1,nodeId:e.id,x:o.x,y:o.y,position:o.position,type:o.type};o.type==="source"?n.push(i):o.type==="target"&&r.push(i)}return{source:n,target:r}}function gi(e){return e==="manual"}function gg(e,t,n,r={}){const o=hi(dg,r),i={i:0},s=new Map(t),a=o?.elevateNodesOnSelect&&!gi(o.zIndexMode)?il:0;let l=e.length>0;t.clear(),n.clear();for(const c of e){let d=s.get(c.id);if(o.checkEquality&&c===d?.internals.userNode)t.set(c.id,d);else{const h=rr(c,o.nodeOrigin),f=En(c.extent)?c.extent:o.nodeExtent,g=$t(h,f,Bt(c));d={...o.defaults,...c,measured:{width:c.measured?.width,height:c.measured?.height},internals:{positionAbsolute:g,handleBounds:hg(c,d),z:sl(c,a,o.zIndexMode),userNode:c}},t.set(c.id,d)}(d.measured===void 0||d.measured.width===void 0||d.measured.height===void 0)&&!d.hidden&&(l=!1),c.parentId&&vi(d,t,n,r,i)}return l}function vg(e,t){if(!e.parentId)return;const n=t.get(e.parentId);n?n.set(e.id,e):t.set(e.parentId,new Map([[e.id,e]]))}function vi(e,t,n,r,o){const{elevateNodesOnSelect:i,nodeOrigin:s,nodeExtent:a,zIndexMode:l}=hi(fi,r),c=e.parentId,d=t.get(c);if(!d){console.warn(`Parent node ${c} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}vg(e,n),o&&!d.parentId&&d.internals.rootParentIndex===void 0&&l==="auto"&&(d.internals.rootParentIndex=++o.i,d.internals.z=d.internals.z+o.i*ug),o&&d.internals.rootParentIndex!==void 0&&(o.i=d.internals.rootParentIndex);const h=i&&!gi(l)?il:0,{x:f,y:g,z:v}=pg(e,d,s,a,h,l),{positionAbsolute:_}=e.internals,y=f!==_.x||g!==_.y;(y||v!==e.internals.z)&&t.set(e.id,{...e,internals:{...e.internals,positionAbsolute:y?{x:f,y:g}:_,z:v}})}function sl(e,t,n){const r=_t(e.zIndex)?e.zIndex:0;return gi(n)?r:r+(e.selected?t:0)}function pg(e,t,n,r,o,i){const{x:s,y:a}=t.internals.positionAbsolute,l=Bt(e),c=rr(e,n),d=En(e.extent)?$t(c,e.extent,l):c;let h=$t({x:s+d.x,y:a+d.y},r,l);e.extent==="parent"&&(h=Ga(h,l,t));const f=sl(e,o,i),g=t.internals.z??0;return{x:h.x,y:h.y,z:g>=f?g+1:f}}function mg(e,t,n,r=[0,0]){const o=[],i=new Map;for(const s of e){const a=t.get(s.parentId);if(!a)continue;const l=i.get(s.parentId)?.expandedRect??xn(a),c=Qa(l,s.rect);i.set(s.parentId,{expandedRect:c,parent:a})}return i.size>0&&i.forEach(({expandedRect:s,parent:a},l)=>{const c=a.internals.positionAbsolute,d=Bt(a),h=a.origin??r,f=s.x0||g>0||y||w)&&(o.push({id:l,type:"position",position:{x:a.position.x-f+y,y:a.position.y-g+w}}),n.get(l)?.forEach(C=>{e.some(k=>k.id===C.id)||o.push({id:C.id,type:"position",position:{x:C.position.x+f,y:C.position.y+g}})})),(d.width0){const g=mg(f,t,n,o);c.push(...g)}return{changes:c,updatedInternals:l}}async function _g({delta:e,panZoom:t,transform:n,translateExtent:r,width:o,height:i}){if(!t||!e.x&&!e.y)return Promise.resolve(!1);const s=await t.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[o,i]],r),a=!!s&&(s.x!==n[0]||s.y!==n[1]||s.k!==n[2]);return Promise.resolve(a)}function as(e,t,n,r,o,i){let s=o;const a=r.get(s)||new Map;r.set(s,a.set(n,t)),s=`${o}-${e}`;const l=r.get(s)||new Map;if(r.set(s,l.set(n,t)),i){s=`${o}-${e}-${i}`;const c=r.get(s)||new Map;r.set(s,c.set(n,t))}}function wg(e,t,n){e.clear(),t.clear();for(const r of n){const{source:o,target:i,sourceHandle:s=null,targetHandle:a=null}=r,l={edgeId:r.id,source:o,target:i,sourceHandle:s,targetHandle:a},c=`${o}-${s}--${i}-${a}`,d=`${i}-${a}--${o}-${s}`;as("source",l,d,e,o,s),as("target",l,c,e,i,a),t.set(r.id,r)}}function al(e,t){if(!e.parentId)return!1;const n=t.get(e.parentId);return n?n.selected?!0:al(n,t):!1}function ls(e,t,n){let r=e;do{if(r?.matches?.(t))return!0;if(r===n)return!1;r=r?.parentElement}while(r);return!1}function bg(e,t,n,r){const o=new Map;for(const[i,s]of e)if((s.selected||s.id===r)&&(!s.parentId||!al(s,e))&&(s.draggable||t&&typeof s.draggable>"u")){const a=e.get(i);a&&o.set(i,{id:i,position:a.position||{x:0,y:0},distance:{x:n.x-a.internals.positionAbsolute.x,y:n.y-a.internals.positionAbsolute.y},extent:a.extent,parentId:a.parentId,origin:a.origin,expandParent:a.expandParent,internals:{positionAbsolute:a.internals.positionAbsolute||{x:0,y:0}},measured:{width:a.measured.width??0,height:a.measured.height??0}})}return o}function co({nodeId:e,dragItems:t,nodeLookup:n,dragging:r=!0}){const o=[];for(const[s,a]of t){const l=n.get(s)?.internals.userNode;l&&o.push({...l,position:a.position,dragging:r})}if(!e)return[o[0],o];const i=n.get(e)?.internals.userNode;return[i?{...i,position:t.get(e)?.position||i.position,dragging:r}:o[0],o]}function xg({dragItems:e,snapGrid:t,x:n,y:r}){const o=e.values().next().value;if(!o)return null;const i={x:n-o.distance.x,y:r-o.distance.y},s=ir(i,t);return{x:s.x-i.x,y:s.y-i.y}}function Eg({onNodeMouseDown:e,getStoreItems:t,onDragStart:n,onDrag:r,onDragStop:o}){let i={x:null,y:null},s=0,a=new Map,l=!1,c={x:0,y:0},d=null,h=!1,f=null,g=!1,v=!1,_=null;function y({noDragClassName:C,handleSelector:k,domNode:b,isSelectable:A,nodeId:T,nodeClickDistance:z=0}){f=Ke(b);function M({x,y:N}){const{nodeLookup:p,nodeExtent:E,snapGrid:S,snapToGrid:D,nodeOrigin:O,onNodeDrag:I,onSelectionDrag:q,onError:V,updateNodePositions:W}=t();i={x,y:N};let Y=!1;const B=a.size>1,U=B&&E?Oo(or(a)):null,Z=B&&D?xg({dragItems:a,snapGrid:S,x,y:N}):null;for(const[X,Q]of a){if(!p.has(X))continue;let ue={x:x-Q.distance.x,y:N-Q.distance.y};D&&(ue=Z?{x:Math.round(ue.x+Z.x),y:Math.round(ue.y+Z.y)}:ir(ue,S));let we=null;if(B&&E&&!Q.extent&&U){const{positionAbsolute:te}=Q.internals,Me=te.x-U.x+E[0][0],Ct=te.x+Q.measured.width-U.x2+E[1][0],Nt=te.y-U.y+E[0][1],ft=te.y+Q.measured.height-U.y2+E[1][1];we=[[Me,Nt],[Ct,ft]]}const{position:J,positionAbsolute:pe}=Xa({nodeId:X,nextPosition:ue,nodeLookup:p,nodeExtent:we||E,nodeOrigin:O,onError:V});Y=Y||Q.position.x!==J.x||Q.position.y!==J.y,Q.position=J,Q.internals.positionAbsolute=pe}if(v=v||Y,!!Y&&(W(a,!0),_&&(r||I||!T&&q))){const[X,Q]=co({nodeId:T,dragItems:a,nodeLookup:p});r?.(_,a,X,Q),I?.(_,X,Q),T||q?.(_,Q)}}async function H(){if(!d)return;const{transform:x,panBy:N,autoPanSpeed:p,autoPanOnNodeDrag:E}=t();if(!E){l=!1,cancelAnimationFrame(s);return}const[S,D]=Ua(c,d,p);(S!==0||D!==0)&&(i.x=(i.x??0)-S/x[2],i.y=(i.y??0)-D/x[2],await N({x:S,y:D})&&M(i)),s=requestAnimationFrame(H)}function K(x){const{nodeLookup:N,multiSelectionActive:p,nodesDraggable:E,transform:S,snapGrid:D,snapToGrid:O,selectNodesOnDrag:I,onNodeDragStart:q,onSelectionDragStart:V,unselectNodesAndEdges:W}=t();h=!0,(!I||!A)&&!p&&T&&(N.get(T)?.selected||W()),A&&I&&T&&e?.(T);const Y=lo(x.sourceEvent,{transform:S,snapGrid:D,snapToGrid:O,containerBounds:d});if(i=Y,a=bg(N,E,Y,T),a.size>0&&(n||q||!T&&V)){const[B,U]=co({nodeId:T,dragItems:a,nodeLookup:N});n?.(x.sourceEvent,a,B,U),q?.(x.sourceEvent,B,U),T||V?.(x.sourceEvent,U)}}const P=Yd().clickDistance(z).on("start",x=>{const{domNode:N,nodeDragThreshold:p,transform:E,snapGrid:S,snapToGrid:D}=t();d=N?.getBoundingClientRect()||null,g=!1,v=!1,_=x.sourceEvent,p===0&&K(x),i=lo(x.sourceEvent,{transform:E,snapGrid:S,snapToGrid:D,containerBounds:d}),c=Qe(x.sourceEvent,d)}).on("drag",x=>{const{autoPanOnNodeDrag:N,transform:p,snapGrid:E,snapToGrid:S,nodeDragThreshold:D,nodeLookup:O}=t(),I=lo(x.sourceEvent,{transform:p,snapGrid:E,snapToGrid:S,containerBounds:d});if(_=x.sourceEvent,(x.sourceEvent.type==="touchmove"&&x.sourceEvent.touches.length>1||T&&!O.has(T))&&(g=!0),!g){if(!l&&N&&h&&(l=!0,H()),!h){const q=Qe(x.sourceEvent,d),V=q.x-c.x,W=q.y-c.y;Math.sqrt(V*V+W*W)>D&&K(x)}(i.x!==I.xSnapped||i.y!==I.ySnapped)&&a&&h&&(c=Qe(x.sourceEvent,d),M(I))}}).on("end",x=>{if(!(!h||g)&&(l=!1,h=!1,cancelAnimationFrame(s),a.size>0)){const{nodeLookup:N,updateNodePositions:p,onNodeDragStop:E,onSelectionDragStop:S}=t();if(v&&(p(a,!1),v=!1),o||E||!T&&S){const[D,O]=co({nodeId:T,dragItems:a,nodeLookup:N,dragging:!1});o?.(x.sourceEvent,a,D,O),E?.(x.sourceEvent,D,O),T||S?.(x.sourceEvent,O)}}}).filter(x=>{const N=x.target;return!x.button&&(!C||!ls(N,`.${C}`,b))&&(!k||ls(N,k,b))});f.call(P)}function w(){f?.on(".drag",null)}return{update:y,destroy:w}}function Sg(e,t,n){const r=[],o={x:e.x-n,y:e.y-n,width:n*2,height:n*2};for(const i of t.values())Wn(o,xn(i))>0&&r.push(i);return r}const kg=250;function Cg(e,t,n,r){let o=[],i=1/0;const s=Sg(e,n,t+kg);for(const a of s){const l=[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]];for(const c of l){if(r.nodeId===c.nodeId&&r.type===c.type&&r.id===c.id)continue;const{x:d,y:h}=en(a,c,c.position,!0),f=Math.sqrt(Math.pow(d-e.x,2)+Math.pow(h-e.y,2));f>t||(f1){const a=r.type==="source"?"target":"source";return o.find(l=>l.type===a)??o[0]}return o[0]}function ll(e,t,n,r,o,i=!1){const s=r.get(e);if(!s)return null;const a=o==="strict"?s.internals.handleBounds?.[t]:[...s.internals.handleBounds?.source??[],...s.internals.handleBounds?.target??[]],l=(n?a?.find(c=>c.id===n):a?.[0])??null;return l&&i?{...l,...en(s,l,l.position,!0)}:l}function cl(e,t){return e||(t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null)}function Ng(e,t){let n=null;return t?n=!0:e&&!t&&(n=!1),n}const ul=()=>!0;function Pg(e,{connectionMode:t,connectionRadius:n,handleId:r,nodeId:o,edgeUpdaterType:i,isTarget:s,domNode:a,nodeLookup:l,lib:c,autoPanOnConnect:d,flowId:h,panBy:f,cancelConnection:g,onConnectStart:v,onConnect:_,onConnectEnd:y,isValidConnection:w=ul,onReconnectEnd:C,updateConnection:k,getTransform:b,getFromHandle:A,autoPanSpeed:T,dragThreshold:z=1,handleDomNode:M}){const H=$a(e.target);let K=0,P;const{x,y:N}=Qe(e),p=cl(i,M),E=a?.getBoundingClientRect();let S=!1;if(!E||!p)return;const D=ll(o,p,r,l,t);if(!D)return;let O=Qe(e,E),I=!1,q=null,V=!1,W=null;function Y(){if(!d||!E)return;const[J,pe]=Ua(O,E,T);f({x:J,y:pe}),K=requestAnimationFrame(Y)}const B={...D,nodeId:o,type:p,position:D.position},U=l.get(o);let X={inProgress:!0,isValid:null,from:en(U,B,j.Left,!0),fromHandle:B,fromPosition:B.position,fromNode:U,to:O,toHandle:null,toPosition:Qi[B.position],toNode:null,pointer:O};function Q(){S=!0,k(X),v?.(e,{nodeId:o,handleId:r,handleType:p})}z===0&&Q();function ue(J){if(!S){const{x:ft,y:ce}=Qe(J),ye=ft-x,Ze=ce-N;if(!(ye*ye+Ze*Ze>z*z))return;Q()}if(!A()||!B){we(J);return}const pe=b();O=Qe(J,E),P=Cg(sr(O,pe,!1,[1,1]),n,l,B),I||(Y(),I=!0);const te=dl(J,{handle:P,connectionMode:t,fromNodeId:o,fromHandleId:r,fromType:s?"target":"source",isValidConnection:w,doc:H,lib:c,flowId:h,nodeLookup:l});W=te.handleDomNode,q=te.connection,V=Ng(!!P,te.isValid);const Me=l.get(o),Ct=Me?en(Me,B,j.Left,!0):X.from,Nt={...X,from:Ct,isValid:V,to:te.toHandle&&V?Rr({x:te.toHandle.x,y:te.toHandle.y},pe):O,toHandle:te.toHandle,toPosition:V&&te.toHandle?te.toHandle.position:Qi[B.position],toNode:te.toHandle?l.get(te.toHandle.nodeId):null,pointer:O};k(Nt),X=Nt}function we(J){if(!("touches"in J&&J.touches.length>0)){if(S){(P||W)&&q&&V&&_?.(q);const{inProgress:pe,...te}=X,Me={...te,toPosition:X.toHandle?X.toPosition:null};y?.(J,Me),i&&C?.(J,Me)}g(),cancelAnimationFrame(K),I=!1,V=!1,q=null,W=null,H.removeEventListener("mousemove",ue),H.removeEventListener("mouseup",we),H.removeEventListener("touchmove",ue),H.removeEventListener("touchend",we)}}H.addEventListener("mousemove",ue),H.addEventListener("mouseup",we),H.addEventListener("touchmove",ue),H.addEventListener("touchend",we)}function dl(e,{handle:t,connectionMode:n,fromNodeId:r,fromHandleId:o,fromType:i,doc:s,lib:a,flowId:l,isValidConnection:c=ul,nodeLookup:d}){const h=i==="target",f=t?s.querySelector(`.${a}-flow__handle[data-id="${l}-${t?.nodeId}-${t?.id}-${t?.type}"]`):null,{x:g,y:v}=Qe(e),_=s.elementFromPoint(g,v),y=_?.classList.contains(`${a}-flow__handle`)?_:f,w={handleDomNode:y,isValid:!1,connection:null,toHandle:null};if(y){const C=cl(void 0,y),k=y.getAttribute("data-nodeid"),b=y.getAttribute("data-handleid"),A=y.classList.contains("connectable"),T=y.classList.contains("connectableend");if(!k||!C)return w;const z={source:h?k:r,sourceHandle:h?b:o,target:h?r:k,targetHandle:h?o:b};w.connection=z;const H=A&&T&&(n===wn.Strict?h&&C==="source"||!h&&C==="target":k!==r||b!==o);w.isValid=H&&c(z),w.toHandle=ll(k,C,b,d,n,!0)}return w}const cs={onPointerDown:Pg,isValid:dl};function Mg({domNode:e,panZoom:t,getTransform:n,getViewScale:r}){const o=Ke(e);function i({translateExtent:a,width:l,height:c,zoomStep:d=1,pannable:h=!0,zoomable:f=!0,inversePan:g=!1}){const v=k=>{if(k.sourceEvent.type!=="wheel"||!t)return;const b=n(),A=k.sourceEvent.ctrlKey&&Zn()?10:1,T=-k.sourceEvent.deltaY*(k.sourceEvent.deltaMode===1?.05:k.sourceEvent.deltaMode?1:.002)*d,z=b[2]*Math.pow(2,T*A);t.scaleTo(z)};let _=[0,0];const y=k=>{(k.sourceEvent.type==="mousedown"||k.sourceEvent.type==="touchstart")&&(_=[k.sourceEvent.clientX??k.sourceEvent.touches[0].clientX,k.sourceEvent.clientY??k.sourceEvent.touches[0].clientY])},w=k=>{const b=n();if(k.sourceEvent.type!=="mousemove"&&k.sourceEvent.type!=="touchmove"||!t)return;const A=[k.sourceEvent.clientX??k.sourceEvent.touches[0].clientX,k.sourceEvent.clientY??k.sourceEvent.touches[0].clientY],T=[A[0]-_[0],A[1]-_[1]];_=A;const z=r()*Math.max(b[2],Math.log(b[2]))*(g?-1:1),M={x:b[0]-T[0]*z,y:b[1]-T[1]*z},H=[[0,0],[l,c]];t.setViewportConstrained({x:M.x,y:M.y,zoom:b[2]},H,a)},C=Ya().on("start",y).on("zoom",h?w:null).on("zoom.wheel",f?v:null);o.call(C,{})}function s(){o.on("zoom",null)}return{update:i,destroy:s,pointer:Xe}}const eo=e=>({x:e.x,y:e.y,zoom:e.k}),uo=({x:e,y:t,zoom:n})=>jr.translate(e,t).scale(n),un=(e,t)=>e.target.closest(`.${t}`),fl=(e,t)=>t===2&&Array.isArray(e)&&e.includes(2),Ag=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,fo=(e,t=0,n=Ag,r=()=>{})=>{const o=typeof t=="number"&&t>0;return o||r(),o?e.transition().duration(t).ease(n).on("end",r):e},hl=e=>{const t=e.ctrlKey&&Zn()?10:1;return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*t};function Tg({zoomPanValues:e,noWheelClassName:t,d3Selection:n,d3Zoom:r,panOnScrollMode:o,panOnScrollSpeed:i,zoomOnPinch:s,onPanZoomStart:a,onPanZoom:l,onPanZoomEnd:c}){return d=>{if(un(d,t))return d.ctrlKey&&d.preventDefault(),!1;d.preventDefault(),d.stopImmediatePropagation();const h=n.property("__zoom").k||1;if(d.ctrlKey&&s){const y=Xe(d),w=hl(d),C=h*Math.pow(2,w);r.scaleTo(n,C,y,d);return}const f=d.deltaMode===1?20:1;let g=o===hn.Vertical?0:d.deltaX*f,v=o===hn.Horizontal?0:d.deltaY*f;!Zn()&&d.shiftKey&&o!==hn.Vertical&&(g=d.deltaY*f,v=0),r.translateBy(n,-(g/h)*i,-(v/h)*i,{internal:!0});const _=eo(n.property("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling?(l?.(d,_),e.panScrollTimeout=setTimeout(()=>{c?.(d,_),e.isPanScrolling=!1},150)):(e.isPanScrolling=!0,a?.(d,_))}}function Dg({noWheelClassName:e,preventScrolling:t,d3ZoomHandler:n}){return function(r,o){const i=r.type==="wheel",s=!t&&i&&!r.ctrlKey,a=un(r,e);if(r.ctrlKey&&i&&a&&r.preventDefault(),s||a)return null;r.preventDefault(),n.call(this,r,o)}}function Ig({zoomPanValues:e,onDraggingChange:t,onPanZoomStart:n}){return r=>{if(r.sourceEvent?.internal)return;const o=eo(r.transform);e.mouseButton=r.sourceEvent?.button||0,e.isZoomingOrPanning=!0,e.prevViewport=o,r.sourceEvent?.type==="mousedown"&&t(!0),n&&n?.(r.sourceEvent,o)}}function zg({zoomPanValues:e,panOnDrag:t,onPaneContextMenu:n,onTransformChange:r,onPanZoom:o}){return i=>{e.usedRightMouseButton=!!(n&&fl(t,e.mouseButton??0)),i.sourceEvent?.sync||r([i.transform.x,i.transform.y,i.transform.k]),o&&!i.sourceEvent?.internal&&o?.(i.sourceEvent,eo(i.transform))}}function Og({zoomPanValues:e,panOnDrag:t,panOnScroll:n,onDraggingChange:r,onPanZoomEnd:o,onPaneContextMenu:i}){return s=>{if(!s.sourceEvent?.internal&&(e.isZoomingOrPanning=!1,i&&fl(t,e.mouseButton??0)&&!e.usedRightMouseButton&&s.sourceEvent&&i(s.sourceEvent),e.usedRightMouseButton=!1,r(!1),o)){const a=eo(s.transform);e.prevViewport=a,clearTimeout(e.timerId),e.timerId=setTimeout(()=>{o?.(s.sourceEvent,a)},n?150:0)}}}function Rg({zoomActivationKeyPressed:e,zoomOnScroll:t,zoomOnPinch:n,panOnDrag:r,panOnScroll:o,zoomOnDoubleClick:i,userSelectionActive:s,noWheelClassName:a,noPanClassName:l,lib:c,connectionInProgress:d}){return h=>{const f=e||t,g=n&&h.ctrlKey,v=h.type==="wheel";if(h.button===1&&h.type==="mousedown"&&(un(h,`${c}-flow__node`)||un(h,`${c}-flow__edge`)))return!0;if(!r&&!f&&!o&&!i&&!n||s||d&&!v||un(h,a)&&v||un(h,l)&&(!v||o&&v&&!e)||!n&&h.ctrlKey&&v)return!1;if(!n&&h.type==="touchstart"&&h.touches?.length>1)return h.preventDefault(),!1;if(!f&&!o&&!g&&v||!r&&(h.type==="mousedown"||h.type==="touchstart")||Array.isArray(r)&&!r.includes(h.button)&&h.type==="mousedown")return!1;const _=Array.isArray(r)&&r.includes(h.button)||!h.button||h.button<=1;return(!h.ctrlKey||v)&&_}}function qg({domNode:e,minZoom:t,maxZoom:n,translateExtent:r,viewport:o,onPanZoom:i,onPanZoomStart:s,onPanZoomEnd:a,onDraggingChange:l}){const c={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},d=e.getBoundingClientRect(),h=Ya().scaleExtent([t,n]).translateExtent(r),f=Ke(e).call(h);C({x:o.x,y:o.y,zoom:bn(o.zoom,t,n)},[[0,0],[d.width,d.height]],r);const g=f.on("wheel.zoom"),v=f.on("dblclick.zoom");h.wheelDelta(hl);function _(P,x){return f?new Promise(N=>{h?.interpolate(x?.interpolate==="linear"?Rn:yr).transform(fo(f,x?.duration,x?.ease,()=>N(!0)),P)}):Promise.resolve(!1)}function y({noWheelClassName:P,noPanClassName:x,onPaneContextMenu:N,userSelectionActive:p,panOnScroll:E,panOnDrag:S,panOnScrollMode:D,panOnScrollSpeed:O,preventScrolling:I,zoomOnPinch:q,zoomOnScroll:V,zoomOnDoubleClick:W,zoomActivationKeyPressed:Y,lib:B,onTransformChange:U,connectionInProgress:Z,paneClickDistance:X,selectionOnDrag:Q}){p&&!c.isZoomingOrPanning&&w();const ue=E&&!Y&&!p;h.clickDistance(Q?1/0:!_t(X)||X<0?0:X);const we=ue?Tg({zoomPanValues:c,noWheelClassName:P,d3Selection:f,d3Zoom:h,panOnScrollMode:D,panOnScrollSpeed:O,zoomOnPinch:q,onPanZoomStart:s,onPanZoom:i,onPanZoomEnd:a}):Dg({noWheelClassName:P,preventScrolling:I,d3ZoomHandler:g});if(f.on("wheel.zoom",we,{passive:!1}),!p){const pe=Ig({zoomPanValues:c,onDraggingChange:l,onPanZoomStart:s});h.on("start",pe);const te=zg({zoomPanValues:c,panOnDrag:S,onPaneContextMenu:!!N,onPanZoom:i,onTransformChange:U});h.on("zoom",te);const Me=Og({zoomPanValues:c,panOnDrag:S,panOnScroll:E,onPaneContextMenu:N,onPanZoomEnd:a,onDraggingChange:l});h.on("end",Me)}const J=Rg({zoomActivationKeyPressed:Y,panOnDrag:S,zoomOnScroll:V,panOnScroll:E,zoomOnDoubleClick:W,zoomOnPinch:q,userSelectionActive:p,noPanClassName:x,noWheelClassName:P,lib:B,connectionInProgress:Z});h.filter(J),W?f.on("dblclick.zoom",v):f.on("dblclick.zoom",null)}function w(){h.on("zoom",null)}async function C(P,x,N){const p=uo(P),E=h?.constrain()(p,x,N);return E&&await _(E),new Promise(S=>S(E))}async function k(P,x){const N=uo(P);return await _(N,x),new Promise(p=>p(N))}function b(P){if(f){const x=uo(P),N=f.property("__zoom");(N.k!==P.zoom||N.x!==P.x||N.y!==P.y)&&h?.transform(f,x,null,{sync:!0})}}function A(){const P=f?Ka(f.node()):{x:0,y:0,k:1};return{x:P.x,y:P.y,zoom:P.k}}function T(P,x){return f?new Promise(N=>{h?.interpolate(x?.interpolate==="linear"?Rn:yr).scaleTo(fo(f,x?.duration,x?.ease,()=>N(!0)),P)}):Promise.resolve(!1)}function z(P,x){return f?new Promise(N=>{h?.interpolate(x?.interpolate==="linear"?Rn:yr).scaleBy(fo(f,x?.duration,x?.ease,()=>N(!0)),P)}):Promise.resolve(!1)}function M(P){h?.scaleExtent(P)}function H(P){h?.translateExtent(P)}function K(P){const x=!_t(P)||P<0?0:P;h?.clickDistance(x)}return{update:y,destroy:w,setViewport:k,setViewportConstrained:C,getViewport:A,scaleTo:T,scaleBy:z,setScaleExtent:M,setTranslateExtent:H,syncViewport:b,setClickDistance:K}}var us;(function(e){e.Line="line",e.Handle="handle"})(us||(us={}));function pi(){const e={};return[t=>{if(t&&!ec(e))throw new Error(t);return Fo(e)},t=>As(e,t)]}const[Hg,Lg]=pi(),[Vg,Bg]=pi(),[Fg,Kg]=pi();var Yg=ae("
");function qr(e,t){re(t,!0);let n=L(t,"id",3,null),r=L(t,"type",3,"source"),o=L(t,"position",19,()=>j.Top),i=L(t,"isConnectableStart",3,!0),s=L(t,"isConnectableEnd",3,!0),a=Vt(t,["$$slots","$$events","$$legacy","id","type","position","style","class","isConnectable","isConnectableStart","isConnectableEnd","isValidConnection","onconnect","ondisconnect","children"]);const l=Hg("Handle must be used within a Custom Node component"),c=Vg("Handle must be used within a Custom Node component");let d=m(()=>r()==="target"),h=m(()=>t.isConnectable!==void 0?t.isConnectable:c.value),f=Ft(),g=m(()=>f.ariaLabelConfig),v=null;Zs(()=>{if(t.onconnect||t.ondisconnect){f.edges;let x=f.connectionLookup.get(`${l}-${r()}${n()?`-${n()}`:""}`);if(v&&!Lh(x,v)){const N=x??new Map;ji(v,N,t.ondisconnect),ji(N,v,t.onconnect)}v=new Map(x)}});let _=m(()=>{if(!f.connection.inProgress)return[!1,!1,!1,!1,null];const{fromHandle:x,toHandle:N,isValid:p}=f.connection,E=x&&x.nodeId===l&&x.type===r()&&x.id===n(),S=N&&N.nodeId===l&&N.type===r()&&N.id===n(),D=f.connectionMode===wn.Strict?x?.type!==r():l!==x?.nodeId||n()!==x?.id;return[!0,E,S,D,S&&p]}),y=m(()=>Xn(u(_),5)),w=m(()=>u(y)[0]),C=m(()=>u(y)[1]),k=m(()=>u(y)[2]),b=m(()=>u(y)[3]),A=m(()=>u(y)[4]);function T(x){const N=f.onbeforeconnect?f.onbeforeconnect(x):x;N&&(f.addEdge(N),f.onconnect?.(x))}function z(x){const N=tl(x);x.currentTarget&&(N&&x.button===0||!N)&&cs.onPointerDown(x,{handleId:n(),nodeId:l,isTarget:u(d),connectionRadius:f.connectionRadius,domNode:f.domNode,nodeLookup:f.nodeLookup,connectionMode:f.connectionMode,lib:"svelte",autoPanOnConnect:f.autoPanOnConnect,autoPanSpeed:f.autoPanSpeed,flowId:f.flowId,isValidConnection:t.isValidConnection??f.isValidConnection,updateConnection:f.updateConnection,cancelConnection:f.cancelConnection,panBy:f.panBy,onConnect:T,onConnectStart:(p,E)=>{f.onconnectstart?.(p,{nodeId:E.nodeId,handleId:E.handleId,handleType:E.handleType})},onConnectEnd:(p,E)=>{f.onconnectend?.(p,E)},getTransform:()=>[f.viewport.x,f.viewport.y,f.viewport.zoom],getFromHandle:()=>f.connection.fromHandle,dragThreshold:f.connectionDragThreshold,handleDomNode:x.currentTarget})}function M(x){if(!l||!f.clickConnectStartHandle&&!i())return;if(!f.clickConnectStartHandle){f.onclickconnectstart?.(x,{nodeId:l,handleId:n(),handleType:r()}),f.clickConnectStartHandle={nodeId:l,type:r(),id:n()};return}const N=$a(x.target),p=t.isValidConnection??f.isValidConnection,{connectionMode:E,clickConnectStartHandle:S,flowId:D,nodeLookup:O}=f,{connection:I,isValid:q}=cs.isValid(x,{handle:{nodeId:l,id:n(),type:r()},connectionMode:E,fromNodeId:S.nodeId,fromHandleId:S.id??null,fromType:S.type,isValidConnection:p,flowId:D,doc:N,lib:"svelte",nodeLookup:O});q&&I&&T(I);const V=structuredClone(Ms(f.connection));delete V.inProgress,V.toPosition=V.toHandle?V.toHandle.position:null,f.onclickconnectend?.(x,V),f.clickConnectStartHandle=null}var H=Yg(),K=()=>{};Lt(H,()=>({"data-handleid":n(),"data-nodeid":l,"data-handlepos":o(),"data-id":`${f.flowId??""}-${l??""}-${n()??"null"??""}-${r()??""}`,class:["svelte-flow__handle",`svelte-flow__handle-${o()}`,f.noDragClass,f.noPanClass,o(),t.class],onmousedown:z,ontouchstart:z,onclick:f.clickConnect?M:void 0,onkeypress:K,style:t.style,role:"button","aria-label":u(g)["handle.ariaLabel"],tabindex:"-1",...a,[Mt]:{valid:u(A),connectingto:u(k),connectingfrom:u(C),source:!u(d),target:u(d),connectablestart:i(),connectableend:s(),connectable:u(h),connectionindicator:u(h)&&(!u(w)||u(b))&&(u(w)||f.clickConnectStartHandle?s():i())}}));var P=ee(H);Ye(P,()=>t.children??Sn),F(e,H),oe()}var Wg=ae(" ",1);function gl(e,t){re(t,!0);let n=L(t,"targetPosition",19,()=>j.Top),r=L(t,"sourcePosition",19,()=>j.Bottom);var o=Wg(),i=le(o);qr(i,{type:"target",get position(){return n()}});var s=$(i),a=$(s);qr(a,{type:"source",get position(){return r()}}),he(()=>Re(s,` ${t.data?.label??""} `)),F(e,o),oe()}var Zg=ae(" ",1);function Xg(e,t){re(t,!0);let n=L(t,"data",19,()=>({label:"Node"})),r=L(t,"sourcePosition",19,()=>j.Bottom);var o=Zg(),i=le(o),s=$(i);qr(s,{type:"source",get position(){return r()}}),he(()=>Re(i,`${n()?.label??""} `)),F(e,o),oe()}var Gg=ae(" ",1);function Ug(e,t){re(t,!0);let n=L(t,"data",19,()=>({label:"Node"})),r=L(t,"targetPosition",19,()=>j.Top);var o=Gg(),i=le(o),s=$(i);qr(s,{type:"target",get position(){return r()}}),he(()=>Re(i,`${n()?.label??""} `)),F(e,o),oe()}function Qg(e,t){}function ho(e,t,n){if(!n||!t)return;const r=n==="root"?t:t.querySelector(`.svelte-flow__${n}`);r&&r.appendChild(e)}function jg(e,t){const n=m(Ft),r=m(()=>u(n).domNode);let o;return u(r)?ho(e,u(r),t):o=Xs(()=>{at(()=>{ho(e,u(r),t),o?.()})}),{async update(i){ho(e,u(r),i)},destroy(){e.parentNode&&e.parentNode.removeChild(e),o?.()}}}function Jg(){let e=se(typeof window>"u");if(u(e)){const t=Xs(()=>{at(()=>{R(e,!1),t?.()})})}return{get value(){return u(e)}}}const ds=e=>Bh(e),$g=e=>Za(e);function ct(e){return e===void 0?void 0:`${e}px`}const Hr={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};var ev=ae("
");function tv(e,t){re(t,!0);let n=L(t,"x",3,0),r=L(t,"y",3,0),o=L(t,"selectEdgeOnClick",3,!1),i=L(t,"transparent",3,!1),s=Vt(t,["$$slots","$$events","$$legacy","x","y","width","height","selectEdgeOnClick","transparent","class","children"]);const a=Ft(),l=Fg("EdgeLabel must be used within a Custom Edge component");let c=m(()=>a.visible.edges.get(l)?.zIndex);var d=ev(),h=()=>{o()&&l&&a.handleEdgeSelection(l)};Lt(d,g=>({class:["svelte-flow__edge-label",{transparent:i()},t.class],tabindex:"-1",onclick:h,...s,[pt]:g}),[()=>({display:Jg().value?"none":void 0,cursor:o()?"pointer":void 0,transform:`translate(-50%, -50%) translate(${n()??""}px,${r()??""}px)`,"pointer-events":"all",width:ct(t.width),height:ct(t.height),"z-index":u(c)})],void 0,void 0,"svelte-1wg91mu");var f=ee(d);Ye(f,()=>t.children??Sn),Ne(d,(g,v)=>jg?.(g,v),()=>"edge-labels"),F(e,d),oe()}var nv=me(""),rv=me('',1);function to(e,t){let n=L(t,"interactionWidth",3,20),r=Vt(t,["$$slots","$$events","$$legacy","id","path","label","labelX","labelY","labelStyle","markerStart","markerEnd","style","interactionWidth","class"]);var o=rv(),i=le(o),s=$(i);{var a=d=>{var h=nv();Lt(h,()=>({d:t.path,"stroke-opacity":0,"stroke-width":n(),fill:"none",class:"svelte-flow__edge-interaction",...r})),F(d,h)};de(s,d=>{n()>0&&d(a)})}var l=$(s);{var c=d=>{tv(d,{get x(){return t.labelX},get y(){return t.labelY},get style(){return t.labelStyle},selectEdgeOnClick:!0,children:(h,f)=>{var g=zc();he(()=>Re(g,t.label)),F(h,g)},$$slots:{default:!0}})};de(l,d=>{t.label&&d(c)})}he(()=>{G(i,"id",t.id),G(i,"d",t.path),ut(i,0,Ht(["svelte-flow__edge-path",t.class])),G(i,"marker-start",t.markerStart),G(i,"marker-end",t.markerEnd),Le(i,t.style)}),F(e,o)}function vl(e,t){re(t,!0);let n=m(()=>nl({sourceX:t.sourceX,sourceY:t.sourceY,targetX:t.targetX,targetY:t.targetY,sourcePosition:t.sourcePosition,targetPosition:t.targetPosition,curvature:t.pathOptions?.curvature})),r=m(()=>Xn(u(n),3)),o=m(()=>u(r)[0]),i=m(()=>u(r)[1]),s=m(()=>u(r)[2]);to(e,{get id(){return t.id},get path(){return u(o)},get labelX(){return u(i)},get labelY(){return u(s)},get label(){return t.label},get labelStyle(){return t.labelStyle},get markerStart(){return t.markerStart},get markerEnd(){return t.markerEnd},get interactionWidth(){return t.interactionWidth},get style(){return t.style}}),oe()}function ov(e,t){re(t,!0);let n=m(()=>di({sourceX:t.sourceX,sourceY:t.sourceY,targetX:t.targetX,targetY:t.targetY,sourcePosition:t.sourcePosition,targetPosition:t.targetPosition})),r=m(()=>Xn(u(n),3)),o=m(()=>u(r)[0]),i=m(()=>u(r)[1]),s=m(()=>u(r)[2]);to(e,{get path(){return u(o)},get labelX(){return u(i)},get labelY(){return u(s)},get label(){return t.label},get labelStyle(){return t.labelStyle},get markerStart(){return t.markerStart},get markerEnd(){return t.markerEnd},get interactionWidth(){return t.interactionWidth},get style(){return t.style}}),oe()}function iv(e,t){re(t,!0);let n=m(()=>ol({sourceX:t.sourceX,sourceY:t.sourceY,targetX:t.targetX,targetY:t.targetY})),r=m(()=>Xn(u(n),3)),o=m(()=>u(r)[0]),i=m(()=>u(r)[1]),s=m(()=>u(r)[2]);to(e,{get path(){return u(o)},get labelX(){return u(i)},get labelY(){return u(s)},get label(){return t.label},get labelStyle(){return t.labelStyle},get markerStart(){return t.markerStart},get markerEnd(){return t.markerEnd},get interactionWidth(){return t.interactionWidth},get style(){return t.style}}),oe()}function sv(e,t){re(t,!0);let n=m(()=>di({sourceX:t.sourceX,sourceY:t.sourceY,targetX:t.targetX,targetY:t.targetY,sourcePosition:t.sourcePosition,targetPosition:t.targetPosition,borderRadius:0})),r=m(()=>Xn(u(n),3)),o=m(()=>u(r)[0]),i=m(()=>u(r)[1]),s=m(()=>u(r)[2]);to(e,{get path(){return u(o)},get labelX(){return u(i)},get labelY(){return u(s)},get label(){return t.label},get labelStyle(){return t.labelStyle},get markerStart(){return t.markerStart},get markerEnd(){return t.markerEnd},get interactionWidth(){return t.interactionWidth},get style(){return t.style}}),oe()}class av{#e;#t;constructor(t,n){this.#e=t,this.#t=zs(n)}get current(){return this.#t(),this.#e()}}const lv=/\(.+\)/,cv=new Set(["all","print","screen","and","or","not","only"]);class uv extends av{constructor(t,n){let r=lv.test(t)||t.split(/[\s,]+/).some(i=>cv.has(i.trim()))?t:`(${t})`;const o=window.matchMedia(r);super(()=>o.matches,i=>xo(o,"change",i))}}function dv(e,t,n,r){const o=new Map;return ci(e,{x:0,y:0,width:n,height:r},t,!0).forEach(i=>{o.set(i.id,i)}),o}function fs(e){const{edges:t,defaultEdgeOptions:n,nodeLookup:r,previousEdges:o,connectionMode:i,onerror:s,onlyRenderVisible:a,elevateEdgesOnSelect:l,zIndexMode:c}=e,d=new Map;for(const h of t){const f=r.get(h.source),g=r.get(h.target);if(!f||!g)continue;if(a){const{visibleNodes:y,transform:w,width:C,height:k}=e;if(tg({sourceNode:f,targetNode:g,width:C,height:k,transform:w}))y.set(f.id,f),y.set(g.id,g);else continue}const v=o.get(h.id);if(v&&h===v.edge&&f==v.sourceNode&&g==v.targetNode){d.set(h.id,v);continue}const _=lg({id:h.id,sourceNode:f,targetNode:g,sourceHandle:h.sourceHandle||null,targetHandle:h.targetHandle||null,connectionMode:i,onError:s});_&&d.set(h.id,{...n,...h,..._,zIndex:eg({selected:h.selected,zIndex:h.zIndex??n.zIndex,sourceNode:f,targetNode:g,elevateOnSelect:l,zIndexMode:c}),sourceNode:f,targetNode:g,edge:h})}return d}const pl={input:Xg,output:Ug,default:gl,group:Qg},ml={straight:iv,smoothstep:ov,default:vl,step:sv};function fv(e,t,n,r,o,i){if(t&&!n&&r&&o){const s=or(i,{filter:a=>!!((a.width||a.initialWidth)&&(a.height||a.initialHeight))});return ui(s,r,o,.5,2,.1)}else return n??{x:0,y:0,zoom:1}}function hv(e){class t{#e=m(()=>e.props.id??"1");get flowId(){return u(this.#e)}set flowId(r){R(this.#e,r)}#t=se(null);get domNode(){return u(this.#t)}set domNode(r){R(this.#t,r)}#n=se(null);get panZoom(){return u(this.#n)}set panZoom(r){R(this.#n,r)}#r=se(e.width??0);get width(){return u(this.#r)}set width(r){R(this.#r,r)}#l=se(e.height??0);get height(){return u(this.#l)}set height(r){R(this.#l,r)}#i=se(e.props.zIndexMode??"basic");get zIndexMode(){return u(this.#i)}set zIndexMode(r){R(this.#i,r)}#o=m(()=>{const r=gg(e.nodes,this.nodeLookup,this.parentLookup,{nodeExtent:this.nodeExtent,nodeOrigin:this.nodeOrigin,elevateNodesOnSelect:e.props.elevateNodesOnSelect??!0,checkEquality:!0,zIndexMode:this.zIndexMode});return this.fitViewQueued&&r&&(this.fitViewOptions?.duration?this.resolveFitView():queueMicrotask(()=>{this.resolveFitView()})),r});get nodesInitialized(){return u(this.#o)}set nodesInitialized(r){R(this.#o,r)}#s=m(()=>this.panZoom!==null);get viewportInitialized(){return u(this.#s)}set viewportInitialized(r){R(this.#s,r)}#a=m(()=>(wg(this.connectionLookup,this.edgeLookup,e.edges),e.edges));get _edges(){return u(this.#a)}set _edges(r){R(this.#a,r)}get nodes(){return this.nodesInitialized,e.nodes}set nodes(r){e.nodes=r}get edges(){return this._edges}set edges(r){e.edges=r}_prevSelectedNodes=[];_prevSelectedNodeIds=new Set;#c=m(()=>{const r=this._prevSelectedNodeIds.size,o=new Set,i=this.nodes.filter(s=>(s.selected&&(o.add(s.id),this._prevSelectedNodeIds.delete(s.id)),s.selected));return(r!==o.size||this._prevSelectedNodeIds.size>0)&&(this._prevSelectedNodes=i),this._prevSelectedNodeIds=o,this._prevSelectedNodes});get selectedNodes(){return u(this.#c)}set selectedNodes(r){R(this.#c,r)}_prevSelectedEdges=[];_prevSelectedEdgeIds=new Set;#u=m(()=>{const r=this._prevSelectedEdgeIds.size,o=new Set,i=this.edges.filter(s=>(s.selected&&(o.add(s.id),this._prevSelectedEdgeIds.delete(s.id)),s.selected));return(r!==o.size||this._prevSelectedEdgeIds.size>0)&&(this._prevSelectedEdges=i),this._prevSelectedEdgeIds=o,this._prevSelectedEdges});get selectedEdges(){return u(this.#u)}set selectedEdges(r){R(this.#u,r)}selectionChangeHandlers=new Map;nodeLookup=new Map;parentLookup=new Map;connectionLookup=new Map;edgeLookup=new Map;_prevVisibleEdges=new Map;#d=m(()=>{const{nodes:r,_edges:o,_prevVisibleEdges:i,nodeLookup:s,connectionMode:a,onerror:l,onlyRenderVisibleElements:c,defaultEdgeOptions:d,zIndexMode:h}=this;let f,g;const v={edges:o,defaultEdgeOptions:d,previousEdges:i,nodeLookup:s,connectionMode:a,elevateEdgesOnSelect:e.props.elevateEdgesOnSelect??!0,zIndexMode:h,onerror:l};if(c){const{viewport:_,width:y,height:w}=this,C=[_.x,_.y,_.zoom];f=dv(s,C,y,w),g=fs({...v,onlyRenderVisible:!0,visibleNodes:f,transform:C,width:y,height:w})}else f=this.nodeLookup,g=fs(v);return{nodes:f,edges:g}});get visible(){return u(this.#d)}set visible(r){R(this.#d,r)}#f=m(()=>e.props.nodesDraggable??!0);get nodesDraggable(){return u(this.#f)}set nodesDraggable(r){R(this.#f,r)}#g=m(()=>e.props.nodesConnectable??!0);get nodesConnectable(){return u(this.#g)}set nodesConnectable(r){R(this.#g,r)}#h=m(()=>e.props.elementsSelectable??!0);get elementsSelectable(){return u(this.#h)}set elementsSelectable(r){R(this.#h,r)}#_=m(()=>e.props.nodesFocusable??!0);get nodesFocusable(){return u(this.#_)}set nodesFocusable(r){R(this.#_,r)}#w=m(()=>e.props.edgesFocusable??!0);get edgesFocusable(){return u(this.#w)}set edgesFocusable(r){R(this.#w,r)}#b=m(()=>e.props.disableKeyboardA11y??!1);get disableKeyboardA11y(){return u(this.#b)}set disableKeyboardA11y(r){R(this.#b,r)}#m=m(()=>e.props.minZoom??.5);get minZoom(){return u(this.#m)}set minZoom(r){R(this.#m,r)}#v=m(()=>e.props.maxZoom??2);get maxZoom(){return u(this.#v)}set maxZoom(r){R(this.#v,r)}#p=m(()=>e.props.nodeOrigin??[0,0]);get nodeOrigin(){return u(this.#p)}set nodeOrigin(r){R(this.#p,r)}#y=m(()=>e.props.nodeExtent??Io);get nodeExtent(){return u(this.#y)}set nodeExtent(r){R(this.#y,r)}#x=m(()=>e.props.translateExtent??Io);get translateExtent(){return u(this.#x)}set translateExtent(r){R(this.#x,r)}#E=m(()=>e.props.defaultEdgeOptions??{});get defaultEdgeOptions(){return u(this.#E)}set defaultEdgeOptions(r){R(this.#E,r)}#S=m(()=>e.props.nodeDragThreshold??1);get nodeDragThreshold(){return u(this.#S)}set nodeDragThreshold(r){R(this.#S,r)}#k=m(()=>e.props.autoPanOnNodeDrag??!0);get autoPanOnNodeDrag(){return u(this.#k)}set autoPanOnNodeDrag(r){R(this.#k,r)}#C=m(()=>e.props.autoPanOnConnect??!0);get autoPanOnConnect(){return u(this.#C)}set autoPanOnConnect(r){R(this.#C,r)}#N=m(()=>e.props.autoPanOnNodeFocus??!0);get autoPanOnNodeFocus(){return u(this.#N)}set autoPanOnNodeFocus(r){R(this.#N,r)}#P=m(()=>e.props.autoPanSpeed??15);get autoPanSpeed(){return u(this.#P)}set autoPanSpeed(r){R(this.#P,r)}#M=m(()=>e.props.connectionDragThreshold??1);get connectionDragThreshold(){return u(this.#M)}set connectionDragThreshold(r){R(this.#M,r)}fitViewQueued=e.props.fitView??!1;fitViewOptions=e.props.fitViewOptions;fitViewResolver=null;#A=m(()=>e.props.snapGrid??null);get snapGrid(){return u(this.#A)}set snapGrid(r){R(this.#A,r)}#T=se(!1);get dragging(){return u(this.#T)}set dragging(r){R(this.#T,r)}#D=se(null);get selectionRect(){return u(this.#D)}set selectionRect(r){R(this.#D,r)}#I=se(!1);get selectionKeyPressed(){return u(this.#I)}set selectionKeyPressed(r){R(this.#I,r)}#z=se(!1);get multiselectionKeyPressed(){return u(this.#z)}set multiselectionKeyPressed(r){R(this.#z,r)}#O=se(!1);get deleteKeyPressed(){return u(this.#O)}set deleteKeyPressed(r){R(this.#O,r)}#R=se(!1);get panActivationKeyPressed(){return u(this.#R)}set panActivationKeyPressed(r){R(this.#R,r)}#q=se(!1);get zoomActivationKeyPressed(){return u(this.#q)}set zoomActivationKeyPressed(r){R(this.#q,r)}#H=se(null);get selectionRectMode(){return u(this.#H)}set selectionRectMode(r){R(this.#H,r)}#L=se("");get ariaLiveMessage(){return u(this.#L)}set ariaLiveMessage(r){R(this.#L,r)}#V=m(()=>e.props.selectionMode??Ir.Partial);get selectionMode(){return u(this.#V)}set selectionMode(r){R(this.#V,r)}#B=m(()=>({...pl,...e.props.nodeTypes}));get nodeTypes(){return u(this.#B)}set nodeTypes(r){R(this.#B,r)}#F=m(()=>({...ml,...e.props.edgeTypes}));get edgeTypes(){return u(this.#F)}set edgeTypes(r){R(this.#F,r)}#K=m(()=>e.props.noPanClass??"nopan");get noPanClass(){return u(this.#K)}set noPanClass(r){R(this.#K,r)}#Y=m(()=>e.props.noDragClass??"nodrag");get noDragClass(){return u(this.#Y)}set noDragClass(r){R(this.#Y,r)}#W=m(()=>e.props.noWheelClass??"nowheel");get noWheelClass(){return u(this.#W)}set noWheelClass(r){R(this.#W,r)}#Z=m(()=>jh(e.props.ariaLabelConfig));get ariaLabelConfig(){return u(this.#Z)}set ariaLabelConfig(r){R(this.#Z,r)}#X=se(fv(this.nodesInitialized,e.props.fitView,e.props.initialViewport,this.width,this.height,this.nodeLookup));get _viewport(){return u(this.#X)}set _viewport(r){R(this.#X,r)}get viewport(){return e.viewport??this._viewport}set viewport(r){e.viewport&&(e.viewport=r),this._viewport=r}#G=se(zo);get _connection(){return u(this.#G)}set _connection(r){R(this.#G,r)}#U=m(()=>this._connection.inProgress?{...this._connection,to:sr(this._connection.to,[this.viewport.x,this.viewport.y,this.viewport.zoom])}:this._connection);get connection(){return u(this.#U)}set connection(r){R(this.#U,r)}#Q=m(()=>e.props.connectionMode??wn.Strict);get connectionMode(){return u(this.#Q)}set connectionMode(r){R(this.#Q,r)}#j=m(()=>e.props.connectionRadius??20);get connectionRadius(){return u(this.#j)}set connectionRadius(r){R(this.#j,r)}#J=m(()=>e.props.isValidConnection??(()=>!0));get isValidConnection(){return u(this.#J)}set isValidConnection(r){R(this.#J,r)}#$=m(()=>e.props.selectNodesOnDrag??!0);get selectNodesOnDrag(){return u(this.#$)}set selectNodesOnDrag(r){R(this.#$,r)}#ee=m(()=>e.props.defaultMarkerColor===void 0?"#b1b1b7":e.props.defaultMarkerColor);get defaultMarkerColor(){return u(this.#ee)}set defaultMarkerColor(r){R(this.#ee,r)}#te=m(()=>cg(e.edges,{defaultColor:this.defaultMarkerColor,id:this.flowId,defaultMarkerStart:this.defaultEdgeOptions.markerStart,defaultMarkerEnd:this.defaultEdgeOptions.markerEnd}));get markers(){return u(this.#te)}set markers(r){R(this.#te,r)}#ne=m(()=>e.props.onlyRenderVisibleElements??!1);get onlyRenderVisibleElements(){return u(this.#ne)}set onlyRenderVisibleElements(r){R(this.#ne,r)}#re=m(()=>e.props.onflowerror??Xh);get onerror(){return u(this.#re)}set onerror(r){R(this.#re,r)}#oe=m(()=>e.props.ondelete);get ondelete(){return u(this.#oe)}set ondelete(r){R(this.#oe,r)}#ie=m(()=>e.props.onbeforedelete);get onbeforedelete(){return u(this.#ie)}set onbeforedelete(r){R(this.#ie,r)}#se=m(()=>e.props.onbeforeconnect);get onbeforeconnect(){return u(this.#se)}set onbeforeconnect(r){R(this.#se,r)}#ae=m(()=>e.props.onconnect);get onconnect(){return u(this.#ae)}set onconnect(r){R(this.#ae,r)}#le=m(()=>e.props.onconnectstart);get onconnectstart(){return u(this.#le)}set onconnectstart(r){R(this.#le,r)}#ce=m(()=>e.props.onconnectend);get onconnectend(){return u(this.#ce)}set onconnectend(r){R(this.#ce,r)}#ue=m(()=>e.props.onbeforereconnect);get onbeforereconnect(){return u(this.#ue)}set onbeforereconnect(r){R(this.#ue,r)}#de=m(()=>e.props.onreconnect);get onreconnect(){return u(this.#de)}set onreconnect(r){R(this.#de,r)}#fe=m(()=>e.props.onreconnectstart);get onreconnectstart(){return u(this.#fe)}set onreconnectstart(r){R(this.#fe,r)}#he=m(()=>e.props.onreconnectend);get onreconnectend(){return u(this.#he)}set onreconnectend(r){R(this.#he,r)}#ge=m(()=>e.props.clickConnect??!0);get clickConnect(){return u(this.#ge)}set clickConnect(r){R(this.#ge,r)}#ve=m(()=>e.props.onclickconnectstart);get onclickconnectstart(){return u(this.#ve)}set onclickconnectstart(r){R(this.#ve,r)}#pe=m(()=>e.props.onclickconnectend);get onclickconnectend(){return u(this.#pe)}set onclickconnectend(r){R(this.#pe,r)}#me=se(null);get clickConnectStartHandle(){return u(this.#me)}set clickConnectStartHandle(r){R(this.#me,r)}#ye=m(()=>e.props.onselectiondrag);get onselectiondrag(){return u(this.#ye)}set onselectiondrag(r){R(this.#ye,r)}#_e=m(()=>e.props.onselectiondragstart);get onselectiondragstart(){return u(this.#_e)}set onselectiondragstart(r){R(this.#_e,r)}#we=m(()=>e.props.onselectiondragstop);get onselectiondragstop(){return u(this.#we)}set onselectiondragstop(r){R(this.#we,r)}resolveFitView=async()=>{this.panZoom&&(await Wh({nodes:this.nodeLookup,width:this.width,height:this.height,panZoom:this.panZoom,minZoom:this.minZoom,maxZoom:this.maxZoom},this.fitViewOptions),this.fitViewResolver?.resolve(!0),this.fitViewQueued=!1,this.fitViewOptions=void 0,this.fitViewResolver=null)};_prefersDark=new uv("(prefers-color-scheme: dark)",e.props.colorModeSSR==="dark");#be=m(()=>e.props.colorMode==="system"?this._prefersDark.current?"dark":"light":e.props.colorMode??"light");get colorMode(){return u(this.#be)}set colorMode(r){R(this.#be,r)}constructor(){}resetStoreValues(){this.dragging=!1,this.selectionRect=null,this.selectionRectMode=null,this.selectionKeyPressed=!1,this.multiselectionKeyPressed=!1,this.deleteKeyPressed=!1,this.panActivationKeyPressed=!1,this.zoomActivationKeyPressed=!1,this._connection=zo,this.clickConnectStartHandle=null,this.viewport=e.props.initialViewport??{x:0,y:0,zoom:1},this.ariaLiveMessage=""}}return new t}function Ft(){const e=Fo(qo);if(!e)throw new Error("To call useStore outside of you need to wrap your component in a ");return e.getStore()}const qo=Symbol();function gv(e){const t=hv(e);function n(P){t.nodeTypes={...pl,...P}}function r(P){t.edgeTypes={...ml,...P}}function o(P){t.edges=og(P,t.edges)}const i=(P,x=!1)=>{t.nodes=t.nodes.map(N=>{if(t.connection.inProgress&&t.connection.fromNode.id===N.id){const E=t.nodeLookup.get(N.id);E&&(t.connection={...t.connection,from:en(E,t.connection.fromHandle,j.Left,!0)})}const p=P.get(N.id);return p?{...N,position:p.position,dragging:x}:N})};function s(P){const{changes:x,updatedInternals:N}=yg(P,t.nodeLookup,t.parentLookup,t.domNode,t.nodeOrigin,t.nodeExtent,t.zIndexMode);if(!N)return;fg(t.nodeLookup,t.parentLookup,{nodeOrigin:t.nodeOrigin,nodeExtent:t.nodeExtent,zIndexMode:t.zIndexMode}),t.fitViewQueued&&t.resolveFitView();const p=new Map;for(const E of x){const S=t.nodeLookup.get(E.id)?.internals.userNode;if(!S)continue;const D={...S};switch(E.type){case"dimensions":{const O={...D.measured,...E.dimensions};E.setAttributes&&(D.width=E.dimensions?.width??D.width,D.height=E.dimensions?.height??D.height),D.measured=O;break}case"position":D.position=E.position??D.position;break}p.set(E.id,D)}t.nodes=t.nodes.map(E=>p.get(E.id)??E)}function a(P){const x=t.fitViewResolver??Promise.withResolvers();return t.fitViewQueued=!0,t.fitViewOptions=P,t.fitViewResolver=x,t.nodes=[...t.nodes],x.promise}async function l(P,x,N){const p=typeof N?.zoom<"u"?N.zoom:t.maxZoom,E=t.panZoom;return E?(await E.setViewport({x:t.width/2-P*p,y:t.height/2-x*p,zoom:p},{duration:N?.duration,ease:N?.ease,interpolate:N?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)}function c(P,x){const N=t.panZoom;return N?N.scaleBy(P,x):Promise.resolve(!1)}function d(P){return c(1.2,P)}function h(P){return c(1/1.2,P)}function f(P){const x=t.panZoom;x&&(x.setScaleExtent([P,t.maxZoom]),t.minZoom=P)}function g(P){const x=t.panZoom;x&&(x.setScaleExtent([t.minZoom,P]),t.maxZoom=P)}function v(P){const x=t.panZoom;x&&(x.setTranslateExtent(P),t.translateExtent=P)}function _(P,x=null){let N=!1;const p=P.map(E=>(x?x.has(E.id):!0)&&E.selected?(N=!0,{...E,selected:!1}):E);return[N,p]}function y(P){const x=P?.nodes?new Set(P.nodes.map(O=>O.id)):null,[N,p]=_(t.nodes,x);N&&(t.nodes=p);const E=P?.edges?new Set(P.edges.map(O=>O.id)):null,[S,D]=_(t.edges,E);S&&(t.edges=D)}function w(P){const x=t.multiselectionKeyPressed;t.nodes=t.nodes.map(N=>{const p=P.includes(N.id),E=x&&N.selected||p;return!!N.selected!==E?{...N,selected:E}:N}),x||y({nodes:[]})}function C(P){const x=t.multiselectionKeyPressed;t.edges=t.edges.map(N=>{const p=P.includes(N.id),E=x&&N.selected||p;return!!N.selected!==E?{...N,selected:E}:N}),x||y({edges:[]})}function k(P,x,N){const p=t.nodeLookup.get(P);if(!p){console.warn("012",Yn.error012(P));return}t.selectionRect=null,t.selectionRectMode=null,p.selected?(x||p.selected&&t.multiselectionKeyPressed)&&(y({nodes:[p],edges:[]}),requestAnimationFrame(()=>N?.blur())):w([P])}function b(P){const x=t.edgeLookup.get(P);if(!x){console.warn("012",Yn.error012(P));return}(x.selectable||t.elementsSelectable&&typeof x.selectable>"u")&&(t.selectionRect=null,t.selectionRectMode=null,x.selected?x.selected&&t.multiselectionKeyPressed&&y({nodes:[],edges:[x]}):C([P]))}function A(P,x){const{nodeExtent:N,snapGrid:p,nodeOrigin:E,nodeLookup:S,nodesDraggable:D,onerror:O}=t,I=new Map,q=p?.[0]??5,V=p?.[1]??5,W=P.x*q*x,Y=P.y*V*x;for(const B of S.values()){if(!(B.selected&&(B.draggable||D&&typeof B.draggable>"u")))continue;let Z={x:B.internals.positionAbsolute.x+W,y:B.internals.positionAbsolute.y+Y};p&&(Z=ir(Z,p));const{position:X,positionAbsolute:Q}=Xa({nodeId:B.id,nextPosition:Z,nodeLookup:S,nodeExtent:N,nodeOrigin:E,onError:O});B.position=X,B.internals.positionAbsolute=Q,I.set(B.id,B)}i(I)}function T(P){return _g({delta:P,panZoom:t.panZoom,transform:[t.viewport.x,t.viewport.y,t.viewport.zoom],translateExtent:t.translateExtent,width:t.width,height:t.height})}const z=P=>{t._connection={...P}};function M(){t._connection=zo}function H(){t.resetStoreValues(),y()}return Object.assign(t,{setNodeTypes:n,setEdgeTypes:r,addEdge:o,updateNodePositions:i,updateNodeInternals:s,zoomIn:d,zoomOut:h,fitView:a,setCenter:l,setMinZoom:f,setMaxZoom:g,setTranslateExtent:v,unselectNodesAndEdges:y,addSelectedNodes:w,addSelectedEdges:C,handleNodeSelection:k,handleEdgeSelection:b,moveSelectedNodes:A,panBy:T,updateConnection:z,cancelConnection:M,reset:H})}function vv(e,t){const{minZoom:n,maxZoom:r,initialViewport:o,onPanZoomStart:i,onPanZoom:s,onPanZoomEnd:a,translateExtent:l,setPanZoomInstance:c,onDraggingChange:d,onTransformChange:h}=t,f=qg({domNode:e,minZoom:n,maxZoom:r,translateExtent:l,viewport:o,onPanZoom:s,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}),g=f.getViewport();return(o.x!==g.x||o.y!==g.y||o.zoom!==g.zoom)&&h([g.x,g.y,g.zoom]),c(f),f.update(t),{update(v){f.update(v)}}}var pv=ae('
');function mv(e,t){re(t,!0);let n=L(t,"store",15),r=m(()=>n().panActivationKeyPressed||t.panOnDrag),o=m(()=>n().panActivationKeyPressed||t.panOnScroll);const{viewport:i}=n();let s=!1;at(()=>{!s&&n().viewportInitialized&&(t.oninit?.(),s=!0)});var a=pv(),l=ee(a);Ye(l,()=>t.children),Ne(a,(c,d)=>vv?.(c,d),()=>({viewport:n().viewport,minZoom:n().minZoom,maxZoom:n().maxZoom,initialViewport:i,onDraggingChange:c=>{n(n().dragging=c,!0)},setPanZoomInstance:c=>{n(n().panZoom=c,!0)},onPanZoomStart:t.onmovestart,onPanZoom:t.onmove,onPanZoomEnd:t.onmoveend,zoomOnScroll:t.zoomOnScroll,zoomOnDoubleClick:t.zoomOnDoubleClick,zoomOnPinch:t.zoomOnPinch,panOnScroll:u(o),panOnDrag:u(r),panOnScrollSpeed:t.panOnScrollSpeed,panOnScrollMode:t.panOnScrollMode,zoomActivationKeyPressed:n().zoomActivationKeyPressed,preventScrolling:typeof t.preventScrolling=="boolean"?t.preventScrolling:!0,noPanClassName:n().noPanClass,noWheelClassName:n().noWheelClass,userSelectionActive:!!n().selectionRect,translateExtent:n().translateExtent,lib:"svelte",paneClickDistance:t.paneClickDistance,selectionOnDrag:t.selectionOnDrag,onTransformChange:c=>{n(n().viewport={x:c[0],y:c[1],zoom:c[2]},!0)},connectionInProgress:n().connection.inProgress})),F(e,a),oe()}function hs(e,t){return n=>{n.target===t&&e?.(n)}}function gs(e){return t=>{const n=e.has(t.id);return!!t.selected!==n?{...t,selected:n}:t}}function vs(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}var yv=ae("
");function _v(e,t){re(t,!0);let n=L(t,"store",15),r=L(t,"panOnDrag",3,!0),o=L(t,"paneClickDistance",3,1),i,s=null,a=new Set,l=new Set,c=m(()=>n().panActivationKeyPressed||r()),d=m(()=>n().selectionKeyPressed||!!n().selectionRect||t.selectionOnDrag&&u(c)!==!0),h=m(()=>n().elementsSelectable&&(u(d)||n().selectionRectMode==="user")),f=!1;function g(M){if(s=i?.getBoundingClientRect(),!s)return;const H=M.target===i,K=!H&&!!M.target.closest(".nokey"),P=t.selectionOnDrag&&H||n().selectionKeyPressed;if(K||!u(d)||!P||M.button!==0||!M.isPrimary)return;M.target?.setPointerCapture?.(M.pointerId),f=!1;const{x,y:N}=Qe(M,s);n(n().selectionRect={width:0,height:0,startX:x,startY:N,x,y:N},!0),H||(M.stopPropagation(),M.preventDefault())}function v(M){if(!u(d)||!s||!n().selectionRect)return;const H=Qe(M,s),{startX:K=0,startY:P=0}=n().selectionRect;if(!f){const S=n().selectionKeyPressed?0:o();if(Math.hypot(H.x-K,H.y-P)<=S)return;n().unselectNodesAndEdges(),t.onselectionstart?.(M)}f=!0;const x={...n().selectionRect,x:H.xS.id));const E=n().defaultEdgeOptions.selectable??!0;l=new Set;for(const S of a){const D=n().connectionLookup.get(S);if(D)for(const{edgeId:O}of D.values()){const I=n().edgeLookup.get(O);I&&(I.selectable??E)&&l.add(O)}}vs(N,a)||n(n().nodes=n().nodes.map(gs(a)),!0),vs(p,l)||n(n().edges=n().edges.map(gs(l)),!0),n(n().selectionRectMode="user",!0),n(n().selectionRect=x,!0)}function _(M){M.button===0&&(M.target?.releasePointerCapture?.(M.pointerId),!f&&M.target===i&&C?.(M),n(n().selectionRect=null,!0),f&&n(n().selectionRectMode=a.size>0?"nodes":null,!0),f&&t.onselectionend?.(M))}const y=M=>{if(Array.isArray(u(c))&&u(c).includes(2)){M.preventDefault();return}t.onpanecontextmenu?.({event:M})},w=M=>{f&&(M.stopPropagation(),f=!1)};function C(M){if(f||n().connection.inProgress){f=!1;return}t.onpaneclick?.({event:M}),n().unselectNodesAndEdges(),n(n().selectionRectMode=null,!0),n(n().selectionRect=null,!0)}var k=yv();let b;var A=m(()=>u(h)?void 0:hs(C,i));k.__click=function(...M){u(A)?.apply(this,M)},k.__pointermove=function(...M){(u(h)?v:void 0)?.apply(this,M)},k.__pointerup=function(...M){(u(h)?_:void 0)?.apply(this,M)};var T=m(()=>hs(y,i));k.__contextmenu=function(...M){u(T)?.apply(this,M)};var z=ee(k);Ye(z,()=>t.children),er(k,M=>i=M,()=>i),he(M=>b=ut(k,1,"svelte-flow__pane svelte-flow__container",null,b,M),[()=>({draggable:r()===!0||Array.isArray(r())&&r().includes(0),dragging:n().dragging,selection:u(d)})]),kr("pointerdown",k,function(...M){(u(h)?g:void 0)?.apply(this,M)},!0),kr("click",k,function(...M){(u(h)?w:void 0)?.apply(this,M)},!0),F(e,k),oe()}jo(["click","pointermove","pointerup","contextmenu"]);var wv=ae('
');function bv(e,t){re(t,!0);var n=wv();let r;var o=ee(n);Ye(o,()=>t.children),he(()=>r=Le(n,"",r,{transform:`translate(${t.store.viewport.x??""}px, ${t.store.viewport.y??""}px) scale(${t.store.viewport.zoom??""})`})),F(e,n),oe()}function yl(e,t){const{store:n,onDrag:r,onDragStart:o,onDragStop:i,onNodeMouseDown:s}=t,a=Eg({onDrag:r,onDragStart:o,onDragStop:i,onNodeMouseDown:s,getStoreItems:()=>{const{snapGrid:c,viewport:d}=n;return{nodes:n.nodes,nodeLookup:n.nodeLookup,edges:n.edges,nodeExtent:n.nodeExtent,snapGrid:c||[0,0],snapToGrid:!!c,nodeOrigin:n.nodeOrigin,multiSelectionActive:n.multiselectionKeyPressed,domNode:n.domNode,transform:[d.x,d.y,d.zoom],autoPanOnNodeDrag:n.autoPanOnNodeDrag,nodesDraggable:n.nodesDraggable,selectNodesOnDrag:n.selectNodesOnDrag,nodeDragThreshold:n.nodeDragThreshold,unselectNodesAndEdges:n.unselectNodesAndEdges,updateNodePositions:n.updateNodePositions,onSelectionDrag:n.onselectiondrag,onSelectionDragStart:n.onselectiondragstart,onSelectionDragStop:n.onselectiondragstop,panBy:n.panBy}}});function l(c,d){if(d.disabled){a.destroy();return}a.update({domNode:c,noDragClassName:d.noDragClass,handleSelector:d.handleSelector,nodeId:d.nodeId,isSelectable:d.isSelectable,nodeClickDistance:d.nodeClickDistance})}return l(e,t),{update(c){l(e,c)},destroy(){a.destroy()}}}var xv=ae('
'),Ev=ae('
',1);function Sv(e,t){re(t,!0);var n=Ev(),r=le(n),o=ee(r),i=$(r,2),s=ee(i),a=$(i,2);{var l=c=>{var d=xv(),h=ee(d);he(()=>{G(d,"id",`${kv}-${t.store.flowId}`),Re(h,t.store.ariaLiveMessage)}),F(c,d)};de(a,c=>{t.store.disableKeyboardA11y||c(l)})}he(()=>{G(r,"id",`${_l}-${t.store.flowId}`),Re(o,t.store.disableKeyboardA11y?t.store.ariaLabelConfig["node.a11yDescription.default"]:t.store.ariaLabelConfig["node.a11yDescription.keyboardDisabled"]),G(i,"id",`${wl}-${t.store.flowId}`),Re(s,t.store.ariaLabelConfig["edge.a11yDescription.default"])}),F(e,n),oe()}const _l="svelte-flow__node-desc",wl="svelte-flow__edge-desc",kv="svelte-flow__aria-live";var Cv=ae("
");function Nv(e,t){re(t,!0);let n=L(t,"store",15),r=m(()=>Ce(t.node.data,()=>({}),!0)),o=m(()=>Ce(t.node.selected,!1)),i=m(()=>t.node.draggable),s=m(()=>t.node.selectable),a=m(()=>Ce(t.node.deletable,!0)),l=m(()=>t.node.connectable),c=m(()=>t.node.focusable),d=m(()=>Ce(t.node.hidden,!1)),h=m(()=>Ce(t.node.dragging,!1)),f=m(()=>Ce(t.node.style,"")),g=m(()=>t.node.class),v=m(()=>Ce(t.node.type,"default")),_=m(()=>t.node.parentId),y=m(()=>t.node.sourcePosition),w=m(()=>t.node.targetPosition),C=m(()=>Ce(t.node.measured,()=>({width:0,height:0}),!0).width),k=m(()=>Ce(t.node.measured,()=>({width:0,height:0}),!0).height),b=m(()=>t.node.initialWidth),A=m(()=>t.node.initialHeight),T=m(()=>t.node.width),z=m(()=>t.node.height),M=m(()=>t.node.dragHandle),H=m(()=>Ce(t.node.internals.z,0)),K=m(()=>t.node.internals.positionAbsolute.x),P=m(()=>t.node.internals.positionAbsolute.y),x=m(()=>t.node.internals.userNode),{id:N}=t.node,p=m(()=>u(i)??n().nodesDraggable),E=m(()=>u(s)??n().elementsSelectable),S=m(()=>u(l)??n().nodesConnectable),D=m(()=>ja(t.node)),O=m(()=>!!t.node.internals.handleBounds),I=m(()=>u(D)&&u(O)),q=m(()=>u(c)??n().nodesFocusable);function V(ce){return n().parentLookup.has(ce)}let W=m(()=>V(N)),Y=se(null),B=null,U=u(v),Z=u(y),X=u(w),Q=m(()=>n().nodeTypes[u(v)]??gl),ue=m(()=>n().ariaLabelConfig),we={get value(){return u(S)}};Lg(N),Bg(we);let J=m(()=>{const ce=u(C)===void 0?u(T)??u(b):u(T),ye=u(k)===void 0?u(z)??u(A):u(z);if(!(ce===void 0&&ye===void 0&&u(f)===void 0))return`${u(f)};${ce?`width:${ct(ce)};`:""}${ye?`height:${ct(ye)};`:""}`});at(()=>{(u(v)!==U||u(y)!==Z||u(w)!==X)&&u(Y)!==null&&requestAnimationFrame(()=>{u(Y)!==null&&n().updateNodeInternals(new Map([[N,{id:N,nodeElement:u(Y),force:!0}]]))}),U=u(v),Z=u(y),X=u(w)}),at(()=>{t.resizeObserver&&(!u(I)||u(Y)!==B)&&(B&&t.resizeObserver.unobserve(B),u(Y)&&t.resizeObserver.observe(u(Y)),B=u(Y))}),ei(()=>{B&&t.resizeObserver?.unobserve(B)});function pe(ce){u(E)&&(!n().selectNodesOnDrag||!u(p)||n().nodeDragThreshold>0)&&n().handleNodeSelection(N),t.onnodeclick?.({node:u(x),event:ce})}function te(ce){if(!(el(ce)||n().disableKeyboardA11y))if(Wa.includes(ce.key)&&u(E)){const ye=ce.key==="Escape";n().handleNodeSelection(N,ye,u(Y))}else u(p)&&t.node.selected&&Object.prototype.hasOwnProperty.call(Hr,ce.key)&&(ce.preventDefault(),n(n().ariaLiveMessage=u(ue)["node.a11yDescription.ariaLiveMessage"]({direction:ce.key.replace("Arrow","").toLowerCase(),x:~~t.node.internals.positionAbsolute.x,y:~~t.node.internals.positionAbsolute.y}),!0),n().moveSelectedNodes(Hr[ce.key],ce.shiftKey?4:1))}const Me=()=>{if(n().disableKeyboardA11y||!n().autoPanOnNodeFocus||!u(Y)?.matches(":focus-visible"))return;const{width:ce,height:ye,viewport:Ze}=n();ci(new Map([[N,t.node]]),{x:0,y:0,width:ce,height:ye},[Ze.x,Ze.y,Ze.zoom],!0).length>0||n().setCenter(t.node.position.x+(t.node.measured.width??0)/2,t.node.position.y+(t.node.measured.height??0)/2,{zoom:Ze.zoom})};var Ct=Se(),Nt=le(Ct);{var ft=ce=>{var ye=Cv();Lt(ye,()=>({"data-id":N,class:["svelte-flow__node",`svelte-flow__node-${u(v)}`,u(g)],style:u(J),onclick:pe,onpointerenter:t.onnodepointerenter?ge=>t.onnodepointerenter({node:u(x),event:ge}):void 0,onpointerleave:t.onnodepointerleave?ge=>t.onnodepointerleave({node:u(x),event:ge}):void 0,onpointermove:t.onnodepointermove?ge=>t.onnodepointermove({node:u(x),event:ge}):void 0,oncontextmenu:t.onnodecontextmenu?ge=>t.onnodecontextmenu({node:u(x),event:ge}):void 0,onkeydown:u(q)?te:void 0,onfocus:u(q)?Me:void 0,tabIndex:u(q)?0:void 0,role:t.node.ariaRole??(u(q)?"group":void 0),"aria-roledescription":"node","aria-describedby":n().disableKeyboardA11y?void 0:`${_l}-${n().flowId}`,...t.node.domAttributes,[Mt]:{dragging:u(h),selected:u(o),draggable:u(p),connectable:u(S),selectable:u(E),nopan:u(p),parent:u(W)},[pt]:{"z-index":u(H),transform:`translate(${u(K)??""}px, ${u(P)??""}px)`,visibility:u(D)?"visible":"hidden"}}));var Ze=ee(ye);Zr(Ze,()=>u(Q),(ge,on)=>{on(ge,{get data(){return u(r)},get id(){return N},get selected(){return u(o)},get selectable(){return u(E)},get deletable(){return u(a)},get sourcePosition(){return u(y)},get targetPosition(){return u(w)},get zIndex(){return u(H)},get dragging(){return u(h)},get draggable(){return u(p)},get dragHandle(){return u(M)},get parentId(){return u(_)},get type(){return u(v)},get isConnectable(){return u(S)},get positionAbsoluteX(){return u(K)},get positionAbsoluteY(){return u(P)},get width(){return u(T)},get height(){return u(z)}})}),Ne(ye,(ge,on)=>yl?.(ge,on),()=>({nodeId:N,isSelectable:u(E),disabled:!u(p),handleSelector:u(M),noDragClass:n().noDragClass,nodeClickDistance:t.nodeClickDistance,onNodeMouseDown:n().handleNodeSelection,onDrag:(ge,on,Cn,Nn)=>{t.onnodedrag?.({event:ge,targetNode:Cn,nodes:Nn})},onDragStart:(ge,on,Cn,Nn)=>{t.onnodedragstart?.({event:ge,targetNode:Cn,nodes:Nn})},onDragStop:(ge,on,Cn,Nn)=>{t.onnodedragstop?.({event:ge,targetNode:Cn,nodes:Nn})},store:n()})),er(ye,ge=>R(Y,ge),()=>u(Y)),F(ce,ye)};de(Nt,ce=>{u(d)||ce(ft)})}F(e,Ct),oe()}var Pv=ae('
');function Mv(e,t){re(t,!0);let n=L(t,"store",15);const r=typeof ResizeObserver>"u"?null:new ResizeObserver(i=>{const s=new Map;i.forEach(a=>{const l=a.target.getAttribute("data-id");s.set(l,{id:l,nodeElement:a.target,force:!0})}),n().updateNodeInternals(s)});ei(()=>{r?.disconnect()});var o=Pv();Wr(o,21,()=>n().visible.nodes.values(),i=>i.id,(i,s)=>{Nv(i,{get node(){return u(s)},get resizeObserver(){return r},get nodeClickDistance(){return t.nodeClickDistance},get onnodeclick(){return t.onnodeclick},get onnodepointerenter(){return t.onnodepointerenter},get onnodepointermove(){return t.onnodepointermove},get onnodepointerleave(){return t.onnodepointerleave},get onnodedrag(){return t.onnodedrag},get onnodedragstart(){return t.onnodedragstart},get onnodedragstop(){return t.onnodedragstop},get onnodecontextmenu(){return t.onnodecontextmenu},get store(){return n()},set store(a){n(a)}})}),F(e,o),oe()}var Av=me('');function Tv(e,t){re(t,!0);let n=m(()=>t.edge.id),r=m(()=>t.edge.source),o=m(()=>t.edge.target),i=m(()=>t.edge.sourceX),s=m(()=>t.edge.sourceY),a=m(()=>t.edge.targetX),l=m(()=>t.edge.targetY),c=m(()=>t.edge.sourcePosition),d=m(()=>t.edge.targetPosition),h=m(()=>Ce(t.edge.animated,!1)),f=m(()=>Ce(t.edge.selected,!1)),g=m(()=>t.edge.label),v=m(()=>t.edge.labelStyle),_=m(()=>Ce(t.edge.data,()=>({}),!0)),y=m(()=>t.edge.style),w=m(()=>t.edge.interactionWidth),C=m(()=>Ce(t.edge.type,"default")),k=m(()=>t.edge.sourceHandle),b=m(()=>t.edge.targetHandle),A=m(()=>t.edge.markerStart),T=m(()=>t.edge.markerEnd),z=m(()=>t.edge.selectable),M=m(()=>t.edge.focusable),H=m(()=>Ce(t.edge.deletable,!0)),K=m(()=>t.edge.hidden),P=m(()=>t.edge.zIndex),x=m(()=>t.edge.class),N=m(()=>t.edge.ariaLabel);Kg(u(n));let p=null,E=m(()=>u(z)??t.store.elementsSelectable),S=m(()=>u(M)??t.store.edgesFocusable),D=m(()=>t.store.edgeTypes[u(C)]??vl),O=m(()=>u(A)?`url('#${Ro(u(A),t.store.flowId)}')`:void 0),I=m(()=>u(T)?`url('#${Ro(u(T),t.store.flowId)}')`:void 0);function q(Z){const X=t.store.edgeLookup.get(u(n));X&&(u(E)&&t.store.handleEdgeSelection(u(n)),t.onedgeclick?.({event:Z,edge:X}))}function V(Z,X){const Q=t.store.edgeLookup.get(u(n));Q&&X({event:Z,edge:Q})}function W(Z){if(!t.store.disableKeyboardA11y&&Wa.includes(Z.key)&&u(E)){const{unselectNodesAndEdges:X,addSelectedEdges:Q}=t.store;Z.key==="Escape"?(p?.blur(),X({edges:[t.edge]})):Q([u(n)])}}var Y=Se(),B=le(Y);{var U=Z=>{var X=Av();let Q;var ue=ee(X);Lt(ue,()=>({class:["svelte-flow__edge",u(x)],"data-id":u(n),onclick:q,oncontextmenu:t.onedgecontextmenu?J=>{V(J,t.onedgecontextmenu)}:void 0,onpointerenter:t.onedgepointerenter?J=>{V(J,t.onedgepointerenter)}:void 0,onpointerleave:t.onedgepointerleave?J=>{V(J,t.onedgepointerleave)}:void 0,"aria-label":u(N)===null?void 0:u(N)?u(N):`Edge from ${u(r)} to ${u(o)}`,"aria-describedby":u(S)?`${wl}-${t.store.flowId}`:void 0,role:t.edge.ariaRole??(u(S)?"group":"img"),"aria-roledescription":"edge",onkeydown:u(S)?W:void 0,tabindex:u(S)?0:void 0,...t.edge.domAttributes,[Mt]:{animated:u(h),selected:u(f),selectable:u(E)}}));var we=ee(ue);Zr(we,()=>u(D),(J,pe)=>{pe(J,{get id(){return u(n)},get source(){return u(r)},get target(){return u(o)},get sourceX(){return u(i)},get sourceY(){return u(s)},get targetX(){return u(a)},get targetY(){return u(l)},get sourcePosition(){return u(c)},get targetPosition(){return u(d)},get animated(){return u(h)},get selected(){return u(f)},get label(){return u(g)},get labelStyle(){return u(v)},get data(){return u(_)},get style(){return u(y)},get interactionWidth(){return u(w)},get selectable(){return u(E)},get deletable(){return u(H)},get type(){return u(C)},get sourceHandleId(){return u(k)},get targetHandleId(){return u(b)},get markerStart(){return u(O)},get markerEnd(){return u(I)}})}),er(ue,J=>p=J,()=>p),he(()=>Q=Le(X,"",Q,{"z-index":u(P)})),F(Z,X)};de(B,Z=>{u(K)||Z(U)})}F(e,Y),oe()}Jl();var Dv=me("");function Iv(e,t){re(t,!1);const n=Ft();Qc();var r=Dv();Wr(r,5,()=>n.markers,o=>o.id,(o,i)=>{qv(o,At(()=>u(i)))}),F(e,r),oe()}var zv=me(''),Ov=me(''),Rv=me('');function qv(e,t){re(t,!0);let n=L(t,"width",3,12.5),r=L(t,"height",3,12.5),o=L(t,"markerUnits",3,"strokeWidth"),i=L(t,"orient",3,"auto-start-reverse"),s=L(t,"color",3,"none");var a=Rv(),l=ee(a);{var c=h=>{var f=zv();let g;he(()=>{G(f,"stroke-width",t.strokeWidth),g=Le(f,"",g,{stroke:s()})}),F(h,f)},d=h=>{var f=Se(),g=le(f);{var v=_=>{var y=Ov();let w;he(()=>{G(y,"stroke-width",t.strokeWidth),w=Le(y,"",w,{stroke:s(),fill:s()})}),F(_,y)};de(g,_=>{t.type===zr.ArrowClosed&&_(v)},!0)}F(h,f)};de(l,h=>{t.type===zr.Arrow?h(c):h(d,!1)})}he(()=>{G(a,"id",t.id),G(a,"markerWidth",`${n()}`),G(a,"markerHeight",`${r()}`),G(a,"markerUnits",o()),G(a,"orient",i())}),F(e,a),oe()}var Hv=ae('
');function Lv(e,t){re(t,!0);let n=L(t,"store",15);var r=Hv(),o=ee(r),i=ee(o);Iv(i,{});var s=$(o,2);Wr(s,17,()=>n().visible.edges.values(),a=>a.id,(a,l)=>{Tv(a,{get edge(){return u(l)},get onedgeclick(){return t.onedgeclick},get onedgecontextmenu(){return t.onedgecontextmenu},get onedgepointerenter(){return t.onedgepointerenter},get onedgepointerleave(){return t.onedgepointerleave},get store(){return n()},set store(c){n(c)}})}),F(e,r),oe()}var Vv=ae('
');function bl(e,t){re(t,!0);let n=L(t,"x",3,0),r=L(t,"y",3,0),o=L(t,"width",3,0),i=L(t,"height",3,0),s=L(t,"isVisible",3,!0);var a=Se(),l=le(a);{var c=d=>{var h=Vv();let f;he(g=>f=Le(h,"",f,g),[()=>({width:typeof o()=="string"?o():ct(o()),height:typeof i()=="string"?i():ct(i()),transform:`translate(${n()}px, ${r()}px)`})]),F(d,h)};de(l,d=>{s()&&d(c)})}F(e,a),oe()}var Bv=ae("
");function Fv(e,t){re(t,!0);let n=se(void 0);at(()=>{t.store.disableKeyboardA11y||u(n)?.focus({preventScroll:!0})});let r=m(()=>{if(t.store.selectionRectMode==="nodes"){t.store.nodes;const d=or(t.store.nodeLookup,{filter:h=>!!h.selected});if(d.width>0&&d.height>0)return d}return null});function o(d){const h=t.store.nodes.filter(f=>f.selected);t.onselectioncontextmenu?.({nodes:h,event:d})}function i(d){const h=t.store.nodes.filter(f=>f.selected);t.onselectionclick?.({nodes:h,event:d})}function s(d){Object.prototype.hasOwnProperty.call(Hr,d.key)&&(d.preventDefault(),t.store.moveSelectedNodes(Hr[d.key],d.shiftKey?4:1))}var a=Se(),l=le(a);{var c=d=>{var h=Bv();h.__contextmenu=o,h.__click=i,h.__keydown=function(...v){(t.store.disableKeyboardA11y?void 0:s)?.apply(this,v)};let f;var g=ee(h);bl(g,{width:"100%",height:"100%",x:0,y:0}),Ne(h,(v,_)=>yl?.(v,_),()=>({disabled:!1,store:t.store,onDrag:(v,_,y,w)=>{t.onnodedrag?.({event:v,targetNode:null,nodes:w})},onDragStart:(v,_,y,w)=>{t.onnodedragstart?.({event:v,targetNode:null,nodes:w})},onDragStop:(v,_,y,w)=>{t.onnodedragstop?.({event:v,targetNode:null,nodes:w})}})),er(h,v=>R(n,v),()=>u(n)),he(v=>{ut(h,1,Ht(["svelte-flow__selection-wrapper",t.store.noPanClass]),"svelte-sf2y5e"),G(h,"role",t.store.disableKeyboardA11y?void 0:"button"),G(h,"tabindex",t.store.disableKeyboardA11y?void 0:-1),f=Le(h,"",f,v)},[()=>({width:ct(u(r).width),height:ct(u(r).height),transform:`translate(${u(r).x??""}px, ${u(r).y??""}px)`})]),F(d,h)};de(l,d=>{t.store.selectionRectMode==="nodes"&&u(r)&&_t(u(r).x)&&_t(u(r).y)&&d(c)})}F(e,a),oe()}jo(["contextmenu","click","keydown"]);function Kv(e){switch(e){case"ctrl":return 8;case"shift":return 4;case"alt":return 2;case"meta":return 1}}function $e(e,t){let{enabled:n=!0,trigger:r,type:o="keydown"}=t;function i(a){const l=Array.isArray(r)?r:[r],c=[a.metaKey,a.altKey,a.shiftKey,a.ctrlKey].reduce((d,h,f)=>h?d|1<0){const C=Array.isArray(f)?f:[f];let k=!1;for(const b of C)if((Array.isArray(b)?b:[b]).reduce((T,z)=>T|Kv(z),0)===c){k=!0;break}if(!k)continue}_&&a.preventDefault();const w={node:e,trigger:h,originalEvent:a};e.dispatchEvent(new CustomEvent("shortcut",{detail:w})),v?.(w)}}}let s;return n&&(s=xo(e,o,i)),{update:a=>{const{enabled:l=!0,type:c="keydown"}=a;n&&(!l||o!==c)?s?.():!n&&l&&(s=xo(e,c,i)),n=l,o=c,r=a.trigger},destroy:()=>{s?.()}}}function Yv(){const e=m(Ft),t=i=>{const s=ds(i)?i:u(e).nodeLookup.get(i.id),a=s.parentId?Qh(s.position,s.measured,s.parentId,u(e).nodeLookup,u(e).nodeOrigin):s.position,l={...s,position:a,width:s.measured?.width??s.width,height:s.measured?.height??s.height};return xn(l)};function n(i,s,a={replace:!1}){u(e).nodes=qe(()=>u(e).nodes).map(l=>{if(l.id===i){const c=typeof s=="function"?s(l):s;return a?.replace&&ds(c)?c:{...l,...c}}return l})}function r(i,s,a={replace:!1}){u(e).edges=qe(()=>u(e).edges).map(l=>{if(l.id===i){const c=typeof s=="function"?s(l):s;return a.replace&&$g(c)?c:{...l,...c}}return l})}const o=i=>u(e).nodeLookup.get(i);return{zoomIn:u(e).zoomIn,zoomOut:u(e).zoomOut,getInternalNode:o,getNode:i=>o(i)?.internals.userNode,getNodes:i=>i===void 0?u(e).nodes:ps(u(e).nodeLookup,i),getEdge:i=>u(e).edgeLookup.get(i),getEdges:i=>i===void 0?u(e).edges:ps(u(e).edgeLookup,i),setZoom:(i,s)=>{const a=u(e).panZoom;return a?a.scaleTo(i,{duration:s?.duration}):Promise.resolve(!1)},getZoom:()=>u(e).viewport.zoom,setViewport:async(i,s)=>{const a=u(e).viewport;return u(e).panZoom?(await u(e).panZoom.setViewport({x:i.x??a.x,y:i.y??a.y,zoom:i.zoom??a.zoom},s),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>Ms(u(e).viewport),setCenter:async(i,s,a)=>u(e).setCenter(i,s,a),fitView:i=>u(e).fitView(i),fitBounds:async(i,s)=>{if(!u(e).panZoom)return Promise.resolve(!1);const a=ui(i,u(e).width,u(e).height,u(e).minZoom,u(e).maxZoom,s?.padding??.1);return await u(e).panZoom.setViewport(a,{duration:s?.duration,ease:s?.ease,interpolate:s?.interpolate}),Promise.resolve(!0)},getIntersectingNodes:(i,s=!0,a)=>{const l=$i(i),c=l?i:t(i);return c?(a||u(e).nodes).filter(d=>{const h=u(e).nodeLookup.get(d.id);if(!h||!l&&d.id===i.id)return!1;const f=xn(h),g=Wn(f,c);return s&&g>0||g>=f.width*f.height||g>=c.width*c.height}):[]},isNodeIntersecting:(i,s,a=!0)=>{const c=$i(i)?i:t(i);if(!c)return!1;const d=Wn(c,s);return a&&d>0||d>=s.width*s.height||d>=c.width*c.height},deleteElements:async({nodes:i=[],edges:s=[]})=>{const{nodes:a,edges:l}=await Zh({nodesToRemove:i,edgesToRemove:s,nodes:u(e).nodes,edges:u(e).edges,onBeforeDelete:u(e).onbeforedelete});return a&&(u(e).nodes=qe(()=>u(e).nodes).filter(c=>!a.some(({id:d})=>d===c.id))),l&&(u(e).edges=qe(()=>u(e).edges).filter(c=>!l.some(({id:d})=>d===c.id))),(a.length>0||l.length>0)&&u(e).ondelete?.({nodes:a,edges:l}),{deletedNodes:a,deletedEdges:l}},screenToFlowPosition:(i,s={snapToGrid:!0})=>{if(!u(e).domNode)return i;const a=s.snapToGrid?u(e).snapGrid:!1,{x:l,y:c,zoom:d}=u(e).viewport,{x:h,y:f}=u(e).domNode.getBoundingClientRect(),g={x:i.x-h,y:i.y-f};return sr(g,[l,c,d],a!==null,a||[1,1])},flowToScreenPosition:i=>{if(!u(e).domNode)return i;const{x:s,y:a,zoom:l}=u(e).viewport,{x:c,y:d}=u(e).domNode.getBoundingClientRect(),h=Rr(i,[s,a,l]);return{x:h.x+c,y:h.y+d}},toObject:()=>structuredClone({nodes:[...u(e).nodes],edges:[...u(e).edges],viewport:{...u(e).viewport}}),updateNode:n,updateNodeData:(i,s,a)=>{const l=u(e).nodeLookup.get(i)?.internals.userNode;if(!l)return;const c=typeof s=="function"?s(l):s;n(i,d=>({...d,data:a?.replace?c:{...d.data,...c}}))},updateEdge:r,getNodesBounds:i=>Fh(i,{nodeLookup:u(e).nodeLookup,nodeOrigin:u(e).nodeOrigin}),getHandleConnections:({type:i,id:s,nodeId:a})=>Array.from(u(e).connectionLookup.get(`${a}-${i}-${s??null}`)?.values()??[])}}function ps(e,t){const n=[];for(const r of t){const o=e.get(r);if(o){const i="internals"in o?o.internals?.userNode:o;n.push(i)}}return n}function Wv(e,t){re(t,!0);let n=L(t,"store",15),r=L(t,"selectionKey",3,"Shift"),o=L(t,"multiSelectionKey",19,()=>Zn()?"Meta":"Control"),i=L(t,"deleteKey",3,"Backspace"),s=L(t,"panActivationKey",3," "),a=L(t,"zoomActivationKey",19,()=>Zn()?"Meta":"Control"),{deleteElements:l}=Yv();function c(_){return _!==null&&typeof _=="object"}function d(_){return c(_)?_.modifier||[]:[]}function h(_){return _==null?"":c(_)?_.key:_}function f(_,y){return(Array.isArray(_)?_:[_]).map(C=>{const k=h(C);return{key:k,modifier:d(C),enabled:k!==null,callback:y}})}function g(){n(n().selectionRect=null,!0),n(n().selectionKeyPressed=!1,!0),n(n().multiselectionKeyPressed=!1,!0),n(n().deleteKeyPressed=!1,!0),n(n().panActivationKeyPressed=!1,!0),n(n().zoomActivationKeyPressed=!1,!0)}function v(){const _=n().nodes.filter(w=>w.selected),y=n().edges.filter(w=>w.selected);l({nodes:_,edges:y})}kr("blur",Ae,g),kr("contextmenu",Ae,g),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(r(),()=>n(n().selectionKeyPressed=!0,!0)),type:"keydown"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(r(),()=>n(n().selectionKeyPressed=!1,!0)),type:"keyup"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(o(),()=>{n(n().multiselectionKeyPressed=!0,!0)}),type:"keydown"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(o(),()=>n(n().multiselectionKeyPressed=!1,!0)),type:"keyup"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(i(),_=>{!(_.originalEvent.ctrlKey||_.originalEvent.metaKey||_.originalEvent.shiftKey)&&!el(_.originalEvent)&&(n(n().deleteKeyPressed=!0,!0),v())}),type:"keydown"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(i(),()=>n(n().deleteKeyPressed=!1,!0)),type:"keyup"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(s(),()=>n(n().panActivationKeyPressed=!0,!0)),type:"keydown"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(s(),()=>n(n().panActivationKeyPressed=!1,!0)),type:"keyup"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(a(),()=>n(n().zoomActivationKeyPressed=!0,!0)),type:"keydown"})),Ne(Ae,(_,y)=>$e?.(_,y),()=>({trigger:f(a(),()=>n(n().zoomActivationKeyPressed=!1,!0)),type:"keyup"})),oe()}var Zv=me(''),Xv=me('');function Gv(e,t){re(t,!0);let n=m(()=>{if(!t.store.connection.inProgress)return"";const s={sourceX:t.store.connection.from.x,sourceY:t.store.connection.from.y,sourcePosition:t.store.connection.fromPosition,targetX:t.store.connection.to.x,targetY:t.store.connection.to.y,targetPosition:t.store.connection.toPosition};switch(t.type){case Tt.Bezier:{const[a]=nl(s);return a}case Tt.Straight:{const[a]=ol(s);return a}case Tt.Step:case Tt.SmoothStep:{const[a]=di({...s,borderRadius:t.type===Tt.Step?0:void 0});return a}}});var r=Se(),o=le(r);{var i=s=>{var a=Xv(),l=ee(a),c=ee(l);{var d=f=>{var g=Se(),v=le(g);Zr(v,()=>t.LineComponent,(_,y)=>{y(_,{})}),F(f,g)},h=f=>{var g=Zv();he(()=>{G(g,"d",u(n)),Le(g,t.style)}),F(f,g)};de(c,f=>{t.LineComponent?f(d):f(h,!1)})}he(f=>{G(a,"width",t.store.width),G(a,"height",t.store.height),Le(a,t.containerStyle),ut(l,0,f)},[()=>Ht(["svelte-flow__connection",Vh(t.store.connection.isValid)])]),F(s,a)};de(o,s=>{t.store.connection.inProgress&&s(i)})}F(e,r),oe()}var Uv=ae("
");function mi(e,t){re(t,!0);let n=L(t,"position",3,"top-right"),r=Vt(t,["$$slots","$$events","$$legacy","position","style","class","children"]),o=m(()=>`${n()}`.split("-"));var i=Uv();Lt(i,a=>({class:a,style:t.style,...r}),[()=>["svelte-flow__panel",t.class,...u(o)]]);var s=ee(i);Ye(s,()=>t.children??Sn),F(e,i),oe()}var Qv=ae('Svelte Flow');function jv(e,t){re(t,!0);let n=L(t,"position",3,"bottom-right");var r=Se(),o=le(r);{var i=s=>{mi(s,{get position(){return n()},class:"svelte-flow__attribution","data-message":"Feel free to remove the attribution or check out how you could support us: https://svelteflow.dev/support-us",children:(a,l)=>{var c=Qv();F(a,c)},$$slots:{default:!0}})};de(o,s=>{t.proOptions?.hideAttribution||s(i)})}F(e,r),oe()}var Jv=ae("
");function $v(e,t){re(t,!0);let n=L(t,"domNode",15),r=L(t,"clientWidth",15),o=L(t,"clientHeight",15),i=m(()=>t.rest.class),s=m(()=>kc(t.rest,["id","class","nodeTypes","edgeTypes","colorMode","isValidConnection","onmove","onmovestart","onmoveend","onflowerror","ondelete","onbeforedelete","onbeforeconnect","onconnect","onconnectstart","onconnectend","onbeforereconnect","onreconnect","onreconnectstart","onreconnectend","onclickconnectstart","onclickconnectend","oninit","onselectionchange","onselectiondragstart","onselectiondrag","onselectiondragstop","onselectionstart","onselectionend","clickConnect","fitView","fitViewOptions","nodeOrigin","nodeDragThreshold","connectionDragThreshold","minZoom","maxZoom","initialViewport","connectionRadius","connectionMode","selectionMode","selectNodesOnDrag","snapGrid","defaultMarkerColor","translateExtent","nodeExtent","onlyRenderVisibleElements","autoPanOnConnect","autoPanOnNodeDrag","colorModeSSR","defaultEdgeOptions","elevateNodesOnSelect","elevateEdgesOnSelect","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","elementsSelectable","nodesFocusable","edgesFocusable","disableKeyboardA11y","noDragClass","noPanClass","noWheelClass","ariaLabelConfig","autoPanSpeed","panOnScrollSpeed","zIndexMode"]));function a(d){d.currentTarget.scrollTo({top:0,left:0,behavior:"auto"}),t.rest.onscroll&&t.rest.onscroll(d)}var l=Jv();Lt(l,d=>({class:["svelte-flow","svelte-flow__container",u(i),t.colorMode],"data-testid":"svelte-flow__wrapper",role:"application",onscroll:a,...u(s),[pt]:d}),[()=>({width:ct(t.width),height:ct(t.height)})],void 0,void 0,"svelte-mkap6j");var c=ee(l);Ye(c,()=>t.children??Sn),er(l,d=>n(d),()=>n()),Ai(l,"clientHeight",o),Ai(l,"clientWidth",r),F(e,l),oe()}var e0=ae('
',1),t0=ae(" ",1),n0=ae(" ",1);function r0(e,t){re(t,!0);let n=L(t,"paneClickDistance",3,1),r=L(t,"nodeClickDistance",3,1),o=L(t,"panOnScrollMode",19,()=>hn.Free),i=L(t,"preventScrolling",3,!0),s=L(t,"zoomOnScroll",3,!0),a=L(t,"zoomOnDoubleClick",3,!0),l=L(t,"zoomOnPinch",3,!0),c=L(t,"panOnScroll",3,!1),d=L(t,"panOnScrollSpeed",3,.5),h=L(t,"panOnDrag",3,!0),f=L(t,"selectionOnDrag",3,!1),g=L(t,"connectionLineType",19,()=>Tt.Bezier),v=L(t,"nodes",31,()=>nt([])),_=L(t,"edges",31,()=>nt([])),y=L(t,"viewport",15,void 0),w=Vt(t,["$$slots","$$events","$$legacy","width","height","proOptions","selectionKey","deleteKey","panActivationKey","multiSelectionKey","zoomActivationKey","paneClickDistance","nodeClickDistance","onmovestart","onmoveend","onmove","oninit","onnodeclick","onnodecontextmenu","onnodedrag","onnodedragstart","onnodedragstop","onnodepointerenter","onnodepointermove","onnodepointerleave","onselectionclick","onselectioncontextmenu","onselectionstart","onselectionend","onedgeclick","onedgecontextmenu","onedgepointerenter","onedgepointerleave","onpaneclick","onpanecontextmenu","panOnScrollMode","preventScrolling","zoomOnScroll","zoomOnDoubleClick","zoomOnPinch","panOnScroll","panOnScrollSpeed","panOnDrag","selectionOnDrag","connectionLineComponent","connectionLineStyle","connectionLineContainerStyle","connectionLineType","attributionPosition","children","nodes","edges","viewport"]),C=gv({props:w,width:t.width,height:t.height,get nodes(){return v()},set nodes(b){v(b)},get edges(){return _()},set edges(b){_(b)},get viewport(){return y()},set viewport(b){y(b)}});const k=Fo(qo);k&&k.setStore&&k.setStore(C),As(qo,{provider:!1,getStore(){return C}}),at(()=>{const b={nodes:C.selectedNodes,edges:C.selectedEdges};qe(()=>t.onselectionchange)?.(b);for(const A of C.selectionChangeHandlers.values())A(b)}),ei(()=>{C.reset()}),$v(e,{get colorMode(){return C.colorMode},get width(){return t.width},get height(){return t.height},get rest(){return w},get domNode(){return C.domNode},set domNode(b){C.domNode=b},get clientWidth(){return C.width},set clientWidth(b){C.width=b},get clientHeight(){return C.height},set clientHeight(b){C.height=b},children:(b,A)=>{var T=n0(),z=le(T);Wv(z,{get selectionKey(){return t.selectionKey},get deleteKey(){return t.deleteKey},get panActivationKey(){return t.panActivationKey},get multiSelectionKey(){return t.multiSelectionKey},get zoomActivationKey(){return t.zoomActivationKey},get store(){return C},set store(x){C=x}});var M=$(z,2);mv(M,{get panOnScrollMode(){return o()},get preventScrolling(){return i()},get zoomOnScroll(){return s()},get zoomOnDoubleClick(){return a()},get zoomOnPinch(){return l()},get panOnScroll(){return c()},get panOnScrollSpeed(){return d()},get panOnDrag(){return h()},get paneClickDistance(){return n()},get selectionOnDrag(){return f()},get onmovestart(){return t.onmovestart},get onmove(){return t.onmove},get onmoveend(){return t.onmoveend},get oninit(){return t.oninit},get store(){return C},set store(x){C=x},children:(x,N)=>{_v(x,{get onpaneclick(){return t.onpaneclick},get onpanecontextmenu(){return t.onpanecontextmenu},get onselectionstart(){return t.onselectionstart},get onselectionend(){return t.onselectionend},get panOnDrag(){return h()},get paneClickDistance(){return n()},get selectionOnDrag(){return f()},get store(){return C},set store(p){C=p},children:(p,E)=>{var S=t0(),D=le(S);bv(D,{get store(){return C},set store(I){C=I},children:(I,q)=>{var V=e0(),W=$(le(V),2);Lv(W,{get onedgeclick(){return t.onedgeclick},get onedgecontextmenu(){return t.onedgecontextmenu},get onedgepointerenter(){return t.onedgepointerenter},get onedgepointerleave(){return t.onedgepointerleave},get store(){return C},set store(Z){C=Z}});var Y=$(W,4);Gv(Y,{get type(){return g()},get LineComponent(){return t.connectionLineComponent},get containerStyle(){return t.connectionLineContainerStyle},get style(){return t.connectionLineStyle},get store(){return C},set store(Z){C=Z}});var B=$(Y,2);Mv(B,{get nodeClickDistance(){return r()},get onnodeclick(){return t.onnodeclick},get onnodecontextmenu(){return t.onnodecontextmenu},get onnodepointerenter(){return t.onnodepointerenter},get onnodepointermove(){return t.onnodepointermove},get onnodepointerleave(){return t.onnodepointerleave},get onnodedrag(){return t.onnodedrag},get onnodedragstart(){return t.onnodedragstart},get onnodedragstop(){return t.onnodedragstop},get store(){return C},set store(Z){C=Z}});var U=$(B,2);Fv(U,{get onselectionclick(){return t.onselectionclick},get onselectioncontextmenu(){return t.onselectioncontextmenu},get onnodedrag(){return t.onnodedrag},get onnodedragstart(){return t.onnodedragstart},get onnodedragstop(){return t.onnodedragstop},get store(){return C},set store(Z){C=Z}}),F(I,V)},$$slots:{default:!0}});var O=$(D,2);{let I=m(()=>!!(C.selectionRect&&C.selectionRectMode==="user")),q=m(()=>C.selectionRect?.width),V=m(()=>C.selectionRect?.height),W=m(()=>C.selectionRect?.x),Y=m(()=>C.selectionRect?.y);bl(O,{get isVisible(){return u(I)},get width(){return u(q)},get height(){return u(V)},get x(){return u(W)},get y(){return u(Y)}})}F(p,S)},$$slots:{default:!0}})},$$slots:{default:!0}});var H=$(M,2);jv(H,{get proOptions(){return t.proOptions},get position(){return t.attributionPosition}});var K=$(H,2);Sv(K,{get store(){return C}});var P=$(K,2);Ye(P,()=>t.children??Sn),F(b,T)},$$slots:{default:!0}}),oe()}var o0=ae("");function vr(e,t){let n=Vt(t,["$$slots","$$events","$$legacy","class","bgColor","bgColorHover","color","colorHover","borderColor","onclick","children"]);var r=o0();Lt(r,()=>({type:"button",onclick:t.onclick,class:["svelte-flow__controls-button",t.class],...n,[pt]:{"--xy-controls-button-background-color-props":t.bgColor,"--xy-controls-button-background-color-hover-props":t.bgColorHover,"--xy-controls-button-color-props":t.color,"--xy-controls-button-color-hover-props":t.colorHover,"--xy-controls-button-border-color-props":t.borderColor}}));var o=ee(r);Ye(o,()=>t.children??Sn),F(e,r)}var i0=me('');function s0(e){var t=i0();F(e,t)}var a0=me('');function l0(e){var t=a0();F(e,t)}var c0=me('');function u0(e){var t=c0();F(e,t)}var d0=me('');function f0(e){var t=d0();F(e,t)}var h0=me('');function g0(e){var t=h0();F(e,t)}var v0=ae(" ",1),p0=ae(" ",1);function m0(e,t){re(t,!0);let n=L(t,"position",3,"bottom-left"),r=L(t,"orientation",3,"vertical"),o=L(t,"showZoom",3,!0),i=L(t,"showFitView",3,!0),s=L(t,"showLock",3,!0),a=Vt(t,["$$slots","$$events","$$legacy","position","orientation","showZoom","showFitView","showLock","style","class","buttonBgColor","buttonBgColorHover","buttonColor","buttonColorHover","buttonBorderColor","fitViewOptions","children","before","after"]),l=m(Ft);const c={bgColor:t.buttonBgColor,bgColorHover:t.buttonBgColorHover,color:t.buttonColor,colorHover:t.buttonColorHover,borderColor:t.buttonBorderColor};let d=m(()=>u(l).nodesDraggable||u(l).nodesConnectable||u(l).elementsSelectable),h=m(()=>u(l).viewport.zoom<=u(l).minZoom),f=m(()=>u(l).viewport.zoom>=u(l).maxZoom),g=m(()=>u(l).ariaLabelConfig),v=m(()=>r()==="horizontal"?"horizontal":"vertical");const _=()=>{u(l).zoomIn()},y=()=>{u(l).zoomOut()},w=()=>{u(l).fitView(t.fitViewOptions)},C=()=>{let k=!u(d);u(l).nodesDraggable=k,u(l).nodesConnectable=k,u(l).elementsSelectable=k};{let k=m(()=>["svelte-flow__controls",u(v),t.class]);mi(e,At({get class(){return u(k)},get position(){return n()},"data-testid":"svelte-flow__controls",get"aria-label"(){return u(g)["controls.ariaLabel"]},get style(){return t.style}},()=>a,{children:(b,A)=>{var T=p0(),z=le(T);{var M=I=>{var q=Se(),V=le(q);Ye(V,()=>t.before),F(I,q)};de(z,I=>{t.before&&I(M)})}var H=$(z,2);{var K=I=>{var q=v0(),V=le(q);vr(V,At({onclick:_,class:"svelte-flow__controls-zoomin",get title(){return u(g)["controls.zoomIn.ariaLabel"]},get"aria-label"(){return u(g)["controls.zoomIn.ariaLabel"]},get disabled(){return u(f)}},()=>c,{children:(Y,B)=>{s0(Y)},$$slots:{default:!0}}));var W=$(V,2);vr(W,At({onclick:y,class:"svelte-flow__controls-zoomout",get title(){return u(g)["controls.zoomOut.ariaLabel"]},get"aria-label"(){return u(g)["controls.zoomOut.ariaLabel"]},get disabled(){return u(h)}},()=>c,{children:(Y,B)=>{l0(Y)},$$slots:{default:!0}})),F(I,q)};de(H,I=>{o()&&I(K)})}var P=$(H,2);{var x=I=>{vr(I,At({class:"svelte-flow__controls-fitview",onclick:w,get title(){return u(g)["controls.fitView.ariaLabel"]},get"aria-label"(){return u(g)["controls.fitView.ariaLabel"]}},()=>c,{children:(q,V)=>{u0(q)},$$slots:{default:!0}}))};de(P,I=>{i()&&I(x)})}var N=$(P,2);{var p=I=>{vr(I,At({class:"svelte-flow__controls-interactive",onclick:C,get title(){return u(g)["controls.interactive.ariaLabel"]},get"aria-label"(){return u(g)["controls.interactive.ariaLabel"]}},()=>c,{children:(q,V)=>{var W=Se(),Y=le(W);{var B=Z=>{g0(Z)},U=Z=>{f0(Z)};de(Y,Z=>{u(d)?Z(B):Z(U,!1)})}F(q,W)},$$slots:{default:!0}}))};de(N,I=>{s()&&I(p)})}var E=$(N,2);{var S=I=>{var q=Se(),V=le(q);Ye(V,()=>t.children),F(I,q)};de(E,I=>{t.children&&I(S)})}var D=$(E,2);{var O=I=>{var q=Se(),V=le(q);Ye(V,()=>t.after),F(I,q)};de(D,I=>{t.after&&I(O)})}F(b,T)},$$slots:{default:!0}}))}oe()}var Ot;(function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"})(Ot||(Ot={}));var y0=me("");function _0(e,t){var n=y0();he(()=>{G(n,"cx",t.radius),G(n,"cy",t.radius),G(n,"r",t.radius),ut(n,0,Ht(["svelte-flow__background-pattern","dots",t.class]))}),F(e,n)}var w0=me("");function b0(e,t){re(t,!0);var n=w0();he(()=>{G(n,"stroke-width",t.lineWidth),G(n,"d",`M${t.dimensions[0]/2} 0 V${t.dimensions[1]} M0 ${t.dimensions[1]/2} H${t.dimensions[0]}`),ut(n,0,Ht(["svelte-flow__background-pattern",t.variant,t.class]))}),F(e,n),oe()}const x0={[Ot.Dots]:1,[Ot.Lines]:1,[Ot.Cross]:6};var E0=me('');function S0(e,t){re(t,!0);let n=L(t,"variant",19,()=>Ot.Dots),r=L(t,"gap",3,20),o=L(t,"lineWidth",3,1),i=m(Ft),s=m(()=>n()===Ot.Dots),a=m(()=>n()===Ot.Cross),l=m(()=>Array.isArray(r())?r():[r(),r()]),c=m(()=>`background-pattern-${u(i).flowId}-${t.id??""}`),d=m(()=>[u(l)[0]*u(i).viewport.zoom||1,u(l)[1]*u(i).viewport.zoom||1]),h=m(()=>(t.size??x0[n()])*u(i).viewport.zoom),f=m(()=>u(a)?[u(h),u(h)]:u(d)),g=m(()=>u(s)?[u(h)/2,u(h)/2]:[u(f)[0]/2,u(f)[1]/2]);var v=E0();let _;var y=ee(v),w=ee(y);{var C=A=>{{let T=m(()=>u(h)/2);_0(A,{get radius(){return u(T)},get class(){return t.patternClass}})}},k=A=>{b0(A,{get dimensions(){return u(f)},get variant(){return n()},get lineWidth(){return o()},get class(){return t.patternClass}})};de(w,A=>{u(s)?A(C):A(k,!1)})}var b=$(y);he(()=>{ut(v,0,Ht(["svelte-flow__background","svelte-flow__container",t.class])),_=Le(v,"",_,{"--xy-background-color-props":t.bgColor,"--xy-background-pattern-color-props":t.patternColor}),G(y,"id",u(c)),G(y,"x",u(i).viewport.x%u(d)[0]),G(y,"y",u(i).viewport.y%u(d)[1]),G(y,"width",u(d)[0]),G(y,"height",u(d)[1]),G(y,"patternTransform",`translate(-${u(g)[0]},-${u(g)[1]})`),G(b,"fill",`url(#${u(c)})`)}),F(e,v),oe()}var k0=me("");function C0(e,t){let n=L(t,"borderRadius",3,5),r=L(t,"strokeWidth",3,2);var o=Se(),i=le(o);{var s=l=>{const c=m(()=>t.nodeComponent);var d=Se(),h=le(d);Zr(h,()=>u(c),(f,g)=>{g(f,{get id(){return t.id},get x(){return t.x},get y(){return t.y},get width(){return t.width},get height(){return t.height},get borderRadius(){return n()},get class(){return t.class},get color(){return t.color},get shapeRendering(){return t.shapeRendering},get strokeColor(){return t.strokeColor},get strokeWidth(){return r()},get selected(){return t.selected}})}),F(l,d)},a=l=>{var c=k0();let d,h;he(()=>{d=ut(c,0,Ht(["svelte-flow__minimap-node",t.class]),null,d,{selected:t.selected}),G(c,"x",t.x),G(c,"y",t.y),G(c,"rx",n()),G(c,"ry",n()),G(c,"width",t.width),G(c,"height",t.height),G(c,"shape-rendering",t.shapeRendering),h=Le(c,"",h,{fill:t.color,stroke:t.strokeColor,"stroke-width":r()})}),F(l,c)};de(i,l=>{t.nodeComponent?l(s):l(a,!1)})}F(e,o)}function N0(e,t){const n=Mg({domNode:e,panZoom:t.panZoom,getTransform:()=>{const{viewport:o}=t.store;return[o.x,o.y,o.zoom]},getViewScale:t.getViewScale});n.update({translateExtent:t.translateExtent,width:t.width,height:t.height,inversePan:t.inversePan,zoomStep:t.zoomStep,pannable:t.pannable,zoomable:t.zoomable});function r(o){n.update({translateExtent:o.translateExtent,width:o.width,height:o.height,inversePan:o.inversePan,zoomStep:o.zoomStep,pannable:o.pannable,zoomable:o.zoomable})}return{update:r,destroy(){n.destroy()}}}const go=e=>e instanceof Function?e:()=>e;var P0=me(" "),M0=me(''),A0=ae('',1);function T0(e,t){re(t,!0);let n=L(t,"position",3,"bottom-right"),r=L(t,"nodeStrokeColor",3,"transparent"),o=L(t,"nodeClass",3,""),i=L(t,"nodeBorderRadius",3,5),s=L(t,"nodeStrokeWidth",3,2),a=L(t,"width",3,200),l=L(t,"height",3,150),c=L(t,"pannable",3,!0),d=L(t,"zoomable",3,!0),h=Vt(t,["$$slots","$$events","$$legacy","position","ariaLabel","nodeStrokeColor","nodeColor","nodeClass","nodeBorderRadius","nodeStrokeWidth","nodeComponent","bgColor","maskColor","maskStrokeColor","maskStrokeWidth","width","height","pannable","zoomable","inversePan","zoomStep","class"]),f=m(Ft),g=m(()=>u(f).ariaLabelConfig);const v=t.nodeColor===void 0?void 0:go(t.nodeColor),_=go(r()),y=go(o()),w=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";let C=m(()=>`svelte-flow__minimap-desc-${u(f).flowId}`),k=m(()=>({x:-u(f).viewport.x/u(f).viewport.zoom,y:-u(f).viewport.y/u(f).viewport.zoom,width:u(f).width/u(f).viewport.zoom,height:u(f).height/u(f).viewport.zoom})),b=m(()=>Qa(or(u(f).nodeLookup,{filter:O=>!O.hidden}),u(k))),A=m(()=>u(b).width/a()),T=m(()=>u(b).height/l()),z=m(()=>Math.max(u(A),u(T))),M=m(()=>u(z)*a()),H=m(()=>u(z)*l()),K=m(()=>5*u(z)),P=m(()=>u(b).x-(u(M)-u(b).width)/2-u(K)),x=m(()=>u(b).y-(u(H)-u(b).height)/2-u(K)),N=m(()=>u(M)+u(K)*2),p=m(()=>u(H)+u(K)*2);const E=()=>u(z);var S=A0(),D=le(S);{let O=m(()=>["svelte-flow__minimap",t.class]);Hc(D,()=>({"--xy-minimap-background-color-props":t.bgColor})),mi(D.lastChild,At({get position(){return n()},get class(){return u(O)},"data-testid":"svelte-flow__minimap"},()=>h,{children:(I,q)=>{var V=Se(),W=le(V);{var Y=B=>{var U=M0();let Z;var X=ee(U);{var Q=J=>{var pe=P0(),te=ee(pe);he(()=>{G(pe,"id",u(C)),Re(te,t.ariaLabel??u(g)["minimap.ariaLabel"])}),F(J,pe)};de(X,J=>{(t.ariaLabel??u(g)["minimap.ariaLabel"])&&J(Q)})}var ue=$(X);Wr(ue,17,()=>u(f).nodes,J=>J.id,(J,pe)=>{const te=m(()=>u(f).nodeLookup.get(u(pe).id));var Me=Se(),Ct=le(Me);{var Nt=ft=>{const ce=m(()=>Bt(u(te)));{let ye=m(()=>v?.(u(te))),Ze=m(()=>_(u(te))),ge=m(()=>y(u(te)));C0(ft,At({get id(){return u(te).id},get x(){return u(te).internals.positionAbsolute.x},get y(){return u(te).internals.positionAbsolute.y}},()=>u(ce),{get selected(){return u(te).selected},get nodeComponent(){return t.nodeComponent},get color(){return u(ye)},get borderRadius(){return i()},get strokeColor(){return u(Ze)},get strokeWidth(){return s()},get shapeRendering(){return w},get class(){return u(ge)}}))}};de(Ct,ft=>{u(te)&&ja(u(te))&&!u(te).hidden&&ft(Nt)})}F(J,Me)});var we=$(ue);Ne(U,(J,pe)=>N0?.(J,pe),()=>({store:u(f),panZoom:u(f).panZoom,getViewScale:E,translateExtent:u(f).translateExtent,width:u(f).width,height:u(f).height,inversePan:t.inversePan,zoomStep:t.zoomStep,pannable:c(),zoomable:d()})),he(()=>{G(U,"width",a()),G(U,"height",l()),G(U,"viewBox",`${u(P)??""} ${u(x)??""} ${u(N)??""} ${u(p)??""}`),G(U,"aria-labelledby",u(C)),Z=Le(U,"",Z,{"--xy-minimap-mask-background-color-props":t.maskColor,"--xy-minimap-mask-stroke-color-props":t.maskStrokeColor,"--xy-minimap-mask-stroke-width-props":t.maskStrokeWidth?t.maskStrokeWidth*u(z):void 0}),G(we,"d",`M${u(P)-u(K)},${u(x)-u(K)}h${u(N)+u(K)*2}v${u(p)+u(K)*2}h${-u(N)-u(K)*2}z + M${u(k).x??""},${u(k).y??""}h${u(k).width??""}v${u(k).height??""}h${-u(k).width}z`)}),F(B,U)};de(W,B=>{u(f).panZoom&&B(Y)})}F(I,V)},$$slots:{default:!0}}))}F(e,S),oe()}var D0=ae(" ",1),I0=ae('

Description

When to Use

Example

'),z0=ae(`

Select a Test

Click on any blue test node in the flowchart to see detailed information about that statistical test.

Legend

Start Point
Decision Point
Statistical Test

Quick Reference

ScenarioParametricNon-Parametric
1 sample vs valueOne-Sample TWilcoxon
2 independent groupsT-Test / Welch'sMann-Whitney U
2 paired groupsPaired T-TestWilcoxon
3+ groupsANOVAKruskal-Wallis
CorrelationPearsonSpearman
CategoricalChi-SquareFisher's Exact
`),O0=ae('

Statistical Test Decision Flowchart

Svelte Version - Click on any blue test node to learn more

');function R0(e){const t="background: #c8e6c9; border: 2px solid #2e7d32; border-radius: 25px; padding: 15px 25px; font-weight: bold; font-size: 14px;",n="background: #fff3e0; border: 2px solid #e65100; border-radius: 8px; padding: 12px 18px; font-weight: 500; font-size: 12px; text-align: center;",r="background: #e1f5fe; border: 2px solid #01579b; border-radius: 8px; padding: 12px 20px; font-weight: bold; font-size: 12px; color: #01579b; cursor: pointer;";let o=nt([{id:"start",position:{x:500,y:0},data:{label:"What is your research goal?"},style:t},{id:"q1",position:{x:450,y:100},data:{label:"Comparing groups or measuring relationship?"},style:n+" width: 180px;"},{id:"q2",position:{x:280,y:230},data:{label:"How many groups?"},style:n},{id:"q3",position:{x:820,y:230},data:{label:"Data type?"},style:n},{id:"q4",position:{x:80,y:360},data:{label:"Data normal?"},style:n},{id:"q5",position:{x:280,y:360},data:{label:"Independent or paired?"},style:n+" width: 130px;"},{id:"q6",position:{x:520,y:360},data:{label:"Data normal?"},style:n},{id:"q11",position:{x:720,y:360},data:{label:"Data normal?"},style:n},{id:"q12",position:{x:920,y:360},data:{label:"Sample size adequate?"},style:n+" width: 120px;"},{id:"t1",position:{x:20,y:480},data:{label:"One-Sample T-Test"},style:r},{id:"t2",position:{x:20,y:560},data:{label:"Wilcoxon Signed-Rank"},style:r},{id:"q7",position:{x:200,y:480},data:{label:"Data normal?"},style:n},{id:"q8",position:{x:360,y:480},data:{label:"Data normal?"},style:n},{id:"q10",position:{x:560,y:480},data:{label:"Equal variances?"},style:n},{id:"t8",position:{x:700,y:480},data:{label:"Kruskal-Wallis Test"},style:r},{id:"t11",position:{x:740,y:620},data:{label:"Pearson Correlation"},style:r},{id:"t12",position:{x:890,y:620},data:{label:"Spearman Correlation"},style:r},{id:"t13",position:{x:940,y:480},data:{label:"Chi-Square Test"},style:r},{id:"t14",position:{x:1080,y:480},data:{label:"Fisher's Exact Test"},style:r},{id:"q9",position:{x:150,y:600},data:{label:"Equal variances?"},style:n},{id:"t3",position:{x:280,y:600},data:{label:"Mann-Whitney U"},style:r},{id:"t6",position:{x:340,y:600},data:{label:"Paired T-Test"},style:r},{id:"t7",position:{x:340,y:680},data:{label:"Wilcoxon Signed-Rank"},style:r},{id:"t9",position:{x:540,y:580},data:{label:"One-Way ANOVA"},style:r},{id:"t10",position:{x:680,y:580},data:{label:"Welch's ANOVA"},style:r},{id:"t4",position:{x:100,y:720},data:{label:"Independent T-Test"},style:r},{id:"t5",position:{x:240,y:720},data:{label:"Welch's T-Test"},style:r}]),i=nt([{id:"e-start-q1",source:"start",target:"q1"},{id:"e-q1-q2",source:"q1",target:"q2",label:"Comparing Groups"},{id:"e-q1-q3",source:"q1",target:"q3",label:"Measuring Relationship"},{id:"e-q2-q4",source:"q2",target:"q4",label:"1 group vs value"},{id:"e-q2-q5",source:"q2",target:"q5",label:"2 groups"},{id:"e-q2-q6",source:"q2",target:"q6",label:"3+ groups"},{id:"e-q3-q11",source:"q3",target:"q11",label:"Both Continuous"},{id:"e-q3-q12",source:"q3",target:"q12",label:"Both Categorical"},{id:"e-q4-t1",source:"q4",target:"t1",label:"Yes"},{id:"e-q4-t2",source:"q4",target:"t2",label:"No"},{id:"e-q5-q7",source:"q5",target:"q7",label:"Independent"},{id:"e-q5-q8",source:"q5",target:"q8",label:"Paired"},{id:"e-q6-q10",source:"q6",target:"q10",label:"Yes"},{id:"e-q6-t8",source:"q6",target:"t8",label:"No"},{id:"e-q7-q9",source:"q7",target:"q9",label:"Yes"},{id:"e-q7-t3",source:"q7",target:"t3",label:"No"},{id:"e-q8-t6",source:"q8",target:"t6",label:"Yes"},{id:"e-q8-t7",source:"q8",target:"t7",label:"No"},{id:"e-q9-t4",source:"q9",target:"t4",label:"Yes"},{id:"e-q9-t5",source:"q9",target:"t5",label:"No"},{id:"e-q10-t9",source:"q10",target:"t9",label:"Yes"},{id:"e-q10-t10",source:"q10",target:"t10",label:"No"},{id:"e-q11-t11",source:"q11",target:"t11",label:"Yes"},{id:"e-q11-t12",source:"q11",target:"t12",label:"No"},{id:"e-q12-t13",source:"q12",target:"t13",label:"Yes (freq ≥ 5)"},{id:"e-q12-t14",source:"q12",target:"t14",label:"No (small)"}]);const s={t1:{name:"One-Sample T-Test",description:"Compares a sample mean to a known or hypothesized population value.",use:"Testing if your sample differs from a target value.",example:"Is the average weight of products equal to 500g specification?",parametric:!0},t2:{name:"Wilcoxon Signed-Rank Test",description:"Non-parametric alternative to one-sample t-test for non-normal data.",use:"When data is skewed or ordinal.",example:"Do median satisfaction ratings differ from neutral (3)?",parametric:!1},t3:{name:"Mann-Whitney U Test",description:"Compares distributions of two independent groups without assuming normality.",use:"Non-parametric alternative to independent t-test.",example:"Do two groups have different rank distributions?",parametric:!1},t4:{name:"Independent T-Test",description:"Compares means of two independent groups with equal variances.",use:"Classic comparison of two unrelated groups.",example:"Do men and women differ in average height?",parametric:!0},t5:{name:"Welch's T-Test",description:"Compares means of two groups without assuming equal variances.",use:"Robust alternative when variances differ.",example:"Comparing treatment vs control with different variability.",parametric:!0},t6:{name:"Paired T-Test",description:"Compares means of two related measurements (same subjects measured twice).",use:"Before-after studies, matched pairs.",example:"Does blood pressure change after medication?",parametric:!0},t7:{name:"Wilcoxon Signed-Rank Test",description:"Non-parametric paired comparison for non-normal data.",use:"Paired data that violates normality.",example:"Do rankings improve after training?",parametric:!1},t8:{name:"Kruskal-Wallis Test",description:"Non-parametric comparison of 3+ groups based on ranks.",use:"Alternative to ANOVA for non-normal data.",example:"Do satisfaction scores differ across 4 product types?",parametric:!1},t9:{name:"One-Way ANOVA",description:"Compares means across 3 or more groups simultaneously.",use:"Testing if any group differs from others.",example:"Do students from different schools perform differently?",parametric:!0},t10:{name:"Welch's ANOVA",description:"ANOVA alternative when group variances are unequal.",use:"Robust multi-group comparison.",example:"Comparing yields across treatments with different variability.",parametric:!0},t11:{name:"Pearson Correlation",description:"Measures linear relationship strength between two continuous variables.",use:"Quantifying linear association.",example:"How strongly are height and weight related?",parametric:!0},t12:{name:"Spearman Correlation",description:"Measures monotonic relationship using ranks, robust to outliers.",use:"Non-linear but consistent relationships.",example:"Do income and happiness increase together?",parametric:!1},t13:{name:"Chi-Square Test",description:"Tests independence between two categorical variables.",use:"Association between categories.",example:"Is survival rate related to passenger class?",parametric:!1},t14:{name:"Fisher's Exact Test",description:"Exact test for categorical association with small samples.",use:"When expected frequencies are below 5.",example:"Association in a 2x2 table with few observations.",parametric:!1}};let a=se(null);function l(w){const C=w.detail.node.id;C.startsWith("t")?R(a,s[C],!0):R(a,null)}var c=O0(),d=$(ee(c),4),h=ee(d),f=ee(h);r0(f,{get nodes(){return o},get edges(){return i},fitView:!0,fitViewOptions:{padding:.2,minZoom:.5,maxZoom:1},minZoom:.3,maxZoom:2,onnodeclick:l,children:(w,C)=>{var k=D0(),b=le(k);m0(b,{});var A=$(b,2);S0(A,{variant:"dots",gap:12,size:1});var T=$(A,2);T0(T,{}),F(w,k)},$$slots:{default:!0}});var g=$(h,2),v=ee(g);{var _=w=>{var C=I0(),k=ee(C),b=ee(k),A=$(k,2),T=ee(A),z=$(A,2),M=$(ee(z),2),H=ee(M),K=$(z,2),P=$(ee(K),2),x=ee(P),N=$(K,2),p=$(ee(N),2),E=ee(p);he(()=>{Re(b,u(a).name),ut(A,1,`badge ${u(a).parametric?"parametric":"non-parametric"}`,"svelte-1n46o8q"),Re(T,u(a).parametric?"Parametric":"Non-Parametric"),Re(H,u(a).description),Re(x,u(a).use),Re(E,u(a).example)}),F(w,C)},y=w=>{var C=z0();F(w,C)};de(v,w=>{u(a)?w(_):w(y,!1)})}F(e,c)}Oc(R0,{target:document.getElementById("app")}); diff --git a/tools/flowchart/assets/index-KvuvRHxr.css b/tools/flowchart/assets/index-KvuvRHxr.css new file mode 100644 index 0000000..2f88ba5 --- /dev/null +++ b/tools/flowchart/assets/index-KvuvRHxr.css @@ -0,0 +1 @@ +.transparent.svelte-1wg91mu{background:transparent}.a11y-hidden.svelte-13pq11u{display:none}.a11y-live-msg.svelte-13pq11u{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0px,0px,0px,0px);clip-path:inset(100%)}.svelte-flow__selection.svelte-1vr3gfi{position:absolute;top:0;left:0}.svelte-flow__selection-wrapper.svelte-sf2y5e{position:absolute;top:0;left:0;z-index:2000;pointer-events:all}.svelte-flow__selection-wrapper.svelte-sf2y5e:focus,.svelte-flow__selection-wrapper.svelte-sf2y5e:focus-visible{outline:none}.svelte-flow.svelte-mkap6j{width:100%;height:100%;overflow:hidden;position:relative;z-index:0;background-color:var(--background-color, var(--background-color-default))}:root{--background-color-default: #fff;--background-pattern-color-default: #ddd;--minimap-mask-color-default: rgb(240, 240, 240, .6);--minimap-mask-stroke-color-default: none;--minimap-mask-stroke-width-default: 1;--controls-button-background-color-default: #fefefe;--controls-button-background-color-hover-default: #f4f4f4;--controls-button-color-default: inherit;--controls-button-color-hover-default: inherit;--controls-button-border-color-default: #eee}.svelte-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.svelte-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.svelte-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.svelte-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.svelte-flow__pane{z-index:1}.svelte-flow__pane.draggable{cursor:grab}.svelte-flow__pane.dragging{cursor:grabbing}.svelte-flow__pane.selection{cursor:pointer}.svelte-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.svelte-flow__renderer{z-index:4}.svelte-flow__selection{z-index:6}.svelte-flow__nodesselection-rect:focus,.svelte-flow__nodesselection-rect:focus-visible{outline:none}.svelte-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.svelte-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.svelte-flow .svelte-flow__edges{position:absolute}.svelte-flow .svelte-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.svelte-flow__edge{pointer-events:visibleStroke}.svelte-flow__edge.selectable{cursor:pointer}.svelte-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.svelte-flow__edge.animated path.svelte-flow__edge-interaction{stroke-dasharray:none;animation:none}.svelte-flow__edge.inactive{pointer-events:none}.svelte-flow__edge.selected,.svelte-flow__edge:focus,.svelte-flow__edge:focus-visible{outline:none}.svelte-flow__edge.selected .svelte-flow__edge-path,.svelte-flow__edge.selectable:focus .svelte-flow__edge-path,.svelte-flow__edge.selectable:focus-visible .svelte-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.svelte-flow__edge-textwrapper{pointer-events:all}.svelte-flow__edge .svelte-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.svelte-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.svelte-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.svelte-flow__connection{pointer-events:none}.svelte-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.svelte-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.svelte-flow__nodes{pointer-events:none;transform-origin:0 0}.svelte-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.svelte-flow__node.selectable{cursor:pointer}.svelte-flow__node.draggable{cursor:grab;pointer-events:all}.svelte-flow__node.draggable.dragging{cursor:grabbing}.svelte-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.svelte-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.svelte-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.svelte-flow__handle.connectingfrom{pointer-events:all}.svelte-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.svelte-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.svelte-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.svelte-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.svelte-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.svelte-flow__edgeupdater{cursor:move;pointer-events:all}.svelte-flow__pane.selection .svelte-flow__panel{pointer-events:none}.svelte-flow__panel{position:absolute;z-index:5;margin:15px}.svelte-flow__panel.top{top:0}.svelte-flow__panel.bottom{bottom:0}.svelte-flow__panel.top.center,.svelte-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.svelte-flow__panel.left{left:0}.svelte-flow__panel.right{right:0}.svelte-flow__panel.left.center,.svelte-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.svelte-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.svelte-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.svelte-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.svelte-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.svelte-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.svelte-flow__minimap-svg{display:block}.svelte-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.svelte-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.svelte-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.svelte-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.svelte-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.svelte-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.svelte-flow__controls.horizontal{flex-direction:row}.svelte-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.svelte-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.svelte-flow__edge.updating .svelte-flow__edge-path{stroke:#777}.svelte-flow__edge-text{font-size:10px}.svelte-flow__node.selectable:focus,.svelte-flow__node.selectable:focus-visible{outline:none}.svelte-flow__node-input,.svelte-flow__node-default,.svelte-flow__node-output,.svelte-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.svelte-flow__node-input.selectable:hover,.svelte-flow__node-default.selectable:hover,.svelte-flow__node-output.selectable:hover,.svelte-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.svelte-flow__node-input.selectable.selected,.svelte-flow__node-input.selectable:focus,.svelte-flow__node-input.selectable:focus-visible,.svelte-flow__node-default.selectable.selected,.svelte-flow__node-default.selectable:focus,.svelte-flow__node-default.selectable:focus-visible,.svelte-flow__node-output.selectable.selected,.svelte-flow__node-output.selectable:focus,.svelte-flow__node-output.selectable:focus-visible,.svelte-flow__node-group.selectable.selected,.svelte-flow__node-group.selectable:focus,.svelte-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.svelte-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.svelte-flow__nodesselection-rect,.svelte-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.svelte-flow__nodesselection-rect:focus,.svelte-flow__nodesselection-rect:focus-visible,.svelte-flow__selection:focus,.svelte-flow__selection:focus-visible{outline:none}.svelte-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.svelte-flow__controls-button:disabled{pointer-events:none}.svelte-flow__controls-button:disabled svg{fill-opacity:.4}.svelte-flow__controls-button:last-child{border-bottom:none}.svelte-flow__controls.horizontal .svelte-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.svelte-flow__controls.horizontal .svelte-flow__controls-button:last-child{border-right:none}.svelte-flow__resize-control{position:absolute}.svelte-flow__resize-control.left,.svelte-flow__resize-control.right{cursor:ew-resize}.svelte-flow__resize-control.top,.svelte-flow__resize-control.bottom{cursor:ns-resize}.svelte-flow__resize-control.top.left,.svelte-flow__resize-control.bottom.right{cursor:nwse-resize}.svelte-flow__resize-control.bottom.left,.svelte-flow__resize-control.top.right{cursor:nesw-resize}.svelte-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.svelte-flow__resize-control.handle.left{left:0;top:50%}.svelte-flow__resize-control.handle.right{left:100%;top:50%}.svelte-flow__resize-control.handle.top{left:50%;top:0}.svelte-flow__resize-control.handle.bottom{left:50%;top:100%}.svelte-flow__resize-control.handle.top.left,.svelte-flow__resize-control.handle.bottom.left{left:0}.svelte-flow__resize-control.handle.top.right,.svelte-flow__resize-control.handle.bottom.right{left:100%}.svelte-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.svelte-flow__resize-control.line.left,.svelte-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.svelte-flow__resize-control.line.left{left:0;border-left-width:1px}.svelte-flow__resize-control.line.right{left:100%;border-right-width:1px}.svelte-flow__resize-control.line.top,.svelte-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.svelte-flow__resize-control.line.top{top:0;border-top-width:1px}.svelte-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.svelte-flow__edge-label{text-align:center;position:absolute;padding:2px;font-size:10px;color:var(--xy-edge-label-color, var(--xy-edge-label-color-default));background:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.svelte-flow__container{-webkit-user-select:none;-moz-user-select:none;user-select:none}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#f5f5f5}.app-container.svelte-1n46o8q{min-height:100vh;padding:20px}h1.svelte-1n46o8q{text-align:center;color:#333;margin-bottom:5px;font-size:28px}.subtitle.svelte-1n46o8q{text-align:center;color:#666;margin-bottom:20px;font-size:14px}.main-content.svelte-1n46o8q{display:flex;gap:20px;height:calc(100vh - 120px);min-height:600px}.flowchart-container.svelte-1n46o8q{flex:1;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.info-panel.svelte-1n46o8q{width:300px;min-width:300px;max-width:300px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:20px;overflow-y:auto}.test-info.svelte-1n46o8q h2:where(.svelte-1n46o8q){color:#01579b;margin-bottom:10px;font-size:22px}.badge.svelte-1n46o8q{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:20px}.badge.parametric.svelte-1n46o8q{background:#e8f5e9;color:#2e7d32}.badge.non-parametric.svelte-1n46o8q{background:#fff3e0;color:#e65100}.info-section.svelte-1n46o8q{margin-bottom:20px}.info-section.svelte-1n46o8q h3:where(.svelte-1n46o8q){color:#555;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.info-section.svelte-1n46o8q p:where(.svelte-1n46o8q){color:#333;line-height:1.6;font-size:15px}.info-section.svelte-1n46o8q .example:where(.svelte-1n46o8q){background:#f8f9fa;padding:12px;border-radius:8px;border-left:3px solid #01579b;font-style:italic}.placeholder.svelte-1n46o8q h2:where(.svelte-1n46o8q){color:#333;margin-bottom:15px}.placeholder.svelte-1n46o8q>p:where(.svelte-1n46o8q){color:#666;line-height:1.6;margin-bottom:30px}.highlight.svelte-1n46o8q{background:#e1f5fe;color:#01579b;padding:2px 6px;border-radius:4px;font-weight:500}.legend.svelte-1n46o8q{margin-bottom:30px}.legend.svelte-1n46o8q h3:where(.svelte-1n46o8q),.quick-ref.svelte-1n46o8q h3:where(.svelte-1n46o8q){color:#555;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}.legend-item.svelte-1n46o8q{display:flex;align-items:center;gap:12px;margin-bottom:10px}.legend-box.svelte-1n46o8q{width:24px;height:24px;border-radius:4px;border:2px solid}.legend-box.start.svelte-1n46o8q{background:#c8e6c9;border-color:#2e7d32;border-radius:12px}.legend-box.decision.svelte-1n46o8q{background:#fff3e0;border-color:#e65100}.legend-box.test.svelte-1n46o8q{background:#e1f5fe;border-color:#01579b}.legend-item.svelte-1n46o8q span:where(.svelte-1n46o8q){color:#555;font-size:14px}.quick-ref.svelte-1n46o8q table:where(.svelte-1n46o8q){width:100%;border-collapse:collapse;font-size:12px}.quick-ref.svelte-1n46o8q th:where(.svelte-1n46o8q){background:#f5f5f5;padding:8px 6px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #ddd}.quick-ref.svelte-1n46o8q td:where(.svelte-1n46o8q){padding:8px 6px;border-bottom:1px solid #eee;color:#555}.quick-ref.svelte-1n46o8q tr:where(.svelte-1n46o8q):hover td:where(.svelte-1n46o8q){background:#f8f9fa} diff --git a/tools/flowchart/index.html b/tools/flowchart/index.html new file mode 100644 index 0000000..167fe0b --- /dev/null +++ b/tools/flowchart/index.html @@ -0,0 +1,13 @@ + + + + + + Statistical Test Decision Flowchart - Svelte + + + + +
+ + diff --git a/tools/house-predictor/index.html b/tools/house-predictor/index.html new file mode 100644 index 0000000..1aa4367 --- /dev/null +++ b/tools/house-predictor/index.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + House Price Predictor | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
← Back to Tools

House Price Predictor

Seattle/King County house price prediction and visualization (21,613 houses, 2014-2015)

Filters

Price Range
Bedrooms
Zipcode

Selection

Beds: 3
Baths: 2
Sqft: 2,000
Age: 10yr
3 bed 2 bath 2,000 sqft 10yr old

Stats

ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/tools/index.html b/tools/index.html new file mode 100644 index 0000000..0400c74 --- /dev/null +++ b/tools/index.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Tools | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks

Tools

Interactive tools to help you with data science, machine learning, and AI development.

🔒
INTERACTIVE

Privacy Scanner

Detect and redact personally identifiable information (PII) from text and files. Supports 30+ PII types including emails, SSN, API keys.

Explore
🌍
VISUALIZATION

EDA Gapminder

Explore global development data with interactive visualizations. GDP, life expectancy, and population trends from 1952-2007.

Explore
🏠
VISUALIZATION

House Price Predictor

Seattle/King County house price prediction with ML. Explore 21,613 houses on an interactive map and get instant price estimates.

Explore
🔀
FRAMEWORK

Decision Flowchart

Interactive decision tree to help you select the appropriate statistical test based on your data type and research question.

Explore
⚡
Coming Soon

Inference Estimator

Estimate inference costs and latency for LLM deployments across different providers and model sizes.

💰
Coming Soon

Cost Tracker

Track and compare API costs across OpenAI, Anthropic, and other LLM providers. Optimize your AI spending.

📉
Coming Soon

Drift Monitor

Monitor model performance and detect data drift in production ML systems. Get alerts when models degrade.

ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ + diff --git a/tools/privacy-scanner/index.html b/tools/privacy-scanner/index.html new file mode 100644 index 0000000..e0711b9 --- /dev/null +++ b/tools/privacy-scanner/index.html @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + Privacy Scanner | Build with AI + + +
ValueCurve Build ValueCurve
Guides Tools Newsletter Notebooks
← Tools

Privacy Scanner

|

Detect & redact PII from text and files

Input

PII Detection

Scan Results

Enter text or upload a file to scan for PII

ValueCurve Build ValueCurve

Data science guides and tools for builders.

+ + +
+ +